google-apis-servicedirectory_v1beta1 0.32.0 → 0.34.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: a3f00d50a8333af0782dfebc8d83d02588a818b39f80711d6eeb9a6314fa3a37
|
4
|
+
data.tar.gz: 0765077bffc4d21cd2012a7ac204580c29227d3eedec9052d16edf9554263e03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8496330227ae3ab2bb6512ab842037241fd09662569b05196bf49afc2f239007edb3be798d25f028a9c70c7ec9cca3c859beb6bfcb39355fbaea80470554e7af
|
7
|
+
data.tar.gz: 7283985b4781b72be98bdabe1623cb17d6be369833ab1a9a948eb1c33e55d649229d37c8e18343563154ab9378e5f37697ddfc1f1fdee734ea592dd0e4943ba7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-servicedirectory_v1beta1
|
2
2
|
|
3
|
+
### v0.34.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230806
|
6
|
+
|
7
|
+
### v0.33.0 (2023-07-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230716
|
10
|
+
|
3
11
|
### v0.32.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230618
|
@@ -504,22 +504,22 @@ module Google
|
|
504
504
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
505
505
|
# the request, the resource, or both. To learn which resources support
|
506
506
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
507
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
507
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
508
508
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
509
509
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
510
510
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
511
511
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
512
512
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
513
513
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
514
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
515
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
516
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
517
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
518
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
519
|
-
# access description: Does not grant access after Sep 2020
|
520
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
521
|
-
# a description of IAM and its features, see the
|
522
|
-
# cloud.google.com/iam/docs/).
|
514
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
515
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
516
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
517
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
518
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
519
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
520
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
521
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
522
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
523
523
|
class Policy
|
524
524
|
include Google::Apis::Core::Hashable
|
525
525
|
|
@@ -732,22 +732,22 @@ module Google
|
|
732
732
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
733
733
|
# the request, the resource, or both. To learn which resources support
|
734
734
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
735
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
735
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
736
736
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
737
737
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
738
738
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
739
739
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
740
740
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
741
741
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
742
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
743
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
744
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
745
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
746
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
747
|
-
# access description: Does not grant access after Sep 2020
|
748
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
749
|
-
# a description of IAM and its features, see the
|
750
|
-
# cloud.google.com/iam/docs/).
|
742
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
743
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
744
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
745
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
746
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
747
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
748
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
749
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
750
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
751
751
|
# Corresponds to the JSON property `policy`
|
752
752
|
# @return [Google::Apis::ServicedirectoryV1beta1::Policy]
|
753
753
|
attr_accessor :policy
|
@@ -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.34.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 = "20230806"
|
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.34.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-08-13 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.34.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: []
|