google-apis-cloudasset_v1beta1 0.10.0 → 0.11.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_v1beta1/classes.rb +87 -82
- data/lib/google/apis/cloudasset_v1beta1/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: 00dd474da4b3a7c0efe2b96bcea74d01b772c3f5c6ed87905244fac7b593348a
|
4
|
+
data.tar.gz: 2ef4a4497ab1b9cb2b5a43889b105815186469e4fa93f01d4e69fb4a326dbb2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cb20deccb218cce15f5ecafb635a215d01ddc4058c42f462fc37adf57b2e7c05848f883c70c24830a63dfc0ee3d2f78f13d4eb784521353bbd237e817d2202
|
7
|
+
data.tar.gz: 4023c6cb5e17682cab24d82ee86613f9d67cc8dc48beb641309f1825c8e5f6fb2ce2cbe5e37fb94e52bc51081c18a0360f967d2b816cdc516fd795e27b636121
|
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
|
|
@@ -89,31 +89,31 @@ module Google
|
|
89
89
|
|
90
90
|
# An Identity and Access Management (IAM) policy, which specifies access
|
91
91
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
92
|
-
# A `binding` binds one or more `members
|
93
|
-
# user accounts, service accounts, Google groups, and domains (
|
94
|
-
# A `role` is a named list of permissions; each `role` can be
|
95
|
-
# role or a user-created custom role. For some types of Google
|
96
|
-
# a `binding` can also specify a `condition`, which is a
|
97
|
-
# allows access to a resource only if the expression
|
98
|
-
# condition can add constraints based on attributes of
|
99
|
-
# or both. To learn which resources support
|
100
|
-
# see the [IAM documentation](https://cloud.
|
101
|
-
# resource-policies). **JSON example:** ` "
|
102
|
-
# resourcemanager.organizationAdmin", "members": [
|
103
|
-
# group:admins@example.com", "domain:google.com", "
|
104
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
105
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
106
|
-
# title": "expirable access", "description": "Does not grant
|
107
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
108
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
109
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
110
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
111
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
112
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
113
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
114
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
115
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
116
|
-
# google.com/iam/docs/).
|
92
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
93
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
94
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
95
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
96
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
97
|
+
# logical expression that allows access to a resource only if the expression
|
98
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
99
|
+
# the request, the resource, or both. To learn which resources support
|
100
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
101
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
102
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
103
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
104
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
105
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
106
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
107
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
108
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
109
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
110
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
111
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
112
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
113
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
114
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
115
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
116
|
+
# cloud.google.com/iam/docs/).
|
117
117
|
# Corresponds to the JSON property `iamPolicy`
|
118
118
|
# @return [Google::Apis::CloudassetV1beta1::Policy]
|
119
119
|
attr_accessor :iam_policy
|
@@ -259,7 +259,7 @@ module Google
|
|
259
259
|
end
|
260
260
|
end
|
261
261
|
|
262
|
-
# Associates `members
|
262
|
+
# Associates `members`, or principals, with a `role`.
|
263
263
|
class Binding
|
264
264
|
include Google::Apis::Core::Hashable
|
265
265
|
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
# @return [Google::Apis::CloudassetV1beta1::Expr]
|
283
283
|
attr_accessor :condition
|
284
284
|
|
285
|
-
# Specifies the
|
285
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
286
286
|
# members` can have the following values: * `allUsers`: A special identifier
|
287
287
|
# that represents anyone who is on the internet; with or without a Google
|
288
288
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -312,8 +312,8 @@ module Google
|
|
312
312
|
# @return [Array<String>]
|
313
313
|
attr_accessor :members
|
314
314
|
|
315
|
-
# Role that is assigned to `members
|
316
|
-
#
|
315
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
316
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
317
317
|
# Corresponds to the JSON property `role`
|
318
318
|
# @return [String]
|
319
319
|
attr_accessor :role
|
@@ -507,31 +507,31 @@ module Google
|
|
507
507
|
|
508
508
|
# An Identity and Access Management (IAM) policy, which specifies access
|
509
509
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
510
|
-
# A `binding` binds one or more `members
|
511
|
-
# user accounts, service accounts, Google groups, and domains (
|
512
|
-
# A `role` is a named list of permissions; each `role` can be
|
513
|
-
# role or a user-created custom role. For some types of Google
|
514
|
-
# a `binding` can also specify a `condition`, which is a
|
515
|
-
# allows access to a resource only if the expression
|
516
|
-
# condition can add constraints based on attributes of
|
517
|
-
# or both. To learn which resources support
|
518
|
-
# see the [IAM documentation](https://cloud.
|
519
|
-
# resource-policies). **JSON example:** ` "
|
520
|
-
# resourcemanager.organizationAdmin", "members": [
|
521
|
-
# group:admins@example.com", "domain:google.com", "
|
522
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
523
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
524
|
-
# title": "expirable access", "description": "Does not grant
|
525
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
526
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
527
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
528
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
529
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
530
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
531
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
532
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
533
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
534
|
-
# google.com/iam/docs/).
|
510
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
511
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
512
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
513
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
514
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
515
|
+
# logical expression that allows access to a resource only if the expression
|
516
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
517
|
+
# the request, the resource, or both. To learn which resources support
|
518
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
519
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
520
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
521
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
522
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
523
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
524
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
525
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
526
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
527
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
528
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
529
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
530
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
531
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
532
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
533
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
534
|
+
# cloud.google.com/iam/docs/).
|
535
535
|
# Corresponds to the JSON property `iamPolicy`
|
536
536
|
# @return [Google::Apis::CloudassetV1beta1::Policy]
|
537
537
|
attr_accessor :iam_policy
|
@@ -1970,31 +1970,31 @@ module Google
|
|
1970
1970
|
|
1971
1971
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1972
1972
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1973
|
-
# A `binding` binds one or more `members
|
1974
|
-
# user accounts, service accounts, Google groups, and domains (
|
1975
|
-
# A `role` is a named list of permissions; each `role` can be
|
1976
|
-
# role or a user-created custom role. For some types of Google
|
1977
|
-
# a `binding` can also specify a `condition`, which is a
|
1978
|
-
# allows access to a resource only if the expression
|
1979
|
-
# condition can add constraints based on attributes of
|
1980
|
-
# or both. To learn which resources support
|
1981
|
-
# see the [IAM documentation](https://cloud.
|
1982
|
-
# resource-policies). **JSON example:** ` "
|
1983
|
-
# resourcemanager.organizationAdmin", "members": [
|
1984
|
-
# group:admins@example.com", "domain:google.com", "
|
1985
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1986
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1987
|
-
# title": "expirable access", "description": "Does not grant
|
1988
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1989
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1990
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1991
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1992
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1993
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1994
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1995
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1996
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1997
|
-
# google.com/iam/docs/).
|
1973
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1974
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1975
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1976
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1977
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1978
|
+
# logical expression that allows access to a resource only if the expression
|
1979
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1980
|
+
# the request, the resource, or both. To learn which resources support
|
1981
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1982
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1983
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1984
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1985
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1986
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1987
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1988
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1989
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1990
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1991
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1992
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1993
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1994
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1995
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1996
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1997
|
+
# cloud.google.com/iam/docs/).
|
1998
1998
|
class Policy
|
1999
1999
|
include Google::Apis::Core::Hashable
|
2000
2000
|
|
@@ -2003,9 +2003,14 @@ module Google
|
|
2003
2003
|
# @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
|
2004
2004
|
attr_accessor :audit_configs
|
2005
2005
|
|
2006
|
-
# Associates a list of `members
|
2007
|
-
# condition` that determines how and when the `bindings` are applied.
|
2008
|
-
# the `bindings` must contain at least one
|
2006
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
2007
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
2008
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
2009
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
2010
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
2011
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
2012
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
2013
|
+
# principals to the `bindings` in the `Policy`.
|
2009
2014
|
# Corresponds to the JSON property `bindings`
|
2010
2015
|
# @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
|
2011
2016
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.11.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_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.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_v1beta1/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_v1beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1beta1/v0.11.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|