diff --git a/api_names_out.yaml b/api_names_out.yaml index 3e72c8b351a..df0b6ec5f7f 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -233064,10 +233064,12 @@ "/dlp:v2/GooglePrivacyDlpV2RedactConfig": google_privacy_dlp_v2_redact_config "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest": google_privacy_dlp_v2_redact_image_request "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/byteItem": byte_item +"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/deidentifyTemplate": deidentify_template "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs": image_redaction_configs "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/imageRedactionConfigs/image_redaction_config": image_redaction_config "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/includeFindings": include_findings "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectConfig": inspect_config +"/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/inspectTemplate": inspect_template "/dlp:v2/GooglePrivacyDlpV2RedactImageRequest/locationId": location_id "/dlp:v2/GooglePrivacyDlpV2RedactImageResponse": google_privacy_dlp_v2_redact_image_response "/dlp:v2/GooglePrivacyDlpV2RedactImageResponse/extractedText": extracted_text diff --git a/generated/google-apis-dlp_v2/CHANGELOG.md b/generated/google-apis-dlp_v2/CHANGELOG.md index 236398d835d..691dacf6fba 100644 --- a/generated/google-apis-dlp_v2/CHANGELOG.md +++ b/generated/google-apis-dlp_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dlp_v2 +### v0.100.0 (2025-10-19) + +* Regenerated from discovery document revision 20251012 + ### v0.99.0 (2025-09-28) * Regenerated from discovery document revision 20250921 diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb index 889c5147267..e44b48d26d3 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/classes.rb @@ -67,15 +67,14 @@ class GooglePrivacyDlpV2Action attr_accessor :publish_findings_to_cloud_data_catalog # Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive- - # data-protection-job-result` aspect. To learn more about aspects, see [Send - # inspection results to Dataplex Universal Catalog as aspects](https://cloud. - # google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects - # are persisted in Dataplex Universal Catalog storage and are governed by - # service-specific policies for Dataplex Universal Catalog. For more information, - # see [Service Specific Terms](https://cloud.google.com/terms/service-terms). - # Only a single instance of this action can be specified. This action is allowed - # only if all resources being scanned are BigQuery tables. Compatible with: - # Inspect + # data-protection-job-result` aspect. For more information, see [Send inspection + # results to Dataplex Universal Catalog as aspects](https://cloud.google.com/ + # sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored + # in Dataplex Universal Catalog storage and are governed by service-specific + # policies for Dataplex Universal Catalog. For more information, see [Service + # Specific Terms](https://cloud.google.com/terms/service-terms). Only a single + # instance of this action can be specified. This action is allowed only if all + # resources being scanned are BigQuery tables. Compatible with: Inspect # Corresponds to the JSON property `publishFindingsToDataplexCatalog` # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2PublishFindingsToDataplexCatalog] attr_accessor :publish_findings_to_dataplex_catalog @@ -8552,15 +8551,14 @@ def update!(**args) end # Publish findings of a DlpJob to Dataplex Universal Catalog as a `sensitive- - # data-protection-job-result` aspect. To learn more about aspects, see [Send - # inspection results to Dataplex Universal Catalog as aspects](https://cloud. - # google.com/sensitive-data-protection/docs/add-aspects-inspection-job). Aspects - # are persisted in Dataplex Universal Catalog storage and are governed by - # service-specific policies for Dataplex Universal Catalog. For more information, - # see [Service Specific Terms](https://cloud.google.com/terms/service-terms). - # Only a single instance of this action can be specified. This action is allowed - # only if all resources being scanned are BigQuery tables. Compatible with: - # Inspect + # data-protection-job-result` aspect. For more information, see [Send inspection + # results to Dataplex Universal Catalog as aspects](https://cloud.google.com/ + # sensitive-data-protection/docs/add-aspects-inspection-job). Aspects are stored + # in Dataplex Universal Catalog storage and are governed by service-specific + # policies for Dataplex Universal Catalog. For more information, see [Service + # Specific Terms](https://cloud.google.com/terms/service-terms). Only a single + # instance of this action can be specified. This action is allowed only if all + # resources being scanned are BigQuery tables. Compatible with: Inspect class GooglePrivacyDlpV2PublishFindingsToDataplexCatalog include Google::Apis::Core::Hashable @@ -9012,6 +9010,14 @@ class GooglePrivacyDlpV2RedactImageRequest # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem] attr_accessor :byte_item + # The full resource name of the de-identification template to use. Settings in + # the main `image_redaction_configs` field override the corresponding settings + # in this de-identification template. The request fails if the type of the + # template's deidentify_config is not image_transformations. + # Corresponds to the JSON property `deidentifyTemplate` + # @return [String] + attr_accessor :deidentify_template + # The configuration for specifying what content to redact from images. # Corresponds to the JSON property `imageRedactionConfigs` # @return [Array] @@ -9029,6 +9035,16 @@ class GooglePrivacyDlpV2RedactImageRequest # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig] attr_accessor :inspect_config + # The full resource name of the inspection template to use. Settings in the main + # `inspect_config` field override the corresponding settings in this inspection + # template. The merge behavior is as follows: - Singular field: The main field's + # value replaces the value of the corresponding field in the template. - + # Repeated fields: The field values are appended to the list defined in the + # template. - Sub-messages and groups: The fields are recursively merged. + # Corresponds to the JSON property `inspectTemplate` + # @return [String] + attr_accessor :inspect_template + # Deprecated. This field has no effect. # Corresponds to the JSON property `locationId` # @return [String] @@ -9041,9 +9057,11 @@ def initialize(**args) # Update properties of this object def update!(**args) @byte_item = args[:byte_item] if args.key?(:byte_item) + @deidentify_template = args[:deidentify_template] if args.key?(:deidentify_template) @image_redaction_configs = args[:image_redaction_configs] if args.key?(:image_redaction_configs) @include_findings = args[:include_findings] if args.key?(:include_findings) @inspect_config = args[:inspect_config] if args.key?(:inspect_config) + @inspect_template = args[:inspect_template] if args.key?(:inspect_template) @location_id = args[:location_id] if args.key?(:location_id) end end diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb index 4eec76cb93d..888b7ba3694 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DlpV2 # Version of the google-apis-dlp_v2 gem - GEM_VERSION = "0.99.0" + GEM_VERSION = "0.100.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250921" + REVISION = "20251012" end end end diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb index f3ce4c09ec3..8466f265968 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/representations.rb @@ -4777,11 +4777,13 @@ class GooglePrivacyDlpV2RedactImageRequest class Representation < Google::Apis::Core::JsonRepresentation property :byte_item, as: 'byteItem', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem::Representation + property :deidentify_template, as: 'deidentifyTemplate' collection :image_redaction_configs, as: 'imageRedactionConfigs', class: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2ImageRedactionConfig::Representation property :include_findings, as: 'includeFindings' property :inspect_config, as: 'inspectConfig', class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig::Representation + property :inspect_template, as: 'inspectTemplate' property :location_id, as: 'locationId' end end diff --git a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/service.rb b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/service.rb index 2d2dfbc29e7..9cc2714f17c 100644 --- a/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/service.rb +++ b/generated/google-apis-dlp_v2/lib/google/apis/dlp_v2/service.rb @@ -600,19 +600,22 @@ def get_organization_location_column_data_profile(name, fields: nil, quota_user: # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # table_data_profile_name` - The name of the related table data profile. - ` - # project_id` - The Google Cloud project ID. (REQUIRED) - `dataset_id` - The - # BigQuery dataset ID. (REQUIRED) - `table_id` - The BigQuery table ID. ( - # REQUIRED) - `field_id` - The ID of the BigQuery field. - `info_type` - The - # infotype detected in the resource. - `sensitivity_level` - HIGH|MEDIUM|LOW - ` - # data_risk_level`: How much risk is associated with this data. - `status_code` - - # an RPC status code as defined in https://github.com/googleapis/googleapis/ - # blob/master/google/rpc/code.proto * The operator must be `=` for project_id, - # dataset_id, and table_id. Other filters also support `!=`. Examples: * - # project_id = 12345 AND status_code = 1 * project_id = 12345 AND - # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS - # The length of this field should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # table_data_profile_name`: The name of the related table data profile - ` + # project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The + # BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - + # `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected + # in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: + # How much risk is associated with this data - `status_code`: An RPC status code + # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ + # code.proto - `profile_last_generated`: Date and time the profile was last + # generated * The operator must be `=` for project_id, dataset_id, and table_id. + # Other filters also support `!=`. The `profile_last_generated` filter also + # supports `<` and `>`. The syntax is based on https://google.aip.dev/160. + # Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND + # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * + # profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field + # should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending. @@ -764,7 +767,8 @@ def get_organization_location_connection(name, fields: nil, quota_user: nil, opt # organizations/433245324/locations/europe` or `projects/project-id/locations/ # asia`. # @param [String] filter - # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax + # is based on https://google.aip.dev/160. # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token @@ -840,7 +844,8 @@ def patch_organization_location_connection(name, google_privacy_dlp_v2_update_co # location, for example, `organizations/433245324/locations/-` or `projects/ # project-id/locations/-`. # @param [String] filter - # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The + # syntax is based on https://google.aip.dev/160. # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token @@ -1295,11 +1300,12 @@ def patch_organization_location_discovery_config(name, google_privacy_dlp_v2_upd # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING| # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job # finished. - 'start_time` - Corresponds to the time the job finished. * The - # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage - # AND state = done * inspected_storage = cloud_storage OR inspected_storage = - # bigquery * inspected_storage = cloud_storage AND (state = done OR state = - # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field - # should be no more than 500 characters. + # operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/ + # 160. Examples: * inspected_storage = cloud_storage AND state = done * + # inspected_storage = cloud_storage OR inspected_storage = bigquery * + # inspected_storage = cloud_storage AND (state = done OR state = canceled) * + # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no + # more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -1420,19 +1426,22 @@ def get_organization_location_file_store_data_profile(name, fields: nil, quota_u # Optional. Allows filtering. Supported syntax: * Filter expressions are made up # of one or more restrictions. * Restrictions can be combined by `AND` or `OR` # logical operators. A sequence of restrictions implicitly uses `AND`. * A - # restriction has the form of ``field` `operator` `value``. * Supported fields/ - # values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS - # account ID. - `file_store_path` - The path like "gs://bucket". - ` - # data_source_type` - The profile's data source type, like "google/storage/ - # bucket". - `data_storage_location` - The location where the file store's data - # is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - ` - # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC| - # RESTRICTED - `status_code` - an RPC status code as defined in https://github. - # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator - # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * ` - # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND - # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length - # of this field should be no more than 500 characters. + # restriction has the form of ``field` `operator` `value``. * Supported fields: - + # `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - + # `file_store_path`: The path like "gs://bucket" - `data_source_type`: The + # profile's data source type, like "google/storage/bucket" - ` + # data_storage_location`: The location where the file store's data is stored, + # like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level` + # : HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: + # an RPC status code as defined in https://github.com/googleapis/googleapis/ + # blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time + # the profile was last generated * The operator must be `=` or `!=`. The ` + # profile_last_generated` filter also supports `<` and `>`. The syntax is based + # on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code + # = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 + # AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * ` + # profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field + # should be no more than 500 characters. # @param [String] order_by # Optional. Comma-separated list of fields to order by, followed by `asc` or ` # desc` postfix. This list is case insensitive. The default sorting order is @@ -1862,12 +1871,12 @@ def get_organization_location_job_trigger(name, fields: nil, quota_user: nil, op # DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted # timestamp, surrounded by quotation marks. Nanoseconds are ignored. - ' # error_count' - Number of errors that have occurred while running. * The - # operator must be `=` or `!=` for status and inspected_storage. Examples: * - # inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = - # cloud_storage OR inspected_storage = bigquery * inspected_storage = - # cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \"2017- - # 12-12T00:00:00+00:00\" The length of this field should be no more than 500 - # characters. + # operator must be `=` or `!=` for status and inspected_storage. The syntax is + # based on https://google.aip.dev/160. Examples: * inspected_storage = + # cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR + # inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = + # PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The + # length of this field should be no more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -1993,22 +2002,25 @@ def get_organization_location_project_data_profile(name, fields: nil, quota_user # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - # - `status_code` - an RPC status code as defined in https://github.com/ - # googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be - # `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * ` - # project_id = 12345 AND sensitivity_level = HIGH` The length of this field - # should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE| + # LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code + # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ + # code.proto - `profile_last_generated`: Date and time the profile was last + # generated * The operator must be `=` or `!=`. The `profile_last_generated` + # filter also supports `<` and `>`. The syntax is based on https://google.aip. + # dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = + # 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00: + # 00:00.000Z"` The length of this field should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending. # Redundant space characters are insignificant. Only one order field at a time # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported - # fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How - # sensitive the data in a project is, at most. - `data_risk_level`: How much - # risk is associated with this data. - `profile_last_generated`: When the - # profile was last updated in epoch seconds. + # fields: - `project_id`: Google Cloud project ID - `sensitivity_level`: How + # sensitive the data in a project is, at most - `data_risk_level`: How much risk + # is associated with this data - `profile_last_generated`: Date and time (in + # epoch seconds) the profile was last generated # @param [Fixnum] page_size # Size of the page. This value can be limited by the server. If zero, server # returns a page of max size 100. @@ -2325,16 +2337,19 @@ def get_organization_location_table_data_profile(name, fields: nil, quota_user: # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # project_id` - The Google Cloud project ID. - `dataset_id` - The BigQuery - # dataset ID. - `table_id` - The ID of the BigQuery table. - `sensitivity_level` - # - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - ` - # resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code - # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ - # code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 - # AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * ` - # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field - # should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset + # ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH| + # MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: + # PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https:// + # github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - ` + # profile_last_generated`: Date and time the profile was last generated * The + # operator must be `=` or `!=`. The `profile_last_generated` filter also + # supports `<` and `>`. The syntax is based on https://google.aip.dev/160. + # Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND + # sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = + # PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of + # this field should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending. @@ -3109,11 +3124,12 @@ def get_project_dlp_job(name, fields: nil, quota_user: nil, options: nil, &block # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING| # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job # finished. - 'start_time` - Corresponds to the time the job finished. * The - # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage - # AND state = done * inspected_storage = cloud_storage OR inspected_storage = - # bigquery * inspected_storage = cloud_storage AND (state = done OR state = - # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field - # should be no more than 500 characters. + # operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/ + # 160. Examples: * inspected_storage = cloud_storage AND state = done * + # inspected_storage = cloud_storage OR inspected_storage = bigquery * + # inspected_storage = cloud_storage AND (state = done OR state = canceled) * + # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no + # more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -3581,12 +3597,12 @@ def get_project_job_trigger(name, fields: nil, quota_user: nil, options: nil, &b # DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted # timestamp, surrounded by quotation marks. Nanoseconds are ignored. - ' # error_count' - Number of errors that have occurred while running. * The - # operator must be `=` or `!=` for status and inspected_storage. Examples: * - # inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = - # cloud_storage OR inspected_storage = bigquery * inspected_storage = - # cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \"2017- - # 12-12T00:00:00+00:00\" The length of this field should be no more than 500 - # characters. + # operator must be `=` or `!=` for status and inspected_storage. The syntax is + # based on https://google.aip.dev/160. Examples: * inspected_storage = + # cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR + # inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = + # PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The + # length of this field should be no more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -3714,19 +3730,22 @@ def get_project_location_column_data_profile(name, fields: nil, quota_user: nil, # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # table_data_profile_name` - The name of the related table data profile. - ` - # project_id` - The Google Cloud project ID. (REQUIRED) - `dataset_id` - The - # BigQuery dataset ID. (REQUIRED) - `table_id` - The BigQuery table ID. ( - # REQUIRED) - `field_id` - The ID of the BigQuery field. - `info_type` - The - # infotype detected in the resource. - `sensitivity_level` - HIGH|MEDIUM|LOW - ` - # data_risk_level`: How much risk is associated with this data. - `status_code` - - # an RPC status code as defined in https://github.com/googleapis/googleapis/ - # blob/master/google/rpc/code.proto * The operator must be `=` for project_id, - # dataset_id, and table_id. Other filters also support `!=`. Examples: * - # project_id = 12345 AND status_code = 1 * project_id = 12345 AND - # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS - # The length of this field should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # table_data_profile_name`: The name of the related table data profile - ` + # project_id`: The Google Cloud project ID (REQUIRED) - `dataset_id`: The + # BigQuery dataset ID (REQUIRED) - `table_id`: The BigQuery table ID (REQUIRED) - + # `field_id`: The ID of the BigQuery field - `info_type`: The infotype detected + # in the resource - `sensitivity_level`: HIGH|MEDIUM|LOW - `data_risk_level`: + # How much risk is associated with this data - `status_code`: An RPC status code + # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ + # code.proto - `profile_last_generated`: Date and time the profile was last + # generated * The operator must be `=` for project_id, dataset_id, and table_id. + # Other filters also support `!=`. The `profile_last_generated` filter also + # supports `<` and `>`. The syntax is based on https://google.aip.dev/160. + # Examples: * project_id = 12345 AND status_code = 1 * project_id = 12345 AND + # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS * + # profile_last_generated < "2025-01-01T00:00:00.000Z" The length of this field + # should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending. @@ -3878,7 +3897,8 @@ def get_project_location_connection(name, fields: nil, quota_user: nil, options: # organizations/433245324/locations/europe` or `projects/project-id/locations/ # asia`. # @param [String] filter - # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR The syntax + # is based on https://google.aip.dev/160. # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token @@ -3954,7 +3974,8 @@ def patch_project_location_connection(name, google_privacy_dlp_v2_update_connect # location, for example, `organizations/433245324/locations/-` or `projects/ # project-id/locations/-`. # @param [String] filter - # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR The + # syntax is based on https://google.aip.dev/160. # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token @@ -4759,11 +4780,12 @@ def hybrid_project_location_dlp_job_inspect(name, google_privacy_dlp_v2_hybrid_i # finished. * Supported fields for risk analysis jobs: - `state` - RUNNING| # CANCELED|FINISHED|FAILED - 'end_time` - Corresponds to the time the job # finished. - 'start_time` - Corresponds to the time the job finished. * The - # operator must be `=` or `!=`. Examples: * inspected_storage = cloud_storage - # AND state = done * inspected_storage = cloud_storage OR inspected_storage = - # bigquery * inspected_storage = cloud_storage AND (state = done OR state = - # canceled) * end_time > \"2017-12-12T00:00:00+00:00\" The length of this field - # should be no more than 500 characters. + # operator must be `=` or `!=`. The syntax is based on https://google.aip.dev/ + # 160. Examples: * inspected_storage = cloud_storage AND state = done * + # inspected_storage = cloud_storage OR inspected_storage = bigquery * + # inspected_storage = cloud_storage AND (state = done OR state = canceled) * + # end_time > \"2017-12-12T00:00:00+00:00\" The length of this field should be no + # more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -4884,19 +4906,22 @@ def get_project_location_file_store_data_profile(name, fields: nil, quota_user: # Optional. Allows filtering. Supported syntax: * Filter expressions are made up # of one or more restrictions. * Restrictions can be combined by `AND` or `OR` # logical operators. A sequence of restrictions implicitly uses `AND`. * A - # restriction has the form of ``field` `operator` `value``. * Supported fields/ - # values: - `project_id` - The Google Cloud project ID. - `account_id` - The AWS - # account ID. - `file_store_path` - The path like "gs://bucket". - ` - # data_source_type` - The profile's data source type, like "google/storage/ - # bucket". - `data_storage_location` - The location where the file store's data - # is stored, like "us-central1". - `sensitivity_level` - HIGH|MODERATE|LOW - ` - # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC| - # RESTRICTED - `status_code` - an RPC status code as defined in https://github. - # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator - # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * ` - # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND - # resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` The length - # of this field should be no more than 500 characters. + # restriction has the form of ``field` `operator` `value``. * Supported fields: - + # `project_id`: The Google Cloud project ID - `account_id`: The AWS account ID - + # `file_store_path`: The path like "gs://bucket" - `data_source_type`: The + # profile's data source type, like "google/storage/bucket" - ` + # data_storage_location`: The location where the file store's data is stored, + # like "us-central1" - `sensitivity_level`: HIGH|MODERATE|LOW - `data_risk_level` + # : HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|RESTRICTED - `status_code`: + # an RPC status code as defined in https://github.com/googleapis/googleapis/ + # blob/master/google/rpc/code.proto - `profile_last_generated`: Date and time + # the profile was last generated * The operator must be `=` or `!=`. The ` + # profile_last_generated` filter also supports `<` and `>`. The syntax is based + # on https://google.aip.dev/160. Examples: * `project_id = 12345 AND status_code + # = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 + # AND resource_visibility = PUBLIC` * `file_store_path = "gs://mybucket"` * ` + # profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of this field + # should be no more than 500 characters. # @param [String] order_by # Optional. Comma-separated list of fields to order by, followed by `asc` or ` # desc` postfix. This list is case insensitive. The default sorting order is @@ -5444,12 +5469,12 @@ def hybrid_project_location_job_trigger_inspect(name, google_privacy_dlp_v2_hybr # DATASTORE|CLOUD_STORAGE|BIGQUERY - 'last_run_time` - RFC 3339 formatted # timestamp, surrounded by quotation marks. Nanoseconds are ignored. - ' # error_count' - Number of errors that have occurred while running. * The - # operator must be `=` or `!=` for status and inspected_storage. Examples: * - # inspected_storage = cloud_storage AND status = HEALTHY * inspected_storage = - # cloud_storage OR inspected_storage = bigquery * inspected_storage = - # cloud_storage AND (state = PAUSED OR state = HEALTHY) * last_run_time > \"2017- - # 12-12T00:00:00+00:00\" The length of this field should be no more than 500 - # characters. + # operator must be `=` or `!=` for status and inspected_storage. The syntax is + # based on https://google.aip.dev/160. Examples: * inspected_storage = + # cloud_storage AND status = HEALTHY * inspected_storage = cloud_storage OR + # inspected_storage = bigquery * inspected_storage = cloud_storage AND (state = + # PAUSED OR state = HEALTHY) * last_run_time > \"2017-12-12T00:00:00+00:00\" The + # length of this field should be no more than 500 characters. # @param [String] location_id # Deprecated. This field has no effect. # @param [String] order_by @@ -5575,22 +5600,25 @@ def get_project_location_project_data_profile(name, fields: nil, quota_user: nil # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - # - `status_code` - an RPC status code as defined in https://github.com/ - # googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be - # `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * ` - # project_id = 12345 AND sensitivity_level = HIGH` The length of this field - # should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # project_id`: the Google Cloud project ID - `sensitivity_level`: HIGH|MODERATE| + # LOW - `data_risk_level`: HIGH|MODERATE|LOW - `status_code`: an RPC status code + # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ + # code.proto - `profile_last_generated`: Date and time the profile was last + # generated * The operator must be `=` or `!=`. The `profile_last_generated` + # filter also supports `<` and `>`. The syntax is based on https://google.aip. + # dev/160. Examples: * `project_id = 12345 AND status_code = 1` * `project_id = + # 12345 AND sensitivity_level = HIGH` * `profile_last_generated < "2025-01-01T00: + # 00:00.000Z"` The length of this field should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending. # Redundant space characters are insignificant. Only one order field at a time # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported - # fields are: - `project_id`: Google Cloud project ID - `sensitivity_level`: How - # sensitive the data in a project is, at most. - `data_risk_level`: How much - # risk is associated with this data. - `profile_last_generated`: When the - # profile was last updated in epoch seconds. + # fields: - `project_id`: Google Cloud project ID - `sensitivity_level`: How + # sensitive the data in a project is, at most - `data_risk_level`: How much risk + # is associated with this data - `profile_last_generated`: Date and time (in + # epoch seconds) the profile was last generated # @param [Fixnum] page_size # Size of the page. This value can be limited by the server. If zero, server # returns a page of max size 100. @@ -5907,16 +5935,19 @@ def get_project_location_table_data_profile(name, fields: nil, quota_user: nil, # Allows filtering. Supported syntax: * Filter expressions are made up of one or # more restrictions. * Restrictions can be combined by `AND` or `OR` logical # operators. A sequence of restrictions implicitly uses `AND`. * A restriction - # has the form of ``field` `operator` `value``. * Supported fields/values: - ` - # project_id` - The Google Cloud project ID. - `dataset_id` - The BigQuery - # dataset ID. - `table_id` - The ID of the BigQuery table. - `sensitivity_level` - # - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - ` - # resource_visibility`: PUBLIC|RESTRICTED - `status_code` - an RPC status code - # as defined in https://github.com/googleapis/googleapis/blob/master/google/rpc/ - # code.proto * The operator must be `=` or `!=`. Examples: * `project_id = 12345 - # AND status_code = 1` * `project_id = 12345 AND sensitivity_level = HIGH` * ` - # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field - # should be no more than 500 characters. + # has the form of ``field` `operator` `value``. * Supported fields: - ` + # project_id`: The Google Cloud project ID - `dataset_id`: The BigQuery dataset + # ID - `table_id`: The ID of the BigQuery table - `sensitivity_level`: HIGH| + # MODERATE|LOW - `data_risk_level`: HIGH|MODERATE|LOW - `resource_visibility`: + # PUBLIC|RESTRICTED - `status_code`: an RPC status code as defined in https:// + # github.com/googleapis/googleapis/blob/master/google/rpc/code.proto - ` + # profile_last_generated`: Date and time the profile was last generated * The + # operator must be `=` or `!=`. The `profile_last_generated` filter also + # supports `<` and `>`. The syntax is based on https://google.aip.dev/160. + # Examples: * `project_id = 12345 AND status_code = 1` * `project_id = 12345 AND + # sensitivity_level = HIGH` * `project_id = 12345 AND resource_visibility = + # PUBLIC` * `profile_last_generated < "2025-01-01T00:00:00.000Z"` The length of + # this field should be no more than 500 characters. # @param [String] order_by # Comma-separated list of fields to order by, followed by `asc` or `desc` # postfix. This list is case insensitive. The default sorting order is ascending.