google-apis-servicedirectory_v1beta1 0.21.0 → 0.22.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: a1dffa451a1a7ae40015044f3ff96c3308833a4fb314fb44dcfffd610d423f15
|
4
|
+
data.tar.gz: 0cb4c2e7132a214c3114986ffaed85ea577bae42170f9efe8d88a2cc3b5dc5e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4565ae30368f0d967038e021a0c1ba1b7c42111f9868dbd3b35f5a2cec73fb336d3558acad012ea683bdaa48047db834c5b75cae0bca0ba77a90bcbb9c749ae8
|
7
|
+
data.tar.gz: 8e644de60ad70a15120dbe3ee478597efb368fc532ae8e667550bfe428295cd460230f2d17c7819799b15f69506918b63be83816cbecccb8b6c85a255e4c1fc7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.22.0 (2022-07-03)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220622
|
6
|
+
* Regenerated using generator version 0.8.0
|
7
|
+
|
3
8
|
### v0.21.0 (2022-06-25)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20220612
|
@@ -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.22.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220622"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -396,7 +396,8 @@ module Google
|
|
396
396
|
execute_or_queue_command(command, &block)
|
397
397
|
end
|
398
398
|
|
399
|
-
# Tests IAM permissions for a resource (namespace or service
|
399
|
+
# Tests IAM permissions for a resource (namespace, service or service workload
|
400
|
+
# only).
|
400
401
|
# @param [String] resource
|
401
402
|
# REQUIRED: The resource for which the policy detail is being requested. See [
|
402
403
|
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
@@ -431,6 +432,112 @@ module Google
|
|
431
432
|
execute_or_queue_command(command, &block)
|
432
433
|
end
|
433
434
|
|
435
|
+
# Gets the IAM Policy for a resource (namespace or service only).
|
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 (namespace or service only).
|
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
|
+
|
434
541
|
# Creates a service, and returns the new service.
|
435
542
|
# @param [String] parent
|
436
543
|
# Required. The resource name of the namespace this service will belong to.
|
@@ -735,7 +842,8 @@ module Google
|
|
735
842
|
execute_or_queue_command(command, &block)
|
736
843
|
end
|
737
844
|
|
738
|
-
# Tests IAM permissions for a resource (namespace or service
|
845
|
+
# Tests IAM permissions for a resource (namespace, service or service workload
|
846
|
+
# only).
|
739
847
|
# @param [String] resource
|
740
848
|
# REQUIRED: The resource for which the policy detail is being requested. See [
|
741
849
|
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
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.22.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: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-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.22.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: []
|