google-apis-cloudasset_v1p5beta1 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_v1p5beta1/classes.rb +87 -82
- data/lib/google/apis/cloudasset_v1p5beta1/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: 0dfa8ecb98492c0a4c95ec7184332751c1e13d99c7f3a65d17067aa482f39691
|
4
|
+
data.tar.gz: 8775a597a0b49c58117fe97e41773616058cd91f92cbb0c6b6e91d395547d811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 608eb575df1d1360c8db47620f03d03c5ce8020b3aee457a3637f214422313f9698887cbdfdf00c3c7845010f758cdc61c1ec767f21c586bec1098cec42b67a8
|
7
|
+
data.tar.gz: a2152335c3a72cbeb0722b420f7021efad7bb8ae709b6ac8410a6a51a6e0a2fcb5c6863a281818fee0272af2453066537ec482a9726513e957145c16ada76b6c
|
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
|
|
@@ -99,31 +99,31 @@ module Google
|
|
99
99
|
|
100
100
|
# An Identity and Access Management (IAM) policy, which specifies access
|
101
101
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
102
|
-
# A `binding` binds one or more `members
|
103
|
-
# user accounts, service accounts, Google groups, and domains (
|
104
|
-
# A `role` is a named list of permissions; each `role` can be
|
105
|
-
# role or a user-created custom role. For some types of Google
|
106
|
-
# a `binding` can also specify a `condition`, which is a
|
107
|
-
# allows access to a resource only if the expression
|
108
|
-
# condition can add constraints based on attributes of
|
109
|
-
# or both. To learn which resources support
|
110
|
-
# see the [IAM documentation](https://cloud.
|
111
|
-
# resource-policies). **JSON example:** ` "
|
112
|
-
# resourcemanager.organizationAdmin", "members": [
|
113
|
-
# group:admins@example.com", "domain:google.com", "
|
114
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
115
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
116
|
-
# title": "expirable access", "description": "Does not grant
|
117
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
118
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
119
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
120
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
121
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
122
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
123
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
124
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
125
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
126
|
-
# google.com/iam/docs/).
|
102
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
103
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
104
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
105
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
106
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
107
|
+
# logical expression that allows access to a resource only if the expression
|
108
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
109
|
+
# the request, the resource, or both. To learn which resources support
|
110
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
111
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
112
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
113
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
114
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
115
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
116
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
117
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
118
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
119
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
120
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
121
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
122
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
123
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
124
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
125
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
126
|
+
# cloud.google.com/iam/docs/).
|
127
127
|
# Corresponds to the JSON property `iamPolicy`
|
128
128
|
# @return [Google::Apis::CloudassetV1p5beta1::Policy]
|
129
129
|
attr_accessor :iam_policy
|
@@ -251,7 +251,7 @@ module Google
|
|
251
251
|
end
|
252
252
|
end
|
253
253
|
|
254
|
-
# Associates `members
|
254
|
+
# Associates `members`, or principals, with a `role`.
|
255
255
|
class Binding
|
256
256
|
include Google::Apis::Core::Hashable
|
257
257
|
|
@@ -274,7 +274,7 @@ module Google
|
|
274
274
|
# @return [Google::Apis::CloudassetV1p5beta1::Expr]
|
275
275
|
attr_accessor :condition
|
276
276
|
|
277
|
-
# Specifies the
|
277
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
278
278
|
# members` can have the following values: * `allUsers`: A special identifier
|
279
279
|
# that represents anyone who is on the internet; with or without a Google
|
280
280
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -304,8 +304,8 @@ module Google
|
|
304
304
|
# @return [Array<String>]
|
305
305
|
attr_accessor :members
|
306
306
|
|
307
|
-
# Role that is assigned to `members
|
308
|
-
#
|
307
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
308
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
309
309
|
# Corresponds to the JSON property `role`
|
310
310
|
# @return [String]
|
311
311
|
attr_accessor :role
|
@@ -420,31 +420,31 @@ module Google
|
|
420
420
|
|
421
421
|
# An Identity and Access Management (IAM) policy, which specifies access
|
422
422
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
423
|
-
# A `binding` binds one or more `members
|
424
|
-
# user accounts, service accounts, Google groups, and domains (
|
425
|
-
# A `role` is a named list of permissions; each `role` can be
|
426
|
-
# role or a user-created custom role. For some types of Google
|
427
|
-
# a `binding` can also specify a `condition`, which is a
|
428
|
-
# allows access to a resource only if the expression
|
429
|
-
# condition can add constraints based on attributes of
|
430
|
-
# or both. To learn which resources support
|
431
|
-
# see the [IAM documentation](https://cloud.
|
432
|
-
# resource-policies). **JSON example:** ` "
|
433
|
-
# resourcemanager.organizationAdmin", "members": [
|
434
|
-
# group:admins@example.com", "domain:google.com", "
|
435
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
436
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
437
|
-
# title": "expirable access", "description": "Does not grant
|
438
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
439
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
440
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
441
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
442
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
443
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
444
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
445
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
446
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
447
|
-
# google.com/iam/docs/).
|
423
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
424
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
425
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
426
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
427
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
428
|
+
# logical expression that allows access to a resource only if the expression
|
429
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
430
|
+
# the request, the resource, or both. To learn which resources support
|
431
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
432
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
433
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
434
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
435
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
436
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
437
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
438
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
439
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
440
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
441
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
442
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
443
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
444
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
445
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
446
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
447
|
+
# cloud.google.com/iam/docs/).
|
448
448
|
# Corresponds to the JSON property `iamPolicy`
|
449
449
|
# @return [Google::Apis::CloudassetV1p5beta1::Policy]
|
450
450
|
attr_accessor :iam_policy
|
@@ -1835,31 +1835,31 @@ module Google
|
|
1835
1835
|
|
1836
1836
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1837
1837
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1838
|
-
# A `binding` binds one or more `members
|
1839
|
-
# user accounts, service accounts, Google groups, and domains (
|
1840
|
-
# A `role` is a named list of permissions; each `role` can be
|
1841
|
-
# role or a user-created custom role. For some types of Google
|
1842
|
-
# a `binding` can also specify a `condition`, which is a
|
1843
|
-
# allows access to a resource only if the expression
|
1844
|
-
# condition can add constraints based on attributes of
|
1845
|
-
# or both. To learn which resources support
|
1846
|
-
# see the [IAM documentation](https://cloud.
|
1847
|
-
# resource-policies). **JSON example:** ` "
|
1848
|
-
# resourcemanager.organizationAdmin", "members": [
|
1849
|
-
# group:admins@example.com", "domain:google.com", "
|
1850
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1851
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1852
|
-
# title": "expirable access", "description": "Does not grant
|
1853
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1854
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1855
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1856
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1857
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1858
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1859
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1860
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1861
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1862
|
-
# google.com/iam/docs/).
|
1838
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1839
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1840
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1841
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1842
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1843
|
+
# logical expression that allows access to a resource only if the expression
|
1844
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1845
|
+
# the request, the resource, or both. To learn which resources support
|
1846
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1847
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1848
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1849
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1850
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1851
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1852
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1853
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1854
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1855
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1856
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1857
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1858
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1859
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1860
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1861
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1862
|
+
# cloud.google.com/iam/docs/).
|
1863
1863
|
class Policy
|
1864
1864
|
include Google::Apis::Core::Hashable
|
1865
1865
|
|
@@ -1868,9 +1868,14 @@ module Google
|
|
1868
1868
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::AuditConfig>]
|
1869
1869
|
attr_accessor :audit_configs
|
1870
1870
|
|
1871
|
-
# Associates a list of `members
|
1872
|
-
# condition` that determines how and when the `bindings` are applied.
|
1873
|
-
# the `bindings` must contain at least one
|
1871
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
1872
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
1873
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
1874
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
1875
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
1876
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
1877
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
1878
|
+
# principals to the `bindings` in the `Policy`.
|
1874
1879
|
# Corresponds to the JSON property `bindings`
|
1875
1880
|
# @return [Array<Google::Apis::CloudassetV1p5beta1::Binding>]
|
1876
1881
|
attr_accessor :bindings
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1p5beta1
|
18
18
|
# Version of the google-apis-cloudasset_v1p5beta1 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_v1p5beta1
|
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_v1p5beta1/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_v1p5beta1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p5beta1/v0.12.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p5beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|