google-apis-cloudasset_v1p7beta1 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudasset_v1p7beta1/classes.rb +62 -57
- data/lib/google/apis/cloudasset_v1p7beta1/gem_version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3548ee055c607c941c970f0ddff58ada79a0b618304d69ef271ce3c21695c59
|
4
|
+
data.tar.gz: 7df34d44d6591d647d1b953495c7c699e82be0da4a9388770a9cc152e814aa60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c1830fdc3583367bfa8d23ba19dc764379c310737b4af947a0c70324895f836215c859e439cb70a0b6cb48dbcb58d44fce9878b09a80c308a6a6cf6bf468776
|
7
|
+
data.tar.gz: ae575ba008bd1da09c2f80562f9b79b0b0bc332dbe048a5d48bae0c40db31da87e6596875b30c6caf63da718dc34f781a2397b09c16f722d4c86042f55a958c5
|
data/CHANGELOG.md
CHANGED
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
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::CloudassetV1p7beta1::Expr]
|
150
150
|
attr_accessor :condition
|
151
151
|
|
152
|
-
# Specifies the
|
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
|
183
|
-
#
|
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
|
@@ -295,31 +295,31 @@ module Google
|
|
295
295
|
|
296
296
|
# An Identity and Access Management (IAM) policy, which specifies access
|
297
297
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
298
|
-
# A `binding` binds one or more `members
|
299
|
-
# user accounts, service accounts, Google groups, and domains (
|
300
|
-
# A `role` is a named list of permissions; each `role` can be
|
301
|
-
# role or a user-created custom role. For some types of Google
|
302
|
-
# a `binding` can also specify a `condition`, which is a
|
303
|
-
# allows access to a resource only if the expression
|
304
|
-
# condition can add constraints based on attributes of
|
305
|
-
# or both. To learn which resources support
|
306
|
-
# see the [IAM documentation](https://cloud.
|
307
|
-
# resource-policies). **JSON example:** ` "
|
308
|
-
# resourcemanager.organizationAdmin", "members": [
|
309
|
-
# group:admins@example.com", "domain:google.com", "
|
310
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
311
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
312
|
-
# title": "expirable access", "description": "Does not grant
|
313
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
314
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
315
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
316
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
317
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
318
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
319
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
320
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
321
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
322
|
-
# google.com/iam/docs/).
|
298
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
299
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
300
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
301
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
302
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
303
|
+
# logical expression that allows access to a resource only if the expression
|
304
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
305
|
+
# the request, the resource, or both. To learn which resources support
|
306
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
307
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
308
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
309
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
310
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
311
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
312
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
313
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
314
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
315
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
316
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
317
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
318
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
319
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
320
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
321
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
322
|
+
# cloud.google.com/iam/docs/).
|
323
323
|
# Corresponds to the JSON property `iamPolicy`
|
324
324
|
# @return [Google::Apis::CloudassetV1p7beta1::Policy]
|
325
325
|
attr_accessor :iam_policy
|
@@ -1955,31 +1955,31 @@ module Google
|
|
1955
1955
|
|
1956
1956
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1957
1957
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1958
|
-
# A `binding` binds one or more `members
|
1959
|
-
# user accounts, service accounts, Google groups, and domains (
|
1960
|
-
# A `role` is a named list of permissions; each `role` can be
|
1961
|
-
# role or a user-created custom role. For some types of Google
|
1962
|
-
# a `binding` can also specify a `condition`, which is a
|
1963
|
-
# allows access to a resource only if the expression
|
1964
|
-
# condition can add constraints based on attributes of
|
1965
|
-
# or both. To learn which resources support
|
1966
|
-
# see the [IAM documentation](https://cloud.
|
1967
|
-
# resource-policies). **JSON example:** ` "
|
1968
|
-
# resourcemanager.organizationAdmin", "members": [
|
1969
|
-
# group:admins@example.com", "domain:google.com", "
|
1970
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1971
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1972
|
-
# title": "expirable access", "description": "Does not grant
|
1973
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1974
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1975
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1976
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1977
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1978
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1979
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1980
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1981
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1982
|
-
# google.com/iam/docs/).
|
1958
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1959
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1960
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1961
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1962
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1963
|
+
# logical expression that allows access to a resource only if the expression
|
1964
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1965
|
+
# the request, the resource, or both. To learn which resources support
|
1966
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1967
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1968
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1969
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1970
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1971
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1972
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1973
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1974
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1975
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1976
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1977
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1978
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1979
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1980
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1981
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1982
|
+
# cloud.google.com/iam/docs/).
|
1983
1983
|
class Policy
|
1984
1984
|
include Google::Apis::Core::Hashable
|
1985
1985
|
|
@@ -1988,9 +1988,14 @@ module Google
|
|
1988
1988
|
# @return [Array<Google::Apis::CloudassetV1p7beta1::AuditConfig>]
|
1989
1989
|
attr_accessor :audit_configs
|
1990
1990
|
|
1991
|
-
# Associates a list of `members
|
1992
|
-
# condition` that determines how and when the `bindings` are applied.
|
1993
|
-
# the `bindings` must contain at least one
|
1991
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1992
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1993
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1994
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1995
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1996
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1997
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1998
|
+
# principals to the `bindings` in the `Policy`.
|
1994
1999
|
# Corresponds to the JSON property `bindings`
|
1995
2000
|
# @return [Array<Google::Apis::CloudassetV1p7beta1::Binding>]
|
1996
2001
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1p7beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1p7beta1 gem
|
19
|
-
GEM_VERSION = "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 = "
|
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_v1p7beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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-
|
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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
60
|
+
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|