google-apis-dlp_v2 0.66.0 → 0.68.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,6 +659,138 @@ 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
@@ -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
@@ -1171,6 +1305,136 @@ module Google
1171
1305
  execute_or_queue_command(command, &block)
1172
1306
  end
1173
1307
 
1308
+ # Delete a FileStoreDataProfile. Will not prevent the profile from being
1309
+ # regenerated if the resource is still included in a discovery configuration.
1310
+ # @param [String] name
1311
+ # Required. Resource name of the file store data profile.
1312
+ # @param [String] fields
1313
+ # Selector specifying which fields to include in a partial response.
1314
+ # @param [String] quota_user
1315
+ # Available to use for quota purposes for server-side applications. Can be any
1316
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1317
+ # @param [Google::Apis::RequestOptions] options
1318
+ # Request-specific options
1319
+ #
1320
+ # @yield [result, err] Result & error if block supplied
1321
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
1322
+ # @yieldparam err [StandardError] error object if request failed
1323
+ #
1324
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
1325
+ #
1326
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1327
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1328
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1329
+ def delete_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1330
+ command = make_simple_command(:delete, 'v2/{+name}', options)
1331
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
1332
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
1333
+ command.params['name'] = name unless name.nil?
1334
+ command.query['fields'] = fields unless fields.nil?
1335
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1336
+ execute_or_queue_command(command, &block)
1337
+ end
1338
+
1339
+ # Gets a file store data profile.
1340
+ # @param [String] name
1341
+ # Required. Resource name, for example `organizations/12345/locations/us/
1342
+ # fileStoreDataProfiles/53234423`.
1343
+ # @param [String] fields
1344
+ # Selector specifying which fields to include in a partial response.
1345
+ # @param [String] quota_user
1346
+ # Available to use for quota purposes for server-side applications. Can be any
1347
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1348
+ # @param [Google::Apis::RequestOptions] options
1349
+ # Request-specific options
1350
+ #
1351
+ # @yield [result, err] Result & error if block supplied
1352
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile] parsed result object
1353
+ # @yieldparam err [StandardError] error object if request failed
1354
+ #
1355
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
1356
+ #
1357
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1358
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1359
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1360
+ def get_organization_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
1361
+ command = make_simple_command(:get, 'v2/{+name}', options)
1362
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation
1363
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
1364
+ command.params['name'] = name unless name.nil?
1365
+ command.query['fields'] = fields unless fields.nil?
1366
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1367
+ execute_or_queue_command(command, &block)
1368
+ end
1369
+
1370
+ # Lists file store data profiles for an organization.
1371
+ # @param [String] parent
1372
+ # Required. Resource name of the organization or project, for example `
1373
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
1374
+ # asia`.
1375
+ # @param [String] filter
1376
+ # Optional. Allows filtering. Supported syntax: * Filter expressions are made up
1377
+ # of one or more restrictions. * Restrictions can be combined by `AND` or `OR`
1378
+ # logical operators. A sequence of restrictions implicitly uses `AND`. * A
1379
+ # restriction has the form of ``field` `operator` `value``. * Supported fields/
1380
+ # values: - `project_id` - The Google Cloud project ID. - `file_store_path` -
1381
+ # The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `
1382
+ # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|
1383
+ # RESTRICTED - `status_code` - an RPC status code as defined in https://github.
1384
+ # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
1385
+ # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
1386
+ # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
1387
+ # resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The
1388
+ # length of this field should be no more than 500 characters.
1389
+ # @param [String] order_by
1390
+ # Optional. Comma separated list of fields to order by, followed by `asc` or `
1391
+ # desc` postfix. This list is case insensitive. The default sorting order is
1392
+ # ascending. Redundant space characters are insignificant. Only one order field
1393
+ # at a time is allowed. Examples: * `project_id asc` * `name` * `
1394
+ # sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud
1395
+ # project ID. - `sensitivity_level`: How sensitive the data in a table is, at
1396
+ # most. - `data_risk_level`: How much risk is associated with this data. - `
1397
+ # profile_last_generated`: When the profile was last updated in epoch seconds. -
1398
+ # `last_modified`: The last time the resource was modified. - `
1399
+ # resource_visibility`: Visibility restriction for this resource. - `name`: The
1400
+ # name of the profile. - `create_time`: The time the file store was first
1401
+ # created.
1402
+ # @param [Fixnum] page_size
1403
+ # Optional. Size of the page. This value can be limited by the server. If zero,
1404
+ # server returns a page of max size 100.
1405
+ # @param [String] page_token
1406
+ # Optional. Page token to continue retrieval.
1407
+ # @param [String] fields
1408
+ # Selector specifying which fields to include in a partial response.
1409
+ # @param [String] quota_user
1410
+ # Available to use for quota purposes for server-side applications. Can be any
1411
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1412
+ # @param [Google::Apis::RequestOptions] options
1413
+ # Request-specific options
1414
+ #
1415
+ # @yield [result, err] Result & error if block supplied
1416
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse] parsed result object
1417
+ # @yieldparam err [StandardError] error object if request failed
1418
+ #
1419
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse]
1420
+ #
1421
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1422
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1423
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1424
+ def list_organization_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1425
+ command = make_simple_command(:get, 'v2/{+parent}/fileStoreDataProfiles', options)
1426
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse::Representation
1427
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
1428
+ command.params['parent'] = parent unless parent.nil?
1429
+ command.query['filter'] = filter unless filter.nil?
1430
+ command.query['orderBy'] = order_by unless order_by.nil?
1431
+ command.query['pageSize'] = page_size unless page_size.nil?
1432
+ command.query['pageToken'] = page_token unless page_token.nil?
1433
+ command.query['fields'] = fields unless fields.nil?
1434
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1435
+ execute_or_queue_command(command, &block)
1436
+ end
1437
+
1174
1438
  # Creates an InspectTemplate for reusing frequently used configuration for
1175
1439
  # inspecting content, images, and storage. See https://cloud.google.com/
1176
1440
  # sensitive-data-protection/docs/creating-templates to learn more.
@@ -1179,7 +1443,7 @@ module Google
1179
1443
  # the scope of the request (project or organization) and whether you have [
1180
1444
  # specified a processing location](https://cloud.google.com/sensitive-data-
1181
1445
  # protection/docs/specifying-location): + Projects scope, location specified: `
1182
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1446
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1183
1447
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1184
1448
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1185
1449
  # Organizations scope, no location specified (defaults to global): `
@@ -1290,7 +1554,7 @@ module Google
1290
1554
  # the scope of the request (project or organization) and whether you have [
1291
1555
  # specified a processing location](https://cloud.google.com/sensitive-data-
1292
1556
  # protection/docs/specifying-location): + Projects scope, location specified: `
1293
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1557
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1294
1558
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1295
1559
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1296
1560
  # Organizations scope, no location specified (defaults to global): `
@@ -1388,7 +1652,7 @@ module Google
1388
1652
  # Required. Parent resource name. The format of this value varies depending on
1389
1653
  # whether you have [specified a processing location](https://cloud.google.com/
1390
1654
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
1391
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
1655
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
1392
1656
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
1393
1657
  # following example `parent` string specifies a parent project with the
1394
1658
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -1493,7 +1757,7 @@ module Google
1493
1757
  # Required. Parent resource name. The format of this value varies depending on
1494
1758
  # whether you have [specified a processing location](https://cloud.google.com/
1495
1759
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
1496
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
1760
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
1497
1761
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
1498
1762
  # following example `parent` string specifies a parent project with the
1499
1763
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -1698,7 +1962,7 @@ module Google
1698
1962
  # the scope of the request (project or organization) and whether you have [
1699
1963
  # specified a processing location](https://cloud.google.com/sensitive-data-
1700
1964
  # protection/docs/specifying-location): + Projects scope, location specified: `
1701
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
1965
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1702
1966
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
1703
1967
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
1704
1968
  # Organizations scope, no location specified (defaults to global): `
@@ -1809,7 +2073,7 @@ module Google
1809
2073
  # the scope of the request (project or organization) and whether you have [
1810
2074
  # specified a processing location](https://cloud.google.com/sensitive-data-
1811
2075
  # protection/docs/specifying-location): + Projects scope, location specified: `
1812
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2076
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
1813
2077
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
1814
2078
  # parent` string specifies a parent project with the identifier `example-project`
1815
2079
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2037,7 +2301,7 @@ module Google
2037
2301
  # the scope of the request (project or organization) and whether you have [
2038
2302
  # specified a processing location](https://cloud.google.com/sensitive-data-
2039
2303
  # protection/docs/specifying-location): + Projects scope, location specified: `
2040
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2304
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2041
2305
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2042
2306
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2043
2307
  # Organizations scope, no location specified (defaults to global): `
@@ -2148,7 +2412,7 @@ module Google
2148
2412
  # the scope of the request (project or organization) and whether you have [
2149
2413
  # specified a processing location](https://cloud.google.com/sensitive-data-
2150
2414
  # protection/docs/specifying-location): + Projects scope, location specified: `
2151
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2415
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2152
2416
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2153
2417
  # parent` string specifies a parent project with the identifier `example-project`
2154
2418
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2248,7 +2512,7 @@ module Google
2248
2512
  # Parent resource name. The format of this value varies depending on whether you
2249
2513
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2250
2514
  # protection/docs/specifying-location): + Projects scope, location specified: `
2251
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2515
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2252
2516
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2253
2517
  # parent` string specifies a parent project with the identifier `example-project`
2254
2518
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2294,7 +2558,7 @@ module Google
2294
2558
  # Parent resource name. The format of this value varies depending on whether you
2295
2559
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2296
2560
  # protection/docs/specifying-location): + Projects scope, location specified: `
2297
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2561
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2298
2562
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2299
2563
  # parent` string specifies a parent project with the identifier `example-project`
2300
2564
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2336,7 +2600,7 @@ module Google
2336
2600
  # Required. Parent resource name. The format of this value varies depending on
2337
2601
  # whether you have [specified a processing location](https://cloud.google.com/
2338
2602
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2339
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
2603
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2340
2604
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2341
2605
  # following example `parent` string specifies a parent project with the
2342
2606
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2379,7 +2643,7 @@ module Google
2379
2643
  # the scope of the request (project or organization) and whether you have [
2380
2644
  # specified a processing location](https://cloud.google.com/sensitive-data-
2381
2645
  # protection/docs/specifying-location): + Projects scope, location specified: `
2382
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2646
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2383
2647
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2384
2648
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2385
2649
  # Organizations scope, no location specified (defaults to global): `
@@ -2490,7 +2754,7 @@ module Google
2490
2754
  # the scope of the request (project or organization) and whether you have [
2491
2755
  # specified a processing location](https://cloud.google.com/sensitive-data-
2492
2756
  # protection/docs/specifying-location): + Projects scope, location specified: `
2493
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
2757
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2494
2758
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2495
2759
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2496
2760
  # Organizations scope, no location specified (defaults to global): `
@@ -2628,7 +2892,7 @@ module Google
2628
2892
  # Required. Parent resource name. The format of this value varies depending on
2629
2893
  # whether you have [specified a processing location](https://cloud.google.com/
2630
2894
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2631
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
2895
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2632
2896
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2633
2897
  # following example `parent` string specifies a parent project with the
2634
2898
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2737,7 +3001,7 @@ module Google
2737
3001
  # Required. Parent resource name. The format of this value varies depending on
2738
3002
  # whether you have [specified a processing location](https://cloud.google.com/
2739
3003
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
2740
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3004
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
2741
3005
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
2742
3006
  # following example `parent` string specifies a parent project with the
2743
3007
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -2818,7 +3082,7 @@ module Google
2818
3082
  # Parent resource name. The format of this value varies depending on whether you
2819
3083
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
2820
3084
  # protection/docs/specifying-location): + Projects scope, location specified: `
2821
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3085
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2822
3086
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
2823
3087
  # parent` string specifies a parent project with the identifier `example-project`
2824
3088
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -2861,7 +3125,7 @@ module Google
2861
3125
  # the scope of the request (project or organization) and whether you have [
2862
3126
  # specified a processing location](https://cloud.google.com/sensitive-data-
2863
3127
  # protection/docs/specifying-location): + Projects scope, location specified: `
2864
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3128
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2865
3129
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2866
3130
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2867
3131
  # Organizations scope, no location specified (defaults to global): `
@@ -2972,7 +3236,7 @@ module Google
2972
3236
  # the scope of the request (project or organization) and whether you have [
2973
3237
  # specified a processing location](https://cloud.google.com/sensitive-data-
2974
3238
  # protection/docs/specifying-location): + Projects scope, location specified: `
2975
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3239
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
2976
3240
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
2977
3241
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
2978
3242
  # Organizations scope, no location specified (defaults to global): `
@@ -3105,7 +3369,7 @@ module Google
3105
3369
  # Required. Parent resource name. The format of this value varies depending on
3106
3370
  # whether you have [specified a processing location](https://cloud.google.com/
3107
3371
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3108
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3372
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3109
3373
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3110
3374
  # following example `parent` string specifies a parent project with the
3111
3375
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3210,7 +3474,7 @@ module Google
3210
3474
  # Required. Parent resource name. The format of this value varies depending on
3211
3475
  # whether you have [specified a processing location](https://cloud.google.com/
3212
3476
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3213
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3477
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3214
3478
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3215
3479
  # following example `parent` string specifies a parent project with the
3216
3480
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3418,8 +3682,10 @@ module Google
3418
3682
 
3419
3683
  # Create a Connection to an external data source.
3420
3684
  # @param [String] parent
3421
- # Required. Parent resource name in the format: `projects/`project`/locations/`
3422
- # location``.
3685
+ # Required. Parent resource name. The format of this value varies depending on
3686
+ # the scope of the request (project or organization): + Projects scope: `
3687
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
3688
+ # organizations/`ORG_ID`/locations/`LOCATION_ID
3423
3689
  # @param [Google::Apis::DlpV2::GooglePrivacyDlpV2CreateConnectionRequest] google_privacy_dlp_v2_create_connection_request_object
3424
3690
  # @param [String] fields
3425
3691
  # Selector specifying which fields to include in a partial response.
@@ -3637,7 +3903,7 @@ module Google
3637
3903
  # Parent resource name. The format of this value varies depending on whether you
3638
3904
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
3639
3905
  # protection/docs/specifying-location): + Projects scope, location specified: `
3640
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3906
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3641
3907
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
3642
3908
  # parent` string specifies a parent project with the identifier `example-project`
3643
3909
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -3683,7 +3949,7 @@ module Google
3683
3949
  # Parent resource name. The format of this value varies depending on whether you
3684
3950
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
3685
3951
  # protection/docs/specifying-location): + Projects scope, location specified: `
3686
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
3952
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3687
3953
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
3688
3954
  # parent` string specifies a parent project with the identifier `example-project`
3689
3955
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -3725,7 +3991,7 @@ module Google
3725
3991
  # Required. Parent resource name. The format of this value varies depending on
3726
3992
  # whether you have [specified a processing location](https://cloud.google.com/
3727
3993
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
3728
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
3994
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
3729
3995
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
3730
3996
  # following example `parent` string specifies a parent project with the
3731
3997
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -3768,7 +4034,7 @@ module Google
3768
4034
  # the scope of the request (project or organization) and whether you have [
3769
4035
  # specified a processing location](https://cloud.google.com/sensitive-data-
3770
4036
  # protection/docs/specifying-location): + Projects scope, location specified: `
3771
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4037
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3772
4038
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
3773
4039
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
3774
4040
  # Organizations scope, no location specified (defaults to global): `
@@ -3879,7 +4145,7 @@ module Google
3879
4145
  # the scope of the request (project or organization) and whether you have [
3880
4146
  # specified a processing location](https://cloud.google.com/sensitive-data-
3881
4147
  # protection/docs/specifying-location): + Projects scope, location specified: `
3882
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4148
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
3883
4149
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
3884
4150
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
3885
4151
  # Organizations scope, no location specified (defaults to global): `
@@ -3972,8 +4238,10 @@ module Google
3972
4238
 
3973
4239
  # Creates a config for discovery to scan and profile storage.
3974
4240
  # @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`
4241
+ # Required. Parent resource name. The format of this value varies depending on
4242
+ # the scope of the request (project or organization): + Projects scope: `
4243
+ # projects/`PROJECT_ID`/locations/`LOCATION_ID + Organizations scope: `
4244
+ # organizations/`ORG_ID`/locations/`LOCATION_ID The following example `parent`
3977
4245
  # string specifies a parent project with the identifier `example-project`, and
3978
4246
  # specifies the `europe-west3` location for processing data: parent=projects/
3979
4247
  # example-project/locations/europe-west3
@@ -4199,7 +4467,7 @@ module Google
4199
4467
  # Required. Parent resource name. The format of this value varies depending on
4200
4468
  # whether you have [specified a processing location](https://cloud.google.com/
4201
4469
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4202
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
4470
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4203
4471
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4204
4472
  # following example `parent` string specifies a parent project with the
4205
4473
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4377,7 +4645,7 @@ module Google
4377
4645
  # Required. Parent resource name. The format of this value varies depending on
4378
4646
  # whether you have [specified a processing location](https://cloud.google.com/
4379
4647
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4380
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
4648
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4381
4649
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4382
4650
  # following example `parent` string specifies a parent project with the
4383
4651
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4448,6 +4716,136 @@ module Google
4448
4716
  execute_or_queue_command(command, &block)
4449
4717
  end
4450
4718
 
4719
+ # Delete a FileStoreDataProfile. Will not prevent the profile from being
4720
+ # regenerated if the resource is still included in a discovery configuration.
4721
+ # @param [String] name
4722
+ # Required. Resource name of the file store data profile.
4723
+ # @param [String] fields
4724
+ # Selector specifying which fields to include in a partial response.
4725
+ # @param [String] quota_user
4726
+ # Available to use for quota purposes for server-side applications. Can be any
4727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4728
+ # @param [Google::Apis::RequestOptions] options
4729
+ # Request-specific options
4730
+ #
4731
+ # @yield [result, err] Result & error if block supplied
4732
+ # @yieldparam result [Google::Apis::DlpV2::GoogleProtobufEmpty] parsed result object
4733
+ # @yieldparam err [StandardError] error object if request failed
4734
+ #
4735
+ # @return [Google::Apis::DlpV2::GoogleProtobufEmpty]
4736
+ #
4737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4740
+ def delete_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
4741
+ command = make_simple_command(:delete, 'v2/{+name}', options)
4742
+ command.response_representation = Google::Apis::DlpV2::GoogleProtobufEmpty::Representation
4743
+ command.response_class = Google::Apis::DlpV2::GoogleProtobufEmpty
4744
+ command.params['name'] = name unless name.nil?
4745
+ command.query['fields'] = fields unless fields.nil?
4746
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4747
+ execute_or_queue_command(command, &block)
4748
+ end
4749
+
4750
+ # Gets a file store data profile.
4751
+ # @param [String] name
4752
+ # Required. Resource name, for example `organizations/12345/locations/us/
4753
+ # fileStoreDataProfiles/53234423`.
4754
+ # @param [String] fields
4755
+ # Selector specifying which fields to include in a partial response.
4756
+ # @param [String] quota_user
4757
+ # Available to use for quota purposes for server-side applications. Can be any
4758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4759
+ # @param [Google::Apis::RequestOptions] options
4760
+ # Request-specific options
4761
+ #
4762
+ # @yield [result, err] Result & error if block supplied
4763
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile] parsed result object
4764
+ # @yieldparam err [StandardError] error object if request failed
4765
+ #
4766
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile]
4767
+ #
4768
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4769
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4770
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4771
+ def get_project_location_file_store_data_profile(name, fields: nil, quota_user: nil, options: nil, &block)
4772
+ command = make_simple_command(:get, 'v2/{+name}', options)
4773
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile::Representation
4774
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2FileStoreDataProfile
4775
+ command.params['name'] = name unless name.nil?
4776
+ command.query['fields'] = fields unless fields.nil?
4777
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4778
+ execute_or_queue_command(command, &block)
4779
+ end
4780
+
4781
+ # Lists file store data profiles for an organization.
4782
+ # @param [String] parent
4783
+ # Required. Resource name of the organization or project, for example `
4784
+ # organizations/433245324/locations/europe` or `projects/project-id/locations/
4785
+ # asia`.
4786
+ # @param [String] filter
4787
+ # Optional. Allows filtering. Supported syntax: * Filter expressions are made up
4788
+ # of one or more restrictions. * Restrictions can be combined by `AND` or `OR`
4789
+ # logical operators. A sequence of restrictions implicitly uses `AND`. * A
4790
+ # restriction has the form of ``field` `operator` `value``. * Supported fields/
4791
+ # values: - `project_id` - The Google Cloud project ID. - `file_store_path` -
4792
+ # The path like "gs://bucket". - `sensitivity_level` - HIGH|MODERATE|LOW - `
4793
+ # data_risk_level` - HIGH|MODERATE|LOW - `resource_visibility`: PUBLIC|
4794
+ # RESTRICTED - `status_code` - an RPC status code as defined in https://github.
4795
+ # com/googleapis/googleapis/blob/master/google/rpc/code.proto * The operator
4796
+ # must be `=` or `!=`. Examples: * `project_id = 12345 AND status_code = 1` * `
4797
+ # project_id = 12345 AND sensitivity_level = HIGH` * `project_id = 12345 AND
4798
+ # resource_visibility = PUBLIC` . * 'file_store_path = "gs://mybucket"` The
4799
+ # length of this field should be no more than 500 characters.
4800
+ # @param [String] order_by
4801
+ # Optional. Comma separated list of fields to order by, followed by `asc` or `
4802
+ # desc` postfix. This list is case insensitive. The default sorting order is
4803
+ # ascending. Redundant space characters are insignificant. Only one order field
4804
+ # at a time is allowed. Examples: * `project_id asc` * `name` * `
4805
+ # sensitivity_level desc` Supported fields are: - `project_id`: The Google Cloud
4806
+ # project ID. - `sensitivity_level`: How sensitive the data in a table is, at
4807
+ # most. - `data_risk_level`: How much risk is associated with this data. - `
4808
+ # profile_last_generated`: When the profile was last updated in epoch seconds. -
4809
+ # `last_modified`: The last time the resource was modified. - `
4810
+ # resource_visibility`: Visibility restriction for this resource. - `name`: The
4811
+ # name of the profile. - `create_time`: The time the file store was first
4812
+ # created.
4813
+ # @param [Fixnum] page_size
4814
+ # Optional. Size of the page. This value can be limited by the server. If zero,
4815
+ # server returns a page of max size 100.
4816
+ # @param [String] page_token
4817
+ # Optional. Page token to continue retrieval.
4818
+ # @param [String] fields
4819
+ # Selector specifying which fields to include in a partial response.
4820
+ # @param [String] quota_user
4821
+ # Available to use for quota purposes for server-side applications. Can be any
4822
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4823
+ # @param [Google::Apis::RequestOptions] options
4824
+ # Request-specific options
4825
+ #
4826
+ # @yield [result, err] Result & error if block supplied
4827
+ # @yieldparam result [Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse] parsed result object
4828
+ # @yieldparam err [StandardError] error object if request failed
4829
+ #
4830
+ # @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse]
4831
+ #
4832
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4833
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4834
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4835
+ def list_project_location_file_store_data_profiles(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4836
+ command = make_simple_command(:get, 'v2/{+parent}/fileStoreDataProfiles', options)
4837
+ command.response_representation = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse::Representation
4838
+ command.response_class = Google::Apis::DlpV2::GooglePrivacyDlpV2ListFileStoreDataProfilesResponse
4839
+ command.params['parent'] = parent unless parent.nil?
4840
+ command.query['filter'] = filter unless filter.nil?
4841
+ command.query['orderBy'] = order_by unless order_by.nil?
4842
+ command.query['pageSize'] = page_size unless page_size.nil?
4843
+ command.query['pageToken'] = page_token unless page_token.nil?
4844
+ command.query['fields'] = fields unless fields.nil?
4845
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4846
+ execute_or_queue_command(command, &block)
4847
+ end
4848
+
4451
4849
  # Redacts potentially sensitive info from an image. This method has limits on
4452
4850
  # input size, processing time, and output size. See https://cloud.google.com/
4453
4851
  # sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
@@ -4458,7 +4856,7 @@ module Google
4458
4856
  # Parent resource name. The format of this value varies depending on whether you
4459
4857
  # have [specified a processing location](https://cloud.google.com/sensitive-data-
4460
4858
  # protection/docs/specifying-location): + Projects scope, location specified: `
4461
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4859
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4462
4860
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
4463
4861
  # parent` string specifies a parent project with the identifier `example-project`
4464
4862
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -4501,7 +4899,7 @@ module Google
4501
4899
  # the scope of the request (project or organization) and whether you have [
4502
4900
  # specified a processing location](https://cloud.google.com/sensitive-data-
4503
4901
  # protection/docs/specifying-location): + Projects scope, location specified: `
4504
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
4902
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4505
4903
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
4506
4904
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
4507
4905
  # Organizations scope, no location specified (defaults to global): `
@@ -4612,7 +5010,7 @@ module Google
4612
5010
  # the scope of the request (project or organization) and whether you have [
4613
5011
  # specified a processing location](https://cloud.google.com/sensitive-data-
4614
5012
  # protection/docs/specifying-location): + Projects scope, location specified: `
4615
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5013
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
4616
5014
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
4617
5015
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
4618
5016
  # Organizations scope, no location specified (defaults to global): `
@@ -4745,7 +5143,7 @@ module Google
4745
5143
  # Required. Parent resource name. The format of this value varies depending on
4746
5144
  # whether you have [specified a processing location](https://cloud.google.com/
4747
5145
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4748
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
5146
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4749
5147
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4750
5148
  # following example `parent` string specifies a parent project with the
4751
5149
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -4886,7 +5284,7 @@ module Google
4886
5284
  # Required. Parent resource name. The format of this value varies depending on
4887
5285
  # whether you have [specified a processing location](https://cloud.google.com/
4888
5286
  # sensitive-data-protection/docs/specifying-location): + Projects scope,
4889
- # location specified: `projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects
5287
+ # location specified: `projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects
4890
5288
  # scope, no location specified (defaults to global): `projects/`PROJECT_ID The
4891
5289
  # following example `parent` string specifies a parent project with the
4892
5290
  # identifier `example-project`, and specifies the `europe-west3` location for
@@ -5091,7 +5489,7 @@ module Google
5091
5489
  # the scope of the request (project or organization) and whether you have [
5092
5490
  # specified a processing location](https://cloud.google.com/sensitive-data-
5093
5491
  # protection/docs/specifying-location): + Projects scope, location specified: `
5094
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5492
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5095
5493
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
5096
5494
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
5097
5495
  # Organizations scope, no location specified (defaults to global): `
@@ -5202,7 +5600,7 @@ module Google
5202
5600
  # the scope of the request (project or organization) and whether you have [
5203
5601
  # specified a processing location](https://cloud.google.com/sensitive-data-
5204
5602
  # protection/docs/specifying-location): + Projects scope, location specified: `
5205
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5603
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5206
5604
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
5207
5605
  # parent` string specifies a parent project with the identifier `example-project`
5208
5606
  # , and specifies the `europe-west3` location for processing data: parent=
@@ -5430,7 +5828,7 @@ module Google
5430
5828
  # the scope of the request (project or organization) and whether you have [
5431
5829
  # specified a processing location](https://cloud.google.com/sensitive-data-
5432
5830
  # protection/docs/specifying-location): + Projects scope, location specified: `
5433
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5831
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5434
5832
  # specified (defaults to global): `projects/`PROJECT_ID + Organizations scope,
5435
5833
  # location specified: `organizations/`ORG_ID`/locations/`LOCATION_ID +
5436
5834
  # Organizations scope, no location specified (defaults to global): `
@@ -5541,7 +5939,7 @@ module Google
5541
5939
  # the scope of the request (project or organization) and whether you have [
5542
5940
  # specified a processing location](https://cloud.google.com/sensitive-data-
5543
5941
  # protection/docs/specifying-location): + Projects scope, location specified: `
5544
- # projects/`PROJECT_ID`/locations/`LOCATION_ID + Projects scope, no location
5942
+ # projects/`PROJECT_ID`/locations/` LOCATION_ID + Projects scope, no location
5545
5943
  # specified (defaults to global): `projects/`PROJECT_ID The following example `
5546
5944
  # parent` string specifies a parent project with the identifier `example-project`
5547
5945
  # , and specifies the `europe-west3` location for processing data: parent=