google-apis-dlp_v2 0.65.0 → 0.67.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bf56aa73e26c66b56efed8ffc0a09f029a986401deeccae81f450d98183003e
4
- data.tar.gz: af4214c8f26e3f8f25a703a0f42c74479f6e915412a7f35e0e4a68933112d5bb
3
+ metadata.gz: 9eb5400424d71f4293922741ba2e4b736d4d151fa9dc3518604ac46ea4b952f9
4
+ data.tar.gz: 593a3f33b3cd073f6fdddfcb351aab1c07baae9de4d699d14ce90eb512f42d70
5
5
  SHA512:
6
- metadata.gz: 3448ea3c603458d5e608f9afdf4e64cbeae7804cc510471127221c35a447f5b4aa62e2130094f9718a8a48189ec61d86372bd0800132ee4fc1fe39cd624e521b
7
- data.tar.gz: d03c251c36ef83f2b92e2f60a9dc3d29d2b8f229fa96f7ea227477b81baccb3874a2a1eac4a2f4b3502638ed68f4aa01b40cf28bb6d1d6a0ae3cdf41d95f0ca1
6
+ metadata.gz: 3221b76b33baf89671a32049a5d1947d354f4b87fb56f5fd4981558d99c897b5835c96347f55e86cbca3a5d448c76e6ea48ee18f399d6ce4c821eb7a4d359aca
7
+ data.tar.gz: 39c1f591cee81173dbb0b2ec6054957050b830bae8a9f9d50abb184c8d76f847914d9e05f8f47e37cc910f7a0291663416f395a96d03956cc41f3d27d121b7e2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dlp_v2
2
2
 
3
+ ### v0.67.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240609
6
+
7
+ ### v0.66.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240519
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.65.0 (2024-05-05)
4
13
 
5
14
  * Regenerated from discovery document revision 20240428
@@ -697,12 +697,12 @@ module Google
697
697
 
698
698
  # Generalization function that buckets values based on ranges. The ranges and
699
699
  # replacement values are dynamically provided by the user for custom behavior,
700
- # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
701
- # type: number, long, string, timestamp. If the bound `Value` type differs from
702
- # the type of data being transformed, we will first attempt converting the type
703
- # of the data to be transformed to match the type of the bound before comparing.
704
- # See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
705
- # to learn more.
700
+ # such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH. This can be used on data
701
+ # of type: number, long, string, timestamp. If the bound `Value` type differs
702
+ # from the type of data being transformed, we will first attempt converting the
703
+ # type of the data to be transformed to match the type of the bound before
704
+ # comparing. See https://cloud.google.com/sensitive-data-protection/docs/
705
+ # concepts-bucketing to learn more.
706
706
  class GooglePrivacyDlpV2BucketingConfig
707
707
  include Google::Apis::Core::Hashable
708
708
 
@@ -970,10 +970,10 @@ module Google
970
970
  end
971
971
  end
972
972
 
973
- # Use IAM auth to connect. This requires the Cloud SQL IAM feature to be enabled
974
- # on the instance, which is not the default for Cloud SQL. See https://cloud.
975
- # google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/
976
- # docs/mysql/authentication.
973
+ # Use IAM authentication to connect. This requires the Cloud SQL IAM feature to
974
+ # be enabled on the instance, which is not the default for Cloud SQL. See https:/
975
+ # /cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.
976
+ # com/sql/docs/mysql/authentication.
977
977
  class GooglePrivacyDlpV2CloudSqlIamCredential
978
978
  include Google::Apis::Core::Hashable
979
979
 
@@ -990,10 +990,10 @@ module Google
990
990
  class GooglePrivacyDlpV2CloudSqlProperties
991
991
  include Google::Apis::Core::Hashable
992
992
 
993
- # Use IAM auth to connect. This requires the Cloud SQL IAM feature to be enabled
994
- # on the instance, which is not the default for Cloud SQL. See https://cloud.
995
- # google.com/sql/docs/postgres/authentication and https://cloud.google.com/sql/
996
- # docs/mysql/authentication.
993
+ # Use IAM authentication to connect. This requires the Cloud SQL IAM feature to
994
+ # be enabled on the instance, which is not the default for Cloud SQL. See https:/
995
+ # /cloud.google.com/sql/docs/postgres/authentication and https://cloud.google.
996
+ # com/sql/docs/mysql/authentication.
997
997
  # Corresponds to the JSON property `cloudSqlIam`
998
998
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlIamCredential]
999
999
  attr_accessor :cloud_sql_iam
@@ -1002,9 +1002,9 @@ module Google
1002
1002
  # defined. Only one connection per instance is allowed. This can only be set at
1003
1003
  # creation time, and cannot be updated. It is an error to use a connection_name
1004
1004
  # from different project or region than the one that holds the connection. For
1005
- # example, a Connection resource for Cloud SQL connection_name "project-id:us-
1006
- # central1:sql-instance" must be created under the parent "projects/project-id/
1007
- # locations/us-central1"
1005
+ # example, a Connection resource for Cloud SQL connection_name `project-id:us-
1006
+ # central1:sql-instance` must be created under the parent `projects/project-id/
1007
+ # locations/us-central1`
1008
1008
  # Corresponds to the JSON property `connectionName`
1009
1009
  # @return [String]
1010
1010
  attr_accessor :connection_name
@@ -1459,8 +1459,8 @@ module Google
1459
1459
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
1460
1460
  attr_accessor :errors
1461
1461
 
1462
- # Output only. Name of the connection: projects/`project`/locations/`location`/
1463
- # connections/`name`.
1462
+ # Output only. Name of the connection: `projects/`project`/locations/`location`/
1463
+ # connections/`name``.
1464
1464
  # Corresponds to the JSON property `name`
1465
1465
  # @return [String]
1466
1466
  attr_accessor :name
@@ -1816,7 +1816,7 @@ module Google
1816
1816
  class GooglePrivacyDlpV2CreateJobTriggerRequest
1817
1817
  include Google::Apis::Core::Hashable
1818
1818
 
1819
- # Contains a configuration to make api calls on a repeating basis. See https://
1819
+ # Contains a configuration to make API calls on a repeating basis. See https://
1820
1820
  # cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn
1821
1821
  # more.
1822
1822
  # Corresponds to the JSON property `jobTrigger`
@@ -2449,14 +2449,25 @@ module Google
2449
2449
  class GooglePrivacyDlpV2DatabaseResourceReference
2450
2450
  include Google::Apis::Core::Hashable
2451
2451
 
2452
- # Required. The instance where this resource is located. For example: Cloud SQL'
2453
- # s instance id.
2452
+ # Required. Name of a database within the instance.
2453
+ # Corresponds to the JSON property `database`
2454
+ # @return [String]
2455
+ attr_accessor :database
2456
+
2457
+ # Required. Name of a database resource, for example, a table within the
2458
+ # database.
2459
+ # Corresponds to the JSON property `databaseResource`
2460
+ # @return [String]
2461
+ attr_accessor :database_resource
2462
+
2463
+ # Required. The instance where this resource is located. For example: Cloud SQL
2464
+ # instance ID.
2454
2465
  # Corresponds to the JSON property `instance`
2455
2466
  # @return [String]
2456
2467
  attr_accessor :instance
2457
2468
 
2458
2469
  # Required. If within a project-level config, then this must match the config's
2459
- # project id.
2470
+ # project ID.
2460
2471
  # Corresponds to the JSON property `projectId`
2461
2472
  # @return [String]
2462
2473
  attr_accessor :project_id
@@ -2467,6 +2478,8 @@ module Google
2467
2478
 
2468
2479
  # Update properties of this object
2469
2480
  def update!(**args)
2481
+ @database = args[:database] if args.key?(:database)
2482
+ @database_resource = args[:database_resource] if args.key?(:database_resource)
2470
2483
  @instance = args[:instance] if args.key?(:instance)
2471
2484
  @project_id = args[:project_id] if args.key?(:project_id)
2472
2485
  end
@@ -2496,8 +2509,8 @@ module Google
2496
2509
  # @return [String]
2497
2510
  attr_accessor :instance_regex
2498
2511
 
2499
- # For organizations, if unset, will match all projects. Has no effect for Data
2500
- # Profile configurations created within a project.
2512
+ # For organizations, if unset, will match all projects. Has no effect for
2513
+ # configurations created within a project.
2501
2514
  # Corresponds to the JSON property `projectIdRegex`
2502
2515
  # @return [String]
2503
2516
  attr_accessor :project_id_regex
@@ -3246,6 +3259,12 @@ module Google
3246
3259
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherBigQueryTables]
3247
3260
  attr_accessor :other_tables
3248
3261
 
3262
+ # Message defining the location of a BigQuery table with the projectId inferred
3263
+ # from the parent project.
3264
+ # Corresponds to the JSON property `tableReference`
3265
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2TableReference]
3266
+ attr_accessor :table_reference
3267
+
3249
3268
  # Specifies a collection of BigQuery tables. Used for Discovery.
3250
3269
  # Corresponds to the JSON property `tables`
3251
3270
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableCollection]
@@ -3258,6 +3277,7 @@ module Google
3258
3277
  # Update properties of this object
3259
3278
  def update!(**args)
3260
3279
  @other_tables = args[:other_tables] if args.key?(:other_tables)
3280
+ @table_reference = args[:table_reference] if args.key?(:table_reference)
3261
3281
  @tables = args[:tables] if args.key?(:tables)
3262
3282
  end
3263
3283
  end
@@ -3331,12 +3351,12 @@ module Google
3331
3351
 
3332
3352
  # Data changes (non-schema changes) in Cloud SQL tables can't trigger
3333
3353
  # reprofiling. If you set this field, profiles are refreshed at this frequency
3334
- # regardless of whether the underlying tables have changes. Defaults to never.
3354
+ # regardless of whether the underlying tables have changed. Defaults to never.
3335
3355
  # Corresponds to the JSON property `refreshFrequency`
3336
3356
  # @return [String]
3337
3357
  attr_accessor :refresh_frequency
3338
3358
 
3339
- # How frequency to modify the profile when the table's schema is modified.
3359
+ # How frequently to modify the profile when the table's schema is modified.
3340
3360
  # Corresponds to the JSON property `schemaModifiedCadence`
3341
3361
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SchemaModifiedCadence]
3342
3362
  attr_accessor :schema_modified_cadence
@@ -3570,6 +3590,18 @@ module Google
3570
3590
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget]
3571
3591
  attr_accessor :cloud_sql_target
3572
3592
 
3593
+ # Discovery target for credentials and secrets in cloud resource metadata. This
3594
+ # target does not include any filtering or frequency controls. Cloud DLP will
3595
+ # scan cloud resource metadata for secrets daily. No inspect template should be
3596
+ # included in the discovery config for a security benchmarks scan. Instead, the
3597
+ # built-in list of secrets and credentials infoTypes will be used (see https://
3598
+ # cloud.google.com/sensitive-data-protection/docs/infotypes-reference#
3599
+ # credentials_and_secrets). Credentials and secrets discovered will be reported
3600
+ # as vulnerabilities to Security Command Center.
3601
+ # Corresponds to the JSON property `secretsTarget`
3602
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget]
3603
+ attr_accessor :secrets_target
3604
+
3573
3605
  def initialize(**args)
3574
3606
  update!(**args)
3575
3607
  end
@@ -3578,6 +3610,7 @@ module Google
3578
3610
  def update!(**args)
3579
3611
  @big_query_target = args[:big_query_target] if args.key?(:big_query_target)
3580
3612
  @cloud_sql_target = args[:cloud_sql_target] if args.key?(:cloud_sql_target)
3613
+ @secrets_target = args[:secrets_target] if args.key?(:secrets_target)
3581
3614
  end
3582
3615
  end
3583
3616
 
@@ -4621,7 +4654,7 @@ module Google
4621
4654
  end
4622
4655
 
4623
4656
  # Classification of infoTypes to organize them according to geographic location,
4624
- # industry, and data type. NEXT_ID: 48
4657
+ # industry, and data type.
4625
4658
  class GooglePrivacyDlpV2InfoTypeCategory
4626
4659
  include Google::Apis::Core::Hashable
4627
4660
 
@@ -5237,7 +5270,7 @@ module Google
5237
5270
  end
5238
5271
  end
5239
5272
 
5240
- # Contains a configuration to make api calls on a repeating basis. See https://
5273
+ # Contains a configuration to make API calls on a repeating basis. See https://
5241
5274
  # cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn
5242
5275
  # more.
5243
5276
  class GooglePrivacyDlpV2JobTrigger
@@ -6506,12 +6539,12 @@ module Google
6506
6539
 
6507
6540
  # Generalization function that buckets values based on ranges. The ranges and
6508
6541
  # replacement values are dynamically provided by the user for custom behavior,
6509
- # such as 1-30 -> LOW 31-65 -> MEDIUM 66-100 -> HIGH This can be used on data of
6510
- # type: number, long, string, timestamp. If the bound `Value` type differs from
6511
- # the type of data being transformed, we will first attempt converting the type
6512
- # of the data to be transformed to match the type of the bound before comparing.
6513
- # See https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing
6514
- # to learn more.
6542
+ # such as 1-30 -> LOW, 31-65 -> MEDIUM, 66-100 -> HIGH. This can be used on data
6543
+ # of type: number, long, string, timestamp. If the bound `Value` type differs
6544
+ # from the type of data being transformed, we will first attempt converting the
6545
+ # type of the data to be transformed to match the type of the bound before
6546
+ # comparing. See https://cloud.google.com/sensitive-data-protection/docs/
6547
+ # concepts-bucketing to learn more.
6515
6548
  # Corresponds to the JSON property `bucketingConfig`
6516
6549
  # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2BucketingConfig]
6517
6550
  attr_accessor :bucketing_config
@@ -7637,7 +7670,7 @@ module Google
7637
7670
  # @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2InfoTypeStats>]
7638
7671
  attr_accessor :info_type_stats
7639
7672
 
7640
- # Number of rows scanned post sampling and time filtering (Applicable for row
7673
+ # Number of rows scanned after sampling and time filtering (applicable for row
7641
7674
  # based stores such as BigQuery).
7642
7675
  # Corresponds to the JSON property `numRowsProcessed`
7643
7676
  # @return [Fixnum]
@@ -7765,7 +7798,7 @@ module Google
7765
7798
  end
7766
7799
  end
7767
7800
 
7768
- # How frequency to modify the profile when the table's schema is modified.
7801
+ # How frequently to modify the profile when the table's schema is modified.
7769
7802
  class GooglePrivacyDlpV2SchemaModifiedCadence
7770
7803
  include Google::Apis::Core::Hashable
7771
7804
 
@@ -7826,7 +7859,7 @@ module Google
7826
7859
  include Google::Apis::Core::Hashable
7827
7860
 
7828
7861
  # Required. The name of the Secret Manager resource that stores the password, in
7829
- # the form "projects/project-id/secrets/secret-name/versions/version".
7862
+ # the form `projects/project-id/secrets/secret-name/versions/version`.
7830
7863
  # Corresponds to the JSON property `passwordSecretVersionName`
7831
7864
  # @return [String]
7832
7865
  attr_accessor :password_secret_version_name
@@ -7847,6 +7880,26 @@ module Google
7847
7880
  end
7848
7881
  end
7849
7882
 
7883
+ # Discovery target for credentials and secrets in cloud resource metadata. This
7884
+ # target does not include any filtering or frequency controls. Cloud DLP will
7885
+ # scan cloud resource metadata for secrets daily. No inspect template should be
7886
+ # included in the discovery config for a security benchmarks scan. Instead, the
7887
+ # built-in list of secrets and credentials infoTypes will be used (see https://
7888
+ # cloud.google.com/sensitive-data-protection/docs/infotypes-reference#
7889
+ # credentials_and_secrets). Credentials and secrets discovered will be reported
7890
+ # as vulnerabilities to Security Command Center.
7891
+ class GooglePrivacyDlpV2SecretsDiscoveryTarget
7892
+ include Google::Apis::Core::Hashable
7893
+
7894
+ def initialize(**args)
7895
+ update!(**args)
7896
+ end
7897
+
7898
+ # Update properties of this object
7899
+ def update!(**args)
7900
+ end
7901
+ end
7902
+
7850
7903
  # Apply transformation to the selected info_types.
7851
7904
  class GooglePrivacyDlpV2SelectedInfoTypes
7852
7905
  include Google::Apis::Core::Hashable
@@ -8492,6 +8545,32 @@ module Google
8492
8545
  end
8493
8546
  end
8494
8547
 
8548
+ # Message defining the location of a BigQuery table with the projectId inferred
8549
+ # from the parent project.
8550
+ class GooglePrivacyDlpV2TableReference
8551
+ include Google::Apis::Core::Hashable
8552
+
8553
+ # Dataset ID of the table.
8554
+ # Corresponds to the JSON property `datasetId`
8555
+ # @return [String]
8556
+ attr_accessor :dataset_id
8557
+
8558
+ # Name of the table.
8559
+ # Corresponds to the JSON property `tableId`
8560
+ # @return [String]
8561
+ attr_accessor :table_id
8562
+
8563
+ def initialize(**args)
8564
+ update!(**args)
8565
+ end
8566
+
8567
+ # Update properties of this object
8568
+ def update!(**args)
8569
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
8570
+ @table_id = args[:table_id] if args.key?(:table_id)
8571
+ end
8572
+ end
8573
+
8495
8574
  # A column with a semantic tag attached.
8496
8575
  class GooglePrivacyDlpV2TaggedField
8497
8576
  include Google::Apis::Core::Hashable
@@ -8596,7 +8675,7 @@ module Google
8596
8675
  # valid start_time to avoid scanning files that have not been modified since the
8597
8676
  # last time the JobTrigger executed. This will be based on the time of the
8598
8677
  # execution of the last run of the JobTrigger or the timespan end_time used in
8599
- # the last run of the JobTrigger. *For BigQuery* Inspect jobs triggered by
8678
+ # the last run of the JobTrigger. **For BigQuery** Inspect jobs triggered by
8600
8679
  # automatic population will scan data that is at least three hours old when the
8601
8680
  # job starts. This is because streaming buffer rows are not read during
8602
8681
  # inspection and reading up to the current timestamp will result in skipped rows.
@@ -9173,7 +9252,7 @@ module Google
9173
9252
  class GooglePrivacyDlpV2UpdateJobTriggerRequest
9174
9253
  include Google::Apis::Core::Hashable
9175
9254
 
9176
- # Contains a configuration to make api calls on a repeating basis. See https://
9255
+ # Contains a configuration to make API calls on a repeating basis. See https://
9177
9256
  # cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn
9178
9257
  # more.
9179
9258
  # Corresponds to the JSON property `jobTrigger`
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DlpV2
18
18
  # Version of the google-apis-dlp_v2 gem
19
- GEM_VERSION = "0.65.0"
19
+ GEM_VERSION = "0.67.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240428"
25
+ REVISION = "20240609"
26
26
  end
27
27
  end
28
28
  end
@@ -1396,6 +1396,12 @@ module Google
1396
1396
  include Google::Apis::Core::JsonObjectSupport
1397
1397
  end
1398
1398
 
1399
+ class GooglePrivacyDlpV2SecretsDiscoveryTarget
1400
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1401
+
1402
+ include Google::Apis::Core::JsonObjectSupport
1403
+ end
1404
+
1399
1405
  class GooglePrivacyDlpV2SelectedInfoTypes
1400
1406
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1407
 
@@ -1492,6 +1498,12 @@ module Google
1492
1498
  include Google::Apis::Core::JsonObjectSupport
1493
1499
  end
1494
1500
 
1501
+ class GooglePrivacyDlpV2TableReference
1502
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1503
+
1504
+ include Google::Apis::Core::JsonObjectSupport
1505
+ end
1506
+
1495
1507
  class GooglePrivacyDlpV2TaggedField
1496
1508
  class Representation < Google::Apis::Core::JsonRepresentation; end
1497
1509
 
@@ -2369,6 +2381,8 @@ module Google
2369
2381
  class GooglePrivacyDlpV2DatabaseResourceReference
2370
2382
  # @private
2371
2383
  class Representation < Google::Apis::Core::JsonRepresentation
2384
+ property :database, as: 'database'
2385
+ property :database_resource, as: 'databaseResource'
2372
2386
  property :instance, as: 'instance'
2373
2387
  property :project_id, as: 'projectId'
2374
2388
  end
@@ -2599,6 +2613,8 @@ module Google
2599
2613
  class Representation < Google::Apis::Core::JsonRepresentation
2600
2614
  property :other_tables, as: 'otherTables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherBigQueryTables, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2AllOtherBigQueryTables::Representation
2601
2615
 
2616
+ property :table_reference, as: 'tableReference', class: Google::Apis::DlpV2::GooglePrivacyDlpV2TableReference, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2TableReference::Representation
2617
+
2602
2618
  property :tables, as: 'tables', class: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableCollection, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2BigQueryTableCollection::Representation
2603
2619
 
2604
2620
  end
@@ -2695,6 +2711,8 @@ module Google
2695
2711
 
2696
2712
  property :cloud_sql_target, as: 'cloudSqlTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2CloudSqlDiscoveryTarget::Representation
2697
2713
 
2714
+ property :secrets_target, as: 'secretsTarget', class: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget, decorator: Google::Apis::DlpV2::GooglePrivacyDlpV2SecretsDiscoveryTarget::Representation
2715
+
2698
2716
  end
2699
2717
  end
2700
2718
 
@@ -4016,6 +4034,12 @@ module Google
4016
4034
  end
4017
4035
  end
4018
4036
 
4037
+ class GooglePrivacyDlpV2SecretsDiscoveryTarget
4038
+ # @private
4039
+ class Representation < Google::Apis::Core::JsonRepresentation
4040
+ end
4041
+ end
4042
+
4019
4043
  class GooglePrivacyDlpV2SelectedInfoTypes
4020
4044
  # @private
4021
4045
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4200,6 +4224,14 @@ module Google
4200
4224
  end
4201
4225
  end
4202
4226
 
4227
+ class GooglePrivacyDlpV2TableReference
4228
+ # @private
4229
+ class Representation < Google::Apis::Core::JsonRepresentation
4230
+ property :dataset_id, as: 'datasetId'
4231
+ property :table_id, as: 'tableId'
4232
+ end
4233
+ end
4234
+
4203
4235
  class GooglePrivacyDlpV2TaggedField
4204
4236
  # @private
4205
4237
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -148,7 +148,7 @@ module Google
148
148
  # the scope of the request (project or organization) and whether you have [
149
149
  # specified a processing location](https://cloud.google.com/sensitive-data-
150
150
  # protection/docs/specifying-location): + Projects scope, location specified: `
151
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
151
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
152
152
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
153
153
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
154
154
  # Organizations scope, no location specified (defaults to global): `
@@ -259,7 +259,7 @@ module Google
259
259
  # the scope of the request (project or organization) and whether you have [
260
260
  # specified a processing location](https://cloud.google.com/sensitive-data-
261
261
  # protection/docs/specifying-location): + Projects scope, location specified: `
262
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
262
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
263
263
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
264
264
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
265
265
  # Organizations scope, no location specified (defaults to global): `
@@ -358,7 +358,7 @@ module Google
358
358
  # the scope of the request (project or organization) and whether you have [
359
359
  # specified a processing location](https://cloud.google.com/sensitive-data-
360
360
  # protection/docs/specifying-location): + Projects scope, location specified: `
361
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
361
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
362
362
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
363
363
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
364
364
  # Organizations scope, no location specified (defaults to global): `
@@ -469,7 +469,7 @@ module Google
469
469
  # the scope of the request (project or organization) and whether you have [
470
470
  # specified a processing location](https://cloud.google.com/sensitive-data-
471
471
  # protection/docs/specifying-location): + Projects scope, location specified: `
472
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
472
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
473
473
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
474
474
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
475
475
  # Organizations scope, no location specified (defaults to global): `
@@ -659,12 +659,144 @@ module Google
659
659
  execute_or_queue_command(command, &block)
660
660
  end
661
661
 
662
+ # Create a Connection to an external data source.
663
+ # @param [String] parent
664
+ # Required. Parent resource name. The format of this value varies depending on
665
+ # the scope of the request (project or organization): + Projects scope: `
666
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
667
+ # organizations/`ORG_ID`/locations/`LOCATION_ID
668
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest] google_privacy_dlp_v2_create_connection_request_object
669
+ # @param [String] fields
670
+ # Selector specifying which fields to include in a partial response.
671
+ # @param [String] quota_user
672
+ # Available to use for quota purposes for server-side applications. Can be any
673
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
674
+ # @param [Google::Apis::RequestOptions] options
675
+ # Request-specific options
676
+ #
677
+ # @yield [result, err] Result & error if block supplied
678
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object
679
+ # @yieldparam err [StandardError] error object if request failed
680
+ #
681
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection]
682
+ #
683
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
686
+ def create_organization_location_connection(parent, google_privacy_dlp_v2_create_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
687
+ command = make_simple_command(:post, 'v2/{+parent}/connections', options)
688
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest::Representation
689
+ command.request_object = google_privacy_dlp_v2_create_connection_request_object
690
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
691
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
692
+ command.params['parent'] = parent unless parent.nil?
693
+ command.query['fields'] = fields unless fields.nil?
694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
695
+ execute_or_queue_command(command, &block)
696
+ end
697
+
698
+ # Delete a Connection.
699
+ # @param [String] name
700
+ # Required. Resource name of the Connection to be deleted, in the format: `
701
+ # projects/`project`/locations/`location`/connections/`connection``.
702
+ # @param [String] fields
703
+ # Selector specifying which fields to include in a partial response.
704
+ # @param [String] quota_user
705
+ # Available to use for quota purposes for server-side applications. Can be any
706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
707
+ # @param [Google::Apis::RequestOptions] options
708
+ # Request-specific options
709
+ #
710
+ # @yield [result, err] Result & error if block supplied
711
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
712
+ # @yieldparam err [StandardError] error object if request failed
713
+ #
714
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
715
+ #
716
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
717
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
718
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
719
+ def delete_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
720
+ command = make_simple_command(:delete, 'v2/{+name}', options)
721
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
722
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
723
+ command.params['name'] = name unless name.nil?
724
+ command.query['fields'] = fields unless fields.nil?
725
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
726
+ execute_or_queue_command(command, &block)
727
+ end
728
+
729
+ # Get a Connection by name.
730
+ # @param [String] name
731
+ # Required. Resource name in the format: `projects/`project`/locations/`location`
732
+ # /connections/`connection``.
733
+ # @param [String] fields
734
+ # Selector specifying which fields to include in a partial response.
735
+ # @param [String] quota_user
736
+ # Available to use for quota purposes for server-side applications. Can be any
737
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
738
+ # @param [Google::Apis::RequestOptions] options
739
+ # Request-specific options
740
+ #
741
+ # @yield [result, err] Result & error if block supplied
742
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object
743
+ # @yieldparam err [StandardError] error object if request failed
744
+ #
745
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection]
746
+ #
747
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
748
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
749
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
750
+ def get_organization_location_connection(name, fields: nil, quota_user: nil, options: nil, &block)
751
+ command = make_simple_command(:get, 'v2/{+name}', options)
752
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
753
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
754
+ command.params['name'] = name unless name.nil?
755
+ command.query['fields'] = fields unless fields.nil?
756
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
757
+ execute_or_queue_command(command, &block)
758
+ end
759
+
760
+ # Update a Connection.
761
+ # @param [String] name
762
+ # Required. Resource name in the format: `projects/`project`/locations/`location`
763
+ # /connections/`connection``.
764
+ # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest] google_privacy_dlp_v2_update_connection_request_object
765
+ # @param [String] fields
766
+ # Selector specifying which fields to include in a partial response.
767
+ # @param [String] quota_user
768
+ # Available to use for quota purposes for server-side applications. Can be any
769
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
770
+ # @param [Google::Apis::RequestOptions] options
771
+ # Request-specific options
772
+ #
773
+ # @yield [result, err] Result & error if block supplied
774
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection] parsed result object
775
+ # @yieldparam err [StandardError] error object if request failed
776
+ #
777
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Connection]
778
+ #
779
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
780
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
781
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
782
+ def patch_organization_location_connection(name, google_privacy_dlp_v2_update_connection_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
783
+ command = make_simple_command(:patch, 'v2/{+name}', options)
784
+ command.request_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest::Representation
785
+ command.request_object = google_privacy_dlp_v2_update_connection_request_object
786
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection::Representation
787
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2Connection
788
+ command.params['name'] = name unless name.nil?
789
+ command.query['fields'] = fields unless fields.nil?
790
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
791
+ execute_or_queue_command(command, &block)
792
+ end
793
+
662
794
  # Searches for Connections in a parent.
663
795
  # @param [String] parent
664
796
  # Required. Parent name, typically an organization, without location. For
665
- # example: "organizations/12345678".
797
+ # example: `organizations/12345678`.
666
798
  # @param [String] filter
667
- # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR
799
+ # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
668
800
  # @param [Fixnum] page_size
669
801
  # Optional. Number of results per page, max 1000.
670
802
  # @param [String] page_token
@@ -708,7 +840,7 @@ module Google
708
840
  # the scope of the request (project or organization) and whether you have [
709
841
  # specified a processing location](https://cloud.google.com/sensitive-data-
710
842
  # protection/docs/specifying-location): + Projects scope, location specified: `
711
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
843
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
712
844
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
713
845
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
714
846
  # Organizations scope, no location specified (defaults to global): `
@@ -819,7 +951,7 @@ module Google
819
951
  # the scope of the request (project or organization) and whether you have [
820
952
  # specified a processing location](https://cloud.google.com/sensitive-data-
821
953
  # protection/docs/specifying-location): + Projects scope, location specified: `
822
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
954
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
823
955
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
824
956
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
825
957
  # Organizations scope, no location specified (defaults to global): `
@@ -912,8 +1044,10 @@ module Google
912
1044
 
913
1045
  # Creates a config for discovery to scan and profile storage.
914
1046
  # @param [String] parent
915
- # Required. Parent resource name. The format of this value is as follows: `
916
- # projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent`
1047
+ # Required. Parent resource name. The format of this value varies depending on
1048
+ # the scope of the request (project or organization): + Projects scope: `
1049
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
1050
+ # organizations/`ORG_ID`/locations/`LOCATION_ID The following example `parent`
917
1051
  # string specifies a parent project with the identifier `example-project`, and
918
1052
  # specifies the `europe-west3` location for processing data: parent=projects/
919
1053
  # example-project/locations/europe-west3
@@ -1100,7 +1234,7 @@ module Google
1100
1234
  # Required. Parent resource name. The format of this value varies depending on
1101
1235
  # whether you have [specified a processing location](https://cloud.google.com/
1102
1236
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
1103
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
1237
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
1104
1238
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
1105
1239
  # following example `parent` string specifies a parent project with the
1106
1240
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -1179,7 +1313,7 @@ module Google
1179
1313
  # the scope of the request (project or organization) and whether you have [
1180
1314
  # specified a processing location](https://cloud.google.com/sensitive-data-
1181
1315
  # protection/docs/specifying-location): + Projects scope, location specified: `
1182
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1316
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1183
1317
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1184
1318
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1185
1319
  # Organizations scope, no location specified (defaults to global): `
@@ -1290,7 +1424,7 @@ module Google
1290
1424
  # the scope of the request (project or organization) and whether you have [
1291
1425
  # specified a processing location](https://cloud.google.com/sensitive-data-
1292
1426
  # protection/docs/specifying-location): + Projects scope, location specified: `
1293
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1427
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1294
1428
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1295
1429
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1296
1430
  # Organizations scope, no location specified (defaults to global): `
@@ -1388,7 +1522,7 @@ module Google
1388
1522
  # Required. Parent resource name. The format of this value varies depending on
1389
1523
  # whether you have [specified a processing location](https://cloud.google.com/
1390
1524
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
1391
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
1525
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
1392
1526
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
1393
1527
  # following example `parent` string specifies a parent project with the
1394
1528
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -1493,7 +1627,7 @@ module Google
1493
1627
  # Required. Parent resource name. The format of this value varies depending on
1494
1628
  # whether you have [specified a processing location](https://cloud.google.com/
1495
1629
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
1496
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
1630
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
1497
1631
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
1498
1632
  # following example `parent` string specifies a parent project with the
1499
1633
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -1698,7 +1832,7 @@ module Google
1698
1832
  # the scope of the request (project or organization) and whether you have [
1699
1833
  # specified a processing location](https://cloud.google.com/sensitive-data-
1700
1834
  # protection/docs/specifying-location): + Projects scope, location specified: `
1701
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1835
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1702
1836
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1703
1837
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1704
1838
  # Organizations scope, no location specified (defaults to global): `
@@ -1809,7 +1943,7 @@ module Google
1809
1943
  # the scope of the request (project or organization) and whether you have [
1810
1944
  # specified a processing location](https://cloud.google.com/sensitive-data-
1811
1945
  # protection/docs/specifying-location): + Projects scope, location specified: `
1812
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1946
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1813
1947
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
1814
1948
  # parent` string specifies a parent project with the identifier `example-project`
1815
1949
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2037,7 +2171,7 @@ module Google
2037
2171
  # the scope of the request (project or organization) and whether you have [
2038
2172
  # specified a processing location](https://cloud.google.com/sensitive-data-
2039
2173
  # protection/docs/specifying-location): + Projects scope, location specified: `
2040
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2174
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2041
2175
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2042
2176
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2043
2177
  # Organizations scope, no location specified (defaults to global): `
@@ -2148,7 +2282,7 @@ module Google
2148
2282
  # the scope of the request (project or organization) and whether you have [
2149
2283
  # specified a processing location](https://cloud.google.com/sensitive-data-
2150
2284
  # protection/docs/specifying-location): + Projects scope, location specified: `
2151
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2285
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2152
2286
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2153
2287
  # parent` string specifies a parent project with the identifier `example-project`
2154
2288
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2248,7 +2382,7 @@ module Google
2248
2382
  # Parent resource name. The format of this value varies depending on whether you
2249
2383
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2250
2384
  # protection/docs/specifying-location): + Projects scope, location specified: `
2251
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2385
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2252
2386
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2253
2387
  # parent` string specifies a parent project with the identifier `example-project`
2254
2388
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2294,7 +2428,7 @@ module Google
2294
2428
  # Parent resource name. The format of this value varies depending on whether you
2295
2429
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2296
2430
  # protection/docs/specifying-location): + Projects scope, location specified: `
2297
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2431
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2298
2432
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2299
2433
  # parent` string specifies a parent project with the identifier `example-project`
2300
2434
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2336,7 +2470,7 @@ module Google
2336
2470
  # Required. Parent resource name. The format of this value varies depending on
2337
2471
  # whether you have [specified a processing location](https://cloud.google.com/
2338
2472
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2339
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
2473
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2340
2474
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2341
2475
  # following example `parent` string specifies a parent project with the
2342
2476
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2379,7 +2513,7 @@ module Google
2379
2513
  # the scope of the request (project or organization) and whether you have [
2380
2514
  # specified a processing location](https://cloud.google.com/sensitive-data-
2381
2515
  # protection/docs/specifying-location): + Projects scope, location specified: `
2382
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2516
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2383
2517
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2384
2518
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2385
2519
  # Organizations scope, no location specified (defaults to global): `
@@ -2490,7 +2624,7 @@ module Google
2490
2624
  # the scope of the request (project or organization) and whether you have [
2491
2625
  # specified a processing location](https://cloud.google.com/sensitive-data-
2492
2626
  # protection/docs/specifying-location): + Projects scope, location specified: `
2493
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2627
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2494
2628
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2495
2629
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2496
2630
  # Organizations scope, no location specified (defaults to global): `
@@ -2628,7 +2762,7 @@ module Google
2628
2762
  # Required. Parent resource name. The format of this value varies depending on
2629
2763
  # whether you have [specified a processing location](https://cloud.google.com/
2630
2764
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2631
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
2765
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2632
2766
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2633
2767
  # following example `parent` string specifies a parent project with the
2634
2768
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2737,7 +2871,7 @@ module Google
2737
2871
  # Required. Parent resource name. The format of this value varies depending on
2738
2872
  # whether you have [specified a processing location](https://cloud.google.com/
2739
2873
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2740
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
2874
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2741
2875
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2742
2876
  # following example `parent` string specifies a parent project with the
2743
2877
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2818,7 +2952,7 @@ module Google
2818
2952
  # Parent resource name. The format of this value varies depending on whether you
2819
2953
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2820
2954
  # protection/docs/specifying-location): + Projects scope, location specified: `
2821
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2955
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2822
2956
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2823
2957
  # parent` string specifies a parent project with the identifier `example-project`
2824
2958
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2861,7 +2995,7 @@ module Google
2861
2995
  # the scope of the request (project or organization) and whether you have [
2862
2996
  # specified a processing location](https://cloud.google.com/sensitive-data-
2863
2997
  # protection/docs/specifying-location): + Projects scope, location specified: `
2864
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2998
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2865
2999
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2866
3000
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2867
3001
  # Organizations scope, no location specified (defaults to global): `
@@ -2972,7 +3106,7 @@ module Google
2972
3106
  # the scope of the request (project or organization) and whether you have [
2973
3107
  # specified a processing location](https://cloud.google.com/sensitive-data-
2974
3108
  # protection/docs/specifying-location): + Projects scope, location specified: `
2975
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3109
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2976
3110
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2977
3111
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2978
3112
  # Organizations scope, no location specified (defaults to global): `
@@ -3105,7 +3239,7 @@ module Google
3105
3239
  # Required. Parent resource name. The format of this value varies depending on
3106
3240
  # whether you have [specified a processing location](https://cloud.google.com/
3107
3241
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3108
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3242
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3109
3243
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3110
3244
  # following example `parent` string specifies a parent project with the
3111
3245
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3210,7 +3344,7 @@ module Google
3210
3344
  # Required. Parent resource name. The format of this value varies depending on
3211
3345
  # whether you have [specified a processing location](https://cloud.google.com/
3212
3346
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3213
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3347
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3214
3348
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3215
3349
  # following example `parent` string specifies a parent project with the
3216
3350
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3418,8 +3552,10 @@ module Google
3418
3552
 
3419
3553
  # Create a Connection to an external data source.
3420
3554
  # @param [String] parent
3421
- # Required. Parent resource name in the format: "projects/`project`/locations/`
3422
- # location`".
3555
+ # Required. Parent resource name. The format of this value varies depending on
3556
+ # the scope of the request (project or organization): + Projects scope: `
3557
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
3558
+ # organizations/`ORG_ID`/locations/`LOCATION_ID
3423
3559
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest] google_privacy_dlp_v2_create_connection_request_object
3424
3560
  # @param [String] fields
3425
3561
  # Selector specifying which fields to include in a partial response.
@@ -3452,8 +3588,8 @@ module Google
3452
3588
 
3453
3589
  # Delete a Connection.
3454
3590
  # @param [String] name
3455
- # Required. Resource name of the Connection to be deleted, in the format: "
3456
- # projects/`project`/locations/`location`/connections/`connection`".
3591
+ # Required. Resource name of the Connection to be deleted, in the format: `
3592
+ # projects/`project`/locations/`location`/connections/`connection``.
3457
3593
  # @param [String] fields
3458
3594
  # Selector specifying which fields to include in a partial response.
3459
3595
  # @param [String] quota_user
@@ -3483,8 +3619,8 @@ module Google
3483
3619
 
3484
3620
  # Get a Connection by name.
3485
3621
  # @param [String] name
3486
- # Required. Resource name in the format: "projects/`project`/locations/`location`
3487
- # /connections/`connection`".
3622
+ # Required. Resource name in the format: `projects/`project`/locations/`location`
3623
+ # /connections/`connection``.
3488
3624
  # @param [String] fields
3489
3625
  # Selector specifying which fields to include in a partial response.
3490
3626
  # @param [String] quota_user
@@ -3514,9 +3650,9 @@ module Google
3514
3650
 
3515
3651
  # Lists Connections in a parent.
3516
3652
  # @param [String] parent
3517
- # Required. Parent name, for example: "projects/project-id/locations/global".
3653
+ # Required. Parent name, for example: `projects/project-id/locations/global`.
3518
3654
  # @param [String] filter
3519
- # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR
3655
+ # Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
3520
3656
  # @param [Fixnum] page_size
3521
3657
  # Optional. Number of results per page, max 1000.
3522
3658
  # @param [String] page_token
@@ -3554,8 +3690,8 @@ module Google
3554
3690
 
3555
3691
  # Update a Connection.
3556
3692
  # @param [String] name
3557
- # Required. Resource name in the format: "projects/`project`/locations/`location`
3558
- # /connections/`connection`".
3693
+ # Required. Resource name in the format: `projects/`project`/locations/`location`
3694
+ # /connections/`connection``.
3559
3695
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateConnectionRequest] google_privacy_dlp_v2_update_connection_request_object
3560
3696
  # @param [String] fields
3561
3697
  # Selector specifying which fields to include in a partial response.
@@ -3589,9 +3725,9 @@ module Google
3589
3725
  # Searches for Connections in a parent.
3590
3726
  # @param [String] parent
3591
3727
  # Required. Parent name, typically an organization, without location. For
3592
- # example: "organizations/12345678".
3728
+ # example: `organizations/12345678`.
3593
3729
  # @param [String] filter
3594
- # Optional. * Supported fields/values - `state` - MISSING|AVAILABLE|ERROR
3730
+ # Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
3595
3731
  # @param [Fixnum] page_size
3596
3732
  # Optional. Number of results per page, max 1000.
3597
3733
  # @param [String] page_token
@@ -3637,7 +3773,7 @@ module Google
3637
3773
  # Parent resource name. The format of this value varies depending on whether you
3638
3774
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
3639
3775
  # protection/docs/specifying-location): + Projects scope, location specified: `
3640
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3776
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3641
3777
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
3642
3778
  # parent` string specifies a parent project with the identifier `example-project`
3643
3779
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -3683,7 +3819,7 @@ module Google
3683
3819
  # Parent resource name. The format of this value varies depending on whether you
3684
3820
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
3685
3821
  # protection/docs/specifying-location): + Projects scope, location specified: `
3686
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3822
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3687
3823
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
3688
3824
  # parent` string specifies a parent project with the identifier `example-project`
3689
3825
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -3725,7 +3861,7 @@ module Google
3725
3861
  # Required. Parent resource name. The format of this value varies depending on
3726
3862
  # whether you have [specified a processing location](https://cloud.google.com/
3727
3863
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3728
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3864
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3729
3865
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3730
3866
  # following example `parent` string specifies a parent project with the
3731
3867
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3768,7 +3904,7 @@ module Google
3768
3904
  # the scope of the request (project or organization) and whether you have [
3769
3905
  # specified a processing location](https://cloud.google.com/sensitive-data-
3770
3906
  # protection/docs/specifying-location): + Projects scope, location specified: `
3771
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3907
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3772
3908
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
3773
3909
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
3774
3910
  # Organizations scope, no location specified (defaults to global): `
@@ -3879,7 +4015,7 @@ module Google
3879
4015
  # the scope of the request (project or organization) and whether you have [
3880
4016
  # specified a processing location](https://cloud.google.com/sensitive-data-
3881
4017
  # protection/docs/specifying-location): + Projects scope, location specified: `
3882
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4018
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3883
4019
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
3884
4020
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
3885
4021
  # Organizations scope, no location specified (defaults to global): `
@@ -3972,8 +4108,10 @@ module Google
3972
4108
 
3973
4109
  # Creates a config for discovery to scan and profile storage.
3974
4110
  # @param [String] parent
3975
- # Required. Parent resource name. The format of this value is as follows: `
3976
- # projects/`PROJECT_ID`/locations/`LOCATION_ID The following example `parent`
4111
+ # Required. Parent resource name. The format of this value varies depending on
4112
+ # the scope of the request (project or organization): + Projects scope: `
4113
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
4114
+ # organizations/`ORG_ID`/locations/`LOCATION_ID The following example `parent`
3977
4115
  # string specifies a parent project with the identifier `example-project`, and
3978
4116
  # specifies the `europe-west3` location for processing data: parent=projects/
3979
4117
  # example-project/locations/europe-west3
@@ -4199,7 +4337,7 @@ module Google
4199
4337
  # Required. Parent resource name. The format of this value varies depending on
4200
4338
  # whether you have [specified a processing location](https://cloud.google.com/
4201
4339
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4202
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
4340
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4203
4341
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4204
4342
  # following example `parent` string specifies a parent project with the
4205
4343
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4377,7 +4515,7 @@ module Google
4377
4515
  # Required. Parent resource name. The format of this value varies depending on
4378
4516
  # whether you have [specified a processing location](https://cloud.google.com/
4379
4517
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4380
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
4518
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4381
4519
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4382
4520
  # following example `parent` string specifies a parent project with the
4383
4521
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4458,7 +4596,7 @@ module Google
4458
4596
  # Parent resource name. The format of this value varies depending on whether you
4459
4597
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
4460
4598
  # protection/docs/specifying-location): + Projects scope, location specified: `
4461
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4599
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4462
4600
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
4463
4601
  # parent` string specifies a parent project with the identifier `example-project`
4464
4602
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -4501,7 +4639,7 @@ module Google
4501
4639
  # the scope of the request (project or organization) and whether you have [
4502
4640
  # specified a processing location](https://cloud.google.com/sensitive-data-
4503
4641
  # protection/docs/specifying-location): + Projects scope, location specified: `
4504
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4642
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4505
4643
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
4506
4644
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
4507
4645
  # Organizations scope, no location specified (defaults to global): `
@@ -4612,7 +4750,7 @@ module Google
4612
4750
  # the scope of the request (project or organization) and whether you have [
4613
4751
  # specified a processing location](https://cloud.google.com/sensitive-data-
4614
4752
  # protection/docs/specifying-location): + Projects scope, location specified: `
4615
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4753
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4616
4754
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
4617
4755
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
4618
4756
  # Organizations scope, no location specified (defaults to global): `
@@ -4745,7 +4883,7 @@ module Google
4745
4883
  # Required. Parent resource name. The format of this value varies depending on
4746
4884
  # whether you have [specified a processing location](https://cloud.google.com/
4747
4885
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4748
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
4886
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4749
4887
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4750
4888
  # following example `parent` string specifies a parent project with the
4751
4889
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4886,7 +5024,7 @@ module Google
4886
5024
  # Required. Parent resource name. The format of this value varies depending on
4887
5025
  # whether you have [specified a processing location](https://cloud.google.com/
4888
5026
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4889
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
5027
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4890
5028
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4891
5029
  # following example `parent` string specifies a parent project with the
4892
5030
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -5091,7 +5229,7 @@ module Google
5091
5229
  # the scope of the request (project or organization) and whether you have [
5092
5230
  # specified a processing location](https://cloud.google.com/sensitive-data-
5093
5231
  # protection/docs/specifying-location): + Projects scope, location specified: `
5094
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5232
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5095
5233
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
5096
5234
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
5097
5235
  # Organizations scope, no location specified (defaults to global): `
@@ -5202,7 +5340,7 @@ module Google
5202
5340
  # the scope of the request (project or organization) and whether you have [
5203
5341
  # specified a processing location](https://cloud.google.com/sensitive-data-
5204
5342
  # protection/docs/specifying-location): + Projects scope, location specified: `
5205
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5343
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5206
5344
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
5207
5345
  # parent` string specifies a parent project with the identifier `example-project`
5208
5346
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -5430,7 +5568,7 @@ module Google
5430
5568
  # the scope of the request (project or organization) and whether you have [
5431
5569
  # specified a processing location](https://cloud.google.com/sensitive-data-
5432
5570
  # protection/docs/specifying-location): + Projects scope, location specified: `
5433
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5571
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5434
5572
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
5435
5573
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
5436
5574
  # Organizations scope, no location specified (defaults to global): `
@@ -5541,7 +5679,7 @@ module Google
5541
5679
  # the scope of the request (project or organization) and whether you have [
5542
5680
  # specified a processing location](https://cloud.google.com/sensitive-data-
5543
5681
  # protection/docs/specifying-location): + Projects scope, location specified: `
5544
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5682
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5545
5683
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
5546
5684
  # parent` string specifies a parent project with the identifier `example-project`
5547
5685
  # , and specifies the `europe-west3` location for processing data: parent=
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dlp_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.65.0
4
+ version: 0.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.65.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.67.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dlp_v2
63
63
  post_install_message:
64
64
  rdoc_options: []