google-apis-servicedirectory_v1beta1 0.31.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6919c771e47a5c1fac15499e4bc969a40eed80a0270615bc3a7cc2340c0cb6b6
|
4
|
+
data.tar.gz: 7e7c3865794c5c8d2d9b063dc0114d5c0ac93b9a7ced3e1ce616b709c19d26c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b4492ce61280cacc3eea9717b1a8366b83ebbdd4861bac99022a3f75a7a2eb92be8603d708b427cf9d5320c93db716f6adc7ecb84eb9ac044cf2dbe45c6f8f9
|
7
|
+
data.tar.gz: d9f5c1ac92f4c25cfbdce60f81b8b7dd15fcdc62c78ad7604f056429b414ad96708ab14c479c7fc010f1508d00a74c4f4b67050d12336c509e8089b7c43e9428
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.33.0 (2023-07-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230716
|
6
|
+
|
7
|
+
### v0.32.0 (2023-06-25)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230618
|
10
|
+
|
3
11
|
### v0.31.0 (2023-05-28)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230516
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ServicedirectoryV1beta1
|
18
18
|
# Version of the google-apis-servicedirectory_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.33.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230716"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -432,112 +432,6 @@ module Google
|
|
432
432
|
execute_or_queue_command(command, &block)
|
433
433
|
end
|
434
434
|
|
435
|
-
# Gets the IAM Policy for a resource
|
436
|
-
# @param [String] resource
|
437
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
438
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
439
|
-
# appropriate value for this field.
|
440
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
441
|
-
# @param [String] fields
|
442
|
-
# Selector specifying which fields to include in a partial response.
|
443
|
-
# @param [String] quota_user
|
444
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
445
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
446
|
-
# @param [Google::Apis::RequestOptions] options
|
447
|
-
# Request-specific options
|
448
|
-
#
|
449
|
-
# @yield [result, err] Result & error if block supplied
|
450
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
451
|
-
# @yieldparam err [StandardError] error object if request failed
|
452
|
-
#
|
453
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
454
|
-
#
|
455
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
456
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
457
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
458
|
-
def get_service_workload_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
459
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
460
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest::Representation
|
461
|
-
command.request_object = get_iam_policy_request_object
|
462
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
463
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
464
|
-
command.params['resource'] = resource unless resource.nil?
|
465
|
-
command.query['fields'] = fields unless fields.nil?
|
466
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
467
|
-
execute_or_queue_command(command, &block)
|
468
|
-
end
|
469
|
-
|
470
|
-
# Sets the IAM Policy for a resource
|
471
|
-
# @param [String] resource
|
472
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
473
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
474
|
-
# appropriate value for this field.
|
475
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
476
|
-
# @param [String] fields
|
477
|
-
# Selector specifying which fields to include in a partial response.
|
478
|
-
# @param [String] quota_user
|
479
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
480
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
481
|
-
# @param [Google::Apis::RequestOptions] options
|
482
|
-
# Request-specific options
|
483
|
-
#
|
484
|
-
# @yield [result, err] Result & error if block supplied
|
485
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
486
|
-
# @yieldparam err [StandardError] error object if request failed
|
487
|
-
#
|
488
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
489
|
-
#
|
490
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
491
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
492
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
493
|
-
def set_service_workload_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
494
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
495
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest::Representation
|
496
|
-
command.request_object = set_iam_policy_request_object
|
497
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
498
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
499
|
-
command.params['resource'] = resource unless resource.nil?
|
500
|
-
command.query['fields'] = fields unless fields.nil?
|
501
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
502
|
-
execute_or_queue_command(command, &block)
|
503
|
-
end
|
504
|
-
|
505
|
-
# Tests IAM permissions for a resource (namespace, service or service workload
|
506
|
-
# only).
|
507
|
-
# @param [String] resource
|
508
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
509
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
510
|
-
# appropriate value for this field.
|
511
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
512
|
-
# @param [String] fields
|
513
|
-
# Selector specifying which fields to include in a partial response.
|
514
|
-
# @param [String] quota_user
|
515
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
516
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
517
|
-
# @param [Google::Apis::RequestOptions] options
|
518
|
-
# Request-specific options
|
519
|
-
#
|
520
|
-
# @yield [result, err] Result & error if block supplied
|
521
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse] parsed result object
|
522
|
-
# @yieldparam err [StandardError] error object if request failed
|
523
|
-
#
|
524
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse]
|
525
|
-
#
|
526
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
527
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
528
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
529
|
-
def test_service_workload_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
530
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
531
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest::Representation
|
532
|
-
command.request_object = test_iam_permissions_request_object
|
533
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse::Representation
|
534
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse
|
535
|
-
command.params['resource'] = resource unless resource.nil?
|
536
|
-
command.query['fields'] = fields unless fields.nil?
|
537
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
538
|
-
execute_or_queue_command(command, &block)
|
539
|
-
end
|
540
|
-
|
541
435
|
# Creates a service, and returns the new service.
|
542
436
|
# @param [String] parent
|
543
437
|
# Required. The resource name of the namespace this service will belong to.
|
@@ -1188,112 +1082,6 @@ module Google
|
|
1188
1082
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1189
1083
|
execute_or_queue_command(command, &block)
|
1190
1084
|
end
|
1191
|
-
|
1192
|
-
# Gets the IAM Policy for a resource
|
1193
|
-
# @param [String] resource
|
1194
|
-
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1195
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1196
|
-
# appropriate value for this field.
|
1197
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest] get_iam_policy_request_object
|
1198
|
-
# @param [String] fields
|
1199
|
-
# Selector specifying which fields to include in a partial response.
|
1200
|
-
# @param [String] quota_user
|
1201
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1202
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1203
|
-
# @param [Google::Apis::RequestOptions] options
|
1204
|
-
# Request-specific options
|
1205
|
-
#
|
1206
|
-
# @yield [result, err] Result & error if block supplied
|
1207
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
1208
|
-
# @yieldparam err [StandardError] error object if request failed
|
1209
|
-
#
|
1210
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
1211
|
-
#
|
1212
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1213
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1214
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1215
|
-
def get_registration_policy_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1216
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:getIamPolicy', options)
|
1217
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::GetIamPolicyRequest::Representation
|
1218
|
-
command.request_object = get_iam_policy_request_object
|
1219
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
1220
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
1221
|
-
command.params['resource'] = resource unless resource.nil?
|
1222
|
-
command.query['fields'] = fields unless fields.nil?
|
1223
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1224
|
-
execute_or_queue_command(command, &block)
|
1225
|
-
end
|
1226
|
-
|
1227
|
-
# Sets the IAM Policy for a resource
|
1228
|
-
# @param [String] resource
|
1229
|
-
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1230
|
-
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1231
|
-
# appropriate value for this field.
|
1232
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
1233
|
-
# @param [String] fields
|
1234
|
-
# Selector specifying which fields to include in a partial response.
|
1235
|
-
# @param [String] quota_user
|
1236
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1237
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1238
|
-
# @param [Google::Apis::RequestOptions] options
|
1239
|
-
# Request-specific options
|
1240
|
-
#
|
1241
|
-
# @yield [result, err] Result & error if block supplied
|
1242
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::Policy] parsed result object
|
1243
|
-
# @yieldparam err [StandardError] error object if request failed
|
1244
|
-
#
|
1245
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
1246
|
-
#
|
1247
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1248
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1249
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1250
|
-
def set_registration_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1251
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
1252
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::SetIamPolicyRequest::Representation
|
1253
|
-
command.request_object = set_iam_policy_request_object
|
1254
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::Policy::Representation
|
1255
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::Policy
|
1256
|
-
command.params['resource'] = resource unless resource.nil?
|
1257
|
-
command.query['fields'] = fields unless fields.nil?
|
1258
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1259
|
-
execute_or_queue_command(command, &block)
|
1260
|
-
end
|
1261
|
-
|
1262
|
-
# Tests IAM permissions for a resource (namespace, service or service workload
|
1263
|
-
# only).
|
1264
|
-
# @param [String] resource
|
1265
|
-
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1266
|
-
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1267
|
-
# appropriate value for this field.
|
1268
|
-
# @param [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1269
|
-
# @param [String] fields
|
1270
|
-
# Selector specifying which fields to include in a partial response.
|
1271
|
-
# @param [String] quota_user
|
1272
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1273
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1274
|
-
# @param [Google::Apis::RequestOptions] options
|
1275
|
-
# Request-specific options
|
1276
|
-
#
|
1277
|
-
# @yield [result, err] Result & error if block supplied
|
1278
|
-
# @yieldparam result [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse] parsed result object
|
1279
|
-
# @yieldparam err [StandardError] error object if request failed
|
1280
|
-
#
|
1281
|
-
# @return [Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse]
|
1282
|
-
#
|
1283
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1284
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1285
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1286
|
-
def test_registration_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1287
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
1288
|
-
command.request_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsRequest::Representation
|
1289
|
-
command.request_object = test_iam_permissions_request_object
|
1290
|
-
command.response_representation = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse::Representation
|
1291
|
-
command.response_class = Google::Apis::ServicedirectoryV1beta1::TestIamPermissionsResponse
|
1292
|
-
command.params['resource'] = resource unless resource.nil?
|
1293
|
-
command.query['fields'] = fields unless fields.nil?
|
1294
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1295
|
-
execute_or_queue_command(command, &block)
|
1296
|
-
end
|
1297
1085
|
|
1298
1086
|
protected
|
1299
1087
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-servicedirectory_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.33.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: 2023-
|
11
|
+
date: 2023-07-23 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-servicedirectory_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1beta1/v0.33.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|