google-apis-cloudasset_v1p1beta1 0.11.0 → 0.12.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: c2eb8ff91298dd648b8ea2b484c5408978c50c9c8c53a26bdc0ae4a3b34fb8cc
4
- data.tar.gz: c16cbe13289f5dfa133d201a4f7101d1c8ffe2c1378883f5eec6c6b21f8dd33a
3
+ metadata.gz: e90feff57e9daf3af77bcedb8f6b4c760797da007ea4688aed65862a456eeb62
4
+ data.tar.gz: 1b53fd5b60b837ffa08e117c90f4f0fc9557532d39771b5df71156e5c2aabe10
5
5
  SHA512:
6
- metadata.gz: 7453d14a56f3fc60ffabe18cc70d6049126081906274492cfffceaf1f6790821db52605f5f6b4f91087d13ad6d7ad1a361e5f3862fad1125c870180e44313336
7
- data.tar.gz: 9e61ce94fee0444a440b714ee4ad25aad89310a6a2b2b72bbade74a7cbf0f73f416eedaa8a8c2e854311c6cd9f919b733d34689c3f5487d1efc1ae4562cc9a66
6
+ metadata.gz: b63d22fa651c5b1e3fd9d16028ff4218353128b0b7a500525ab788648dbd38b3736be1ffd158dbc55ec8798d0bb144a919854ae66fe369c27b998626560737b3
7
+ data.tar.gz: 409b3b0a4752c669a49e6720391f442476f7ec7721459ec1fec0fa25719bf1ae87c36199d6e5d6127476cc0957a0e3c565164ebaa014f809bc8f2a7b07390583
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudasset_v1p1beta1
2
2
 
3
+ ### v0.12.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
3
7
  ### v0.11.0 (2021-09-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20210813
data/OVERVIEW.md CHANGED
@@ -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 Cloudasset service in particular.)
67
67
 
@@ -126,7 +126,7 @@ module Google
126
126
  end
127
127
  end
128
128
 
129
- # Associates `members` with a `role`.
129
+ # Associates `members`, or principals, with a `role`.
130
130
  class Binding
131
131
  include Google::Apis::Core::Hashable
132
132
 
@@ -149,7 +149,7 @@ module Google
149
149
  # @return [Google::Apis::CloudassetV1p1beta1::Expr]
150
150
  attr_accessor :condition
151
151
 
152
- # Specifies the identities requesting access for a Cloud Platform resource. `
152
+ # Specifies the principals requesting access for a Cloud Platform resource. `
153
153
  # members` can have the following values: * `allUsers`: A special identifier
154
154
  # that represents anyone who is on the internet; with or without a Google
155
155
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -179,8 +179,8 @@ module Google
179
179
  # @return [Array<String>]
180
180
  attr_accessor :members
181
181
 
182
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
183
- # , or `roles/owner`.
182
+ # Role that is assigned to the list of `members`, or principals. For example, `
183
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
184
184
  # Corresponds to the JSON property `role`
185
185
  # @return [String]
186
186
  attr_accessor :role
@@ -318,31 +318,31 @@ module Google
318
318
 
319
319
  # An Identity and Access Management (IAM) policy, which specifies access
320
320
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
321
- # A `binding` binds one or more `members` to a single `role`. Members can be
322
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
323
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
324
- # role or a user-created custom role. For some types of Google Cloud resources,
325
- # a `binding` can also specify a `condition`, which is a logical expression that
326
- # allows access to a resource only if the expression evaluates to `true`. A
327
- # condition can add constraints based on attributes of the request, the resource,
328
- # or both. To learn which resources support conditions in their IAM policies,
329
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
330
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
331
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
332
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
333
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
334
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
335
- # title": "expirable access", "description": "Does not grant access after Sep
336
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
337
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
338
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
339
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
340
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
341
- # roles/resourcemanager.organizationViewer condition: title: expirable access
342
- # description: Does not grant access after Sep 2020 expression: request.time <
343
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
344
- # description of IAM and its features, see the [IAM documentation](https://cloud.
345
- # google.com/iam/docs/).
321
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
322
+ # Principals can be user accounts, service accounts, Google groups, and domains (
323
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
324
+ # an IAM predefined role or a user-created custom role. For some types of Google
325
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
326
+ # logical expression that allows access to a resource only if the expression
327
+ # evaluates to `true`. A condition can add constraints based on attributes of
328
+ # the request, the resource, or both. To learn which resources support
329
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
330
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
331
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
332
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
333
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
334
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
335
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
336
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
337
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
338
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
339
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
340
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
341
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
342
+ # access description: Does not grant access after Sep 2020 expression: request.
343
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
344
+ # a description of IAM and its features, see the [IAM documentation](https://
345
+ # cloud.google.com/iam/docs/).
346
346
  # Corresponds to the JSON property `iamPolicy`
347
347
  # @return [Google::Apis::CloudassetV1p1beta1::Policy]
348
348
  attr_accessor :iam_policy
@@ -1709,31 +1709,31 @@ module Google
1709
1709
 
1710
1710
  # An Identity and Access Management (IAM) policy, which specifies access
1711
1711
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1712
- # A `binding` binds one or more `members` to a single `role`. Members can be
1713
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1714
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1715
- # role or a user-created custom role. For some types of Google Cloud resources,
1716
- # a `binding` can also specify a `condition`, which is a logical expression that
1717
- # allows access to a resource only if the expression evaluates to `true`. A
1718
- # condition can add constraints based on attributes of the request, the resource,
1719
- # or both. To learn which resources support conditions in their IAM policies,
1720
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1721
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1722
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1723
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1724
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1725
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1726
- # title": "expirable access", "description": "Does not grant access after Sep
1727
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1728
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1729
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1730
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1731
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1732
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1733
- # description: Does not grant access after Sep 2020 expression: request.time <
1734
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1735
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1736
- # google.com/iam/docs/).
1712
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1713
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1714
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1715
+ # an IAM predefined role or a user-created custom role. For some types of Google
1716
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1717
+ # logical expression that allows access to a resource only if the expression
1718
+ # evaluates to `true`. A condition can add constraints based on attributes of
1719
+ # the request, the resource, or both. To learn which resources support
1720
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1721
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1722
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1723
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1724
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1725
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1726
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1727
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1728
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1729
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1730
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1731
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1732
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1733
+ # access description: Does not grant access after Sep 2020 expression: request.
1734
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1735
+ # a description of IAM and its features, see the [IAM documentation](https://
1736
+ # cloud.google.com/iam/docs/).
1737
1737
  # Corresponds to the JSON property `policy`
1738
1738
  # @return [Google::Apis::CloudassetV1p1beta1::Policy]
1739
1739
  attr_accessor :policy
@@ -1787,31 +1787,31 @@ module Google
1787
1787
 
1788
1788
  # An Identity and Access Management (IAM) policy, which specifies access
1789
1789
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1790
- # A `binding` binds one or more `members` to a single `role`. Members can be
1791
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1792
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1793
- # role or a user-created custom role. For some types of Google Cloud resources,
1794
- # a `binding` can also specify a `condition`, which is a logical expression that
1795
- # allows access to a resource only if the expression evaluates to `true`. A
1796
- # condition can add constraints based on attributes of the request, the resource,
1797
- # or both. To learn which resources support conditions in their IAM policies,
1798
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1799
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1800
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1801
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1802
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1803
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1804
- # title": "expirable access", "description": "Does not grant access after Sep
1805
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1806
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1807
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1808
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1809
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1810
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1811
- # description: Does not grant access after Sep 2020 expression: request.time <
1812
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1813
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1814
- # google.com/iam/docs/).
1790
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1791
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1792
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1793
+ # an IAM predefined role or a user-created custom role. For some types of Google
1794
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1795
+ # logical expression that allows access to a resource only if the expression
1796
+ # evaluates to `true`. A condition can add constraints based on attributes of
1797
+ # the request, the resource, or both. To learn which resources support
1798
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1799
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1800
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1801
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1802
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1803
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1804
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1805
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1806
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1807
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1808
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1809
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1810
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1811
+ # access description: Does not grant access after Sep 2020 expression: request.
1812
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1813
+ # a description of IAM and its features, see the [IAM documentation](https://
1814
+ # cloud.google.com/iam/docs/).
1815
1815
  class Policy
1816
1816
  include Google::Apis::Core::Hashable
1817
1817
 
@@ -1820,9 +1820,14 @@ module Google
1820
1820
  # @return [Array<Google::Apis::CloudassetV1p1beta1::AuditConfig>]
1821
1821
  attr_accessor :audit_configs
1822
1822
 
1823
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1824
- # condition` that determines how and when the `bindings` are applied. Each of
1825
- # the `bindings` must contain at least one member.
1823
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1824
+ # specify a `condition` that determines how and when the `bindings` are applied.
1825
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1826
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1827
+ # can be Google groups. Each occurrence of a principal counts towards these
1828
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1829
+ # example.com`, and not to any other principal, then you can add another 1,450
1830
+ # principals to the `bindings` in the `Policy`.
1826
1831
  # Corresponds to the JSON property `bindings`
1827
1832
  # @return [Array<Google::Apis::CloudassetV1p1beta1::Binding>]
1828
1833
  attr_accessor :bindings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p1beta1
18
18
  # Version of the google-apis-cloudasset_v1p1beta1 gem
19
- GEM_VERSION = "0.11.0"
19
+ GEM_VERSION = "0.12.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 = "20210813"
25
+ REVISION = "20211015"
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-cloudasset_v1p1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.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: 2021-10-27 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-cloudasset_v1p1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.11.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p1beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p1beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p1beta1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: