lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.68.0 vs lib/google/apis/securitycenter_v1beta2/representations.rb in google-apis-securitycenter_v1beta2-0.70.0

- old
+ new

@@ -80,10 +80,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class AzureManagementGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AzureMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AzureResourceGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class AzureSubscription + 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 @@ -452,10 +476,34 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2AzureManagementGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AzureMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AzureResourceGroup + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudSecuritycenterV2AzureSubscription + 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 @@ -608,10 +656,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2GroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2IamBinding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -824,10 +878,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudSecuritycenterV2ToxicCombination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudSecuritycenterV2Vulnerability class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -836,10 +896,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GroupMembership + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class IamBinding class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -1046,10 +1112,16 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class ToxicCombination + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class VirtualMachineThreatDetectionSettings class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end @@ -1186,10 +1258,45 @@ property :id, as: 'id' property :name, as: 'name' end end + class AzureManagementGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + + class AzureMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta2::AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta2::AzureManagementGroup::Representation + + property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::AzureResourceGroup::Representation + + property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::AzureSubscription::Representation + + end + end + + class AzureResourceGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class AzureSubscription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + class BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -1497,10 +1604,12 @@ property :external_uri, as: 'externalUri' collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation property :finding_class, as: 'findingClass' + collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta2::GroupMembership, decorator: Google::Apis::SecuritycenterV1beta2::GroupMembership::Representation + collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::IamBinding::Representation property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::Indicator, decorator: Google::Apis::SecuritycenterV1beta2::Indicator::Representation property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta2::KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta2::KernelRootkit::Representation @@ -1533,10 +1642,12 @@ property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::SecurityPosture::Representation property :severity, as: 'severity' hash :source_properties, as: 'sourceProperties' property :state, as: 'state' + property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta2::ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta2::ToxicCombination::Representation + property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::Vulnerability::Representation end end @@ -1688,10 +1799,12 @@ 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 :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::AzureMetadata::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' @@ -1942,10 +2055,45 @@ property :id, as: 'id' property :name, as: 'name' end end + class GoogleCloudSecuritycenterV2AzureManagementGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + + class GoogleCloudSecuritycenterV2AzureMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :management_groups, as: 'managementGroups', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureManagementGroup::Representation + + property :resource_group, as: 'resourceGroup', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureResourceGroup::Representation + + property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureSubscription::Representation + + end + end + + class GoogleCloudSecuritycenterV2AzureResourceGroup + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :name, as: 'name' + end + end + + class GoogleCloudSecuritycenterV2AzureSubscription + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :id, as: 'id' + end + end + class GoogleCloudSecuritycenterV2BackupDisasterRecovery # @private class Representation < Google::Apis::Core::JsonRepresentation property :appliance, as: 'appliance' collection :applications, as: 'applications' @@ -2239,10 +2387,12 @@ property :external_uri, as: 'externalUri' collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File::Representation property :finding_class, as: 'findingClass' + collection :group_memberships, as: 'groupMemberships', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2GroupMembership, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2GroupMembership::Representation + collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2IamBinding::Representation property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Indicator::Representation property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2KernelRootkit::Representation @@ -2275,10 +2425,12 @@ property :security_posture, as: 'securityPosture', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SecurityPosture::Representation property :severity, as: 'severity' hash :source_properties, as: 'sourceProperties' property :state, as: 'state' + property :toxic_combination, as: 'toxicCombination', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ToxicCombination::Representation + property :vulnerability, as: 'vulnerability', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Vulnerability::Representation end end @@ -2295,10 +2447,18 @@ class Representation < Google::Apis::Core::JsonRepresentation property :region_code, as: 'regionCode' end end + class GoogleCloudSecuritycenterV2GroupMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :group_id, as: 'groupId' + property :group_type, as: 'groupType' + end + end + class GoogleCloudSecuritycenterV2IamBinding # @private class Representation < Google::Apis::Core::JsonRepresentation property :action, as: 'action' property :member, as: 'member' @@ -2547,10 +2707,12 @@ 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 :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2AzureMetadata::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' @@ -2684,10 +2846,18 @@ property :update_time, as: 'updateTime' property :uri, as: 'uri' end end + class GoogleCloudSecuritycenterV2ToxicCombination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attack_exposure_score, as: 'attackExposureScore' + collection :related_findings, as: 'relatedFindings' + end + end + class GoogleCloudSecuritycenterV2Vulnerability # @private class Representation < Google::Apis::Core::JsonRepresentation property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Cve::Representation @@ -2705,10 +2875,18 @@ class Representation < Google::Apis::Core::JsonRepresentation property :yara_rule, as: 'yaraRule' end end + class GroupMembership + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :group_id, as: 'groupId' + property :group_type, as: 'groupType' + end + end + class IamBinding # @private class Representation < Google::Apis::Core::JsonRepresentation property :action, as: 'action' property :member, as: 'member' @@ -3065,9 +3243,17 @@ property :description, as: 'description' property :id, as: 'id' property :status, as: 'status' property :update_time, as: 'updateTime' property :uri, as: 'uri' + end + end + + class ToxicCombination + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :attack_exposure_score, as: 'attackExposureScore' + collection :related_findings, as: 'relatedFindings' end end class VirtualMachineThreatDetectionSettings # @private