lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.70.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.71.0
- old
+ new
@@ -272,12 +272,12 @@
# An attack exposure contains the results of an attack path simulation run.
class AttackExposure
include Google::Apis::Core::Hashable
# The resource name of the attack path simulation result that contains the
- # details regarding this attack exposure score. Example: organizations/123/
- # simulations/456/attackExposureResults/789
+ # details regarding this attack exposure score. Example: `organizations/123/
+ # simulations/456/attackExposureResults/789`
# Corresponds to the JSON property `attackExposureResult`
# @return [String]
attr_accessor :attack_exposure_result
# The number of high value resources that are exposed as a result of this
@@ -453,12 +453,12 @@
# The display name of the Azure management group.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
- # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
- # 000000000000".
+ # The UUID of the Azure management group, for example, `20000000-0001-0000-0000-
+ # 000000000000`.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
@@ -531,12 +531,12 @@
# The display name of the Azure subscription.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
- # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
- # 3bdcb2a50a05".
+ # The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-
+ # 3bdcb2a50a05`.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
@@ -1063,17 +1063,17 @@
class ContainerThreatDetectionSettings
include Google::Apis::Core::Hashable
# The configurations including the state of enablement for the service's
# different modules. The absence of a module in the map implies its
- # configuration is inherited from its parent's.
+ # configuration is inherited from its parent's configuration.
# Corresponds to the JSON property `modules`
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
attr_accessor :modules
- # The resource name of the ContainerThreatDetectionSettings. Formats: *
- # organizations/`organization`/containerThreatDetectionSettings * folders/`
+ # Identifier. The resource name of the ContainerThreatDetectionSettings. Formats:
+ # * organizations/`organization`/containerThreatDetectionSettings * folders/`
# folder`/containerThreatDetectionSettings * projects/`project`/
# containerThreatDetectionSettings * projects/`project`/locations/`location`/
# clusters/`cluster`/containerThreatDetectionSettings
# Corresponds to the JSON property `name`
# @return [String]
@@ -1431,16 +1431,16 @@
class EventThreatDetectionSettings
include Google::Apis::Core::Hashable
# The configurations including the state of enablement for the service's
# different modules. The absence of a module in the map implies its
- # configuration is inherited from its parent's.
+ # configuration is inherited from its parent's configuration.
# Corresponds to the JSON property `modules`
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
attr_accessor :modules
- # The resource name of the EventThreatDetectionSettings. Formats: *
+ # Identifier. The resource name of the EventThreatDetectionSettings. Formats: *
# organizations/`organization`/eventThreatDetectionSettings * folders/`folder`/
# eventThreatDetectionSettings * projects/`project`/eventThreatDetectionSettings
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -2535,16 +2535,16 @@
# or update.
# Corresponds to the JSON property `mostRecentEditor`
# @return [String]
attr_accessor :most_recent_editor
- # This field will be ignored if provided on config creation. Format "
- # organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
- # muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`" "
- # organizations/`organization`/locations/global/muteConfigs/`mute_config`" "
- # folders/`folder`/locations/global/muteConfigs/`mute_config`" "projects/`
- # project`/locations/global/muteConfigs/`mute_config`"
+ # This field will be ignored if provided on config creation. Format `
+ # organizations/`organization`/muteConfigs/`mute_config`` `folders/`folder`/
+ # muteConfigs/`mute_config`` `projects/`project`/muteConfigs/`mute_config`` `
+ # organizations/`organization`/locations/global/muteConfigs/`mute_config`` `
+ # folders/`folder`/locations/global/muteConfigs/`mute_config`` `projects/`
+ # project`/locations/global/muteConfigs/`mute_config``
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The most recent time at which the mute config was updated. This
@@ -2719,17 +2719,18 @@
# Corresponds to the JSON property `resourcePath`
# @return [Google::Apis::SecuritycenterV1beta2::ResourcePath]
attr_accessor :resource_path
# A string representation of the resource path. For Google Cloud, it has the
- # format of organizations/`organization_id`/folders/`folder_id`/folders/`
- # folder_id`/projects/`project_id` where there can be any number of folders. For
- # AWS, it has the format of org/`organization_id`/ou/`organizational_unit_id`/ou/
- # `organizational_unit_id`/account/`account_id` where there can be any number of
- # organizational units. For Azure, it has the format of mg/`management_group_id`/
- # mg/`management_group_id`/subscription/`subscription_id`/rg/`
- # resource_group_name` where there can be any number of management groups.
+ # format of `organizations/`organization_id`/folders/`folder_id`/folders/`
+ # folder_id`/projects/`project_id`` where there can be any number of folders.
+ # For AWS, it has the format of `org/`organization_id`/ou/`
+ # organizational_unit_id`/ou/`organizational_unit_id`/account/`account_id``
+ # where there can be any number of organizational units. For Azure, it has the
+ # format of `mg/`management_group_id`/mg/`management_group_id`/subscription/`
+ # subscription_id`/rg/`resource_group_name`` where there can be any number of
+ # management groups.
# Corresponds to the JSON property `resourcePathString`
# @return [String]
attr_accessor :resource_path_string
# The parent service or product from which the resource is provided, for example,
@@ -2810,22 +2811,22 @@
# Name for the resource value configuration
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- # List of resource labels to search for, evaluated with AND. For example, "
- # resource_labels_selector": `"key": "value", "env": "prod"` will match
- # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
+ # List of resource labels to search for, evaluated with `AND`. For example, `"
+ # resource_labels_selector": `"key": "value", "env": "prod"`` will match
+ # resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.
# com/resource-manager/docs/creating-managing-labels
# Corresponds to the JSON property `resourceLabelsSelector`
# @return [Hash<String,String>]
attr_accessor :resource_labels_selector
# Apply resource_value only to resources that match resource_type. resource_type
- # will be checked with AND of other resources. For example, "storage.googleapis.
- # com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
- # storage.googleapis.com/Bucket" resources.
+ # will be checked with `AND` of other resources. For example, "storage.
+ # googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only
+ # to "storage.googleapis.com/Bucket" resources.
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
# Required. Resource value level this expression represents
@@ -2833,11 +2834,11 @@
# @return [String]
attr_accessor :resource_value
# Project or folder to scope this configuration to. For example, "project/456"
# would apply this configuration only to resources in "project/456" scope will
- # be checked with AND of other resources.
+ # be checked with `AND` of other resources.
# Corresponds to the JSON property `scope`
# @return [String]
attr_accessor :scope
# Resource value mapping for Sensitive Data Protection findings. If any of these
@@ -2845,13 +2846,14 @@
# field will be ignored when reading this configuration.
# Corresponds to the JSON property `sensitiveDataProtectionMapping`
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1SensitiveDataProtectionMapping]
attr_accessor :sensitive_data_protection_mapping
- # Required. Tag values combined with AND to check against. Values in the form "
- # tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ]
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
+ # Required. Tag values combined with `AND` to check against. Values in the form "
+ # tagValues/123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]`
+ # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-
+ # managing
# Corresponds to the JSON property `tagValues`
# @return [Array<String>]
attr_accessor :tag_values
# Output only. Timestamp this resource value configuration was last updated.
@@ -3581,12 +3583,12 @@
# An attack exposure contains the results of an attack path simulation run.
class GoogleCloudSecuritycenterV2AttackExposure
include Google::Apis::Core::Hashable
# The resource name of the attack path simulation result that contains the
- # details regarding this attack exposure score. Example: organizations/123/
- # simulations/456/attackExposureResults/789
+ # details regarding this attack exposure score. Example: `organizations/123/
+ # simulations/456/attackExposureResults/789`
# Corresponds to the JSON property `attackExposureResult`
# @return [String]
attr_accessor :attack_exposure_result
# The number of high value resources that are exposed as a result of this
@@ -3762,12 +3764,12 @@
# The display name of the Azure management group.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
- # The UUID of the Azure management group, for example, "20000000-0001-0000-0000-
- # 000000000000".
+ # The UUID of the Azure management group, for example, `20000000-0001-0000-0000-
+ # 000000000000`.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
@@ -3840,12 +3842,12 @@
# The display name of the Azure subscription.
# Corresponds to the JSON property `displayName`
# @return [String]
attr_accessor :display_name
- # The UUID of the Azure subscription, for example, "291bba3f-e0a5-47bc-a099-
- # 3bdcb2a50a05".
+ # The UUID of the Azure subscription, for example, `291bba3f-e0a5-47bc-a099-
+ # 3bdcb2a50a05`.
# Corresponds to the JSON property `id`
# @return [String]
attr_accessor :id
def initialize(**args)
@@ -3965,11 +3967,11 @@
# Corresponds to the JSON property `createTime`
# @return [String]
attr_accessor :create_time
# The dataset to write findings' updates to. Its format is "projects/[project_id]
- # /datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only
+ # /datasets/[bigquery_dataset_id]". BigQuery dataset unique ID must contain only
# letters (a-z, A-Z), numbers (0-9), or underscores (_).
# Corresponds to the JSON property `dataset`
# @return [String]
attr_accessor :dataset
@@ -3997,17 +3999,17 @@
# creation or update.
# Corresponds to the JSON property `mostRecentEditor`
# @return [String]
attr_accessor :most_recent_editor
- # The relative resource name of this export. See: https://cloud.google.com/apis/
- # design/resource_names#relative_resource_name. The following list shows some
- # examples: + `organizations/`organization_id`/locations/`location_id`/
- # bigQueryExports/`export_id`` + `folders/`folder_id`/locations/`location_id`/
- # bigQueryExports/`export_id`` + `projects/`project_id`/locations/`location_id`/
- # bigQueryExports/`export_id`` This field is provided in responses, and is
- # ignored when provided in create requests.
+ # Identifier. The relative resource name of this export. See: https://cloud.
+ # google.com/apis/design/resource_names#relative_resource_name. The following
+ # list shows some examples: + `organizations/`organization_id`/locations/`
+ # location_id`/bigQueryExports/`export_id`` + `folders/`folder_id`/locations/`
+ # location_id`/bigQueryExports/`export_id`` + `projects/`project_id`/locations/`
+ # location_id`/bigQueryExports/`export_id`` This field is provided in responses,
+ # and is ignored when provided in create requests.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Output only. The service account that needs permission to create table and
@@ -5781,17 +5783,17 @@
# or update.
# Corresponds to the JSON property `mostRecentEditor`
# @return [String]
attr_accessor :most_recent_editor
- # This field will be ignored if provided on config creation. The following list
- # shows some examples of the format: + `organizations/`organization`/muteConfigs/
- # `mute_config`` + `organizations/`organization`locations/`location`//
- # muteConfigs/`mute_config`` + `folders/`folder`/muteConfigs/`mute_config`` + `
- # folders/`folder`/locations/`location`/muteConfigs/`mute_config`` + `projects/`
- # project`/muteConfigs/`mute_config`` + `projects/`project`/locations/`location`/
- # muteConfigs/`mute_config``
+ # Identifier. This field will be ignored if provided on config creation. The
+ # following list shows some examples of the format: + `organizations/`
+ # organization`/muteConfigs/`mute_config`` + `organizations/`organization`
+ # locations/`location`//muteConfigs/`mute_config`` + `folders/`folder`/
+ # muteConfigs/`mute_config`` + `folders/`folder`/locations/`location`/
+ # muteConfigs/`mute_config`` + `projects/`project`/muteConfigs/`mute_config`` + `
+ # projects/`project`/locations/`location`/muteConfigs/`mute_config``
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Required. The type of the mute config, which determines what type of mute
@@ -6340,17 +6342,18 @@
# Corresponds to the JSON property `resourcePath`
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ResourcePath]
attr_accessor :resource_path
# A string representation of the resource path. For Google Cloud, it has the
- # format of organizations/`organization_id`/folders/`folder_id`/folders/`
- # folder_id`/projects/`project_id` where there can be any number of folders. For
- # AWS, it has the format of org/`organization_id`/ou/`organizational_unit_id`/ou/
- # `organizational_unit_id`/account/`account_id` where there can be any number of
- # organizational units. For Azure, it has the format of mg/`management_group_id`/
- # mg/`management_group_id`/subscription/`subscription_id`/rg/`
- # resource_group_name` where there can be any number of management groups.
+ # format of `organizations/`organization_id`/folders/`folder_id`/folders/`
+ # folder_id`/projects/`project_id`` where there can be any number of folders.
+ # For AWS, it has the format of `org/`organization_id`/ou/`
+ # organizational_unit_id`/ou/`organizational_unit_id`/account/`account_id``
+ # where there can be any number of organizational units. For Azure, it has the
+ # format of `mg/`management_group_id`/mg/`management_group_id`/subscription/`
+ # subscription_id`/rg/`resource_group_name`` where there can be any number of
+ # management groups.
# Corresponds to the JSON property `resourcePathString`
# @return [String]
attr_accessor :resource_path_string
# The service or resource provider associated with the resource.
@@ -6454,40 +6457,40 @@
# Description of the resource value configuration.
# Corresponds to the JSON property `description`
# @return [String]
attr_accessor :description
- # Name for the resource value configuration
+ # Identifier. Name for the resource value configuration
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
- # List of resource labels to search for, evaluated with AND. For example, "
+ # List of resource labels to search for, evaluated with `AND`. For example, "
# resource_labels_selector": `"key": "value", "env": "prod"` will match
- # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
+ # resources with labels "key": "value" `AND` "env": "prod" https://cloud.google.
# com/resource-manager/docs/creating-managing-labels
# Corresponds to the JSON property `resourceLabelsSelector`
# @return [Hash<String,String>]
attr_accessor :resource_labels_selector
# Apply resource_value only to resources that match resource_type. resource_type
- # will be checked with AND of other resources. For example, "storage.googleapis.
- # com/Bucket" with resource_value "HIGH" will apply "HIGH" value only to "
- # storage.googleapis.com/Bucket" resources.
+ # will be checked with `AND` of other resources. For example, "storage.
+ # googleapis.com/Bucket" with resource_value "HIGH" will apply "HIGH" value only
+ # to "storage.googleapis.com/Bucket" resources.
# Corresponds to the JSON property `resourceType`
# @return [String]
attr_accessor :resource_type
# Resource value level this expression represents Only required when there is no
- # SDP mapping in the request
+ # Sensitive Data Protection mapping in the request
# Corresponds to the JSON property `resourceValue`
# @return [String]
attr_accessor :resource_value
# Project or folder to scope this configuration to. For example, "project/456"
- # would apply this configuration only to resources in "project/456" scope will
- # be checked with AND of other resources.
+ # would apply this configuration only to resources in "project/456" scope and
+ # will be checked with `AND` of other resources.
# Corresponds to the JSON property `scope`
# @return [String]
attr_accessor :scope
# Resource value mapping for Sensitive Data Protection findings If any of these
@@ -6495,13 +6498,13 @@
# field will be ignored when reading this configuration.
# Corresponds to the JSON property `sensitiveDataProtectionMapping`
# @return [Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2SensitiveDataProtectionMapping]
attr_accessor :sensitive_data_protection_mapping
- # Required. Tag values combined with AND to check against. Values in the form "
- # tagValues/123" Example: [ "tagValues/123", "tagValues/456", "tagValues/789" ]
- # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
+ # Tag values combined with `AND` to check against. Values in the form "tagValues/
+ # 123" Example: `[ "tagValues/123", "tagValues/456", "tagValues/789" ]` https://
+ # cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
# Corresponds to the JSON property `tagValues`
# @return [Array<String>]
attr_accessor :tag_values
# Output only. Timestamp this resource value configuration was last updated.
@@ -6903,11 +6906,11 @@
# Corresponds to the JSON property `attackExposureScore`
# @return [Float]
attr_accessor :attack_exposure_score
# List of resource names of findings associated with this toxic combination. For
- # example, organizations/123/sources/456/findings/789.
+ # example, `organizations/123/sources/456/findings/789`.
# Corresponds to the JSON property `relatedFindings`
# @return [Array<String>]
attr_accessor :related_findings
def initialize(**args)
@@ -8012,18 +8015,18 @@
class SecurityHealthAnalyticsSettings
include Google::Apis::Core::Hashable
# The configurations including the state of enablement for the service's
# different modules. The absence of a module in the map implies its
- # configuration is inherited from its parent's.
+ # configuration is inherited from its parent's configuration.
# Corresponds to the JSON property `modules`
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
attr_accessor :modules
- # The resource name of the SecurityHealthAnalyticsSettings. Formats: *
- # organizations/`organization`/securityHealthAnalyticsSettings * folders/`folder`
- # /securityHealthAnalyticsSettings * projects/`project`/
+ # Identifier. The resource name of the SecurityHealthAnalyticsSettings. Formats:
+ # * organizations/`organization`/securityHealthAnalyticsSettings * folders/`
+ # folder`/securityHealthAnalyticsSettings * projects/`project`/
# securityHealthAnalyticsSettings
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -8365,11 +8368,11 @@
# Corresponds to the JSON property `attackExposureScore`
# @return [Float]
attr_accessor :attack_exposure_score
# List of resource names of findings associated with this toxic combination. For
- # example, organizations/123/sources/456/findings/789.
+ # example, `organizations/123/sources/456/findings/789`.
# Corresponds to the JSON property `relatedFindings`
# @return [Array<String>]
attr_accessor :related_findings
def initialize(**args)
@@ -8388,18 +8391,18 @@
class VirtualMachineThreatDetectionSettings
include Google::Apis::Core::Hashable
# The configurations including the state of enablement for the service's
# different modules. The absence of a module in the map implies its
- # configuration is inherited from its parent's.
+ # configuration is inherited from its parent's configuration.
# Corresponds to the JSON property `modules`
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
attr_accessor :modules
- # The resource name of the VirtualMachineThreatDetectionSettings. Formats: *
- # organizations/`organization`/virtualMachineThreatDetectionSettings * folders/`
- # folder`/virtualMachineThreatDetectionSettings * projects/`project`/
+ # Identifier. The resource name of the VirtualMachineThreatDetectionSettings.
+ # Formats: * organizations/`organization`/virtualMachineThreatDetectionSettings *
+ # folders/`folder`/virtualMachineThreatDetectionSettings * projects/`project`/
# virtualMachineThreatDetectionSettings
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
@@ -8534,16 +8537,16 @@
class WebSecurityScannerSettings
include Google::Apis::Core::Hashable
# The configurations including the state of enablement for the service's
# different modules. The absence of a module in the map implies its
- # configuration is inherited from its parent's.
+ # configuration is inherited from its parent's configuration.
# Corresponds to the JSON property `modules`
# @return [Hash<String,Google::Apis::SecuritycenterV1beta2::Config>]
attr_accessor :modules
- # The resource name of the WebSecurityScannerSettings. Formats: * organizations/`
- # organization`/webSecurityScannerSettings * folders/`folder`/
+ # Identifier. The resource name of the WebSecurityScannerSettings. Formats: *
+ # organizations/`organization`/webSecurityScannerSettings * folders/`folder`/
# webSecurityScannerSettings * projects/`project`/webSecurityScannerSettings
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name