lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.65.0 vs lib/google/apis/dlp_v2/service.rb in google-apis-dlp_v2-0.67.0

- old
+ new

@@ -146,11 +146,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -257,11 +257,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -356,11 +356,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -467,11 +467,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -657,16 +657,148 @@ command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end + # Create a Connection to an external data source. + # @param [String] parent + # Required. Parent resource name. The format of this value varies depending on + # the scope of the request (project or organization): + Projects scope: ` + # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: ` + # organizations/`ORG_ID`/locations/`LOCATION_ID + # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest] google_privacy_dlp_v2_create_connection_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_organization_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2/{+parent}/connections', options) + command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest::Representation + command.request_object = google_privacy_dlp_v2_create_connection_request_object + command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation + command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Delete a Connection. + # @param [String] name + # Required. Resource name of the Connection to be deleted, in the format: ` + # projects/`project`/locations/`location`/connections/`connection``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2/{+name}', options) + command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Get a Connection by name. + # @param [String] name + # Required. Resource name in the format: `projects/`project`/locations/`location` + # /connections/`connection``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2/{+name}', options) + command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation + command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Update a Connection. + # @param [String] name + # Required. Resource name in the format: `projects/`project`/locations/`location` + # /connections/`connection``. + # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest] google_privacy_dlp_v2_update_connection_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_organization_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v2/{+name}', options) + command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest::Representation + command.request_object = google_privacy_dlp_v2_update_connection_request_object + command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation + command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Searches for Connections in a parent. # @param [String] parent # Required. Parent name, typically an organization, without location. For - # example: "organizations/12345678". + # example: `organizations/12345678`. # @param [String] filter - # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token # Optional. Page token from a previous page to return the next set of results. # If set, all other request fields must match the original request. @@ -706,11 +838,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -817,11 +949,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -910,12 +1042,14 @@ execute_or_queue_command(command, &block) end # Creates a config for discovery to scan and profile storage. # @param [String] parent - # Required. Parent resource name. The format of this value is as follows: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` + # Required. Parent resource name. The format of this value varies depending on + # the scope of the request (project or organization): + Projects scope: ` + # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: ` + # organizations/`ORG_ID`/locations/`LOCATION_ID The following example `parent` # string specifies a parent project with the identifier `example-project`, and # specifies the `europe-west3` location for processing data: parent=projects/ # example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDiscoveryConfigRequest] google_privacy_dlp_v2_create_discovery_config_request_object # @param [String] fields @@ -1098,11 +1232,11 @@ # more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -1177,11 +1311,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -1288,11 +1422,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -1386,11 +1520,11 @@ # sensitive-data-protection/docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object @@ -1491,11 +1625,11 @@ # docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -1696,11 +1830,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -1807,11 +1941,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [String] location_id @@ -2035,11 +2169,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -2146,11 +2280,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [String] location_id @@ -2246,11 +2380,11 @@ # but may change over time as detectors are updated. # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object @@ -2292,11 +2426,11 @@ # sensitive-data-protection/docs/inspecting-text, # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object @@ -2334,11 +2468,11 @@ # identification_in_free_text_code_example to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object @@ -2377,11 +2511,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -2488,11 +2622,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -2626,11 +2760,11 @@ # all types, but may change over time as detectors are updated. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object @@ -2735,11 +2869,11 @@ # more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -2816,11 +2950,11 @@ # types, but may change over time as detectors are updated. # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object @@ -2859,11 +2993,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -2970,11 +3104,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -3103,11 +3237,11 @@ # sensitive-data-protection/docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object @@ -3208,11 +3342,11 @@ # docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -3416,12 +3550,14 @@ execute_or_queue_command(command, &block) end # Create a Connection to an external data source. # @param [String] parent - # Required. Parent resource name in the format: "projects/`project`/locations/` - # location`". + # Required. Parent resource name. The format of this value varies depending on + # the scope of the request (project or organization): + Projects scope: ` + # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: ` + # organizations/`ORG_ID`/locations/`LOCATION_ID # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest] google_privacy_dlp_v2_create_connection_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -3450,12 +3586,12 @@ execute_or_queue_command(command, &block) end # Delete a Connection. # @param [String] name - # Required. Resource name of the Connection to be deleted, in the format: " - # projects/`project`/locations/`location`/connections/`connection`". + # Required. Resource name of the Connection to be deleted, in the format: ` + # projects/`project`/locations/`location`/connections/`connection``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -3481,12 +3617,12 @@ execute_or_queue_command(command, &block) end # Get a Connection by name. # @param [String] name - # Required. Resource name in the format: "projects/`project`/locations/`location` - # /connections/`connection`". + # Required. Resource name in the format: `projects/`project`/locations/`location` + # /connections/`connection``. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any # arbitrary string assigned to a user, but should not exceed 40 characters. @@ -3512,13 +3648,13 @@ execute_or_queue_command(command, &block) end # Lists Connections in a parent. # @param [String] parent - # Required. Parent name, for example: "projects/project-id/locations/global". + # Required. Parent name, for example: `projects/project-id/locations/global`. # @param [String] filter - # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token # Optional. Page token from a previous page to return the next set of results. # If set, all other request fields must match the original request. @@ -3552,12 +3688,12 @@ execute_or_queue_command(command, &block) end # Update a Connection. # @param [String] name - # Required. Resource name in the format: "projects/`project`/locations/`location` - # /connections/`connection`". + # Required. Resource name in the format: `projects/`project`/locations/`location` + # /connections/`connection``. # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest] google_privacy_dlp_v2_update_connection_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user # Available to use for quota purposes for server-side applications. Can be any @@ -3587,13 +3723,13 @@ end # Searches for Connections in a parent. # @param [String] parent # Required. Parent name, typically an organization, without location. For - # example: "organizations/12345678". + # example: `organizations/12345678`. # @param [String] filter - # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR + # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR # @param [Fixnum] page_size # Optional. Number of results per page, max 1000. # @param [String] page_token # Optional. Page token from a previous page to return the next set of results. # If set, all other request fields must match the original request. @@ -3635,11 +3771,11 @@ # but may change over time as detectors are updated. # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object @@ -3681,11 +3817,11 @@ # sensitive-data-protection/docs/inspecting-text, # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object @@ -3723,11 +3859,11 @@ # identification_in_free_text_code_example to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object @@ -3766,11 +3902,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -3877,11 +4013,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -3970,12 +4106,14 @@ execute_or_queue_command(command, &block) end # Creates a config for discovery to scan and profile storage. # @param [String] parent - # Required. Parent resource name. The format of this value is as follows: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent` + # Required. Parent resource name. The format of this value varies depending on + # the scope of the request (project or organization): + Projects scope: ` + # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: ` + # organizations/`ORG_ID`/locations/`LOCATION_ID The following example `parent` # string specifies a parent project with the identifier `example-project`, and # specifies the `europe-west3` location for processing data: parent=projects/ # example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDiscoveryConfigRequest] google_privacy_dlp_v2_create_discovery_config_request_object # @param [String] fields @@ -4197,11 +4335,11 @@ # all types, but may change over time as detectors are updated. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object @@ -4375,11 +4513,11 @@ # more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -4456,11 +4594,11 @@ # types, but may change over time as detectors are updated. # @param [String] parent # Parent resource name. The format of this value varies depending on whether you # have [specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object @@ -4499,11 +4637,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -4610,11 +4748,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -4743,11 +4881,11 @@ # sensitive-data-protection/docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object @@ -4884,11 +5022,11 @@ # docs/creating-job-triggers to learn more. # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # whether you have [specified a processing location](https://cloud.google.com/ # sensitive-data-protection/docs/specifying-location): + Projects scope, - # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects + # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects # scope, no location specified (defaults to global): `projects/`PROJECT_ID The # following example `parent` string specifies a parent project with the # identifier `example-project`, and specifies the `europe-west3` location for # processing data: parent=projects/example-project/locations/europe-west3 # @param [String] filter @@ -5089,11 +5227,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -5200,11 +5338,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [String] location_id @@ -5428,11 +5566,11 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope, # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID + # Organizations scope, no location specified (defaults to global): ` # organizations/`ORG_ID The following example `parent` string specifies a parent # project with the identifier `example-project`, and specifies the `europe-west3` @@ -5539,10 +5677,10 @@ # @param [String] parent # Required. Parent resource name. The format of this value varies depending on # the scope of the request (project or organization) and whether you have [ # specified a processing location](https://cloud.google.com/sensitive-data- # protection/docs/specifying-location): + Projects scope, location specified: ` - # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location + # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location # specified (defaults to global): `projects/`PROJECT_ID The following example ` # parent` string specifies a parent project with the identifier `example-project` # , and specifies the `europe-west3` location for processing data: parent= # projects/example-project/locations/europe-west3 # @param [String] location_id