lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.66.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.67.0

- old
+ new

@@ -32,28 +32,70 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AdaptiveProtection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Application class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Attack + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class AttackExposure class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AwsAccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AwsMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AwsOrganization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AwsOrganizationalUnit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class BackupDisasterRecovery class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class CloudArmor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class CloudDlpDataProfile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -200,10 +242,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GcpMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Geolocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -356,22 +404,58 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2AdaptiveProtection + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Application class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2Attack + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2AttackExposure class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2AwsAccount + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AwsMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AwsOrganization + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AwsOrganizationalUnit + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2BackupDisasterRecovery class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -392,10 +476,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2CloudArmor + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2CloudDlpDataProfile class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -506,10 +596,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2Folder + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Geolocation class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -584,10 +680,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2Notebook + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2NotificationMessage class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -638,16 +740,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2Requests + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Resource class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2ResourcePath + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2ResourcePathNode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2ResourceValueConfig class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -668,10 +788,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2SecurityPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2SecurityPosture class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -776,10 +902,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Notebook + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Object class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -830,10 +962,28 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class Requests + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourcePath + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class ResourcePathNode + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class Role class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -860,10 +1010,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class SecurityPolicy + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class SecurityPosture class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -902,10 +1058,22 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class VulnerabilityCountBySeverity + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class VulnerabilitySnapshot + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class WebSecurityScannerSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -946,18 +1114,34 @@ property :verb, as: 'verb' property :version, as: 'version' end end + class AdaptiveProtection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + end + end + class Application # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_uri, as: 'baseUri' property :full_uri, as: 'fullUri' end end + class Attack + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :classification, as: 'classification' + property :volume_bps, as: 'volumeBps' + property :volume_pps, as: 'volumePps' + end + end + class AttackExposure # @private class Representation < Google::Apis::Core::JsonRepresentation property :attack_exposure_result, as: 'attackExposureResult' property :exposed_high_value_resources_count, as: 'exposedHighValueResourcesCount' @@ -967,10 +1151,45 @@ property :score, as: 'score' property :state, as: 'state' end end + class AwsAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + end + end + + class AwsMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account, as: 'account', class: Google::Apis::SecuritycenterV1beta2::AwsAccount, decorator: Google::Apis::SecuritycenterV1beta2::AwsAccount::Representation + + property :organization, as: 'organization', class: Google::Apis::SecuritycenterV1beta2::AwsOrganization, decorator: Google::Apis::SecuritycenterV1beta2::AwsOrganization::Representation + + collection :organizational_units, as: 'organizationalUnits', class: Google::Apis::SecuritycenterV1beta2::AwsOrganizationalUnit, decorator: Google::Apis::SecuritycenterV1beta2::AwsOrganizationalUnit::Representation + + end + end + + class AwsOrganization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + end + end + + class AwsOrganizationalUnit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + end + end + class BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -983,10 +1202,26 @@ property :profile, as: 'profile' property :storage_pool, as: 'storagePool' end end + class CloudArmor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adaptive_protection, as: 'adaptiveProtection', class: Google::Apis::SecuritycenterV1beta2::AdaptiveProtection, decorator: Google::Apis::SecuritycenterV1beta2::AdaptiveProtection::Representation + + property :attack, as: 'attack', class: Google::Apis::SecuritycenterV1beta2::Attack, decorator: Google::Apis::SecuritycenterV1beta2::Attack::Representation + + property :duration, as: 'duration' + property :requests, as: 'requests', class: Google::Apis::SecuritycenterV1beta2::Requests, decorator: Google::Apis::SecuritycenterV1beta2::Requests::Representation + + property :security_policy, as: 'securityPolicy', class: Google::Apis::SecuritycenterV1beta2::SecurityPolicy, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPolicy::Representation + + property :threat_vector, as: 'threatVector' + end + end + class CloudDlpDataProfile # @private class Representation < Google::Apis::Core::JsonRepresentation property :data_profile, as: 'dataProfile' property :parent_type, as: 'parentType' @@ -1024,16 +1259,16 @@ class ComplianceSnapshot # @private class Representation < Google::Apis::Core::JsonRepresentation property :category, as: 'category' + property :cloud_provider, as: 'cloudProvider' property :compliance_standard, as: 'complianceStandard' property :compliance_version, as: 'complianceVersion' property :count, :numeric_string => true, as: 'count' property :leaf_container_resource, as: 'leafContainerResource' property :name, as: 'name' - property :project_display_name, as: 'projectDisplayName' property :snapshot_time, as: 'snapshotTime' end end class Config @@ -1235,10 +1470,12 @@ property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::BackupDisasterRecovery::Representation property :canonical_name, as: 'canonicalName' property :category, as: 'category' + property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::CloudArmor::Representation + property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile::Representation property :cloud_dlp_inspection, as: 'cloudDlpInspection', class: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection::Representation collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::Compliance, decorator: Google::Apis::SecuritycenterV1beta2::Compliance::Representation @@ -1280,10 +1517,12 @@ property :mute, as: 'mute' property :mute_initiator, as: 'muteInitiator' property :mute_update_time, as: 'muteUpdateTime' property :name, as: 'name' property :next_steps, as: 'nextSteps' + property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::Notebook, decorator: Google::Apis::SecuritycenterV1beta2::Notebook::Representation + collection :org_policies, as: 'orgPolicies', class: Google::Apis::SecuritycenterV1beta2::OrgPolicy, decorator: Google::Apis::SecuritycenterV1beta2::OrgPolicy::Representation property :parent, as: 'parent' property :parent_display_name, as: 'parentDisplayName' collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation @@ -1307,10 +1546,23 @@ property :resource_folder, as: 'resourceFolder' property :resource_folder_display_name, as: 'resourceFolderDisplayName' end end + class GcpMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Folder, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Folder::Representation + + property :organization, as: 'organization' + property :parent, as: 'parent' + property :parent_display_name, as: 'parentDisplayName' + property :project, as: 'project' + property :project_display_name, as: 'projectDisplayName' + end + end + class Geolocation # @private class Representation < Google::Apis::Core::JsonRepresentation property :region_code, as: 'regionCode' end @@ -1434,18 +1686,27 @@ end class GoogleCloudSecuritycenterV1Resource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AwsMetadata::Representation + + property :cloud_provider, as: 'cloudProvider' property :display_name, as: 'displayName' collection :folders, as: 'folders', class: Google::Apis::SecuritycenterV1beta2::Folder, decorator: Google::Apis::SecuritycenterV1beta2::Folder::Representation + property :location, as: 'location' property :name, as: 'name' + property :organization, as: 'organization' property :parent, as: 'parent' property :parent_display_name, as: 'parentDisplayName' property :project, as: 'project' property :project_display_name, as: 'projectDisplayName' + property :resource_path, as: 'resourcePath', class: Google::Apis::SecuritycenterV1beta2::ResourcePath, decorator: Google::Apis::SecuritycenterV1beta2::ResourcePath::Representation + + property :resource_path_string, as: 'resourcePathString' + property :service, as: 'service' property :type, as: 'type' end end class GoogleCloudSecuritycenterV1ResourceSelector @@ -1456,10 +1717,11 @@ end class GoogleCloudSecuritycenterV1ResourceValueConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_provider, as: 'cloudProvider' property :create_time, as: 'createTime' property :description, as: 'description' property :name, as: 'name' hash :resource_labels_selector, as: 'resourceLabelsSelector' property :resource_type, as: 'resourceType' @@ -1608,18 +1870,34 @@ property :verb, as: 'verb' property :version, as: 'version' end end + class GoogleCloudSecuritycenterV2AdaptiveProtection + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :confidence, as: 'confidence' + end + end + class GoogleCloudSecuritycenterV2Application # @private class Representation < Google::Apis::Core::JsonRepresentation property :base_uri, as: 'baseUri' property :full_uri, as: 'fullUri' end end + class GoogleCloudSecuritycenterV2Attack + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :classification, as: 'classification' + property :volume_bps, as: 'volumeBps' + property :volume_pps, as: 'volumePps' + end + end + class GoogleCloudSecuritycenterV2AttackExposure # @private class Representation < Google::Apis::Core::JsonRepresentation property :attack_exposure_result, as: 'attackExposureResult' property :exposed_high_value_resources_count, as: 'exposedHighValueResourcesCount' @@ -1629,10 +1907,45 @@ property :score, as: 'score' property :state, as: 'state' end end + class GoogleCloudSecuritycenterV2AwsAccount + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + end + end + + class GoogleCloudSecuritycenterV2AwsMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :account, as: 'account', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsAccount, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsAccount::Representation + + property :organization, as: 'organization', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganization, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganization::Representation + + collection :organizational_units, as: 'organizationalUnits', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganizationalUnit, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsOrganizationalUnit::Representation + + end + end + + class GoogleCloudSecuritycenterV2AwsOrganization + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + end + end + + class GoogleCloudSecuritycenterV2AwsOrganizationalUnit + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :id, as: 'id' + property :name, as: 'name' + end + end + class GoogleCloudSecuritycenterV2BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -1677,10 +1990,26 @@ # @private class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudSecuritycenterV2CloudArmor + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adaptive_protection, as: 'adaptiveProtection', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdaptiveProtection, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AdaptiveProtection::Representation + + property :attack, as: 'attack', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Attack, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Attack::Representation + + property :duration, as: 'duration' + property :requests, as: 'requests', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Requests, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Requests::Representation + + property :security_policy, as: 'securityPolicy', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPolicy, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPolicy::Representation + + property :threat_vector, as: 'threatVector' + end + end + class GoogleCloudSecuritycenterV2CloudDlpDataProfile # @private class Representation < Google::Apis::Core::JsonRepresentation property :data_profile, as: 'dataProfile' property :parent_type, as: 'parentType' @@ -1883,10 +2212,12 @@ property :backup_disaster_recovery, as: 'backupDisasterRecovery', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2BackupDisasterRecovery::Representation property :canonical_name, as: 'canonicalName' property :category, as: 'category' + property :cloud_armor, as: 'cloudArmor', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudArmor::Representation + property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpDataProfile::Representation property :cloud_dlp_inspection, as: 'cloudDlpInspection', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpInspection, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2CloudDlpInspection::Representation collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Compliance, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Compliance::Representation @@ -1928,10 +2259,12 @@ property :mute, as: 'mute' property :mute_initiator, as: 'muteInitiator' property :mute_update_time, as: 'muteUpdateTime' property :name, as: 'name' property :next_steps, as: 'nextSteps' + property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Notebook::Representation + collection :org_policies, as: 'orgPolicies', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2OrgPolicy::Representation property :parent, as: 'parent' property :parent_display_name, as: 'parentDisplayName' collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process::Representation @@ -1947,10 +2280,18 @@ property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability::Representation end end + class GoogleCloudSecuritycenterV2Folder + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :resource_folder, as: 'resourceFolder' + property :resource_folder_display_name, as: 'resourceFolderDisplayName' + end + end + class GoogleCloudSecuritycenterV2Geolocation # @private class Representation < Google::Apis::Core::JsonRepresentation property :region_code, as: 'regionCode' end @@ -2081,10 +2422,20 @@ collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Node::Representation end end + class GoogleCloudSecuritycenterV2Notebook + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_author, as: 'lastAuthor' + property :name, as: 'name' + property :notebook_update_time, as: 'notebookUpdateTime' + property :service, as: 'service' + end + end + class GoogleCloudSecuritycenterV2NotificationMessage # @private class Representation < Google::Apis::Core::JsonRepresentation property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Finding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Finding::Representation @@ -2181,22 +2532,60 @@ property :source, as: 'source' property :uri, as: 'uri' end end + class GoogleCloudSecuritycenterV2Requests + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :long_term_allowed, as: 'longTermAllowed' + property :long_term_denied, as: 'longTermDenied' + property :ratio, as: 'ratio' + property :short_term_allowed, as: 'shortTermAllowed' + end + end + class GoogleCloudSecuritycenterV2Resource # @private class Representation < Google::Apis::Core::JsonRepresentation + property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AwsMetadata::Representation + + property :cloud_provider, as: 'cloudProvider' property :display_name, as: 'displayName' + property :gcp_metadata, as: 'gcpMetadata', class: Google::Apis::SecuritycenterV1beta2::GcpMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GcpMetadata::Representation + + property :location, as: 'location' property :name, as: 'name' + property :resource_path, as: 'resourcePath', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath::Representation + + property :resource_path_string, as: 'resourcePathString' + property :service, as: 'service' property :type, as: 'type' end end + class GoogleCloudSecuritycenterV2ResourcePath + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePathNode, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePathNode::Representation + + end + end + + class GoogleCloudSecuritycenterV2ResourcePathNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + property :node_type, as: 'nodeType' + end + end + class GoogleCloudSecuritycenterV2ResourceValueConfig # @private class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_provider, as: 'cloudProvider' property :create_time, as: 'createTime' property :description, as: 'description' property :name, as: 'name' hash :resource_labels_selector, as: 'resourceLabelsSelector' property :resource_type, as: 'resourceType' @@ -2234,10 +2623,19 @@ hash :marks, as: 'marks' property :name, as: 'name' end end + class GoogleCloudSecuritycenterV2SecurityPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :preview, as: 'preview' + property :type, as: 'type' + end + end + class GoogleCloudSecuritycenterV2SecurityPosture # @private class Representation < Google::Apis::Core::JsonRepresentation property :changed_policy, as: 'changedPolicy' property :name, as: 'name' @@ -2421,10 +2819,20 @@ collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::Node, decorator: Google::Apis::SecuritycenterV1beta2::Node::Representation end end + class Notebook + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :last_author, as: 'lastAuthor' + property :name, as: 'name' + property :notebook_update_time, as: 'notebookUpdateTime' + property :service, as: 'service' + end + end + class Object # @private class Representation < Google::Apis::Core::JsonRepresentation collection :containers, as: 'containers', class: Google::Apis::SecuritycenterV1beta2::Container, decorator: Google::Apis::SecuritycenterV1beta2::Container::Representation @@ -2521,10 +2929,37 @@ property :source, as: 'source' property :uri, as: 'uri' end end + class Requests + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :long_term_allowed, as: 'longTermAllowed' + property :long_term_denied, as: 'longTermDenied' + property :ratio, as: 'ratio' + property :short_term_allowed, as: 'shortTermAllowed' + end + end + + class ResourcePath + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :nodes, as: 'nodes', class: Google::Apis::SecuritycenterV1beta2::ResourcePathNode, decorator: Google::Apis::SecuritycenterV1beta2::ResourcePathNode::Representation + + end + end + + class ResourcePathNode + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + property :node_type, as: 'nodeType' + end + end + class Role # @private class Representation < Google::Apis::Core::JsonRepresentation property :kind, as: 'kind' property :name, as: 'name' @@ -2570,10 +3005,19 @@ hash :marks, as: 'marks' property :name, as: 'name' end end + class SecurityPolicy + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + property :preview, as: 'preview' + property :type, as: 'type' + end + end + class SecurityPosture # @private class Representation < Google::Apis::Core::JsonRepresentation property :changed_policy, as: 'changedPolicy' property :name, as: 'name' @@ -2647,9 +3091,27 @@ property :offending_package, as: 'offendingPackage', class: Google::Apis::SecuritycenterV1beta2::Package, decorator: Google::Apis::SecuritycenterV1beta2::Package::Representation property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1beta2::SecurityBulletin, decorator: Google::Apis::SecuritycenterV1beta2::SecurityBulletin::Representation + end + end + + class VulnerabilityCountBySeverity + # @private + class Representation < Google::Apis::Core::JsonRepresentation + hash :severity_to_finding_count, as: 'severityToFindingCount' + end + end + + class VulnerabilitySnapshot + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :cloud_provider, as: 'cloudProvider' + property :finding_count, as: 'findingCount', class: Google::Apis::SecuritycenterV1beta2::VulnerabilityCountBySeverity, decorator: Google::Apis::SecuritycenterV1beta2::VulnerabilityCountBySeverity::Representation + + property :name, as: 'name' + property :snapshot_time, as: 'snapshotTime' end end class WebSecurityScannerSettings # @private