google-apis-dlp_v2 0.59.0 → 0.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/dlp_v2/classes.rb +307 -143
- data/lib/google/apis/dlp_v2/gem_version.rb +2 -2
- data/lib/google/apis/dlp_v2/representations.rb +68 -0
- data/lib/google/apis/dlp_v2/service.rb +1144 -529
- data/lib/google/apis/dlp_v2.rb +1 -1
- metadata +3 -3
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Dlp = Google::Apis::DlpV2 # Alias the module
|
32
32
|
# service = Dlp::DLPService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/
|
34
|
+
# @see https://cloud.google.com/sensitive-data-protection/docs/
|
35
35
|
class DLPService < Google::Apis::Core::BaseService
|
36
36
|
DEFAULT_ENDPOINT_TEMPLATE = "https://dlp.$UNIVERSE_DOMAIN$/"
|
37
37
|
|
@@ -53,7 +53,8 @@ module Google
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# Returns a list of the sensitive information types that DLP API supports. See
|
56
|
-
# https://cloud.google.com/
|
56
|
+
# https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to
|
57
|
+
# learn more.
|
57
58
|
# @param [String] filter
|
58
59
|
# filter to only return infoTypes supported by certain parts of the API.
|
59
60
|
# Defaults to supported_by=INSPECT.
|
@@ -96,7 +97,8 @@ module Google
|
|
96
97
|
end
|
97
98
|
|
98
99
|
# Returns a list of the sensitive information types that DLP API supports. See
|
99
|
-
# https://cloud.google.com/
|
100
|
+
# https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference to
|
101
|
+
# learn more.
|
100
102
|
# @param [String] parent
|
101
103
|
# The parent resource name. The format of this value is as follows: locations/
|
102
104
|
# LOCATION_ID
|
@@ -139,20 +141,21 @@ module Google
|
|
139
141
|
end
|
140
142
|
|
141
143
|
# Creates a DeidentifyTemplate for reusing frequently used configuration for de-
|
142
|
-
# identifying content, images, and storage. See https://cloud.google.com/
|
143
|
-
# docs/creating-templates-deid to learn more.
|
144
|
+
# identifying content, images, and storage. See https://cloud.google.com/
|
145
|
+
# sensitive-data-protection/docs/creating-templates-deid to learn more.
|
144
146
|
# @param [String] parent
|
145
147
|
# Required. Parent resource name. The format of this value varies depending on
|
146
148
|
# the scope of the request (project or organization) and whether you have [
|
147
|
-
# specified a processing location](https://cloud.google.com/
|
148
|
-
# location): + Projects scope, location specified: `
|
149
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
150
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
151
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
152
|
-
# location specified (defaults to global): `
|
153
|
-
# example `parent` string specifies a parent
|
154
|
-
# example-project`, and specifies the `europe-west3`
|
155
|
-
# data: parent=projects/example-project/locations/
|
149
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
150
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
151
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
152
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
153
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
154
|
+
# Organizations scope, no location specified (defaults to global): `
|
155
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
156
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
157
|
+
# location for processing data: parent=projects/example-project/locations/
|
158
|
+
# europe-west3
|
156
159
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
157
160
|
# @param [String] fields
|
158
161
|
# Selector specifying which fields to include in a partial response.
|
@@ -183,8 +186,8 @@ module Google
|
|
183
186
|
execute_or_queue_command(command, &block)
|
184
187
|
end
|
185
188
|
|
186
|
-
# Deletes a DeidentifyTemplate. See https://cloud.google.com/
|
187
|
-
# templates-deid to learn more.
|
189
|
+
# Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
190
|
+
# protection/docs/creating-templates-deid to learn more.
|
188
191
|
# @param [String] name
|
189
192
|
# Required. Resource name of the organization and deidentify template to be
|
190
193
|
# deleted, for example `organizations/433245324/deidentifyTemplates/432452342`
|
@@ -216,8 +219,8 @@ module Google
|
|
216
219
|
execute_or_queue_command(command, &block)
|
217
220
|
end
|
218
221
|
|
219
|
-
# Gets a DeidentifyTemplate. See https://cloud.google.com/
|
220
|
-
# templates-deid to learn more.
|
222
|
+
# Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
223
|
+
# protection/docs/creating-templates-deid to learn more.
|
221
224
|
# @param [String] name
|
222
225
|
# Required. Resource name of the organization and deidentify template to be read,
|
223
226
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -249,20 +252,21 @@ module Google
|
|
249
252
|
execute_or_queue_command(command, &block)
|
250
253
|
end
|
251
254
|
|
252
|
-
# Lists DeidentifyTemplates. See https://cloud.google.com/
|
253
|
-
# templates-deid to learn more.
|
255
|
+
# Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-
|
256
|
+
# protection/docs/creating-templates-deid to learn more.
|
254
257
|
# @param [String] parent
|
255
258
|
# Required. Parent resource name. The format of this value varies depending on
|
256
259
|
# the scope of the request (project or organization) and whether you have [
|
257
|
-
# specified a processing location](https://cloud.google.com/
|
258
|
-
# location): + Projects scope, location specified: `
|
259
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
260
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
261
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
262
|
-
# location specified (defaults to global): `
|
263
|
-
# example `parent` string specifies a parent
|
264
|
-
# example-project`, and specifies the `europe-west3`
|
265
|
-
# data: parent=projects/example-project/locations/
|
260
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
261
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
262
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
263
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
264
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
265
|
+
# Organizations scope, no location specified (defaults to global): `
|
266
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
267
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
268
|
+
# location for processing data: parent=projects/example-project/locations/
|
269
|
+
# europe-west3
|
266
270
|
# @param [String] location_id
|
267
271
|
# Deprecated. This field has no effect.
|
268
272
|
# @param [String] order_by
|
@@ -310,8 +314,8 @@ module Google
|
|
310
314
|
execute_or_queue_command(command, &block)
|
311
315
|
end
|
312
316
|
|
313
|
-
# Updates the DeidentifyTemplate. See https://cloud.google.com/
|
314
|
-
# templates-deid to learn more.
|
317
|
+
# Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
318
|
+
# protection/docs/creating-templates-deid to learn more.
|
315
319
|
# @param [String] name
|
316
320
|
# Required. Resource name of organization and deidentify template to be updated,
|
317
321
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -347,20 +351,21 @@ module Google
|
|
347
351
|
end
|
348
352
|
|
349
353
|
# Creates an InspectTemplate for reusing frequently used configuration for
|
350
|
-
# inspecting content, images, and storage. See https://cloud.google.com/
|
351
|
-
# creating-templates to learn more.
|
354
|
+
# inspecting content, images, and storage. See https://cloud.google.com/
|
355
|
+
# sensitive-data-protection/docs/creating-templates to learn more.
|
352
356
|
# @param [String] parent
|
353
357
|
# Required. Parent resource name. The format of this value varies depending on
|
354
358
|
# the scope of the request (project or organization) and whether you have [
|
355
|
-
# specified a processing location](https://cloud.google.com/
|
356
|
-
# location): + Projects scope, location specified: `
|
357
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
358
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
359
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
360
|
-
# location specified (defaults to global): `
|
361
|
-
# example `parent` string specifies a parent
|
362
|
-
# example-project`, and specifies the `europe-west3`
|
363
|
-
# data: parent=projects/example-project/locations/
|
359
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
360
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
361
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
362
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
363
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
364
|
+
# Organizations scope, no location specified (defaults to global): `
|
365
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
366
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
367
|
+
# location for processing data: parent=projects/example-project/locations/
|
368
|
+
# europe-west3
|
364
369
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
365
370
|
# @param [String] fields
|
366
371
|
# Selector specifying which fields to include in a partial response.
|
@@ -391,8 +396,8 @@ module Google
|
|
391
396
|
execute_or_queue_command(command, &block)
|
392
397
|
end
|
393
398
|
|
394
|
-
# Deletes an InspectTemplate. See https://cloud.google.com/
|
395
|
-
# templates to learn more.
|
399
|
+
# Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
400
|
+
# protection/docs/creating-templates to learn more.
|
396
401
|
# @param [String] name
|
397
402
|
# Required. Resource name of the organization and inspectTemplate to be deleted,
|
398
403
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -424,8 +429,8 @@ module Google
|
|
424
429
|
execute_or_queue_command(command, &block)
|
425
430
|
end
|
426
431
|
|
427
|
-
# Gets an InspectTemplate. See https://cloud.google.com/
|
428
|
-
# templates to learn more.
|
432
|
+
# Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
433
|
+
# protection/docs/creating-templates to learn more.
|
429
434
|
# @param [String] name
|
430
435
|
# Required. Resource name of the organization and inspectTemplate to be read,
|
431
436
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -457,20 +462,21 @@ module Google
|
|
457
462
|
execute_or_queue_command(command, &block)
|
458
463
|
end
|
459
464
|
|
460
|
-
# Lists InspectTemplates. See https://cloud.google.com/
|
461
|
-
# templates to learn more.
|
465
|
+
# Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/
|
466
|
+
# docs/creating-templates to learn more.
|
462
467
|
# @param [String] parent
|
463
468
|
# Required. Parent resource name. The format of this value varies depending on
|
464
469
|
# the scope of the request (project or organization) and whether you have [
|
465
|
-
# specified a processing location](https://cloud.google.com/
|
466
|
-
# location): + Projects scope, location specified: `
|
467
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
468
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
469
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
470
|
-
# location specified (defaults to global): `
|
471
|
-
# example `parent` string specifies a parent
|
472
|
-
# example-project`, and specifies the `europe-west3`
|
473
|
-
# data: parent=projects/example-project/locations/
|
470
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
471
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
472
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
473
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
474
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
475
|
+
# Organizations scope, no location specified (defaults to global): `
|
476
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
477
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
478
|
+
# location for processing data: parent=projects/example-project/locations/
|
479
|
+
# europe-west3
|
474
480
|
# @param [String] location_id
|
475
481
|
# Deprecated. This field has no effect.
|
476
482
|
# @param [String] order_by
|
@@ -518,8 +524,8 @@ module Google
|
|
518
524
|
execute_or_queue_command(command, &block)
|
519
525
|
end
|
520
526
|
|
521
|
-
# Updates the InspectTemplate. See https://cloud.google.com/
|
522
|
-
# templates to learn more.
|
527
|
+
# Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-
|
528
|
+
# protection/docs/creating-templates to learn more.
|
523
529
|
# @param [String] name
|
524
530
|
# Required. Resource name of organization and inspectTemplate to be updated, for
|
525
531
|
# example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -554,21 +560,121 @@ module Google
|
|
554
560
|
execute_or_queue_command(command, &block)
|
555
561
|
end
|
556
562
|
|
563
|
+
# Gets a column data profile.
|
564
|
+
# @param [String] name
|
565
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
566
|
+
# columnDataProfiles/53234423`.
|
567
|
+
# @param [String] fields
|
568
|
+
# Selector specifying which fields to include in a partial response.
|
569
|
+
# @param [String] quota_user
|
570
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
571
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
572
|
+
# @param [Google::Apis::RequestOptions] options
|
573
|
+
# Request-specific options
|
574
|
+
#
|
575
|
+
# @yield [result, err] Result & error if block supplied
|
576
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile] parsed result object
|
577
|
+
# @yieldparam err [StandardError] error object if request failed
|
578
|
+
#
|
579
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
|
580
|
+
#
|
581
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
582
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
583
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
584
|
+
def get_organization_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
585
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
586
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation
|
587
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
|
588
|
+
command.params['name'] = name unless name.nil?
|
589
|
+
command.query['fields'] = fields unless fields.nil?
|
590
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
591
|
+
execute_or_queue_command(command, &block)
|
592
|
+
end
|
593
|
+
|
594
|
+
# Lists data profiles for an organization.
|
595
|
+
# @param [String] parent
|
596
|
+
# Required. Resource name of the organization or project, for example `
|
597
|
+
# organizations/433245324/locations/europe` or projects/project-id/locations/
|
598
|
+
# asia.
|
599
|
+
# @param [String] filter
|
600
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
601
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
602
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
603
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
604
|
+
# table_data_profile_name` - The name of the related table data profile. - `
|
605
|
+
# project_id` - The Google Cloud project ID. (REQUIRED) - `dataset_id` - The
|
606
|
+
# BigQuery dataset ID. (REQUIRED) - `table_id` - The BigQuery table ID. (
|
607
|
+
# REQUIRED) - `field_id` - The ID of the BigQuery field. - `info_type` - The
|
608
|
+
# infotype detected in the resource. - `sensitivity_level` - HIGH|MEDIUM|LOW - `
|
609
|
+
# data_risk_level`: How much risk is associated with this data. - `status_code` -
|
610
|
+
# an RPC status code as defined in https://github.com/googleapis/googleapis/
|
611
|
+
# blob/master/google/rpc/code.proto * The operator must be `=` for project_id,
|
612
|
+
# dataset_id, and table_id. Other filters also support `!=`. Examples: *
|
613
|
+
# project_id = 12345 AND status_code = 1 * project_id = 12345 AND
|
614
|
+
# sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
|
615
|
+
# The length of this field should be no more than 500 characters.
|
616
|
+
# @param [String] order_by
|
617
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
618
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
619
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
620
|
+
# is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
|
621
|
+
# desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `
|
622
|
+
# dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery
|
623
|
+
# table. - `sensitivity_level`: How sensitive the data in a column is, at most. -
|
624
|
+
# `data_risk_level`: How much risk is associated with this data. - `
|
625
|
+
# profile_last_generated`: When the profile was last updated in epoch seconds.
|
626
|
+
# @param [Fixnum] page_size
|
627
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
628
|
+
# returns a page of max size 100.
|
629
|
+
# @param [String] page_token
|
630
|
+
# Page token to continue retrieval.
|
631
|
+
# @param [String] fields
|
632
|
+
# Selector specifying which fields to include in a partial response.
|
633
|
+
# @param [String] quota_user
|
634
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
635
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
636
|
+
# @param [Google::Apis::RequestOptions] options
|
637
|
+
# Request-specific options
|
638
|
+
#
|
639
|
+
# @yield [result, err] Result & error if block supplied
|
640
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse] parsed result object
|
641
|
+
# @yieldparam err [StandardError] error object if request failed
|
642
|
+
#
|
643
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse]
|
644
|
+
#
|
645
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
646
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
647
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
648
|
+
def list_organization_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
649
|
+
command = make_simple_command(:get, 'v2/{+parent}/columnDataProfiles', options)
|
650
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse::Representation
|
651
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
|
652
|
+
command.params['parent'] = parent unless parent.nil?
|
653
|
+
command.query['filter'] = filter unless filter.nil?
|
654
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
655
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
656
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
657
|
+
command.query['fields'] = fields unless fields.nil?
|
658
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
659
|
+
execute_or_queue_command(command, &block)
|
660
|
+
end
|
661
|
+
|
557
662
|
# Creates a DeidentifyTemplate for reusing frequently used configuration for de-
|
558
|
-
# identifying content, images, and storage. See https://cloud.google.com/
|
559
|
-
# docs/creating-templates-deid to learn more.
|
663
|
+
# identifying content, images, and storage. See https://cloud.google.com/
|
664
|
+
# sensitive-data-protection/docs/creating-templates-deid to learn more.
|
560
665
|
# @param [String] parent
|
561
666
|
# Required. Parent resource name. The format of this value varies depending on
|
562
667
|
# the scope of the request (project or organization) and whether you have [
|
563
|
-
# specified a processing location](https://cloud.google.com/
|
564
|
-
# location): + Projects scope, location specified: `
|
565
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
566
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
567
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
568
|
-
# location specified (defaults to global): `
|
569
|
-
# example `parent` string specifies a parent
|
570
|
-
# example-project`, and specifies the `europe-west3`
|
571
|
-
# data: parent=projects/example-project/locations/
|
668
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
669
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
670
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
671
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
672
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
673
|
+
# Organizations scope, no location specified (defaults to global): `
|
674
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
675
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
676
|
+
# location for processing data: parent=projects/example-project/locations/
|
677
|
+
# europe-west3
|
572
678
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
573
679
|
# @param [String] fields
|
574
680
|
# Selector specifying which fields to include in a partial response.
|
@@ -599,8 +705,8 @@ module Google
|
|
599
705
|
execute_or_queue_command(command, &block)
|
600
706
|
end
|
601
707
|
|
602
|
-
# Deletes a DeidentifyTemplate. See https://cloud.google.com/
|
603
|
-
# templates-deid to learn more.
|
708
|
+
# Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
709
|
+
# protection/docs/creating-templates-deid to learn more.
|
604
710
|
# @param [String] name
|
605
711
|
# Required. Resource name of the organization and deidentify template to be
|
606
712
|
# deleted, for example `organizations/433245324/deidentifyTemplates/432452342`
|
@@ -632,8 +738,8 @@ module Google
|
|
632
738
|
execute_or_queue_command(command, &block)
|
633
739
|
end
|
634
740
|
|
635
|
-
# Gets a DeidentifyTemplate. See https://cloud.google.com/
|
636
|
-
# templates-deid to learn more.
|
741
|
+
# Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
742
|
+
# protection/docs/creating-templates-deid to learn more.
|
637
743
|
# @param [String] name
|
638
744
|
# Required. Resource name of the organization and deidentify template to be read,
|
639
745
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -665,20 +771,21 @@ module Google
|
|
665
771
|
execute_or_queue_command(command, &block)
|
666
772
|
end
|
667
773
|
|
668
|
-
# Lists DeidentifyTemplates. See https://cloud.google.com/
|
669
|
-
# templates-deid to learn more.
|
774
|
+
# Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-
|
775
|
+
# protection/docs/creating-templates-deid to learn more.
|
670
776
|
# @param [String] parent
|
671
777
|
# Required. Parent resource name. The format of this value varies depending on
|
672
778
|
# the scope of the request (project or organization) and whether you have [
|
673
|
-
# specified a processing location](https://cloud.google.com/
|
674
|
-
# location): + Projects scope, location specified: `
|
675
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
676
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
677
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
678
|
-
# location specified (defaults to global): `
|
679
|
-
# example `parent` string specifies a parent
|
680
|
-
# example-project`, and specifies the `europe-west3`
|
681
|
-
# data: parent=projects/example-project/locations/
|
779
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
780
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
781
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
782
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
783
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
784
|
+
# Organizations scope, no location specified (defaults to global): `
|
785
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
786
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
787
|
+
# location for processing data: parent=projects/example-project/locations/
|
788
|
+
# europe-west3
|
682
789
|
# @param [String] location_id
|
683
790
|
# Deprecated. This field has no effect.
|
684
791
|
# @param [String] order_by
|
@@ -726,8 +833,8 @@ module Google
|
|
726
833
|
execute_or_queue_command(command, &block)
|
727
834
|
end
|
728
835
|
|
729
|
-
# Updates the DeidentifyTemplate. See https://cloud.google.com/
|
730
|
-
# templates-deid to learn more.
|
836
|
+
# Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
837
|
+
# protection/docs/creating-templates-deid to learn more.
|
731
838
|
# @param [String] name
|
732
839
|
# Required. Resource name of organization and deidentify template to be updated,
|
733
840
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -945,17 +1052,18 @@ module Google
|
|
945
1052
|
end
|
946
1053
|
|
947
1054
|
# Lists DlpJobs that match the specified filter in the request. See https://
|
948
|
-
# cloud.google.com/
|
949
|
-
# docs/compute-risk-analysis to learn
|
1055
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
1056
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
1057
|
+
# more.
|
950
1058
|
# @param [String] parent
|
951
1059
|
# Required. Parent resource name. The format of this value varies depending on
|
952
1060
|
# whether you have [specified a processing location](https://cloud.google.com/
|
953
|
-
#
|
954
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
955
|
-
# defaults to global): `projects/`PROJECT_ID The
|
956
|
-
# string specifies a parent project with the
|
957
|
-
# specifies the `europe-west3` location for
|
958
|
-
# example-project/locations/europe-west3
|
1061
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
1062
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1063
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
1064
|
+
# following example `parent` string specifies a parent project with the
|
1065
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
1066
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
959
1067
|
# @param [String] filter
|
960
1068
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
961
1069
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -1023,20 +1131,21 @@ module Google
|
|
1023
1131
|
end
|
1024
1132
|
|
1025
1133
|
# Creates an InspectTemplate for reusing frequently used configuration for
|
1026
|
-
# inspecting content, images, and storage. See https://cloud.google.com/
|
1027
|
-
# creating-templates to learn more.
|
1134
|
+
# inspecting content, images, and storage. See https://cloud.google.com/
|
1135
|
+
# sensitive-data-protection/docs/creating-templates to learn more.
|
1028
1136
|
# @param [String] parent
|
1029
1137
|
# Required. Parent resource name. The format of this value varies depending on
|
1030
1138
|
# the scope of the request (project or organization) and whether you have [
|
1031
|
-
# specified a processing location](https://cloud.google.com/
|
1032
|
-
# location): + Projects scope, location specified: `
|
1033
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1034
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
1035
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1036
|
-
# location specified (defaults to global): `
|
1037
|
-
# example `parent` string specifies a parent
|
1038
|
-
# example-project`, and specifies the `europe-west3`
|
1039
|
-
# data: parent=projects/example-project/locations/
|
1139
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
1140
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
1141
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1142
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
1143
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1144
|
+
# Organizations scope, no location specified (defaults to global): `
|
1145
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
1146
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
1147
|
+
# location for processing data: parent=projects/example-project/locations/
|
1148
|
+
# europe-west3
|
1040
1149
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
1041
1150
|
# @param [String] fields
|
1042
1151
|
# Selector specifying which fields to include in a partial response.
|
@@ -1067,8 +1176,8 @@ module Google
|
|
1067
1176
|
execute_or_queue_command(command, &block)
|
1068
1177
|
end
|
1069
1178
|
|
1070
|
-
# Deletes an InspectTemplate. See https://cloud.google.com/
|
1071
|
-
# templates to learn more.
|
1179
|
+
# Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
1180
|
+
# protection/docs/creating-templates to learn more.
|
1072
1181
|
# @param [String] name
|
1073
1182
|
# Required. Resource name of the organization and inspectTemplate to be deleted,
|
1074
1183
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -1100,8 +1209,8 @@ module Google
|
|
1100
1209
|
execute_or_queue_command(command, &block)
|
1101
1210
|
end
|
1102
1211
|
|
1103
|
-
# Gets an InspectTemplate. See https://cloud.google.com/
|
1104
|
-
# templates to learn more.
|
1212
|
+
# Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
1213
|
+
# protection/docs/creating-templates to learn more.
|
1105
1214
|
# @param [String] name
|
1106
1215
|
# Required. Resource name of the organization and inspectTemplate to be read,
|
1107
1216
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -1133,20 +1242,21 @@ module Google
|
|
1133
1242
|
execute_or_queue_command(command, &block)
|
1134
1243
|
end
|
1135
1244
|
|
1136
|
-
# Lists InspectTemplates. See https://cloud.google.com/
|
1137
|
-
# templates to learn more.
|
1245
|
+
# Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/
|
1246
|
+
# docs/creating-templates to learn more.
|
1138
1247
|
# @param [String] parent
|
1139
1248
|
# Required. Parent resource name. The format of this value varies depending on
|
1140
1249
|
# the scope of the request (project or organization) and whether you have [
|
1141
|
-
# specified a processing location](https://cloud.google.com/
|
1142
|
-
# location): + Projects scope, location specified: `
|
1143
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1144
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
1145
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1146
|
-
# location specified (defaults to global): `
|
1147
|
-
# example `parent` string specifies a parent
|
1148
|
-
# example-project`, and specifies the `europe-west3`
|
1149
|
-
# data: parent=projects/example-project/locations/
|
1250
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
1251
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
1252
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1253
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
1254
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1255
|
+
# Organizations scope, no location specified (defaults to global): `
|
1256
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
1257
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
1258
|
+
# location for processing data: parent=projects/example-project/locations/
|
1259
|
+
# europe-west3
|
1150
1260
|
# @param [String] location_id
|
1151
1261
|
# Deprecated. This field has no effect.
|
1152
1262
|
# @param [String] order_by
|
@@ -1194,8 +1304,8 @@ module Google
|
|
1194
1304
|
execute_or_queue_command(command, &block)
|
1195
1305
|
end
|
1196
1306
|
|
1197
|
-
# Updates the InspectTemplate. See https://cloud.google.com/
|
1198
|
-
# templates to learn more.
|
1307
|
+
# Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-
|
1308
|
+
# protection/docs/creating-templates to learn more.
|
1199
1309
|
# @param [String] name
|
1200
1310
|
# Required. Resource name of organization and inspectTemplate to be updated, for
|
1201
1311
|
# example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -1231,17 +1341,17 @@ module Google
|
|
1231
1341
|
end
|
1232
1342
|
|
1233
1343
|
# Creates a job trigger to run DLP actions such as scanning storage for
|
1234
|
-
# sensitive information on a set schedule. See https://cloud.google.com/
|
1235
|
-
# creating-job-triggers to learn more.
|
1344
|
+
# sensitive information on a set schedule. See https://cloud.google.com/
|
1345
|
+
# sensitive-data-protection/docs/creating-job-triggers to learn more.
|
1236
1346
|
# @param [String] parent
|
1237
1347
|
# Required. Parent resource name. The format of this value varies depending on
|
1238
1348
|
# whether you have [specified a processing location](https://cloud.google.com/
|
1239
|
-
#
|
1240
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1241
|
-
# defaults to global): `projects/`PROJECT_ID The
|
1242
|
-
# string specifies a parent project with the
|
1243
|
-
# specifies the `europe-west3` location for
|
1244
|
-
# example-project/locations/europe-west3
|
1349
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
1350
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1351
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
1352
|
+
# following example `parent` string specifies a parent project with the
|
1353
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
1354
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
1245
1355
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
|
1246
1356
|
# @param [String] fields
|
1247
1357
|
# Selector specifying which fields to include in a partial response.
|
@@ -1272,8 +1382,8 @@ module Google
|
|
1272
1382
|
execute_or_queue_command(command, &block)
|
1273
1383
|
end
|
1274
1384
|
|
1275
|
-
# Deletes a job trigger. See https://cloud.google.com/
|
1276
|
-
# triggers to learn more.
|
1385
|
+
# Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
1386
|
+
# docs/creating-job-triggers to learn more.
|
1277
1387
|
# @param [String] name
|
1278
1388
|
# Required. Resource name of the project and the triggeredJob, for example `
|
1279
1389
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -1304,8 +1414,8 @@ module Google
|
|
1304
1414
|
execute_or_queue_command(command, &block)
|
1305
1415
|
end
|
1306
1416
|
|
1307
|
-
# Gets a job trigger. See https://cloud.google.com/
|
1308
|
-
# triggers to learn more.
|
1417
|
+
# Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
1418
|
+
# docs/creating-job-triggers to learn more.
|
1309
1419
|
# @param [String] name
|
1310
1420
|
# Required. Resource name of the project and the triggeredJob, for example `
|
1311
1421
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -1336,17 +1446,17 @@ module Google
|
|
1336
1446
|
execute_or_queue_command(command, &block)
|
1337
1447
|
end
|
1338
1448
|
|
1339
|
-
# Lists job triggers. See https://cloud.google.com/
|
1340
|
-
# triggers to learn more.
|
1449
|
+
# Lists job triggers. See https://cloud.google.com/sensitive-data-protection/
|
1450
|
+
# docs/creating-job-triggers to learn more.
|
1341
1451
|
# @param [String] parent
|
1342
1452
|
# Required. Parent resource name. The format of this value varies depending on
|
1343
1453
|
# whether you have [specified a processing location](https://cloud.google.com/
|
1344
|
-
#
|
1345
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1346
|
-
# defaults to global): `projects/`PROJECT_ID The
|
1347
|
-
# string specifies a parent project with the
|
1348
|
-
# specifies the `europe-west3` location for
|
1349
|
-
# example-project/locations/europe-west3
|
1454
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
1455
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1456
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
1457
|
+
# following example `parent` string specifies a parent project with the
|
1458
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
1459
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
1350
1460
|
# @param [String] filter
|
1351
1461
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
1352
1462
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -1414,8 +1524,8 @@ module Google
|
|
1414
1524
|
execute_or_queue_command(command, &block)
|
1415
1525
|
end
|
1416
1526
|
|
1417
|
-
# Updates a job trigger. See https://cloud.google.com/
|
1418
|
-
# triggers to learn more.
|
1527
|
+
# Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
1528
|
+
# docs/creating-job-triggers to learn more.
|
1419
1529
|
# @param [String] name
|
1420
1530
|
# Required. Resource name of the project and the triggeredJob, for example `
|
1421
1531
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -1449,20 +1559,112 @@ module Google
|
|
1449
1559
|
execute_or_queue_command(command, &block)
|
1450
1560
|
end
|
1451
1561
|
|
1562
|
+
# Gets a project data profile.
|
1563
|
+
# @param [String] name
|
1564
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
1565
|
+
# projectDataProfiles/53234423`.
|
1566
|
+
# @param [String] fields
|
1567
|
+
# Selector specifying which fields to include in a partial response.
|
1568
|
+
# @param [String] quota_user
|
1569
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1570
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1571
|
+
# @param [Google::Apis::RequestOptions] options
|
1572
|
+
# Request-specific options
|
1573
|
+
#
|
1574
|
+
# @yield [result, err] Result & error if block supplied
|
1575
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile] parsed result object
|
1576
|
+
# @yieldparam err [StandardError] error object if request failed
|
1577
|
+
#
|
1578
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile]
|
1579
|
+
#
|
1580
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1581
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1582
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1583
|
+
def get_organization_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
1584
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1585
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile::Representation
|
1586
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
|
1587
|
+
command.params['name'] = name unless name.nil?
|
1588
|
+
command.query['fields'] = fields unless fields.nil?
|
1589
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1590
|
+
execute_or_queue_command(command, &block)
|
1591
|
+
end
|
1592
|
+
|
1593
|
+
# Lists data profiles for an organization.
|
1594
|
+
# @param [String] parent
|
1595
|
+
# Required. organizations/`org_id`/locations/`loc_id`
|
1596
|
+
# @param [String] filter
|
1597
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
1598
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
1599
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
1600
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
1601
|
+
# sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW
|
1602
|
+
# - `status_code` - an RPC status code as defined in https://github.com/
|
1603
|
+
# googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be
|
1604
|
+
# `=` or `!=`. Examples: * project_id = 12345 AND status_code = 1 * project_id =
|
1605
|
+
# 12345 AND sensitivity_level = HIGH The length of this field should be no more
|
1606
|
+
# than 500 characters.
|
1607
|
+
# @param [String] order_by
|
1608
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
1609
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
1610
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
1611
|
+
# is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
|
1612
|
+
# fields are: - `project_id`: GCP project ID - `sensitivity_level`: How
|
1613
|
+
# sensitive the data in a project is, at most. - `data_risk_level`: How much
|
1614
|
+
# risk is associated with this data. - `profile_last_generated`: When the
|
1615
|
+
# profile was last updated in epoch seconds.
|
1616
|
+
# @param [Fixnum] page_size
|
1617
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
1618
|
+
# returns a page of max size 100.
|
1619
|
+
# @param [String] page_token
|
1620
|
+
# Page token to continue retrieval.
|
1621
|
+
# @param [String] fields
|
1622
|
+
# Selector specifying which fields to include in a partial response.
|
1623
|
+
# @param [String] quota_user
|
1624
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1625
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1626
|
+
# @param [Google::Apis::RequestOptions] options
|
1627
|
+
# Request-specific options
|
1628
|
+
#
|
1629
|
+
# @yield [result, err] Result & error if block supplied
|
1630
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse] parsed result object
|
1631
|
+
# @yieldparam err [StandardError] error object if request failed
|
1632
|
+
#
|
1633
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse]
|
1634
|
+
#
|
1635
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1636
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1637
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1638
|
+
def list_organization_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1639
|
+
command = make_simple_command(:get, 'v2/{+parent}/projectDataProfiles', options)
|
1640
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse::Representation
|
1641
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
|
1642
|
+
command.params['parent'] = parent unless parent.nil?
|
1643
|
+
command.query['filter'] = filter unless filter.nil?
|
1644
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1645
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1646
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1647
|
+
command.query['fields'] = fields unless fields.nil?
|
1648
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1649
|
+
execute_or_queue_command(command, &block)
|
1650
|
+
end
|
1651
|
+
|
1452
1652
|
# Creates a pre-built stored infoType to be used for inspection. See https://
|
1453
|
-
# cloud.google.com/
|
1653
|
+
# cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to
|
1654
|
+
# learn more.
|
1454
1655
|
# @param [String] parent
|
1455
1656
|
# Required. Parent resource name. The format of this value varies depending on
|
1456
1657
|
# the scope of the request (project or organization) and whether you have [
|
1457
|
-
# specified a processing location](https://cloud.google.com/
|
1458
|
-
# location): + Projects scope, location specified: `
|
1459
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1460
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
1461
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1462
|
-
# location specified (defaults to global): `
|
1463
|
-
# example `parent` string specifies a parent
|
1464
|
-
# example-project`, and specifies the `europe-west3`
|
1465
|
-
# data: parent=projects/example-project/locations/
|
1658
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
1659
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
1660
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1661
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
1662
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1663
|
+
# Organizations scope, no location specified (defaults to global): `
|
1664
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
1665
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
1666
|
+
# location for processing data: parent=projects/example-project/locations/
|
1667
|
+
# europe-west3
|
1466
1668
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
1467
1669
|
# @param [String] fields
|
1468
1670
|
# Selector specifying which fields to include in a partial response.
|
@@ -1493,8 +1695,8 @@ module Google
|
|
1493
1695
|
execute_or_queue_command(command, &block)
|
1494
1696
|
end
|
1495
1697
|
|
1496
|
-
# Deletes a stored infoType. See https://cloud.google.com/
|
1497
|
-
# stored-infotypes to learn more.
|
1698
|
+
# Deletes a stored infoType. See https://cloud.google.com/sensitive-data-
|
1699
|
+
# protection/docs/creating-stored-infotypes to learn more.
|
1498
1700
|
# @param [String] name
|
1499
1701
|
# Required. Resource name of the organization and storedInfoType to be deleted,
|
1500
1702
|
# for example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1526,8 +1728,8 @@ module Google
|
|
1526
1728
|
execute_or_queue_command(command, &block)
|
1527
1729
|
end
|
1528
1730
|
|
1529
|
-
# Gets a stored infoType. See https://cloud.google.com/
|
1530
|
-
# infotypes to learn more.
|
1731
|
+
# Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/
|
1732
|
+
# docs/creating-stored-infotypes to learn more.
|
1531
1733
|
# @param [String] name
|
1532
1734
|
# Required. Resource name of the organization and storedInfoType to be read, for
|
1533
1735
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1559,18 +1761,18 @@ module Google
|
|
1559
1761
|
execute_or_queue_command(command, &block)
|
1560
1762
|
end
|
1561
1763
|
|
1562
|
-
# Lists stored infoTypes. See https://cloud.google.com/
|
1563
|
-
# infotypes to learn more.
|
1764
|
+
# Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/
|
1765
|
+
# docs/creating-stored-infotypes to learn more.
|
1564
1766
|
# @param [String] parent
|
1565
1767
|
# Required. Parent resource name. The format of this value varies depending on
|
1566
1768
|
# the scope of the request (project or organization) and whether you have [
|
1567
|
-
# specified a processing location](https://cloud.google.com/
|
1568
|
-
# location): + Projects scope, location specified: `
|
1569
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1570
|
-
# global): `projects/`PROJECT_ID The following example `
|
1571
|
-
# a parent project with the identifier `example-project
|
1572
|
-
# europe-west3` location for processing data: parent=
|
1573
|
-
# locations/europe-west3
|
1769
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
1770
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
1771
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1772
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
1773
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
1774
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
1775
|
+
# projects/example-project/locations/europe-west3
|
1574
1776
|
# @param [String] location_id
|
1575
1777
|
# Deprecated. This field has no effect.
|
1576
1778
|
# @param [String] order_by
|
@@ -1620,7 +1822,8 @@ module Google
|
|
1620
1822
|
|
1621
1823
|
# Updates the stored infoType by creating a new version. The existing version
|
1622
1824
|
# will continue to be used until the new version is ready. See https://cloud.
|
1623
|
-
# google.com/
|
1825
|
+
# google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn
|
1826
|
+
# more.
|
1624
1827
|
# @param [String] name
|
1625
1828
|
# Required. Resource name of organization and storedInfoType to be updated, for
|
1626
1829
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1655,20 +1858,121 @@ module Google
|
|
1655
1858
|
execute_or_queue_command(command, &block)
|
1656
1859
|
end
|
1657
1860
|
|
1861
|
+
# Gets a table data profile.
|
1862
|
+
# @param [String] name
|
1863
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
1864
|
+
# tableDataProfiles/53234423`.
|
1865
|
+
# @param [String] fields
|
1866
|
+
# Selector specifying which fields to include in a partial response.
|
1867
|
+
# @param [String] quota_user
|
1868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1870
|
+
# @param [Google::Apis::RequestOptions] options
|
1871
|
+
# Request-specific options
|
1872
|
+
#
|
1873
|
+
# @yield [result, err] Result & error if block supplied
|
1874
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile] parsed result object
|
1875
|
+
# @yieldparam err [StandardError] error object if request failed
|
1876
|
+
#
|
1877
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
|
1878
|
+
#
|
1879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1882
|
+
def get_organization_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
1883
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1884
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
|
1885
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
|
1886
|
+
command.params['name'] = name unless name.nil?
|
1887
|
+
command.query['fields'] = fields unless fields.nil?
|
1888
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1889
|
+
execute_or_queue_command(command, &block)
|
1890
|
+
end
|
1891
|
+
|
1892
|
+
# Lists data profiles for an organization.
|
1893
|
+
# @param [String] parent
|
1894
|
+
# Required. Resource name of the organization or project, for example `
|
1895
|
+
# organizations/433245324/locations/europe` or `projects/project-id/locations/
|
1896
|
+
# asia`.
|
1897
|
+
# @param [String] filter
|
1898
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
1899
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
1900
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
1901
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
1902
|
+
# project_id` - The GCP project ID. - `dataset_id` - The BigQuery dataset ID. - `
|
1903
|
+
# table_id` - The ID of the BigQuery table. - `sensitivity_level` - HIGH|
|
1904
|
+
# MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`:
|
1905
|
+
# PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://
|
1906
|
+
# github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
|
1907
|
+
# operator must be `=` or `!=`. Examples: * project_id = 12345 AND status_code =
|
1908
|
+
# 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND
|
1909
|
+
# resource_visibility = PUBLIC The length of this field should be no more than
|
1910
|
+
# 500 characters.
|
1911
|
+
# @param [String] order_by
|
1912
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
1913
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
1914
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
1915
|
+
# is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
|
1916
|
+
# desc` Supported fields are: - `project_id`: The GCP project ID. - `dataset_id`:
|
1917
|
+
# The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `
|
1918
|
+
# sensitivity_level`: How sensitive the data in a table is, at most. - `
|
1919
|
+
# data_risk_level`: How much risk is associated with this data. - `
|
1920
|
+
# profile_last_generated`: When the profile was last updated in epoch seconds. -
|
1921
|
+
# `last_modified`: The last time the resource was modified. - `
|
1922
|
+
# resource_visibility`: Visibility restriction for this resource. - `row_count`:
|
1923
|
+
# Number of rows in this resource.
|
1924
|
+
# @param [Fixnum] page_size
|
1925
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
1926
|
+
# returns a page of max size 100.
|
1927
|
+
# @param [String] page_token
|
1928
|
+
# Page token to continue retrieval.
|
1929
|
+
# @param [String] fields
|
1930
|
+
# Selector specifying which fields to include in a partial response.
|
1931
|
+
# @param [String] quota_user
|
1932
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1933
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1934
|
+
# @param [Google::Apis::RequestOptions] options
|
1935
|
+
# Request-specific options
|
1936
|
+
#
|
1937
|
+
# @yield [result, err] Result & error if block supplied
|
1938
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse] parsed result object
|
1939
|
+
# @yieldparam err [StandardError] error object if request failed
|
1940
|
+
#
|
1941
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse]
|
1942
|
+
#
|
1943
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1944
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1945
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1946
|
+
def list_organization_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1947
|
+
command = make_simple_command(:get, 'v2/{+parent}/tableDataProfiles', options)
|
1948
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse::Representation
|
1949
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
|
1950
|
+
command.params['parent'] = parent unless parent.nil?
|
1951
|
+
command.query['filter'] = filter unless filter.nil?
|
1952
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1953
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1954
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1955
|
+
command.query['fields'] = fields unless fields.nil?
|
1956
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1957
|
+
execute_or_queue_command(command, &block)
|
1958
|
+
end
|
1959
|
+
|
1658
1960
|
# Creates a pre-built stored infoType to be used for inspection. See https://
|
1659
|
-
# cloud.google.com/
|
1961
|
+
# cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to
|
1962
|
+
# learn more.
|
1660
1963
|
# @param [String] parent
|
1661
1964
|
# Required. Parent resource name. The format of this value varies depending on
|
1662
1965
|
# the scope of the request (project or organization) and whether you have [
|
1663
|
-
# specified a processing location](https://cloud.google.com/
|
1664
|
-
# location): + Projects scope, location specified: `
|
1665
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1666
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
1667
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1668
|
-
# location specified (defaults to global): `
|
1669
|
-
# example `parent` string specifies a parent
|
1670
|
-
# example-project`, and specifies the `europe-west3`
|
1671
|
-
# data: parent=projects/example-project/locations/
|
1966
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
1967
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
1968
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1969
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
1970
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
1971
|
+
# Organizations scope, no location specified (defaults to global): `
|
1972
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
1973
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
1974
|
+
# location for processing data: parent=projects/example-project/locations/
|
1975
|
+
# europe-west3
|
1672
1976
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
1673
1977
|
# @param [String] fields
|
1674
1978
|
# Selector specifying which fields to include in a partial response.
|
@@ -1699,8 +2003,8 @@ module Google
|
|
1699
2003
|
execute_or_queue_command(command, &block)
|
1700
2004
|
end
|
1701
2005
|
|
1702
|
-
# Deletes a stored infoType. See https://cloud.google.com/
|
1703
|
-
# stored-infotypes to learn more.
|
2006
|
+
# Deletes a stored infoType. See https://cloud.google.com/sensitive-data-
|
2007
|
+
# protection/docs/creating-stored-infotypes to learn more.
|
1704
2008
|
# @param [String] name
|
1705
2009
|
# Required. Resource name of the organization and storedInfoType to be deleted,
|
1706
2010
|
# for example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1732,8 +2036,8 @@ module Google
|
|
1732
2036
|
execute_or_queue_command(command, &block)
|
1733
2037
|
end
|
1734
2038
|
|
1735
|
-
# Gets a stored infoType. See https://cloud.google.com/
|
1736
|
-
# infotypes to learn more.
|
2039
|
+
# Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/
|
2040
|
+
# docs/creating-stored-infotypes to learn more.
|
1737
2041
|
# @param [String] name
|
1738
2042
|
# Required. Resource name of the organization and storedInfoType to be read, for
|
1739
2043
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1765,18 +2069,18 @@ module Google
|
|
1765
2069
|
execute_or_queue_command(command, &block)
|
1766
2070
|
end
|
1767
2071
|
|
1768
|
-
# Lists stored infoTypes. See https://cloud.google.com/
|
1769
|
-
# infotypes to learn more.
|
2072
|
+
# Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/
|
2073
|
+
# docs/creating-stored-infotypes to learn more.
|
1770
2074
|
# @param [String] parent
|
1771
2075
|
# Required. Parent resource name. The format of this value varies depending on
|
1772
2076
|
# the scope of the request (project or organization) and whether you have [
|
1773
|
-
# specified a processing location](https://cloud.google.com/
|
1774
|
-
# location): + Projects scope, location specified: `
|
1775
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
1776
|
-
# global): `projects/`PROJECT_ID The following example `
|
1777
|
-
# a parent project with the identifier `example-project
|
1778
|
-
# europe-west3` location for processing data: parent=
|
1779
|
-
# locations/europe-west3
|
2077
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
2078
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2079
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2080
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
2081
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
2082
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
2083
|
+
# projects/example-project/locations/europe-west3
|
1780
2084
|
# @param [String] location_id
|
1781
2085
|
# Deprecated. This field has no effect.
|
1782
2086
|
# @param [String] order_by
|
@@ -1826,7 +2130,8 @@ module Google
|
|
1826
2130
|
|
1827
2131
|
# Updates the stored infoType by creating a new version. The existing version
|
1828
2132
|
# will continue to be used until the new version is ready. See https://cloud.
|
1829
|
-
# google.com/
|
2133
|
+
# google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn
|
2134
|
+
# more.
|
1830
2135
|
# @param [String] name
|
1831
2136
|
# Required. Resource name of organization and storedInfoType to be updated, for
|
1832
2137
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -1862,20 +2167,20 @@ module Google
|
|
1862
2167
|
end
|
1863
2168
|
|
1864
2169
|
# De-identifies potentially sensitive info from a ContentItem. This method has
|
1865
|
-
# limits on input size and output size. See https://cloud.google.com/
|
1866
|
-
# deidentify-sensitive-data to learn more. When no
|
1867
|
-
# are specified in this request, the system will
|
1868
|
-
# detectors to run. By default this may be all types,
|
1869
|
-
# as detectors are updated.
|
2170
|
+
# limits on input size and output size. See https://cloud.google.com/sensitive-
|
2171
|
+
# data-protection/docs/deidentify-sensitive-data to learn more. When no
|
2172
|
+
# InfoTypes or CustomInfoTypes are specified in this request, the system will
|
2173
|
+
# automatically choose what detectors to run. By default this may be all types,
|
2174
|
+
# but may change over time as detectors are updated.
|
1870
2175
|
# @param [String] parent
|
1871
2176
|
# Parent resource name. The format of this value varies depending on whether you
|
1872
|
-
# have [specified a processing location](https://cloud.google.com/
|
1873
|
-
# specifying-location): + Projects scope, location specified: `
|
1874
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1875
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
1876
|
-
# string specifies a parent project with the identifier `example-project
|
1877
|
-
# specifies the `europe-west3` location for processing data: parent=
|
1878
|
-
# example-project/locations/europe-west3
|
2177
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
2178
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2179
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2180
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
2181
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
2182
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
2183
|
+
# projects/example-project/locations/europe-west3
|
1879
2184
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
1880
2185
|
# @param [String] fields
|
1881
2186
|
# Selector specifying which fields to include in a partial response.
|
@@ -1910,17 +2215,18 @@ module Google
|
|
1910
2215
|
# size, processing time, and output size. When no InfoTypes or CustomInfoTypes
|
1911
2216
|
# are specified in this request, the system will automatically choose what
|
1912
2217
|
# detectors to run. By default this may be all types, but may change over time
|
1913
|
-
# as detectors are updated. For how to guides, see https://cloud.google.com/
|
1914
|
-
# docs/inspecting-images and https://cloud.google.com/
|
2218
|
+
# as detectors are updated. For how to guides, see https://cloud.google.com/
|
2219
|
+
# sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/
|
2220
|
+
# sensitive-data-protection/docs/inspecting-text,
|
1915
2221
|
# @param [String] parent
|
1916
2222
|
# Parent resource name. The format of this value varies depending on whether you
|
1917
|
-
# have [specified a processing location](https://cloud.google.com/
|
1918
|
-
# specifying-location): + Projects scope, location specified: `
|
1919
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
1920
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
1921
|
-
# string specifies a parent project with the identifier `example-project
|
1922
|
-
# specifies the `europe-west3` location for processing data: parent=
|
1923
|
-
# example-project/locations/europe-west3
|
2223
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
2224
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2225
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2226
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
2227
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
2228
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
2229
|
+
# projects/example-project/locations/europe-west3
|
1924
2230
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
|
1925
2231
|
# @param [String] fields
|
1926
2232
|
# Selector specifying which fields to include in a partial response.
|
@@ -1952,17 +2258,17 @@ module Google
|
|
1952
2258
|
end
|
1953
2259
|
|
1954
2260
|
# Re-identifies content that has been de-identified. See https://cloud.google.
|
1955
|
-
# com/
|
1956
|
-
# learn more.
|
2261
|
+
# com/sensitive-data-protection/docs/pseudonymization#re-
|
2262
|
+
# identification_in_free_text_code_example to learn more.
|
1957
2263
|
# @param [String] parent
|
1958
2264
|
# Required. Parent resource name. The format of this value varies depending on
|
1959
2265
|
# whether you have [specified a processing location](https://cloud.google.com/
|
1960
|
-
#
|
1961
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
1962
|
-
# defaults to global): `projects/`PROJECT_ID The
|
1963
|
-
# string specifies a parent project with the
|
1964
|
-
# specifies the `europe-west3` location for
|
1965
|
-
# example-project/locations/europe-west3
|
2266
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
2267
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2268
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
2269
|
+
# following example `parent` string specifies a parent project with the
|
2270
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
2271
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
1966
2272
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
|
1967
2273
|
# @param [String] fields
|
1968
2274
|
# Selector specifying which fields to include in a partial response.
|
@@ -1994,20 +2300,21 @@ module Google
|
|
1994
2300
|
end
|
1995
2301
|
|
1996
2302
|
# Creates a DeidentifyTemplate for reusing frequently used configuration for de-
|
1997
|
-
# identifying content, images, and storage. See https://cloud.google.com/
|
1998
|
-
# docs/creating-templates-deid to learn more.
|
2303
|
+
# identifying content, images, and storage. See https://cloud.google.com/
|
2304
|
+
# sensitive-data-protection/docs/creating-templates-deid to learn more.
|
1999
2305
|
# @param [String] parent
|
2000
2306
|
# Required. Parent resource name. The format of this value varies depending on
|
2001
2307
|
# the scope of the request (project or organization) and whether you have [
|
2002
|
-
# specified a processing location](https://cloud.google.com/
|
2003
|
-
# location): + Projects scope, location specified: `
|
2004
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
2005
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
2006
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2007
|
-
# location specified (defaults to global): `
|
2008
|
-
# example `parent` string specifies a parent
|
2009
|
-
# example-project`, and specifies the `europe-west3`
|
2010
|
-
# data: parent=projects/example-project/locations/
|
2308
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
2309
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2310
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2311
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
2312
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2313
|
+
# Organizations scope, no location specified (defaults to global): `
|
2314
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
2315
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
2316
|
+
# location for processing data: parent=projects/example-project/locations/
|
2317
|
+
# europe-west3
|
2011
2318
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
2012
2319
|
# @param [String] fields
|
2013
2320
|
# Selector specifying which fields to include in a partial response.
|
@@ -2038,8 +2345,8 @@ module Google
|
|
2038
2345
|
execute_or_queue_command(command, &block)
|
2039
2346
|
end
|
2040
2347
|
|
2041
|
-
# Deletes a DeidentifyTemplate. See https://cloud.google.com/
|
2042
|
-
# templates-deid to learn more.
|
2348
|
+
# Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
2349
|
+
# protection/docs/creating-templates-deid to learn more.
|
2043
2350
|
# @param [String] name
|
2044
2351
|
# Required. Resource name of the organization and deidentify template to be
|
2045
2352
|
# deleted, for example `organizations/433245324/deidentifyTemplates/432452342`
|
@@ -2071,8 +2378,8 @@ module Google
|
|
2071
2378
|
execute_or_queue_command(command, &block)
|
2072
2379
|
end
|
2073
2380
|
|
2074
|
-
# Gets a DeidentifyTemplate. See https://cloud.google.com/
|
2075
|
-
# templates-deid to learn more.
|
2381
|
+
# Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
2382
|
+
# protection/docs/creating-templates-deid to learn more.
|
2076
2383
|
# @param [String] name
|
2077
2384
|
# Required. Resource name of the organization and deidentify template to be read,
|
2078
2385
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -2104,20 +2411,21 @@ module Google
|
|
2104
2411
|
execute_or_queue_command(command, &block)
|
2105
2412
|
end
|
2106
2413
|
|
2107
|
-
# Lists DeidentifyTemplates. See https://cloud.google.com/
|
2108
|
-
# templates-deid to learn more.
|
2414
|
+
# Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-
|
2415
|
+
# protection/docs/creating-templates-deid to learn more.
|
2109
2416
|
# @param [String] parent
|
2110
2417
|
# Required. Parent resource name. The format of this value varies depending on
|
2111
2418
|
# the scope of the request (project or organization) and whether you have [
|
2112
|
-
# specified a processing location](https://cloud.google.com/
|
2113
|
-
# location): + Projects scope, location specified: `
|
2114
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
2115
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
2116
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2117
|
-
# location specified (defaults to global): `
|
2118
|
-
# example `parent` string specifies a parent
|
2119
|
-
# example-project`, and specifies the `europe-west3`
|
2120
|
-
# data: parent=projects/example-project/locations/
|
2419
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
2420
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2421
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2422
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
2423
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2424
|
+
# Organizations scope, no location specified (defaults to global): `
|
2425
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
2426
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
2427
|
+
# location for processing data: parent=projects/example-project/locations/
|
2428
|
+
# europe-west3
|
2121
2429
|
# @param [String] location_id
|
2122
2430
|
# Deprecated. This field has no effect.
|
2123
2431
|
# @param [String] order_by
|
@@ -2165,8 +2473,8 @@ module Google
|
|
2165
2473
|
execute_or_queue_command(command, &block)
|
2166
2474
|
end
|
2167
2475
|
|
2168
|
-
# Updates the DeidentifyTemplate. See https://cloud.google.com/
|
2169
|
-
# templates-deid to learn more.
|
2476
|
+
# Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
2477
|
+
# protection/docs/creating-templates-deid to learn more.
|
2170
2478
|
# @param [String] name
|
2171
2479
|
# Required. Resource name of organization and deidentify template to be updated,
|
2172
2480
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -2203,8 +2511,9 @@ module Google
|
|
2203
2511
|
|
2204
2512
|
# Starts asynchronous cancellation on a long-running DlpJob. The server makes a
|
2205
2513
|
# best effort to cancel the DlpJob, but success is not guaranteed. See https://
|
2206
|
-
# cloud.google.com/
|
2207
|
-
# docs/compute-risk-analysis to learn
|
2514
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
2515
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
2516
|
+
# more.
|
2208
2517
|
# @param [String] name
|
2209
2518
|
# Required. The name of the DlpJob resource to be cancelled.
|
2210
2519
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest] google_privacy_dlp_v2_cancel_dlp_job_request_object
|
@@ -2238,20 +2547,20 @@ module Google
|
|
2238
2547
|
end
|
2239
2548
|
|
2240
2549
|
# Creates a new job to inspect storage or calculate risk metrics. See https://
|
2241
|
-
# cloud.google.com/
|
2242
|
-
# docs/compute-risk-analysis to learn
|
2243
|
-
# are specified in inspect jobs, the
|
2244
|
-
# detectors to run. By default this may be
|
2245
|
-
# as detectors are updated.
|
2550
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
2551
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
2552
|
+
# more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
2553
|
+
# system will automatically choose what detectors to run. By default this may be
|
2554
|
+
# all types, but may change over time as detectors are updated.
|
2246
2555
|
# @param [String] parent
|
2247
2556
|
# Required. Parent resource name. The format of this value varies depending on
|
2248
2557
|
# whether you have [specified a processing location](https://cloud.google.com/
|
2249
|
-
#
|
2250
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2251
|
-
# defaults to global): `projects/`PROJECT_ID The
|
2252
|
-
# string specifies a parent project with the
|
2253
|
-
# specifies the `europe-west3` location for
|
2254
|
-
# example-project/locations/europe-west3
|
2558
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
2559
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2560
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
2561
|
+
# following example `parent` string specifies a parent project with the
|
2562
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
2563
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
2255
2564
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
2256
2565
|
# @param [String] fields
|
2257
2566
|
# Selector specifying which fields to include in a partial response.
|
@@ -2284,8 +2593,9 @@ module Google
|
|
2284
2593
|
|
2285
2594
|
# Deletes a long-running DlpJob. This method indicates that the client is no
|
2286
2595
|
# longer interested in the DlpJob result. The job will be canceled if possible.
|
2287
|
-
# See https://cloud.google.com/
|
2288
|
-
# google.com/
|
2596
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
2597
|
+
# and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-
|
2598
|
+
# analysis to learn more.
|
2289
2599
|
# @param [String] name
|
2290
2600
|
# Required. The name of the DlpJob resource to be deleted.
|
2291
2601
|
# @param [String] fields
|
@@ -2316,8 +2626,8 @@ module Google
|
|
2316
2626
|
end
|
2317
2627
|
|
2318
2628
|
# Gets the latest state of a long-running DlpJob. See https://cloud.google.com/
|
2319
|
-
#
|
2320
|
-
# analysis to learn more.
|
2629
|
+
# sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/
|
2630
|
+
# sensitive-data-protection/docs/compute-risk-analysis to learn more.
|
2321
2631
|
# @param [String] name
|
2322
2632
|
# Required. The name of the DlpJob resource.
|
2323
2633
|
# @param [String] fields
|
@@ -2348,17 +2658,18 @@ module Google
|
|
2348
2658
|
end
|
2349
2659
|
|
2350
2660
|
# Lists DlpJobs that match the specified filter in the request. See https://
|
2351
|
-
# cloud.google.com/
|
2352
|
-
# docs/compute-risk-analysis to learn
|
2661
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
2662
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
2663
|
+
# more.
|
2353
2664
|
# @param [String] parent
|
2354
2665
|
# Required. Parent resource name. The format of this value varies depending on
|
2355
2666
|
# whether you have [specified a processing location](https://cloud.google.com/
|
2356
|
-
#
|
2357
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2358
|
-
# defaults to global): `projects/`PROJECT_ID The
|
2359
|
-
# string specifies a parent project with the
|
2360
|
-
# specifies the `europe-west3` location for
|
2361
|
-
# example-project/locations/europe-west3
|
2667
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
2668
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2669
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
2670
|
+
# following example `parent` string specifies a parent project with the
|
2671
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
2672
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
2362
2673
|
# @param [String] filter
|
2363
2674
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
2364
2675
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -2426,20 +2737,20 @@ module Google
|
|
2426
2737
|
end
|
2427
2738
|
|
2428
2739
|
# Redacts potentially sensitive info from an image. This method has limits on
|
2429
|
-
# input size, processing time, and output size. See https://cloud.google.com/
|
2430
|
-
# docs/redacting-sensitive-data-images to learn more.
|
2431
|
-
# CustomInfoTypes are specified in this request, the system
|
2432
|
-
# choose what detectors to run. By default this may be all
|
2433
|
-
# over time as detectors are updated.
|
2740
|
+
# input size, processing time, and output size. See https://cloud.google.com/
|
2741
|
+
# sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
|
2742
|
+
# When no InfoTypes or CustomInfoTypes are specified in this request, the system
|
2743
|
+
# will automatically choose what detectors to run. By default this may be all
|
2744
|
+
# types, but may change over time as detectors are updated.
|
2434
2745
|
# @param [String] parent
|
2435
2746
|
# Parent resource name. The format of this value varies depending on whether you
|
2436
|
-
# have [specified a processing location](https://cloud.google.com/
|
2437
|
-
# specifying-location): + Projects scope, location specified: `
|
2438
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2439
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
2440
|
-
# string specifies a parent project with the identifier `example-project
|
2441
|
-
# specifies the `europe-west3` location for processing data: parent=
|
2442
|
-
# example-project/locations/europe-west3
|
2747
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
2748
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2749
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2750
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
2751
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
2752
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
2753
|
+
# projects/example-project/locations/europe-west3
|
2443
2754
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
2444
2755
|
# @param [String] fields
|
2445
2756
|
# Selector specifying which fields to include in a partial response.
|
@@ -2471,20 +2782,21 @@ module Google
|
|
2471
2782
|
end
|
2472
2783
|
|
2473
2784
|
# Creates an InspectTemplate for reusing frequently used configuration for
|
2474
|
-
# inspecting content, images, and storage. See https://cloud.google.com/
|
2475
|
-
# creating-templates to learn more.
|
2785
|
+
# inspecting content, images, and storage. See https://cloud.google.com/
|
2786
|
+
# sensitive-data-protection/docs/creating-templates to learn more.
|
2476
2787
|
# @param [String] parent
|
2477
2788
|
# Required. Parent resource name. The format of this value varies depending on
|
2478
2789
|
# the scope of the request (project or organization) and whether you have [
|
2479
|
-
# specified a processing location](https://cloud.google.com/
|
2480
|
-
# location): + Projects scope, location specified: `
|
2481
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
2482
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
2483
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2484
|
-
# location specified (defaults to global): `
|
2485
|
-
# example `parent` string specifies a parent
|
2486
|
-
# example-project`, and specifies the `europe-west3`
|
2487
|
-
# data: parent=projects/example-project/locations/
|
2790
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
2791
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2792
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2793
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
2794
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2795
|
+
# Organizations scope, no location specified (defaults to global): `
|
2796
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
2797
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
2798
|
+
# location for processing data: parent=projects/example-project/locations/
|
2799
|
+
# europe-west3
|
2488
2800
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
2489
2801
|
# @param [String] fields
|
2490
2802
|
# Selector specifying which fields to include in a partial response.
|
@@ -2515,8 +2827,8 @@ module Google
|
|
2515
2827
|
execute_or_queue_command(command, &block)
|
2516
2828
|
end
|
2517
2829
|
|
2518
|
-
# Deletes an InspectTemplate. See https://cloud.google.com/
|
2519
|
-
# templates to learn more.
|
2830
|
+
# Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
2831
|
+
# protection/docs/creating-templates to learn more.
|
2520
2832
|
# @param [String] name
|
2521
2833
|
# Required. Resource name of the organization and inspectTemplate to be deleted,
|
2522
2834
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -2548,8 +2860,8 @@ module Google
|
|
2548
2860
|
execute_or_queue_command(command, &block)
|
2549
2861
|
end
|
2550
2862
|
|
2551
|
-
# Gets an InspectTemplate. See https://cloud.google.com/
|
2552
|
-
# templates to learn more.
|
2863
|
+
# Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
2864
|
+
# protection/docs/creating-templates to learn more.
|
2553
2865
|
# @param [String] name
|
2554
2866
|
# Required. Resource name of the organization and inspectTemplate to be read,
|
2555
2867
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -2581,20 +2893,21 @@ module Google
|
|
2581
2893
|
execute_or_queue_command(command, &block)
|
2582
2894
|
end
|
2583
2895
|
|
2584
|
-
# Lists InspectTemplates. See https://cloud.google.com/
|
2585
|
-
# templates to learn more.
|
2896
|
+
# Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/
|
2897
|
+
# docs/creating-templates to learn more.
|
2586
2898
|
# @param [String] parent
|
2587
2899
|
# Required. Parent resource name. The format of this value varies depending on
|
2588
2900
|
# the scope of the request (project or organization) and whether you have [
|
2589
|
-
# specified a processing location](https://cloud.google.com/
|
2590
|
-
# location): + Projects scope, location specified: `
|
2591
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
2592
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
2593
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2594
|
-
# location specified (defaults to global): `
|
2595
|
-
# example `parent` string specifies a parent
|
2596
|
-
# example-project`, and specifies the `europe-west3`
|
2597
|
-
# data: parent=projects/example-project/locations/
|
2901
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
2902
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
2903
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2904
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
2905
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
2906
|
+
# Organizations scope, no location specified (defaults to global): `
|
2907
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
2908
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
2909
|
+
# location for processing data: parent=projects/example-project/locations/
|
2910
|
+
# europe-west3
|
2598
2911
|
# @param [String] location_id
|
2599
2912
|
# Deprecated. This field has no effect.
|
2600
2913
|
# @param [String] order_by
|
@@ -2642,8 +2955,8 @@ module Google
|
|
2642
2955
|
execute_or_queue_command(command, &block)
|
2643
2956
|
end
|
2644
2957
|
|
2645
|
-
# Updates the InspectTemplate. See https://cloud.google.com/
|
2646
|
-
# templates to learn more.
|
2958
|
+
# Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-
|
2959
|
+
# protection/docs/creating-templates to learn more.
|
2647
2960
|
# @param [String] name
|
2648
2961
|
# Required. Resource name of organization and inspectTemplate to be updated, for
|
2649
2962
|
# example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -2714,17 +3027,17 @@ module Google
|
|
2714
3027
|
end
|
2715
3028
|
|
2716
3029
|
# Creates a job trigger to run DLP actions such as scanning storage for
|
2717
|
-
# sensitive information on a set schedule. See https://cloud.google.com/
|
2718
|
-
# creating-job-triggers to learn more.
|
3030
|
+
# sensitive information on a set schedule. See https://cloud.google.com/
|
3031
|
+
# sensitive-data-protection/docs/creating-job-triggers to learn more.
|
2719
3032
|
# @param [String] parent
|
2720
3033
|
# Required. Parent resource name. The format of this value varies depending on
|
2721
3034
|
# whether you have [specified a processing location](https://cloud.google.com/
|
2722
|
-
#
|
2723
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2724
|
-
# defaults to global): `projects/`PROJECT_ID The
|
2725
|
-
# string specifies a parent project with the
|
2726
|
-
# specifies the `europe-west3` location for
|
2727
|
-
# example-project/locations/europe-west3
|
3035
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
3036
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3037
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
3038
|
+
# following example `parent` string specifies a parent project with the
|
3039
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
3040
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
2728
3041
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
|
2729
3042
|
# @param [String] fields
|
2730
3043
|
# Selector specifying which fields to include in a partial response.
|
@@ -2755,8 +3068,8 @@ module Google
|
|
2755
3068
|
execute_or_queue_command(command, &block)
|
2756
3069
|
end
|
2757
3070
|
|
2758
|
-
# Deletes a job trigger. See https://cloud.google.com/
|
2759
|
-
# triggers to learn more.
|
3071
|
+
# Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
3072
|
+
# docs/creating-job-triggers to learn more.
|
2760
3073
|
# @param [String] name
|
2761
3074
|
# Required. Resource name of the project and the triggeredJob, for example `
|
2762
3075
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -2787,8 +3100,8 @@ module Google
|
|
2787
3100
|
execute_or_queue_command(command, &block)
|
2788
3101
|
end
|
2789
3102
|
|
2790
|
-
# Gets a job trigger. See https://cloud.google.com/
|
2791
|
-
# triggers to learn more.
|
3103
|
+
# Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
3104
|
+
# docs/creating-job-triggers to learn more.
|
2792
3105
|
# @param [String] name
|
2793
3106
|
# Required. Resource name of the project and the triggeredJob, for example `
|
2794
3107
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -2819,17 +3132,17 @@ module Google
|
|
2819
3132
|
execute_or_queue_command(command, &block)
|
2820
3133
|
end
|
2821
3134
|
|
2822
|
-
# Lists job triggers. See https://cloud.google.com/
|
2823
|
-
# triggers to learn more.
|
3135
|
+
# Lists job triggers. See https://cloud.google.com/sensitive-data-protection/
|
3136
|
+
# docs/creating-job-triggers to learn more.
|
2824
3137
|
# @param [String] parent
|
2825
3138
|
# Required. Parent resource name. The format of this value varies depending on
|
2826
3139
|
# whether you have [specified a processing location](https://cloud.google.com/
|
2827
|
-
#
|
2828
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
2829
|
-
# defaults to global): `projects/`PROJECT_ID The
|
2830
|
-
# string specifies a parent project with the
|
2831
|
-
# specifies the `europe-west3` location for
|
2832
|
-
# example-project/locations/europe-west3
|
3140
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
3141
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3142
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
3143
|
+
# following example `parent` string specifies a parent project with the
|
3144
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
3145
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
2833
3146
|
# @param [String] filter
|
2834
3147
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
2835
3148
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -2897,8 +3210,8 @@ module Google
|
|
2897
3210
|
execute_or_queue_command(command, &block)
|
2898
3211
|
end
|
2899
3212
|
|
2900
|
-
# Updates a job trigger. See https://cloud.google.com/
|
2901
|
-
# triggers to learn more.
|
3213
|
+
# Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
3214
|
+
# docs/creating-job-triggers to learn more.
|
2902
3215
|
# @param [String] name
|
2903
3216
|
# Required. Resource name of the project and the triggeredJob, for example `
|
2904
3217
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -2932,21 +3245,120 @@ module Google
|
|
2932
3245
|
execute_or_queue_command(command, &block)
|
2933
3246
|
end
|
2934
3247
|
|
3248
|
+
# Gets a column data profile.
|
3249
|
+
# @param [String] name
|
3250
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
3251
|
+
# columnDataProfiles/53234423`.
|
3252
|
+
# @param [String] fields
|
3253
|
+
# Selector specifying which fields to include in a partial response.
|
3254
|
+
# @param [String] quota_user
|
3255
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3256
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3257
|
+
# @param [Google::Apis::RequestOptions] options
|
3258
|
+
# Request-specific options
|
3259
|
+
#
|
3260
|
+
# @yield [result, err] Result & error if block supplied
|
3261
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile] parsed result object
|
3262
|
+
# @yieldparam err [StandardError] error object if request failed
|
3263
|
+
#
|
3264
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile]
|
3265
|
+
#
|
3266
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3267
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3268
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3269
|
+
def get_project_location_column_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
3270
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
3271
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile::Representation
|
3272
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ColumnDataProfile
|
3273
|
+
command.params['name'] = name unless name.nil?
|
3274
|
+
command.query['fields'] = fields unless fields.nil?
|
3275
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3276
|
+
execute_or_queue_command(command, &block)
|
3277
|
+
end
|
3278
|
+
|
3279
|
+
# Lists data profiles for an organization.
|
3280
|
+
# @param [String] parent
|
3281
|
+
# Required. Resource name of the organization or project, for example `
|
3282
|
+
# organizations/433245324/locations/europe` or projects/project-id/locations/
|
3283
|
+
# asia.
|
3284
|
+
# @param [String] filter
|
3285
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
3286
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
3287
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
3288
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
3289
|
+
# table_data_profile_name` - The name of the related table data profile. - `
|
3290
|
+
# project_id` - The Google Cloud project ID. (REQUIRED) - `dataset_id` - The
|
3291
|
+
# BigQuery dataset ID. (REQUIRED) - `table_id` - The BigQuery table ID. (
|
3292
|
+
# REQUIRED) - `field_id` - The ID of the BigQuery field. - `info_type` - The
|
3293
|
+
# infotype detected in the resource. - `sensitivity_level` - HIGH|MEDIUM|LOW - `
|
3294
|
+
# data_risk_level`: How much risk is associated with this data. - `status_code` -
|
3295
|
+
# an RPC status code as defined in https://github.com/googleapis/googleapis/
|
3296
|
+
# blob/master/google/rpc/code.proto * The operator must be `=` for project_id,
|
3297
|
+
# dataset_id, and table_id. Other filters also support `!=`. Examples: *
|
3298
|
+
# project_id = 12345 AND status_code = 1 * project_id = 12345 AND
|
3299
|
+
# sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
|
3300
|
+
# The length of this field should be no more than 500 characters.
|
3301
|
+
# @param [String] order_by
|
3302
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
3303
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
3304
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
3305
|
+
# is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
|
3306
|
+
# desc` Supported fields are: - `project_id`: The Google Cloud project ID. - `
|
3307
|
+
# dataset_id`: The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery
|
3308
|
+
# table. - `sensitivity_level`: How sensitive the data in a column is, at most. -
|
3309
|
+
# `data_risk_level`: How much risk is associated with this data. - `
|
3310
|
+
# profile_last_generated`: When the profile was last updated in epoch seconds.
|
3311
|
+
# @param [Fixnum] page_size
|
3312
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
3313
|
+
# returns a page of max size 100.
|
3314
|
+
# @param [String] page_token
|
3315
|
+
# Page token to continue retrieval.
|
3316
|
+
# @param [String] fields
|
3317
|
+
# Selector specifying which fields to include in a partial response.
|
3318
|
+
# @param [String] quota_user
|
3319
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3320
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3321
|
+
# @param [Google::Apis::RequestOptions] options
|
3322
|
+
# Request-specific options
|
3323
|
+
#
|
3324
|
+
# @yield [result, err] Result & error if block supplied
|
3325
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse] parsed result object
|
3326
|
+
# @yieldparam err [StandardError] error object if request failed
|
3327
|
+
#
|
3328
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse]
|
3329
|
+
#
|
3330
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3331
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3332
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3333
|
+
def list_project_location_column_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3334
|
+
command = make_simple_command(:get, 'v2/{+parent}/columnDataProfiles', options)
|
3335
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse::Representation
|
3336
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListColumnDataProfilesResponse
|
3337
|
+
command.params['parent'] = parent unless parent.nil?
|
3338
|
+
command.query['filter'] = filter unless filter.nil?
|
3339
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
3340
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3341
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3342
|
+
command.query['fields'] = fields unless fields.nil?
|
3343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3344
|
+
execute_or_queue_command(command, &block)
|
3345
|
+
end
|
3346
|
+
|
2935
3347
|
# De-identifies potentially sensitive info from a ContentItem. This method has
|
2936
|
-
# limits on input size and output size. See https://cloud.google.com/
|
2937
|
-
# deidentify-sensitive-data to learn more. When no
|
2938
|
-
# are specified in this request, the system will
|
2939
|
-
# detectors to run. By default this may be all types,
|
2940
|
-
# as detectors are updated.
|
3348
|
+
# limits on input size and output size. See https://cloud.google.com/sensitive-
|
3349
|
+
# data-protection/docs/deidentify-sensitive-data to learn more. When no
|
3350
|
+
# InfoTypes or CustomInfoTypes are specified in this request, the system will
|
3351
|
+
# automatically choose what detectors to run. By default this may be all types,
|
3352
|
+
# but may change over time as detectors are updated.
|
2941
3353
|
# @param [String] parent
|
2942
3354
|
# Parent resource name. The format of this value varies depending on whether you
|
2943
|
-
# have [specified a processing location](https://cloud.google.com/
|
2944
|
-
# specifying-location): + Projects scope, location specified: `
|
2945
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2946
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
2947
|
-
# string specifies a parent project with the identifier `example-project
|
2948
|
-
# specifies the `europe-west3` location for processing data: parent=
|
2949
|
-
# example-project/locations/europe-west3
|
3355
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
3356
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
3357
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
3358
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
3359
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
3360
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
3361
|
+
# projects/example-project/locations/europe-west3
|
2950
3362
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentRequest] google_privacy_dlp_v2_deidentify_content_request_object
|
2951
3363
|
# @param [String] fields
|
2952
3364
|
# Selector specifying which fields to include in a partial response.
|
@@ -2981,17 +3393,18 @@ module Google
|
|
2981
3393
|
# size, processing time, and output size. When no InfoTypes or CustomInfoTypes
|
2982
3394
|
# are specified in this request, the system will automatically choose what
|
2983
3395
|
# detectors to run. By default this may be all types, but may change over time
|
2984
|
-
# as detectors are updated. For how to guides, see https://cloud.google.com/
|
2985
|
-
# docs/inspecting-images and https://cloud.google.com/
|
3396
|
+
# as detectors are updated. For how to guides, see https://cloud.google.com/
|
3397
|
+
# sensitive-data-protection/docs/inspecting-images and https://cloud.google.com/
|
3398
|
+
# sensitive-data-protection/docs/inspecting-text,
|
2986
3399
|
# @param [String] parent
|
2987
3400
|
# Parent resource name. The format of this value varies depending on whether you
|
2988
|
-
# have [specified a processing location](https://cloud.google.com/
|
2989
|
-
# specifying-location): + Projects scope, location specified: `
|
2990
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
2991
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
2992
|
-
# string specifies a parent project with the identifier `example-project
|
2993
|
-
# specifies the `europe-west3` location for processing data: parent=
|
2994
|
-
# example-project/locations/europe-west3
|
3401
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
3402
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
3403
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
3404
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
3405
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
3406
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
3407
|
+
# projects/example-project/locations/europe-west3
|
2995
3408
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2InspectContentRequest] google_privacy_dlp_v2_inspect_content_request_object
|
2996
3409
|
# @param [String] fields
|
2997
3410
|
# Selector specifying which fields to include in a partial response.
|
@@ -3023,17 +3436,17 @@ module Google
|
|
3023
3436
|
end
|
3024
3437
|
|
3025
3438
|
# Re-identifies content that has been de-identified. See https://cloud.google.
|
3026
|
-
# com/
|
3027
|
-
# learn more.
|
3439
|
+
# com/sensitive-data-protection/docs/pseudonymization#re-
|
3440
|
+
# identification_in_free_text_code_example to learn more.
|
3028
3441
|
# @param [String] parent
|
3029
3442
|
# Required. Parent resource name. The format of this value varies depending on
|
3030
3443
|
# whether you have [specified a processing location](https://cloud.google.com/
|
3031
|
-
#
|
3032
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3033
|
-
# defaults to global): `projects/`PROJECT_ID The
|
3034
|
-
# string specifies a parent project with the
|
3035
|
-
# specifies the `europe-west3` location for
|
3036
|
-
# example-project/locations/europe-west3
|
3444
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
3445
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3446
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
3447
|
+
# following example `parent` string specifies a parent project with the
|
3448
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
3449
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
3037
3450
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2ReidentifyContentRequest] google_privacy_dlp_v2_reidentify_content_request_object
|
3038
3451
|
# @param [String] fields
|
3039
3452
|
# Selector specifying which fields to include in a partial response.
|
@@ -3065,20 +3478,21 @@ module Google
|
|
3065
3478
|
end
|
3066
3479
|
|
3067
3480
|
# Creates a DeidentifyTemplate for reusing frequently used configuration for de-
|
3068
|
-
# identifying content, images, and storage. See https://cloud.google.com/
|
3069
|
-
# docs/creating-templates-deid to learn more.
|
3481
|
+
# identifying content, images, and storage. See https://cloud.google.com/
|
3482
|
+
# sensitive-data-protection/docs/creating-templates-deid to learn more.
|
3070
3483
|
# @param [String] parent
|
3071
3484
|
# Required. Parent resource name. The format of this value varies depending on
|
3072
3485
|
# the scope of the request (project or organization) and whether you have [
|
3073
|
-
# specified a processing location](https://cloud.google.com/
|
3074
|
-
# location): + Projects scope, location specified: `
|
3075
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
3076
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
3077
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3078
|
-
# location specified (defaults to global): `
|
3079
|
-
# example `parent` string specifies a parent
|
3080
|
-
# example-project`, and specifies the `europe-west3`
|
3081
|
-
# data: parent=projects/example-project/locations/
|
3486
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
3487
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
3488
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
3489
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
3490
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3491
|
+
# Organizations scope, no location specified (defaults to global): `
|
3492
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
3493
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
3494
|
+
# location for processing data: parent=projects/example-project/locations/
|
3495
|
+
# europe-west3
|
3082
3496
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDeidentifyTemplateRequest] google_privacy_dlp_v2_create_deidentify_template_request_object
|
3083
3497
|
# @param [String] fields
|
3084
3498
|
# Selector specifying which fields to include in a partial response.
|
@@ -3109,8 +3523,8 @@ module Google
|
|
3109
3523
|
execute_or_queue_command(command, &block)
|
3110
3524
|
end
|
3111
3525
|
|
3112
|
-
# Deletes a DeidentifyTemplate. See https://cloud.google.com/
|
3113
|
-
# templates-deid to learn more.
|
3526
|
+
# Deletes a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
3527
|
+
# protection/docs/creating-templates-deid to learn more.
|
3114
3528
|
# @param [String] name
|
3115
3529
|
# Required. Resource name of the organization and deidentify template to be
|
3116
3530
|
# deleted, for example `organizations/433245324/deidentifyTemplates/432452342`
|
@@ -3142,8 +3556,8 @@ module Google
|
|
3142
3556
|
execute_or_queue_command(command, &block)
|
3143
3557
|
end
|
3144
3558
|
|
3145
|
-
# Gets a DeidentifyTemplate. See https://cloud.google.com/
|
3146
|
-
# templates-deid to learn more.
|
3559
|
+
# Gets a DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
3560
|
+
# protection/docs/creating-templates-deid to learn more.
|
3147
3561
|
# @param [String] name
|
3148
3562
|
# Required. Resource name of the organization and deidentify template to be read,
|
3149
3563
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -3175,20 +3589,21 @@ module Google
|
|
3175
3589
|
execute_or_queue_command(command, &block)
|
3176
3590
|
end
|
3177
3591
|
|
3178
|
-
# Lists DeidentifyTemplates. See https://cloud.google.com/
|
3179
|
-
# templates-deid to learn more.
|
3592
|
+
# Lists DeidentifyTemplates. See https://cloud.google.com/sensitive-data-
|
3593
|
+
# protection/docs/creating-templates-deid to learn more.
|
3180
3594
|
# @param [String] parent
|
3181
3595
|
# Required. Parent resource name. The format of this value varies depending on
|
3182
3596
|
# the scope of the request (project or organization) and whether you have [
|
3183
|
-
# specified a processing location](https://cloud.google.com/
|
3184
|
-
# location): + Projects scope, location specified: `
|
3185
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
3186
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
3187
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3188
|
-
# location specified (defaults to global): `
|
3189
|
-
# example `parent` string specifies a parent
|
3190
|
-
# example-project`, and specifies the `europe-west3`
|
3191
|
-
# data: parent=projects/example-project/locations/
|
3597
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
3598
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
3599
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
3600
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
3601
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3602
|
+
# Organizations scope, no location specified (defaults to global): `
|
3603
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
3604
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
3605
|
+
# location for processing data: parent=projects/example-project/locations/
|
3606
|
+
# europe-west3
|
3192
3607
|
# @param [String] location_id
|
3193
3608
|
# Deprecated. This field has no effect.
|
3194
3609
|
# @param [String] order_by
|
@@ -3236,8 +3651,8 @@ module Google
|
|
3236
3651
|
execute_or_queue_command(command, &block)
|
3237
3652
|
end
|
3238
3653
|
|
3239
|
-
# Updates the DeidentifyTemplate. See https://cloud.google.com/
|
3240
|
-
# templates-deid to learn more.
|
3654
|
+
# Updates the DeidentifyTemplate. See https://cloud.google.com/sensitive-data-
|
3655
|
+
# protection/docs/creating-templates-deid to learn more.
|
3241
3656
|
# @param [String] name
|
3242
3657
|
# Required. Resource name of organization and deidentify template to be updated,
|
3243
3658
|
# for example `organizations/433245324/deidentifyTemplates/432452342` or
|
@@ -3456,8 +3871,9 @@ module Google
|
|
3456
3871
|
|
3457
3872
|
# Starts asynchronous cancellation on a long-running DlpJob. The server makes a
|
3458
3873
|
# best effort to cancel the DlpJob, but success is not guaranteed. See https://
|
3459
|
-
# cloud.google.com/
|
3460
|
-
# docs/compute-risk-analysis to learn
|
3874
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
3875
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
3876
|
+
# more.
|
3461
3877
|
# @param [String] name
|
3462
3878
|
# Required. The name of the DlpJob resource to be cancelled.
|
3463
3879
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CancelDlpJobRequest] google_privacy_dlp_v2_cancel_dlp_job_request_object
|
@@ -3491,20 +3907,20 @@ module Google
|
|
3491
3907
|
end
|
3492
3908
|
|
3493
3909
|
# Creates a new job to inspect storage or calculate risk metrics. See https://
|
3494
|
-
# cloud.google.com/
|
3495
|
-
# docs/compute-risk-analysis to learn
|
3496
|
-
# are specified in inspect jobs, the
|
3497
|
-
# detectors to run. By default this may be
|
3498
|
-
# as detectors are updated.
|
3910
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
3911
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
3912
|
+
# more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the
|
3913
|
+
# system will automatically choose what detectors to run. By default this may be
|
3914
|
+
# all types, but may change over time as detectors are updated.
|
3499
3915
|
# @param [String] parent
|
3500
3916
|
# Required. Parent resource name. The format of this value varies depending on
|
3501
3917
|
# whether you have [specified a processing location](https://cloud.google.com/
|
3502
|
-
#
|
3503
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3504
|
-
# defaults to global): `projects/`PROJECT_ID The
|
3505
|
-
# string specifies a parent project with the
|
3506
|
-
# specifies the `europe-west3` location for
|
3507
|
-
# example-project/locations/europe-west3
|
3918
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
3919
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3920
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
3921
|
+
# following example `parent` string specifies a parent project with the
|
3922
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
3923
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
3508
3924
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest] google_privacy_dlp_v2_create_dlp_job_request_object
|
3509
3925
|
# @param [String] fields
|
3510
3926
|
# Selector specifying which fields to include in a partial response.
|
@@ -3537,8 +3953,9 @@ module Google
|
|
3537
3953
|
|
3538
3954
|
# Deletes a long-running DlpJob. This method indicates that the client is no
|
3539
3955
|
# longer interested in the DlpJob result. The job will be canceled if possible.
|
3540
|
-
# See https://cloud.google.com/
|
3541
|
-
# google.com/
|
3956
|
+
# See https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage
|
3957
|
+
# and https://cloud.google.com/sensitive-data-protection/docs/compute-risk-
|
3958
|
+
# analysis to learn more.
|
3542
3959
|
# @param [String] name
|
3543
3960
|
# Required. The name of the DlpJob resource to be deleted.
|
3544
3961
|
# @param [String] fields
|
@@ -3603,8 +4020,8 @@ module Google
|
|
3603
4020
|
end
|
3604
4021
|
|
3605
4022
|
# Gets the latest state of a long-running DlpJob. See https://cloud.google.com/
|
3606
|
-
#
|
3607
|
-
# analysis to learn more.
|
4023
|
+
# sensitive-data-protection/docs/inspecting-storage and https://cloud.google.com/
|
4024
|
+
# sensitive-data-protection/docs/compute-risk-analysis to learn more.
|
3608
4025
|
# @param [String] name
|
3609
4026
|
# Required. The name of the DlpJob resource.
|
3610
4027
|
# @param [String] fields
|
@@ -3670,17 +4087,18 @@ module Google
|
|
3670
4087
|
end
|
3671
4088
|
|
3672
4089
|
# Lists DlpJobs that match the specified filter in the request. See https://
|
3673
|
-
# cloud.google.com/
|
3674
|
-
# docs/compute-risk-analysis to learn
|
4090
|
+
# cloud.google.com/sensitive-data-protection/docs/inspecting-storage and https://
|
4091
|
+
# cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis to learn
|
4092
|
+
# more.
|
3675
4093
|
# @param [String] parent
|
3676
4094
|
# Required. Parent resource name. The format of this value varies depending on
|
3677
4095
|
# whether you have [specified a processing location](https://cloud.google.com/
|
3678
|
-
#
|
3679
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
3680
|
-
# defaults to global): `projects/`PROJECT_ID The
|
3681
|
-
# string specifies a parent project with the
|
3682
|
-
# specifies the `europe-west3` location for
|
3683
|
-
# example-project/locations/europe-west3
|
4096
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
4097
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
4098
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
4099
|
+
# following example `parent` string specifies a parent project with the
|
4100
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
4101
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
3684
4102
|
# @param [String] filter
|
3685
4103
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
3686
4104
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -3748,20 +4166,20 @@ module Google
|
|
3748
4166
|
end
|
3749
4167
|
|
3750
4168
|
# Redacts potentially sensitive info from an image. This method has limits on
|
3751
|
-
# input size, processing time, and output size. See https://cloud.google.com/
|
3752
|
-
# docs/redacting-sensitive-data-images to learn more.
|
3753
|
-
# CustomInfoTypes are specified in this request, the system
|
3754
|
-
# choose what detectors to run. By default this may be all
|
3755
|
-
# over time as detectors are updated.
|
4169
|
+
# input size, processing time, and output size. See https://cloud.google.com/
|
4170
|
+
# sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
|
4171
|
+
# When no InfoTypes or CustomInfoTypes are specified in this request, the system
|
4172
|
+
# will automatically choose what detectors to run. By default this may be all
|
4173
|
+
# types, but may change over time as detectors are updated.
|
3756
4174
|
# @param [String] parent
|
3757
4175
|
# Parent resource name. The format of this value varies depending on whether you
|
3758
|
-
# have [specified a processing location](https://cloud.google.com/
|
3759
|
-
# specifying-location): + Projects scope, location specified: `
|
3760
|
-
# PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
3761
|
-
# defaults to global): `projects/`PROJECT_ID The following example `
|
3762
|
-
# string specifies a parent project with the identifier `example-project
|
3763
|
-
# specifies the `europe-west3` location for processing data: parent=
|
3764
|
-
# example-project/locations/europe-west3
|
4176
|
+
# have [specified a processing location](https://cloud.google.com/sensitive-data-
|
4177
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
4178
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
4179
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
4180
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
4181
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
4182
|
+
# projects/example-project/locations/europe-west3
|
3765
4183
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2RedactImageRequest] google_privacy_dlp_v2_redact_image_request_object
|
3766
4184
|
# @param [String] fields
|
3767
4185
|
# Selector specifying which fields to include in a partial response.
|
@@ -3793,20 +4211,21 @@ module Google
|
|
3793
4211
|
end
|
3794
4212
|
|
3795
4213
|
# Creates an InspectTemplate for reusing frequently used configuration for
|
3796
|
-
# inspecting content, images, and storage. See https://cloud.google.com/
|
3797
|
-
# creating-templates to learn more.
|
4214
|
+
# inspecting content, images, and storage. See https://cloud.google.com/
|
4215
|
+
# sensitive-data-protection/docs/creating-templates to learn more.
|
3798
4216
|
# @param [String] parent
|
3799
4217
|
# Required. Parent resource name. The format of this value varies depending on
|
3800
4218
|
# the scope of the request (project or organization) and whether you have [
|
3801
|
-
# specified a processing location](https://cloud.google.com/
|
3802
|
-
# location): + Projects scope, location specified: `
|
3803
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
3804
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
3805
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3806
|
-
# location specified (defaults to global): `
|
3807
|
-
# example `parent` string specifies a parent
|
3808
|
-
# example-project`, and specifies the `europe-west3`
|
3809
|
-
# data: parent=projects/example-project/locations/
|
4219
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
4220
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
4221
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
4222
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
4223
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
4224
|
+
# Organizations scope, no location specified (defaults to global): `
|
4225
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
4226
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
4227
|
+
# location for processing data: parent=projects/example-project/locations/
|
4228
|
+
# europe-west3
|
3810
4229
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateInspectTemplateRequest] google_privacy_dlp_v2_create_inspect_template_request_object
|
3811
4230
|
# @param [String] fields
|
3812
4231
|
# Selector specifying which fields to include in a partial response.
|
@@ -3837,8 +4256,8 @@ module Google
|
|
3837
4256
|
execute_or_queue_command(command, &block)
|
3838
4257
|
end
|
3839
4258
|
|
3840
|
-
# Deletes an InspectTemplate. See https://cloud.google.com/
|
3841
|
-
# templates to learn more.
|
4259
|
+
# Deletes an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
4260
|
+
# protection/docs/creating-templates to learn more.
|
3842
4261
|
# @param [String] name
|
3843
4262
|
# Required. Resource name of the organization and inspectTemplate to be deleted,
|
3844
4263
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -3870,8 +4289,8 @@ module Google
|
|
3870
4289
|
execute_or_queue_command(command, &block)
|
3871
4290
|
end
|
3872
4291
|
|
3873
|
-
# Gets an InspectTemplate. See https://cloud.google.com/
|
3874
|
-
# templates to learn more.
|
4292
|
+
# Gets an InspectTemplate. See https://cloud.google.com/sensitive-data-
|
4293
|
+
# protection/docs/creating-templates to learn more.
|
3875
4294
|
# @param [String] name
|
3876
4295
|
# Required. Resource name of the organization and inspectTemplate to be read,
|
3877
4296
|
# for example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -3903,20 +4322,21 @@ module Google
|
|
3903
4322
|
execute_or_queue_command(command, &block)
|
3904
4323
|
end
|
3905
4324
|
|
3906
|
-
# Lists InspectTemplates. See https://cloud.google.com/
|
3907
|
-
# templates to learn more.
|
4325
|
+
# Lists InspectTemplates. See https://cloud.google.com/sensitive-data-protection/
|
4326
|
+
# docs/creating-templates to learn more.
|
3908
4327
|
# @param [String] parent
|
3909
4328
|
# Required. Parent resource name. The format of this value varies depending on
|
3910
4329
|
# the scope of the request (project or organization) and whether you have [
|
3911
|
-
# specified a processing location](https://cloud.google.com/
|
3912
|
-
# location): + Projects scope, location specified: `
|
3913
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
3914
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
3915
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
3916
|
-
# location specified (defaults to global): `
|
3917
|
-
# example `parent` string specifies a parent
|
3918
|
-
# example-project`, and specifies the `europe-west3`
|
3919
|
-
# data: parent=projects/example-project/locations/
|
4330
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
4331
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
4332
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
4333
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
4334
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
4335
|
+
# Organizations scope, no location specified (defaults to global): `
|
4336
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
4337
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
4338
|
+
# location for processing data: parent=projects/example-project/locations/
|
4339
|
+
# europe-west3
|
3920
4340
|
# @param [String] location_id
|
3921
4341
|
# Deprecated. This field has no effect.
|
3922
4342
|
# @param [String] order_by
|
@@ -3964,8 +4384,8 @@ module Google
|
|
3964
4384
|
execute_or_queue_command(command, &block)
|
3965
4385
|
end
|
3966
4386
|
|
3967
|
-
# Updates the InspectTemplate. See https://cloud.google.com/
|
3968
|
-
# templates to learn more.
|
4387
|
+
# Updates the InspectTemplate. See https://cloud.google.com/sensitive-data-
|
4388
|
+
# protection/docs/creating-templates to learn more.
|
3969
4389
|
# @param [String] name
|
3970
4390
|
# Required. Resource name of organization and inspectTemplate to be updated, for
|
3971
4391
|
# example `organizations/433245324/inspectTemplates/432452342` or projects/
|
@@ -4036,17 +4456,17 @@ module Google
|
|
4036
4456
|
end
|
4037
4457
|
|
4038
4458
|
# Creates a job trigger to run DLP actions such as scanning storage for
|
4039
|
-
# sensitive information on a set schedule. See https://cloud.google.com/
|
4040
|
-
# creating-job-triggers to learn more.
|
4459
|
+
# sensitive information on a set schedule. See https://cloud.google.com/
|
4460
|
+
# sensitive-data-protection/docs/creating-job-triggers to learn more.
|
4041
4461
|
# @param [String] parent
|
4042
4462
|
# Required. Parent resource name. The format of this value varies depending on
|
4043
4463
|
# whether you have [specified a processing location](https://cloud.google.com/
|
4044
|
-
#
|
4045
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
4046
|
-
# defaults to global): `projects/`PROJECT_ID The
|
4047
|
-
# string specifies a parent project with the
|
4048
|
-
# specifies the `europe-west3` location for
|
4049
|
-
# example-project/locations/europe-west3
|
4464
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
4465
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
4466
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
4467
|
+
# following example `parent` string specifies a parent project with the
|
4468
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
4469
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
4050
4470
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest] google_privacy_dlp_v2_create_job_trigger_request_object
|
4051
4471
|
# @param [String] fields
|
4052
4472
|
# Selector specifying which fields to include in a partial response.
|
@@ -4077,8 +4497,8 @@ module Google
|
|
4077
4497
|
execute_or_queue_command(command, &block)
|
4078
4498
|
end
|
4079
4499
|
|
4080
|
-
# Deletes a job trigger. See https://cloud.google.com/
|
4081
|
-
# triggers to learn more.
|
4500
|
+
# Deletes a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
4501
|
+
# docs/creating-job-triggers to learn more.
|
4082
4502
|
# @param [String] name
|
4083
4503
|
# Required. Resource name of the project and the triggeredJob, for example `
|
4084
4504
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -4109,8 +4529,8 @@ module Google
|
|
4109
4529
|
execute_or_queue_command(command, &block)
|
4110
4530
|
end
|
4111
4531
|
|
4112
|
-
# Gets a job trigger. See https://cloud.google.com/
|
4113
|
-
# triggers to learn more.
|
4532
|
+
# Gets a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
4533
|
+
# docs/creating-job-triggers to learn more.
|
4114
4534
|
# @param [String] name
|
4115
4535
|
# Required. Resource name of the project and the triggeredJob, for example `
|
4116
4536
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -4177,17 +4597,17 @@ module Google
|
|
4177
4597
|
execute_or_queue_command(command, &block)
|
4178
4598
|
end
|
4179
4599
|
|
4180
|
-
# Lists job triggers. See https://cloud.google.com/
|
4181
|
-
# triggers to learn more.
|
4600
|
+
# Lists job triggers. See https://cloud.google.com/sensitive-data-protection/
|
4601
|
+
# docs/creating-job-triggers to learn more.
|
4182
4602
|
# @param [String] parent
|
4183
4603
|
# Required. Parent resource name. The format of this value varies depending on
|
4184
4604
|
# whether you have [specified a processing location](https://cloud.google.com/
|
4185
|
-
#
|
4186
|
-
# `PROJECT_ID`/locations/`LOCATION_ID + Projects
|
4187
|
-
# defaults to global): `projects/`PROJECT_ID The
|
4188
|
-
# string specifies a parent project with the
|
4189
|
-
# specifies the `europe-west3` location for
|
4190
|
-
# example-project/locations/europe-west3
|
4605
|
+
# sensitive-data-protection/docs/specifying-location): + Projects scope,
|
4606
|
+
# location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
|
4607
|
+
# scope, no location specified (defaults to global): `projects/`PROJECT_ID The
|
4608
|
+
# following example `parent` string specifies a parent project with the
|
4609
|
+
# identifier `example-project`, and specifies the `europe-west3` location for
|
4610
|
+
# processing data: parent=projects/example-project/locations/europe-west3
|
4191
4611
|
# @param [String] filter
|
4192
4612
|
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
4193
4613
|
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
@@ -4255,8 +4675,8 @@ module Google
|
|
4255
4675
|
execute_or_queue_command(command, &block)
|
4256
4676
|
end
|
4257
4677
|
|
4258
|
-
# Updates a job trigger. See https://cloud.google.com/
|
4259
|
-
# triggers to learn more.
|
4678
|
+
# Updates a job trigger. See https://cloud.google.com/sensitive-data-protection/
|
4679
|
+
# docs/creating-job-triggers to learn more.
|
4260
4680
|
# @param [String] name
|
4261
4681
|
# Required. Resource name of the project and the triggeredJob, for example `
|
4262
4682
|
# projects/dlp-test-project/jobTriggers/53234423`.
|
@@ -4290,20 +4710,112 @@ module Google
|
|
4290
4710
|
execute_or_queue_command(command, &block)
|
4291
4711
|
end
|
4292
4712
|
|
4713
|
+
# Gets a project data profile.
|
4714
|
+
# @param [String] name
|
4715
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
4716
|
+
# projectDataProfiles/53234423`.
|
4717
|
+
# @param [String] fields
|
4718
|
+
# Selector specifying which fields to include in a partial response.
|
4719
|
+
# @param [String] quota_user
|
4720
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4721
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4722
|
+
# @param [Google::Apis::RequestOptions] options
|
4723
|
+
# Request-specific options
|
4724
|
+
#
|
4725
|
+
# @yield [result, err] Result & error if block supplied
|
4726
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile] parsed result object
|
4727
|
+
# @yieldparam err [StandardError] error object if request failed
|
4728
|
+
#
|
4729
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile]
|
4730
|
+
#
|
4731
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4732
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4733
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4734
|
+
def get_project_location_project_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
4735
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
4736
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile::Representation
|
4737
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ProjectDataProfile
|
4738
|
+
command.params['name'] = name unless name.nil?
|
4739
|
+
command.query['fields'] = fields unless fields.nil?
|
4740
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4741
|
+
execute_or_queue_command(command, &block)
|
4742
|
+
end
|
4743
|
+
|
4744
|
+
# Lists data profiles for an organization.
|
4745
|
+
# @param [String] parent
|
4746
|
+
# Required. organizations/`org_id`/locations/`loc_id`
|
4747
|
+
# @param [String] filter
|
4748
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
4749
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
4750
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
4751
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
4752
|
+
# sensitivity_level` - HIGH|MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW
|
4753
|
+
# - `status_code` - an RPC status code as defined in https://github.com/
|
4754
|
+
# googleapis/googleapis/blob/master/google/rpc/code.proto * The operator must be
|
4755
|
+
# `=` or `!=`. Examples: * project_id = 12345 AND status_code = 1 * project_id =
|
4756
|
+
# 12345 AND sensitivity_level = HIGH The length of this field should be no more
|
4757
|
+
# than 500 characters.
|
4758
|
+
# @param [String] order_by
|
4759
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
4760
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
4761
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
4762
|
+
# is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
|
4763
|
+
# fields are: - `project_id`: GCP project ID - `sensitivity_level`: How
|
4764
|
+
# sensitive the data in a project is, at most. - `data_risk_level`: How much
|
4765
|
+
# risk is associated with this data. - `profile_last_generated`: When the
|
4766
|
+
# profile was last updated in epoch seconds.
|
4767
|
+
# @param [Fixnum] page_size
|
4768
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
4769
|
+
# returns a page of max size 100.
|
4770
|
+
# @param [String] page_token
|
4771
|
+
# Page token to continue retrieval.
|
4772
|
+
# @param [String] fields
|
4773
|
+
# Selector specifying which fields to include in a partial response.
|
4774
|
+
# @param [String] quota_user
|
4775
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4776
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4777
|
+
# @param [Google::Apis::RequestOptions] options
|
4778
|
+
# Request-specific options
|
4779
|
+
#
|
4780
|
+
# @yield [result, err] Result & error if block supplied
|
4781
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse] parsed result object
|
4782
|
+
# @yieldparam err [StandardError] error object if request failed
|
4783
|
+
#
|
4784
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse]
|
4785
|
+
#
|
4786
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4787
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4788
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4789
|
+
def list_project_location_project_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4790
|
+
command = make_simple_command(:get, 'v2/{+parent}/projectDataProfiles', options)
|
4791
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse::Representation
|
4792
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListProjectDataProfilesResponse
|
4793
|
+
command.params['parent'] = parent unless parent.nil?
|
4794
|
+
command.query['filter'] = filter unless filter.nil?
|
4795
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
4796
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4797
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4798
|
+
command.query['fields'] = fields unless fields.nil?
|
4799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4800
|
+
execute_or_queue_command(command, &block)
|
4801
|
+
end
|
4802
|
+
|
4293
4803
|
# Creates a pre-built stored infoType to be used for inspection. See https://
|
4294
|
-
# cloud.google.com/
|
4804
|
+
# cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to
|
4805
|
+
# learn more.
|
4295
4806
|
# @param [String] parent
|
4296
4807
|
# Required. Parent resource name. The format of this value varies depending on
|
4297
4808
|
# the scope of the request (project or organization) and whether you have [
|
4298
|
-
# specified a processing location](https://cloud.google.com/
|
4299
|
-
# location): + Projects scope, location specified: `
|
4300
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
4301
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
4302
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
4303
|
-
# location specified (defaults to global): `
|
4304
|
-
# example `parent` string specifies a parent
|
4305
|
-
# example-project`, and specifies the `europe-west3`
|
4306
|
-
# data: parent=projects/example-project/locations/
|
4809
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
4810
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
4811
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
4812
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
4813
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
4814
|
+
# Organizations scope, no location specified (defaults to global): `
|
4815
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
4816
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
4817
|
+
# location for processing data: parent=projects/example-project/locations/
|
4818
|
+
# europe-west3
|
4307
4819
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
4308
4820
|
# @param [String] fields
|
4309
4821
|
# Selector specifying which fields to include in a partial response.
|
@@ -4334,8 +4846,8 @@ module Google
|
|
4334
4846
|
execute_or_queue_command(command, &block)
|
4335
4847
|
end
|
4336
4848
|
|
4337
|
-
# Deletes a stored infoType. See https://cloud.google.com/
|
4338
|
-
# stored-infotypes to learn more.
|
4849
|
+
# Deletes a stored infoType. See https://cloud.google.com/sensitive-data-
|
4850
|
+
# protection/docs/creating-stored-infotypes to learn more.
|
4339
4851
|
# @param [String] name
|
4340
4852
|
# Required. Resource name of the organization and storedInfoType to be deleted,
|
4341
4853
|
# for example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -4367,8 +4879,8 @@ module Google
|
|
4367
4879
|
execute_or_queue_command(command, &block)
|
4368
4880
|
end
|
4369
4881
|
|
4370
|
-
# Gets a stored infoType. See https://cloud.google.com/
|
4371
|
-
# infotypes to learn more.
|
4882
|
+
# Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/
|
4883
|
+
# docs/creating-stored-infotypes to learn more.
|
4372
4884
|
# @param [String] name
|
4373
4885
|
# Required. Resource name of the organization and storedInfoType to be read, for
|
4374
4886
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -4400,18 +4912,18 @@ module Google
|
|
4400
4912
|
execute_or_queue_command(command, &block)
|
4401
4913
|
end
|
4402
4914
|
|
4403
|
-
# Lists stored infoTypes. See https://cloud.google.com/
|
4404
|
-
# infotypes to learn more.
|
4915
|
+
# Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/
|
4916
|
+
# docs/creating-stored-infotypes to learn more.
|
4405
4917
|
# @param [String] parent
|
4406
4918
|
# Required. Parent resource name. The format of this value varies depending on
|
4407
4919
|
# the scope of the request (project or organization) and whether you have [
|
4408
|
-
# specified a processing location](https://cloud.google.com/
|
4409
|
-
# location): + Projects scope, location specified: `
|
4410
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
4411
|
-
# global): `projects/`PROJECT_ID The following example `
|
4412
|
-
# a parent project with the identifier `example-project
|
4413
|
-
# europe-west3` location for processing data: parent=
|
4414
|
-
# locations/europe-west3
|
4920
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
4921
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
4922
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
4923
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
4924
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
4925
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
4926
|
+
# projects/example-project/locations/europe-west3
|
4415
4927
|
# @param [String] location_id
|
4416
4928
|
# Deprecated. This field has no effect.
|
4417
4929
|
# @param [String] order_by
|
@@ -4461,7 +4973,8 @@ module Google
|
|
4461
4973
|
|
4462
4974
|
# Updates the stored infoType by creating a new version. The existing version
|
4463
4975
|
# will continue to be used until the new version is ready. See https://cloud.
|
4464
|
-
# google.com/
|
4976
|
+
# google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn
|
4977
|
+
# more.
|
4465
4978
|
# @param [String] name
|
4466
4979
|
# Required. Resource name of organization and storedInfoType to be updated, for
|
4467
4980
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -4496,20 +5009,121 @@ module Google
|
|
4496
5009
|
execute_or_queue_command(command, &block)
|
4497
5010
|
end
|
4498
5011
|
|
5012
|
+
# Gets a table data profile.
|
5013
|
+
# @param [String] name
|
5014
|
+
# Required. Resource name, for example `organizations/12345/locations/us/
|
5015
|
+
# tableDataProfiles/53234423`.
|
5016
|
+
# @param [String] fields
|
5017
|
+
# Selector specifying which fields to include in a partial response.
|
5018
|
+
# @param [String] quota_user
|
5019
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5020
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5021
|
+
# @param [Google::Apis::RequestOptions] options
|
5022
|
+
# Request-specific options
|
5023
|
+
#
|
5024
|
+
# @yield [result, err] Result & error if block supplied
|
5025
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile] parsed result object
|
5026
|
+
# @yieldparam err [StandardError] error object if request failed
|
5027
|
+
#
|
5028
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile]
|
5029
|
+
#
|
5030
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5031
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5032
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5033
|
+
def get_project_location_table_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
5034
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
5035
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile::Representation
|
5036
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2TableDataProfile
|
5037
|
+
command.params['name'] = name unless name.nil?
|
5038
|
+
command.query['fields'] = fields unless fields.nil?
|
5039
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5040
|
+
execute_or_queue_command(command, &block)
|
5041
|
+
end
|
5042
|
+
|
5043
|
+
# Lists data profiles for an organization.
|
5044
|
+
# @param [String] parent
|
5045
|
+
# Required. Resource name of the organization or project, for example `
|
5046
|
+
# organizations/433245324/locations/europe` or `projects/project-id/locations/
|
5047
|
+
# asia`.
|
5048
|
+
# @param [String] filter
|
5049
|
+
# Allows filtering. Supported syntax: * Filter expressions are made up of one or
|
5050
|
+
# more restrictions. * Restrictions can be combined by `AND` or `OR` logical
|
5051
|
+
# operators. A sequence of restrictions implicitly uses `AND`. * A restriction
|
5052
|
+
# has the form of ``field` `operator` `value``. * Supported fields/values: - `
|
5053
|
+
# project_id` - The GCP project ID. - `dataset_id` - The BigQuery dataset ID. - `
|
5054
|
+
# table_id` - The ID of the BigQuery table. - `sensitivity_level` - HIGH|
|
5055
|
+
# MODERATE|LOW - `data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`:
|
5056
|
+
# PUBLIC|RESTRICTED - `status_code` - an RPC status code as defined in https://
|
5057
|
+
# github.com/googleapis/googleapis/blob/master/google/rpc/code.proto * The
|
5058
|
+
# operator must be `=` or `!=`. Examples: * project_id = 12345 AND status_code =
|
5059
|
+
# 1 * project_id = 12345 AND sensitivity_level = HIGH * project_id = 12345 AND
|
5060
|
+
# resource_visibility = PUBLIC The length of this field should be no more than
|
5061
|
+
# 500 characters.
|
5062
|
+
# @param [String] order_by
|
5063
|
+
# Comma separated list of fields to order by, followed by `asc` or `desc`
|
5064
|
+
# postfix. This list is case insensitive. The default sorting order is ascending.
|
5065
|
+
# Redundant space characters are insignificant. Only one order field at a time
|
5066
|
+
# is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
|
5067
|
+
# desc` Supported fields are: - `project_id`: The GCP project ID. - `dataset_id`:
|
5068
|
+
# The ID of a BigQuery dataset. - `table_id`: The ID of a BigQuery table. - `
|
5069
|
+
# sensitivity_level`: How sensitive the data in a table is, at most. - `
|
5070
|
+
# data_risk_level`: How much risk is associated with this data. - `
|
5071
|
+
# profile_last_generated`: When the profile was last updated in epoch seconds. -
|
5072
|
+
# `last_modified`: The last time the resource was modified. - `
|
5073
|
+
# resource_visibility`: Visibility restriction for this resource. - `row_count`:
|
5074
|
+
# Number of rows in this resource.
|
5075
|
+
# @param [Fixnum] page_size
|
5076
|
+
# Size of the page. This value can be limited by the server. If zero, server
|
5077
|
+
# returns a page of max size 100.
|
5078
|
+
# @param [String] page_token
|
5079
|
+
# Page token to continue retrieval.
|
5080
|
+
# @param [String] fields
|
5081
|
+
# Selector specifying which fields to include in a partial response.
|
5082
|
+
# @param [String] quota_user
|
5083
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5084
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5085
|
+
# @param [Google::Apis::RequestOptions] options
|
5086
|
+
# Request-specific options
|
5087
|
+
#
|
5088
|
+
# @yield [result, err] Result & error if block supplied
|
5089
|
+
# @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse] parsed result object
|
5090
|
+
# @yieldparam err [StandardError] error object if request failed
|
5091
|
+
#
|
5092
|
+
# @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse]
|
5093
|
+
#
|
5094
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5095
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5096
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5097
|
+
def list_project_location_table_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5098
|
+
command = make_simple_command(:get, 'v2/{+parent}/tableDataProfiles', options)
|
5099
|
+
command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse::Representation
|
5100
|
+
command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListTableDataProfilesResponse
|
5101
|
+
command.params['parent'] = parent unless parent.nil?
|
5102
|
+
command.query['filter'] = filter unless filter.nil?
|
5103
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
5104
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5105
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5106
|
+
command.query['fields'] = fields unless fields.nil?
|
5107
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5108
|
+
execute_or_queue_command(command, &block)
|
5109
|
+
end
|
5110
|
+
|
4499
5111
|
# Creates a pre-built stored infoType to be used for inspection. See https://
|
4500
|
-
# cloud.google.com/
|
5112
|
+
# cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes to
|
5113
|
+
# learn more.
|
4501
5114
|
# @param [String] parent
|
4502
5115
|
# Required. Parent resource name. The format of this value varies depending on
|
4503
5116
|
# the scope of the request (project or organization) and whether you have [
|
4504
|
-
# specified a processing location](https://cloud.google.com/
|
4505
|
-
# location): + Projects scope, location specified: `
|
4506
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
4507
|
-
# global): `projects/`PROJECT_ID + Organizations scope,
|
4508
|
-
# organizations/`ORG_ID`/locations/`LOCATION_ID +
|
4509
|
-
# location specified (defaults to global): `
|
4510
|
-
# example `parent` string specifies a parent
|
4511
|
-
# example-project`, and specifies the `europe-west3`
|
4512
|
-
# data: parent=projects/example-project/locations/
|
5117
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
5118
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
5119
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
5120
|
+
# specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
|
5121
|
+
# location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
|
5122
|
+
# Organizations scope, no location specified (defaults to global): `
|
5123
|
+
# organizations/`ORG_ID The following example `parent` string specifies a parent
|
5124
|
+
# project with the identifier `example-project`, and specifies the `europe-west3`
|
5125
|
+
# location for processing data: parent=projects/example-project/locations/
|
5126
|
+
# europe-west3
|
4513
5127
|
# @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest] google_privacy_dlp_v2_create_stored_info_type_request_object
|
4514
5128
|
# @param [String] fields
|
4515
5129
|
# Selector specifying which fields to include in a partial response.
|
@@ -4540,8 +5154,8 @@ module Google
|
|
4540
5154
|
execute_or_queue_command(command, &block)
|
4541
5155
|
end
|
4542
5156
|
|
4543
|
-
# Deletes a stored infoType. See https://cloud.google.com/
|
4544
|
-
# stored-infotypes to learn more.
|
5157
|
+
# Deletes a stored infoType. See https://cloud.google.com/sensitive-data-
|
5158
|
+
# protection/docs/creating-stored-infotypes to learn more.
|
4545
5159
|
# @param [String] name
|
4546
5160
|
# Required. Resource name of the organization and storedInfoType to be deleted,
|
4547
5161
|
# for example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -4573,8 +5187,8 @@ module Google
|
|
4573
5187
|
execute_or_queue_command(command, &block)
|
4574
5188
|
end
|
4575
5189
|
|
4576
|
-
# Gets a stored infoType. See https://cloud.google.com/
|
4577
|
-
# infotypes to learn more.
|
5190
|
+
# Gets a stored infoType. See https://cloud.google.com/sensitive-data-protection/
|
5191
|
+
# docs/creating-stored-infotypes to learn more.
|
4578
5192
|
# @param [String] name
|
4579
5193
|
# Required. Resource name of the organization and storedInfoType to be read, for
|
4580
5194
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|
@@ -4606,18 +5220,18 @@ module Google
|
|
4606
5220
|
execute_or_queue_command(command, &block)
|
4607
5221
|
end
|
4608
5222
|
|
4609
|
-
# Lists stored infoTypes. See https://cloud.google.com/
|
4610
|
-
# infotypes to learn more.
|
5223
|
+
# Lists stored infoTypes. See https://cloud.google.com/sensitive-data-protection/
|
5224
|
+
# docs/creating-stored-infotypes to learn more.
|
4611
5225
|
# @param [String] parent
|
4612
5226
|
# Required. Parent resource name. The format of this value varies depending on
|
4613
5227
|
# the scope of the request (project or organization) and whether you have [
|
4614
|
-
# specified a processing location](https://cloud.google.com/
|
4615
|
-
# location): + Projects scope, location specified: `
|
4616
|
-
# locations/`LOCATION_ID + Projects scope, no location
|
4617
|
-
# global): `projects/`PROJECT_ID The following example `
|
4618
|
-
# a parent project with the identifier `example-project
|
4619
|
-
# europe-west3` location for processing data: parent=
|
4620
|
-
# locations/europe-west3
|
5228
|
+
# specified a processing location](https://cloud.google.com/sensitive-data-
|
5229
|
+
# protection/docs/specifying-location): + Projects scope, location specified: `
|
5230
|
+
# projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
|
5231
|
+
# specified (defaults to global): `projects/`PROJECT_ID The following example `
|
5232
|
+
# parent` string specifies a parent project with the identifier `example-project`
|
5233
|
+
# , and specifies the `europe-west3` location for processing data: parent=
|
5234
|
+
# projects/example-project/locations/europe-west3
|
4621
5235
|
# @param [String] location_id
|
4622
5236
|
# Deprecated. This field has no effect.
|
4623
5237
|
# @param [String] order_by
|
@@ -4667,7 +5281,8 @@ module Google
|
|
4667
5281
|
|
4668
5282
|
# Updates the stored infoType by creating a new version. The existing version
|
4669
5283
|
# will continue to be used until the new version is ready. See https://cloud.
|
4670
|
-
# google.com/
|
5284
|
+
# google.com/sensitive-data-protection/docs/creating-stored-infotypes to learn
|
5285
|
+
# more.
|
4671
5286
|
# @param [String] name
|
4672
5287
|
# Required. Resource name of organization and storedInfoType to be updated, for
|
4673
5288
|
# example `organizations/433245324/storedInfoTypes/432452342` or projects/
|