google-apis-cloudresourcemanager_v2beta1 0.13.0 → 0.17.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: d1d2f769b154ff5c36c01c64ae7e2bd24990eecafc633be6801eca6bca17bbd6
4
- data.tar.gz: ece3def83e181520480a23ab2c540306630b935cfee09b9a385fc5d20eea7343
3
+ metadata.gz: 4b6062be3dd483ca250f20e7284c47eb625801c421ba0892ccdb3227f96d6536
4
+ data.tar.gz: 6c4b31d6cdfbc56a06269f7f17630e94c2faea3cc4f246af994574ccfdb8ebc6
5
5
  SHA512:
6
- metadata.gz: 33233ef385788bedb3a1f34d7d76ef95cac67569555f625250c512bb41aee732c71cfc5aadd16e50b724abb87abb8eaed284ca6b324e44db762802b284e093c3
7
- data.tar.gz: 6eac18a80047f316127bda7585f13225c5428bf87f95c91ac7eaa295bddd99d4e17074eefb8105fbd3c846596c70a5ac6cb4dd8e2c6494a6503890ab5c090d13
6
+ metadata.gz: 0d66dea2e3236d37c0733201887794e1cbb37da29841a47c198f512a32d65e9df926203b52e785b42d2ccd90501faa619b77e11f2939776e25b8543438cc2dc9
7
+ data.tar.gz: 89170e2399dffba5ef745939a61f16d31def00fabc5c7ad29a64dd83d5c8d008d7cce6da83c053f5059a5339b7cd4a18fa4b60763901f04daa56098b66aa2161
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudresourcemanager_v2beta1
2
2
 
3
+ ### v0.17.0 (2021-12-16)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.16.0 (2021-11-09)
8
+
9
+ * Regenerated from discovery document revision 20211107
10
+
11
+ ### v0.15.0 (2021-10-20)
12
+
13
+ * Regenerated from discovery document revision 20211017
14
+
15
+ ### v0.14.0 (2021-10-05)
16
+
17
+ * Regenerated from discovery document revision 20211003
18
+
3
19
  ### v0.13.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210830
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/cloudresourcemanager_v2beta1"
51
51
  client = Google::Apis::CloudresourcemanagerV2beta1::CloudResourceManagerService.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 Cloudresourcemanager service in particular.)
67
67
 
@@ -93,7 +93,7 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # Associates `members` with a `role`.
96
+ # Associates `members`, or principals, with a `role`.
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::CloudresourcemanagerV2beta1::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +146,8 @@ module Google
146
146
  # @return [Array<String>]
147
147
  attr_accessor :members
148
148
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
149
+ # Role that is assigned to the list of `members`, or principals. For example, `
150
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
151
  # Corresponds to the JSON property `role`
152
152
  # @return [String]
153
153
  attr_accessor :role
@@ -611,13 +611,16 @@ module Google
611
611
  class GetPolicyOptions
612
612
  include Google::Apis::Core::Hashable
613
613
 
614
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
615
- # 3. Requests specifying an invalid value will be rejected. Requests for
616
- # policies with any conditional bindings must specify version 3. Policies
617
- # without any conditional bindings may specify any valid value or leave the
618
- # field unset. To learn which resources support conditions in their IAM policies,
619
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
620
- # resource-policies).
614
+ # Optional. The maximum policy version that will be used to format the policy.
615
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
616
+ # rejected. Requests for policies with any conditional role bindings must
617
+ # specify version 3. Policies with no conditional role bindings may specify any
618
+ # valid value or leave the field unset. The policy in the response might use the
619
+ # policy version that you specified, or it might use a lower policy version. For
620
+ # example, if you specify version 3, but the policy has no conditional role
621
+ # bindings, the response uses version 1. To learn which resources support
622
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
623
+ # google.com/iam/help/conditions/resource-policies).
621
624
  # Corresponds to the JSON property `requestedPolicyVersion`
622
625
  # @return [Fixnum]
623
626
  attr_accessor :requested_policy_version
@@ -789,31 +792,31 @@ module Google
789
792
 
790
793
  # An Identity and Access Management (IAM) policy, which specifies access
791
794
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
792
- # A `binding` binds one or more `members` to a single `role`. Members can be
793
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
794
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
795
- # role or a user-created custom role. For some types of Google Cloud resources,
796
- # a `binding` can also specify a `condition`, which is a logical expression that
797
- # allows access to a resource only if the expression evaluates to `true`. A
798
- # condition can add constraints based on attributes of the request, the resource,
799
- # or both. To learn which resources support conditions in their IAM policies,
800
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
801
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
802
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
803
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
804
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
805
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
806
- # title": "expirable access", "description": "Does not grant access after Sep
807
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
808
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
809
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
810
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
811
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
812
- # roles/resourcemanager.organizationViewer condition: title: expirable access
813
- # description: Does not grant access after Sep 2020 expression: request.time <
814
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
815
- # description of IAM and its features, see the [IAM documentation](https://cloud.
816
- # google.com/iam/docs/).
795
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
796
+ # Principals can be user accounts, service accounts, Google groups, and domains (
797
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
798
+ # an IAM predefined role or a user-created custom role. For some types of Google
799
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
800
+ # logical expression that allows access to a resource only if the expression
801
+ # evaluates to `true`. A condition can add constraints based on attributes of
802
+ # the request, the resource, or both. To learn which resources support
803
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
804
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
805
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
806
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
807
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
808
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
809
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
810
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
811
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
812
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
813
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
814
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
815
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
816
+ # access description: Does not grant access after Sep 2020 expression: request.
817
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
818
+ # a description of IAM and its features, see the [IAM documentation](https://
819
+ # cloud.google.com/iam/docs/).
817
820
  class Policy
818
821
  include Google::Apis::Core::Hashable
819
822
 
@@ -822,9 +825,14 @@ module Google
822
825
  # @return [Array<Google::Apis::CloudresourcemanagerV2beta1::AuditConfig>]
823
826
  attr_accessor :audit_configs
824
827
 
825
- # Associates a list of `members` to a `role`. Optionally, may specify a `
826
- # condition` that determines how and when the `bindings` are applied. Each of
827
- # the `bindings` must contain at least one member.
828
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
829
+ # specify a `condition` that determines how and when the `bindings` are applied.
830
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
831
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
832
+ # can be Google groups. Each occurrence of a principal counts towards these
833
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
834
+ # example.com`, and not to any other principal, then you can add another 1,450
835
+ # principals to the `bindings` in the `Policy`.
828
836
  # Corresponds to the JSON property `bindings`
829
837
  # @return [Array<Google::Apis::CloudresourcemanagerV2beta1::Binding>]
830
838
  attr_accessor :bindings
@@ -992,31 +1000,31 @@ module Google
992
1000
 
993
1001
  # An Identity and Access Management (IAM) policy, which specifies access
994
1002
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
995
- # A `binding` binds one or more `members` to a single `role`. Members can be
996
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
997
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
998
- # role or a user-created custom role. For some types of Google Cloud resources,
999
- # a `binding` can also specify a `condition`, which is a logical expression that
1000
- # allows access to a resource only if the expression evaluates to `true`. A
1001
- # condition can add constraints based on attributes of the request, the resource,
1002
- # or both. To learn which resources support conditions in their IAM policies,
1003
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1004
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1005
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1006
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1007
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1008
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1009
- # title": "expirable access", "description": "Does not grant access after Sep
1010
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1011
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1012
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1013
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1014
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1015
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1016
- # description: Does not grant access after Sep 2020 expression: request.time <
1017
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1018
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1019
- # google.com/iam/docs/).
1003
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1004
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1005
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1006
+ # an IAM predefined role or a user-created custom role. For some types of Google
1007
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1008
+ # logical expression that allows access to a resource only if the expression
1009
+ # evaluates to `true`. A condition can add constraints based on attributes of
1010
+ # the request, the resource, or both. To learn which resources support
1011
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1012
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1013
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1014
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1015
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1016
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1017
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1018
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1019
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1020
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1021
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1022
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1023
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1024
+ # access description: Does not grant access after Sep 2020 expression: request.
1025
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1026
+ # a description of IAM and its features, see the [IAM documentation](https://
1027
+ # cloud.google.com/iam/docs/).
1020
1028
  # Corresponds to the JSON property `policy`
1021
1029
  # @return [Google::Apis::CloudresourcemanagerV2beta1::Policy]
1022
1030
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudresourcemanagerV2beta1
18
18
  # Version of the google-apis-cloudresourcemanager_v2beta1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.17.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 = "20210830"
25
+ REVISION = "20211107"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudresourcemanager_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.17.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-09-06 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-cloudresourcemanager_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2beta1/v0.13.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudresourcemanager_v2beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v2beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudresourcemanager_v2beta1/v0.17.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudresourcemanager_v2beta1
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 Cloud Resource Manager API V2beta1