google-apis-servicedirectory_v1 0.11.0 → 0.15.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: 31baadcc3eba667eb0daf351aba5cc87922c691e8abd00b4c289e73f60181bd6
4
- data.tar.gz: ed12b07a283065809fe581305aec11d93cdc4a0bb3f30693a56c853295d34283
3
+ metadata.gz: c6c839ff5426e4c7306d62b961416a65076019061eb9c97c90b920ba8bae5be7
4
+ data.tar.gz: 9f8f044ba4be390645d53b2732851456951e1c903989712315d2b3a46f17a8b6
5
5
  SHA512:
6
- metadata.gz: 63422888098de328f241c71758d603d13cb2512f5099254ed58b4c49891d78a158249ba3c5dbf38506e87027506cabc533a90295c28d7af2e4f4792b136f668e
7
- data.tar.gz: d67c3f32397221d2dfd84f5e440aab6017e99cec9cdb1e0e573200ce43c29dce9af617cd76ca6e618b356ecc0253754c52aa3a360f23400248bea3edc514f515
6
+ metadata.gz: e45a6042ba3b5d03954f7938c924b2c43fc681163cd6e99549b21af5f25ac99102698e1e19a8fb4f74eec62fad6ff3d005f236a58eb11c8ad534fbbf74813d8b
7
+ data.tar.gz: 3e2474fd6b8a5222501e2b87f0b744ba5b528a2f56d469435eef9bc3a221d1172e140d6ebe3c2a8fb80d3d08a433441249a5595e160dc42af782508065da20cd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-servicedirectory_v1
2
2
 
3
+ ### v0.15.0 (2021-12-16)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.14.0 (2021-11-14)
8
+
9
+ * Regenerated from discovery document revision 20211103
10
+
11
+ ### v0.13.0 (2021-10-26)
12
+
13
+ * Regenerated from discovery document revision 20211015
14
+ * Unspecified changes
15
+
16
+ ### v0.12.0 (2021-08-22)
17
+
18
+ * Regenerated from discovery document revision 20210811
19
+
3
20
  ### v0.11.0 (2021-07-25)
4
21
 
5
22
  * Regenerated from discovery document revision 20210716
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/servicedirectory_v1"
51
51
  client = Google::Apis::ServicedirectoryV1::ServiceDirectoryService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Servicedirectory service in particular.)
67
67
 
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module ServicedirectoryV1
24
24
 
25
- # Associates `members` with a `role`.
25
+ # Associates `members`, or principals, with a `role`.
26
26
  class Binding
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -45,7 +45,7 @@ module Google
45
45
  # @return [Google::Apis::ServicedirectoryV1::Expr]
46
46
  attr_accessor :condition
47
47
 
48
- # Specifies the identities requesting access for a Cloud Platform resource. `
48
+ # Specifies the principals requesting access for a Cloud Platform resource. `
49
49
  # members` can have the following values: * `allUsers`: A special identifier
50
50
  # that represents anyone who is on the internet; with or without a Google
51
51
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -75,8 +75,8 @@ module Google
75
75
  # @return [Array<String>]
76
76
  attr_accessor :members
77
77
 
78
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
79
- # , or `roles/owner`.
78
+ # Role that is assigned to the list of `members`, or principals. For example, `
79
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
80
80
  # Corresponds to the JSON property `role`
81
81
  # @return [String]
82
82
  attr_accessor :role
@@ -240,13 +240,16 @@ module Google
240
240
  class GetPolicyOptions
241
241
  include Google::Apis::Core::Hashable
242
242
 
243
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
244
- # 3. Requests specifying an invalid value will be rejected. Requests for
245
- # policies with any conditional bindings must specify version 3. Policies
246
- # without any conditional bindings may specify any valid value or leave the
247
- # field unset. To learn which resources support conditions in their IAM policies,
248
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
249
- # resource-policies).
243
+ # Optional. The maximum policy version that will be used to format the policy.
244
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
245
+ # rejected. Requests for policies with any conditional role bindings must
246
+ # specify version 3. Policies with no conditional role bindings may specify any
247
+ # valid value or leave the field unset. The policy in the response might use the
248
+ # policy version that you specified, or it might use a lower policy version. For
249
+ # example, if you specify version 3, but the policy has no conditional role
250
+ # bindings, the response uses version 1. To learn which resources support
251
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
252
+ # google.com/iam/help/conditions/resource-policies).
250
253
  # Corresponds to the JSON property `requestedPolicyVersion`
251
254
  # @return [Fixnum]
252
255
  attr_accessor :requested_policy_version
@@ -442,37 +445,42 @@ module Google
442
445
 
443
446
  # An Identity and Access Management (IAM) policy, which specifies access
444
447
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
445
- # A `binding` binds one or more `members` to a single `role`. Members can be
446
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
447
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
448
- # role or a user-created custom role. For some types of Google Cloud resources,
449
- # a `binding` can also specify a `condition`, which is a logical expression that
450
- # allows access to a resource only if the expression evaluates to `true`. A
451
- # condition can add constraints based on attributes of the request, the resource,
452
- # or both. To learn which resources support conditions in their IAM policies,
453
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
454
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
455
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
456
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
457
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
458
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
459
- # title": "expirable access", "description": "Does not grant access after Sep
460
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
461
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
462
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
463
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
464
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
465
- # roles/resourcemanager.organizationViewer condition: title: expirable access
466
- # description: Does not grant access after Sep 2020 expression: request.time <
467
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
468
- # description of IAM and its features, see the [IAM documentation](https://cloud.
469
- # google.com/iam/docs/).
448
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
449
+ # Principals can be user accounts, service accounts, Google groups, and domains (
450
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
451
+ # an IAM predefined role or a user-created custom role. For some types of Google
452
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
453
+ # logical expression that allows access to a resource only if the expression
454
+ # evaluates to `true`. A condition can add constraints based on attributes of
455
+ # the request, the resource, or both. To learn which resources support
456
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
457
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
458
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
459
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
460
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
461
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
462
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
463
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
464
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
465
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
466
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
467
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
468
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
469
+ # access description: Does not grant access after Sep 2020 expression: request.
470
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
471
+ # a description of IAM and its features, see the [IAM documentation](https://
472
+ # cloud.google.com/iam/docs/).
470
473
  class Policy
471
474
  include Google::Apis::Core::Hashable
472
475
 
473
- # Associates a list of `members` to a `role`. Optionally, may specify a `
474
- # condition` that determines how and when the `bindings` are applied. Each of
475
- # the `bindings` must contain at least one member.
476
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
477
+ # specify a `condition` that determines how and when the `bindings` are applied.
478
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
479
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
480
+ # can be Google groups. Each occurrence of a principal counts towards these
481
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
482
+ # example.com`, and not to any other principal, then you can add another 1,450
483
+ # principals to the `bindings` in the `Policy`.
476
484
  # Corresponds to the JSON property `bindings`
477
485
  # @return [Array<Google::Apis::ServicedirectoryV1::Binding>]
478
486
  attr_accessor :bindings
@@ -643,31 +651,31 @@ module Google
643
651
 
644
652
  # An Identity and Access Management (IAM) policy, which specifies access
645
653
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
646
- # A `binding` binds one or more `members` to a single `role`. Members can be
647
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
648
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
649
- # role or a user-created custom role. For some types of Google Cloud resources,
650
- # a `binding` can also specify a `condition`, which is a logical expression that
651
- # allows access to a resource only if the expression evaluates to `true`. A
652
- # condition can add constraints based on attributes of the request, the resource,
653
- # or both. To learn which resources support conditions in their IAM policies,
654
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
655
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
656
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
657
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
658
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
659
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
660
- # title": "expirable access", "description": "Does not grant access after Sep
661
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
662
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
663
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
664
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
665
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
666
- # roles/resourcemanager.organizationViewer condition: title: expirable access
667
- # description: Does not grant access after Sep 2020 expression: request.time <
668
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
669
- # description of IAM and its features, see the [IAM documentation](https://cloud.
670
- # google.com/iam/docs/).
654
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
655
+ # Principals can be user accounts, service accounts, Google groups, and domains (
656
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
657
+ # an IAM predefined role or a user-created custom role. For some types of Google
658
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
659
+ # logical expression that allows access to a resource only if the expression
660
+ # evaluates to `true`. A condition can add constraints based on attributes of
661
+ # the request, the resource, or both. To learn which resources support
662
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
663
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
664
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
665
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
666
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
667
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
668
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
669
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
670
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
671
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
672
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
673
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
674
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
675
+ # access description: Does not grant access after Sep 2020 expression: request.
676
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
677
+ # a description of IAM and its features, see the [IAM documentation](https://
678
+ # cloud.google.com/iam/docs/).
671
679
  # Corresponds to the JSON property `policy`
672
680
  # @return [Google::Apis::ServicedirectoryV1::Policy]
673
681
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ServicedirectoryV1
18
18
  # Version of the google-apis-servicedirectory_v1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210716"
25
+ REVISION = "20211103"
26
26
  end
27
27
  end
28
28
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
  end
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-servicedirectory_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.15.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: 2021-07-26 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-servicedirectory_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-servicedirectory_v1/v0.15.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-servicedirectory_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths:
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Service Directory API V1