google-apis-dlp_v2 0.67.0 → 0.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -270,7 +270,7 @@ module Google
270
270
  # @param [String] location_id
271
271
  # Deprecated. This field has no effect.
272
272
  # @param [String] order_by
273
- # Comma separated list of fields to order by, followed by `asc` or `desc`
273
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
274
274
  # postfix. This list is case insensitive. The default sorting order is ascending.
275
275
  # Redundant space characters are insignificant. Example: `name asc,update_time,
276
276
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -480,7 +480,7 @@ module Google
480
480
  # @param [String] location_id
481
481
  # Deprecated. This field has no effect.
482
482
  # @param [String] order_by
483
- # Comma separated list of fields to order by, followed by `asc` or `desc`
483
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
484
484
  # postfix. This list is case insensitive. The default sorting order is ascending.
485
485
  # Redundant space characters are insignificant. Example: `name asc,update_time,
486
486
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -614,7 +614,7 @@ module Google
614
614
  # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
615
615
  # The length of this field should be no more than 500 characters.
616
616
  # @param [String] order_by
617
- # Comma separated list of fields to order by, followed by `asc` or `desc`
617
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
618
618
  # postfix. This list is case insensitive. The default sorting order is ascending.
619
619
  # Redundant space characters are insignificant. Only one order field at a time
620
620
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -962,7 +962,7 @@ module Google
962
962
  # @param [String] location_id
963
963
  # Deprecated. This field has no effect.
964
964
  # @param [String] order_by
965
- # Comma separated list of fields to order by, followed by `asc` or `desc`
965
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
966
966
  # postfix. This list is case insensitive. The default sorting order is ascending.
967
967
  # Redundant space characters are insignificant. Example: `name asc,update_time,
968
968
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -1151,7 +1151,7 @@ module Google
1151
1151
  # specifies the `europe-west3` location for processing data: parent=projects/
1152
1152
  # example-project/locations/europe-west3
1153
1153
  # @param [String] order_by
1154
- # Comma separated list of config fields to order by, followed by `asc` or `desc`
1154
+ # Comma-separated list of config fields to order by, followed by `asc` or `desc`
1155
1155
  # postfix. This list is case insensitive. The default sorting order is ascending.
1156
1156
  # Redundant space characters are insignificant. Example: `name asc,update_time,
1157
1157
  # create_time desc` Supported fields are: - `last_run_time`: corresponds to the
@@ -1259,7 +1259,7 @@ module Google
1259
1259
  # @param [String] location_id
1260
1260
  # Deprecated. This field has no effect.
1261
1261
  # @param [String] order_by
1262
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1262
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1263
1263
  # postfix. This list is case insensitive. The default sorting order is ascending.
1264
1264
  # Redundant space characters are insignificant. Example: `name asc, end_time
1265
1265
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -1305,6 +1305,136 @@ module Google
1305
1305
  execute_or_queue_command(command, &block)
1306
1306
  end
1307
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 length
1388
+ # 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
+
1308
1438
  # Creates an InspectTemplate for reusing frequently used configuration for
1309
1439
  # inspecting content, images, and storage. See https://cloud.google.com/
1310
1440
  # sensitive-data-protection/docs/creating-templates to learn more.
@@ -1435,7 +1565,7 @@ module Google
1435
1565
  # @param [String] location_id
1436
1566
  # Deprecated. This field has no effect.
1437
1567
  # @param [String] order_by
1438
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1568
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1439
1569
  # postfix. This list is case insensitive. The default sorting order is ascending.
1440
1570
  # Redundant space characters are insignificant. Example: `name asc,update_time,
1441
1571
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -1650,7 +1780,7 @@ module Google
1650
1780
  # @param [String] location_id
1651
1781
  # Deprecated. This field has no effect.
1652
1782
  # @param [String] order_by
1653
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
1783
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
1654
1784
  # desc` postfix. This list is case insensitive. The default sorting order is
1655
1785
  # ascending. Redundant space characters are insignificant. Example: `name asc,
1656
1786
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -1780,7 +1910,7 @@ module Google
1780
1910
  # project_id = 12345 AND sensitivity_level = HIGH` The length of this field
1781
1911
  # should be no more than 500 characters.
1782
1912
  # @param [String] order_by
1783
- # Comma separated list of fields to order by, followed by `asc` or `desc`
1913
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1784
1914
  # postfix. This list is case insensitive. The default sorting order is ascending.
1785
1915
  # Redundant space characters are insignificant. Only one order field at a time
1786
1916
  # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
@@ -1951,7 +2081,7 @@ module Google
1951
2081
  # @param [String] location_id
1952
2082
  # Deprecated. This field has no effect.
1953
2083
  # @param [String] order_by
1954
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2084
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
1955
2085
  # postfix. This list is case insensitive. The default sorting order is ascending.
1956
2086
  # Redundant space characters are insignificant. Example: `name asc,
1957
2087
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -2115,7 +2245,7 @@ module Google
2115
2245
  # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field
2116
2246
  # should be no more than 500 characters.
2117
2247
  # @param [String] order_by
2118
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2248
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2119
2249
  # postfix. This list is case insensitive. The default sorting order is ascending.
2120
2250
  # Redundant space characters are insignificant. Only one order field at a time
2121
2251
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -2290,7 +2420,7 @@ module Google
2290
2420
  # @param [String] location_id
2291
2421
  # Deprecated. This field has no effect.
2292
2422
  # @param [String] order_by
2293
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2423
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2294
2424
  # postfix. This list is case insensitive. The default sorting order is ascending.
2295
2425
  # Redundant space characters are insignificant. Example: `name asc,
2296
2426
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -2635,7 +2765,7 @@ module Google
2635
2765
  # @param [String] location_id
2636
2766
  # Deprecated. This field has no effect.
2637
2767
  # @param [String] order_by
2638
- # Comma separated list of fields to order by, followed by `asc` or `desc`
2768
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2639
2769
  # postfix. This list is case insensitive. The default sorting order is ascending.
2640
2770
  # Redundant space characters are insignificant. Example: `name asc,update_time,
2641
2771
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -2896,7 +3026,7 @@ module Google
2896
3026
  # @param [String] location_id
2897
3027
  # Deprecated. This field has no effect.
2898
3028
  # @param [String] order_by
2899
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3029
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
2900
3030
  # postfix. This list is case insensitive. The default sorting order is ascending.
2901
3031
  # Redundant space characters are insignificant. Example: `name asc, end_time
2902
3032
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -3117,7 +3247,7 @@ module Google
3117
3247
  # @param [String] location_id
3118
3248
  # Deprecated. This field has no effect.
3119
3249
  # @param [String] order_by
3120
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3250
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
3121
3251
  # postfix. This list is case insensitive. The default sorting order is ascending.
3122
3252
  # Redundant space characters are insignificant. Example: `name asc,update_time,
3123
3253
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -3367,7 +3497,7 @@ module Google
3367
3497
  # @param [String] location_id
3368
3498
  # Deprecated. This field has no effect.
3369
3499
  # @param [String] order_by
3370
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
3500
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
3371
3501
  # desc` postfix. This list is case insensitive. The default sorting order is
3372
3502
  # ascending. Redundant space characters are insignificant. Example: `name asc,
3373
3503
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -3505,7 +3635,7 @@ module Google
3505
3635
  # sensitivity_level = HIGH * project_id = 12345 AND info_type = STREET_ADDRESS
3506
3636
  # The length of this field should be no more than 500 characters.
3507
3637
  # @param [String] order_by
3508
- # Comma separated list of fields to order by, followed by `asc` or `desc`
3638
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
3509
3639
  # postfix. This list is case insensitive. The default sorting order is ascending.
3510
3640
  # Redundant space characters are insignificant. Only one order field at a time
3511
3641
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -4026,7 +4156,7 @@ module Google
4026
4156
  # @param [String] location_id
4027
4157
  # Deprecated. This field has no effect.
4028
4158
  # @param [String] order_by
4029
- # Comma separated list of fields to order by, followed by `asc` or `desc`
4159
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
4030
4160
  # postfix. This list is case insensitive. The default sorting order is ascending.
4031
4161
  # Redundant space characters are insignificant. Example: `name asc,update_time,
4032
4162
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -4215,7 +4345,7 @@ module Google
4215
4345
  # specifies the `europe-west3` location for processing data: parent=projects/
4216
4346
  # example-project/locations/europe-west3
4217
4347
  # @param [String] order_by
4218
- # Comma separated list of config fields to order by, followed by `asc` or `desc`
4348
+ # Comma-separated list of config fields to order by, followed by `asc` or `desc`
4219
4349
  # postfix. This list is case insensitive. The default sorting order is ascending.
4220
4350
  # Redundant space characters are insignificant. Example: `name asc,update_time,
4221
4351
  # create_time desc` Supported fields are: - `last_run_time`: corresponds to the
@@ -4540,7 +4670,7 @@ module Google
4540
4670
  # @param [String] location_id
4541
4671
  # Deprecated. This field has no effect.
4542
4672
  # @param [String] order_by
4543
- # Comma separated list of fields to order by, followed by `asc` or `desc`
4673
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
4544
4674
  # postfix. This list is case insensitive. The default sorting order is ascending.
4545
4675
  # Redundant space characters are insignificant. Example: `name asc, end_time
4546
4676
  # asc, create_time desc` Supported fields are: - `create_time`: corresponds to
@@ -4586,6 +4716,136 @@ module Google
4586
4716
  execute_or_queue_command(command, &block)
4587
4717
  end
4588
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 length
4799
+ # 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
+
4589
4849
  # Redacts potentially sensitive info from an image. This method has limits on
4590
4850
  # input size, processing time, and output size. See https://cloud.google.com/
4591
4851
  # sensitive-data-protection/docs/redacting-sensitive-data-images to learn more.
@@ -4761,7 +5021,7 @@ module Google
4761
5021
  # @param [String] location_id
4762
5022
  # Deprecated. This field has no effect.
4763
5023
  # @param [String] order_by
4764
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5024
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
4765
5025
  # postfix. This list is case insensitive. The default sorting order is ascending.
4766
5026
  # Redundant space characters are insignificant. Example: `name asc,update_time,
4767
5027
  # create_time desc` Supported fields are: - `create_time`: corresponds to the
@@ -5047,7 +5307,7 @@ module Google
5047
5307
  # @param [String] location_id
5048
5308
  # Deprecated. This field has no effect.
5049
5309
  # @param [String] order_by
5050
- # Comma separated list of triggeredJob fields to order by, followed by `asc` or `
5310
+ # Comma-separated list of triggeredJob fields to order by, followed by `asc` or `
5051
5311
  # desc` postfix. This list is case insensitive. The default sorting order is
5052
5312
  # ascending. Redundant space characters are insignificant. Example: `name asc,
5053
5313
  # update_time, create_time desc` Supported fields are: - `create_time`:
@@ -5177,7 +5437,7 @@ module Google
5177
5437
  # project_id = 12345 AND sensitivity_level = HIGH` The length of this field
5178
5438
  # should be no more than 500 characters.
5179
5439
  # @param [String] order_by
5180
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5440
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5181
5441
  # postfix. This list is case insensitive. The default sorting order is ascending.
5182
5442
  # Redundant space characters are insignificant. Only one order field at a time
5183
5443
  # is allowed. Examples: * `project_id` * `sensitivity_level desc` Supported
@@ -5348,7 +5608,7 @@ module Google
5348
5608
  # @param [String] location_id
5349
5609
  # Deprecated. This field has no effect.
5350
5610
  # @param [String] order_by
5351
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5611
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5352
5612
  # postfix. This list is case insensitive. The default sorting order is ascending.
5353
5613
  # Redundant space characters are insignificant. Example: `name asc,
5354
5614
  # display_name, create_time desc` Supported fields are: - `create_time`:
@@ -5512,7 +5772,7 @@ module Google
5512
5772
  # project_id = 12345 AND resource_visibility = PUBLIC` The length of this field
5513
5773
  # should be no more than 500 characters.
5514
5774
  # @param [String] order_by
5515
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5775
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5516
5776
  # postfix. This list is case insensitive. The default sorting order is ascending.
5517
5777
  # Redundant space characters are insignificant. Only one order field at a time
5518
5778
  # is allowed. Examples: * `project_id asc` * `table_id` * `sensitivity_level
@@ -5687,7 +5947,7 @@ module Google
5687
5947
  # @param [String] location_id
5688
5948
  # Deprecated. This field has no effect.
5689
5949
  # @param [String] order_by
5690
- # Comma separated list of fields to order by, followed by `asc` or `desc`
5950
+ # Comma-separated list of fields to order by, followed by `asc` or `desc`
5691
5951
  # postfix. This list is case insensitive. The default sorting order is ascending.
5692
5952
  # Redundant space characters are insignificant. Example: `name asc,
5693
5953
  # display_name, create_time desc` Supported fields are: - `create_time`:
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.67.0
4
+ version: 0.69.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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.67.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dlp_v2/v0.69.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: []