google-apis-servicedirectory_v1beta1 0.32.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
@@ -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.
|
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: []
|