google-apis-cloudasset_v1 0.16.0 → 0.20.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 +16 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/cloudasset_v1/classes.rb +155 -151
- data/lib/google/apis/cloudasset_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudasset_v1/service.rb +17 -16
- 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: 7a7a321c00448c37b7d586b6296645f5e3156734a0e3835129517e2581a9552b
|
4
|
+
data.tar.gz: d6bc8ae095a6b74270b9e2fafd815ded223a529488873e35c5546f0d6ff64e7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdc7caa66889074ea06902a4803b44d3c03b56101393b67ea47d98e25e49b24124609c649b6ed73d52bb94d7d6c531775426a5567ae4c969031b1b59f059bad1
|
7
|
+
data.tar.gz: 77ed7de6ad7f7f7c1cbe07a642321d7b48043195945956e25f7b122cd12672590c83a73efb42ca9037afb6571c025d78c507b1c73d69152a861a0d295a5df941
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-cloudasset_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2021-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211022
|
6
|
+
|
7
|
+
### v0.19.0 (2021-09-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210924
|
10
|
+
|
11
|
+
### v0.18.0 (2021-09-15)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210910
|
14
|
+
|
15
|
+
### v0.17.0 (2021-09-08)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210903
|
18
|
+
|
3
19
|
### v0.16.0 (2021-09-01)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20210827
|
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
|
|
@@ -208,31 +208,31 @@ module Google
|
|
208
208
|
|
209
209
|
# An Identity and Access Management (IAM) policy, which specifies access
|
210
210
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
211
|
-
# A `binding` binds one or more `members
|
212
|
-
# user accounts, service accounts, Google groups, and domains (
|
213
|
-
# A `role` is a named list of permissions; each `role` can be
|
214
|
-
# role or a user-created custom role. For some types of Google
|
215
|
-
# a `binding` can also specify a `condition`, which is a
|
216
|
-
# allows access to a resource only if the expression
|
217
|
-
# condition can add constraints based on attributes of
|
218
|
-
# or both. To learn which resources support
|
219
|
-
# see the [IAM documentation](https://cloud.
|
220
|
-
# resource-policies). **JSON example:** ` "
|
221
|
-
# resourcemanager.organizationAdmin", "members": [
|
222
|
-
# group:admins@example.com", "domain:google.com", "
|
223
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
224
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
225
|
-
# title": "expirable access", "description": "Does not grant
|
226
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
227
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
228
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
229
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
230
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
231
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
232
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
233
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
234
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
235
|
-
# google.com/iam/docs/).
|
211
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
212
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
213
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
214
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
215
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
216
|
+
# logical expression that allows access to a resource only if the expression
|
217
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
218
|
+
# the request, the resource, or both. To learn which resources support
|
219
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
220
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
221
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
222
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
223
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
224
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
225
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
226
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
227
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
228
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
229
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
230
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
231
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
232
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
233
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
234
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
235
|
+
# cloud.google.com/iam/docs/).
|
236
236
|
# Corresponds to the JSON property `iamPolicy`
|
237
237
|
# @return [Google::Apis::CloudassetV1::Policy]
|
238
238
|
attr_accessor :iam_policy
|
@@ -504,7 +504,7 @@ module Google
|
|
504
504
|
end
|
505
505
|
end
|
506
506
|
|
507
|
-
# Associates `members
|
507
|
+
# Associates `members`, or principals, with a `role`.
|
508
508
|
class Binding
|
509
509
|
include Google::Apis::Core::Hashable
|
510
510
|
|
@@ -527,7 +527,7 @@ module Google
|
|
527
527
|
# @return [Google::Apis::CloudassetV1::Expr]
|
528
528
|
attr_accessor :condition
|
529
529
|
|
530
|
-
# Specifies the
|
530
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
531
531
|
# members` can have the following values: * `allUsers`: A special identifier
|
532
532
|
# that represents anyone who is on the internet; with or without a Google
|
533
533
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -557,8 +557,8 @@ module Google
|
|
557
557
|
# @return [Array<String>]
|
558
558
|
attr_accessor :members
|
559
559
|
|
560
|
-
# Role that is assigned to `members
|
561
|
-
#
|
560
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
561
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
562
562
|
# Corresponds to the JSON property `role`
|
563
563
|
# @return [String]
|
564
564
|
attr_accessor :role
|
@@ -1322,31 +1322,31 @@ module Google
|
|
1322
1322
|
|
1323
1323
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1324
1324
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1325
|
-
# A `binding` binds one or more `members
|
1326
|
-
# user accounts, service accounts, Google groups, and domains (
|
1327
|
-
# A `role` is a named list of permissions; each `role` can be
|
1328
|
-
# role or a user-created custom role. For some types of Google
|
1329
|
-
# a `binding` can also specify a `condition`, which is a
|
1330
|
-
# allows access to a resource only if the expression
|
1331
|
-
# condition can add constraints based on attributes of
|
1332
|
-
# or both. To learn which resources support
|
1333
|
-
# see the [IAM documentation](https://cloud.
|
1334
|
-
# resource-policies). **JSON example:** ` "
|
1335
|
-
# resourcemanager.organizationAdmin", "members": [
|
1336
|
-
# group:admins@example.com", "domain:google.com", "
|
1337
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
1338
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
1339
|
-
# title": "expirable access", "description": "Does not grant
|
1340
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1341
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1342
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
1343
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1344
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
1345
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
1346
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
1347
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1348
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
1349
|
-
# google.com/iam/docs/).
|
1325
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
1326
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
1327
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
1328
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
1329
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
1330
|
+
# logical expression that allows access to a resource only if the expression
|
1331
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
1332
|
+
# the request, the resource, or both. To learn which resources support
|
1333
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1334
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
1335
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
1336
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
1337
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
1338
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
1339
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
1340
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
1341
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
1342
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
1343
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1344
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
1345
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
1346
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
1347
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
1348
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
1349
|
+
# cloud.google.com/iam/docs/).
|
1350
1350
|
# Corresponds to the JSON property `iamPolicy`
|
1351
1351
|
# @return [Google::Apis::CloudassetV1::Policy]
|
1352
1352
|
attr_accessor :iam_policy
|
@@ -2854,7 +2854,7 @@ module Google
|
|
2854
2854
|
attr_accessor :fully_explored
|
2855
2855
|
alias_method :fully_explored?, :fully_explored
|
2856
2856
|
|
2857
|
-
# Associates `members
|
2857
|
+
# Associates `members`, or principals, with a `role`.
|
2858
2858
|
# Corresponds to the JSON property `iamBinding`
|
2859
2859
|
# @return [Google::Apis::CloudassetV1::Binding]
|
2860
2860
|
attr_accessor :iam_binding
|
@@ -2944,31 +2944,31 @@ module Google
|
|
2944
2944
|
|
2945
2945
|
# An Identity and Access Management (IAM) policy, which specifies access
|
2946
2946
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
2947
|
-
# A `binding` binds one or more `members
|
2948
|
-
# user accounts, service accounts, Google groups, and domains (
|
2949
|
-
# A `role` is a named list of permissions; each `role` can be
|
2950
|
-
# role or a user-created custom role. For some types of Google
|
2951
|
-
# a `binding` can also specify a `condition`, which is a
|
2952
|
-
# allows access to a resource only if the expression
|
2953
|
-
# condition can add constraints based on attributes of
|
2954
|
-
# or both. To learn which resources support
|
2955
|
-
# see the [IAM documentation](https://cloud.
|
2956
|
-
# resource-policies). **JSON example:** ` "
|
2957
|
-
# resourcemanager.organizationAdmin", "members": [
|
2958
|
-
# group:admins@example.com", "domain:google.com", "
|
2959
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
2960
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
2961
|
-
# title": "expirable access", "description": "Does not grant
|
2962
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2963
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2964
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
2965
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2966
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
2967
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
2968
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
2969
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2970
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
2971
|
-
# google.com/iam/docs/).
|
2947
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
2948
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
2949
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
2950
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
2951
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
2952
|
+
# logical expression that allows access to a resource only if the expression
|
2953
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
2954
|
+
# the request, the resource, or both. To learn which resources support
|
2955
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2956
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2957
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
2958
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
2959
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
2960
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
2961
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
2962
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
2963
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
2964
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
2965
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
2966
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
2967
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
2968
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
2969
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
2970
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
2971
|
+
# cloud.google.com/iam/docs/).
|
2972
2972
|
# Corresponds to the JSON property `policy`
|
2973
2973
|
# @return [Google::Apis::CloudassetV1::Policy]
|
2974
2974
|
attr_accessor :policy
|
@@ -3015,8 +3015,8 @@ module Google
|
|
3015
3015
|
class IdentitySelector
|
3016
3016
|
include Google::Apis::Core::Hashable
|
3017
3017
|
|
3018
|
-
# Required. The identity appear in the form of
|
3019
|
-
# https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of
|
3018
|
+
# Required. The identity appear in the form of principals in [IAM policy binding]
|
3019
|
+
# (https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of
|
3020
3020
|
# supported forms are: "user:mike@example.com", "group:admins@example.com", "
|
3021
3021
|
# domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com".
|
3022
3022
|
# Notice that wildcard characters (such as * and ?) are not supported. You must
|
@@ -3395,15 +3395,16 @@ module Google
|
|
3395
3395
|
attr_accessor :expand_roles
|
3396
3396
|
alias_method :expand_roles?, :expand_roles
|
3397
3397
|
|
3398
|
-
# Optional. If true, the result will output
|
3399
|
-
#
|
3398
|
+
# Optional. If true, the result will output the relevant membership
|
3399
|
+
# relationships between groups and other groups, and between groups and
|
3400
|
+
# principals. Default is false.
|
3400
3401
|
# Corresponds to the JSON property `outputGroupEdges`
|
3401
3402
|
# @return [Boolean]
|
3402
3403
|
attr_accessor :output_group_edges
|
3403
3404
|
alias_method :output_group_edges?, :output_group_edges
|
3404
3405
|
|
3405
|
-
# Optional. If true, the result will output
|
3406
|
-
#
|
3406
|
+
# Optional. If true, the result will output the relevant parent/child
|
3407
|
+
# relationships between resources. Default is false.
|
3407
3408
|
# Corresponds to the JSON property `outputResourceEdges`
|
3408
3409
|
# @return [Boolean]
|
3409
3410
|
attr_accessor :output_resource_edges
|
@@ -3551,31 +3552,31 @@ module Google
|
|
3551
3552
|
|
3552
3553
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3553
3554
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3554
|
-
# A `binding` binds one or more `members
|
3555
|
-
# user accounts, service accounts, Google groups, and domains (
|
3556
|
-
# A `role` is a named list of permissions; each `role` can be
|
3557
|
-
# role or a user-created custom role. For some types of Google
|
3558
|
-
# a `binding` can also specify a `condition`, which is a
|
3559
|
-
# allows access to a resource only if the expression
|
3560
|
-
# condition can add constraints based on attributes of
|
3561
|
-
# or both. To learn which resources support
|
3562
|
-
# see the [IAM documentation](https://cloud.
|
3563
|
-
# resource-policies). **JSON example:** ` "
|
3564
|
-
# resourcemanager.organizationAdmin", "members": [
|
3565
|
-
# group:admins@example.com", "domain:google.com", "
|
3566
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3567
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3568
|
-
# title": "expirable access", "description": "Does not grant
|
3569
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3570
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3571
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3572
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3573
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3574
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3575
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3576
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3577
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3578
|
-
# google.com/iam/docs/).
|
3555
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3556
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3557
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3558
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3559
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3560
|
+
# logical expression that allows access to a resource only if the expression
|
3561
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3562
|
+
# the request, the resource, or both. To learn which resources support
|
3563
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3564
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3565
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3566
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3567
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3568
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3569
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3570
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3571
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3572
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3573
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3574
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3575
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3576
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3577
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3578
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3579
|
+
# cloud.google.com/iam/docs/).
|
3579
3580
|
class Policy
|
3580
3581
|
include Google::Apis::Core::Hashable
|
3581
3582
|
|
@@ -3584,9 +3585,14 @@ module Google
|
|
3584
3585
|
# @return [Array<Google::Apis::CloudassetV1::AuditConfig>]
|
3585
3586
|
attr_accessor :audit_configs
|
3586
3587
|
|
3587
|
-
# Associates a list of `members
|
3588
|
-
# condition` that determines how and when the `bindings` are applied.
|
3589
|
-
# the `bindings` must contain at least one
|
3588
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
3589
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
3590
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
3591
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
3592
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
3593
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
3594
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
3595
|
+
# principals to the `bindings` in the `Policy`.
|
3590
3596
|
# Corresponds to the JSON property `bindings`
|
3591
3597
|
# @return [Array<Google::Apis::CloudassetV1::Binding>]
|
3592
3598
|
attr_accessor :bindings
|
@@ -3659,13 +3665,13 @@ module Google
|
|
3659
3665
|
end
|
3660
3666
|
end
|
3661
3667
|
|
3662
|
-
# An asset
|
3663
|
-
# An asset can be any resource in the Google Cloud [resource
|
3664
|
-
# cloud.google.com/resource-manager/docs/cloud-platform-
|
3665
|
-
# resource outside the Google Cloud resource hierarchy (
|
3666
|
-
# Kubernetes Engine clusters and objects), or a policy (e.g.
|
3667
|
-
# See [Supported asset types](https://cloud.google.com/asset-
|
3668
|
-
# supported-asset-types) for more information.
|
3668
|
+
# An asset identifier in Google Cloud which contains its name, type and
|
3669
|
+
# ancestors. An asset can be any resource in the Google Cloud [resource
|
3670
|
+
# hierarchy](https://cloud.google.com/resource-manager/docs/cloud-platform-
|
3671
|
+
# resource-hierarchy), a resource outside the Google Cloud resource hierarchy (
|
3672
|
+
# such as Google Kubernetes Engine clusters and objects), or a policy (e.g.
|
3673
|
+
# Cloud IAM policy). See [Supported asset types](https://cloud.google.com/asset-
|
3674
|
+
# inventory/docs/supported-asset-types) for more information.
|
3669
3675
|
class RelatedAsset
|
3670
3676
|
include Google::Apis::Core::Hashable
|
3671
3677
|
|
@@ -3925,7 +3931,7 @@ module Google
|
|
3925
3931
|
|
3926
3932
|
# The create timestamp of this resource, at which the resource was created. The
|
3927
3933
|
# granularity is in seconds. Timestamp.nanos will always be 0. This field is
|
3928
|
-
# available only when the resource's
|
3934
|
+
# available only when the resource's Protobuf contains it. To search against `
|
3929
3935
|
# create_time`: * use a field query. - value in seconds since unix epoch.
|
3930
3936
|
# Example: `createTime > 1609459200` - value in date string. Example: `
|
3931
3937
|
# createTime > 2021-01-01` - value in date-time string (must be quoted). Example:
|
@@ -3936,15 +3942,15 @@ module Google
|
|
3936
3942
|
|
3937
3943
|
# One or more paragraphs of text description of this resource. Maximum length
|
3938
3944
|
# could be up to 1M bytes. This field is available only when the resource's
|
3939
|
-
#
|
3940
|
-
# Example: `description:"important instance"` * use a free text query. Example:
|
3941
|
-
# "important instance"`
|
3945
|
+
# Protobuf contains it. To search against the `description`: * use a field query.
|
3946
|
+
# Example: `description:"important instance"` * use a free text query. Example:
|
3947
|
+
# `"important instance"`
|
3942
3948
|
# Corresponds to the JSON property `description`
|
3943
3949
|
# @return [String]
|
3944
3950
|
attr_accessor :description
|
3945
3951
|
|
3946
3952
|
# The display name of this resource. This field is available only when the
|
3947
|
-
# resource's
|
3953
|
+
# resource's Protobuf contains it. To search against the `display_name`: * use a
|
3948
3954
|
# field query. Example: `displayName:"My Instance"` * use a free text query.
|
3949
3955
|
# Example: `"My Instance"`
|
3950
3956
|
# Corresponds to the JSON property `displayName`
|
@@ -3961,10 +3967,10 @@ module Google
|
|
3961
3967
|
attr_accessor :folders
|
3962
3968
|
|
3963
3969
|
# The Cloud KMS [CryptoKey](https://cloud.google.com/kms/docs/reference/rest/v1/
|
3964
|
-
# projects.locations.keyRings.cryptoKeys
|
3965
|
-
#
|
3966
|
-
# cryptoKeys.cryptoKeyVersions
|
3967
|
-
#
|
3970
|
+
# projects.locations.keyRings.cryptoKeys) name or [CryptoKeyVersion](https://
|
3971
|
+
# cloud.google.com/kms/docs/reference/rest/v1/projects.locations.keyRings.
|
3972
|
+
# cryptoKeys.cryptoKeyVersions) name. This field is available only when the
|
3973
|
+
# resource's Protobuf contains it. To search against the `kms_key`: * use a
|
3968
3974
|
# field query. Example: `kmsKey:key` * use a free text query. Example: `key`
|
3969
3975
|
# Corresponds to the JSON property `kmsKey`
|
3970
3976
|
# @return [String]
|
@@ -3973,8 +3979,8 @@ module Google
|
|
3973
3979
|
# Labels associated with this resource. See [Labelling and grouping GCP
|
3974
3980
|
# resources](https://cloud.google.com/blog/products/gcp/labelling-and-grouping-
|
3975
3981
|
# your-google-cloud-platform-resources) for more information. This field is
|
3976
|
-
# available only when the resource's
|
3977
|
-
# labels`: * use a field query: - query on any label's key or value. Example: `
|
3982
|
+
# available only when the resource's Protobuf contains it. To search against the
|
3983
|
+
# `labels`: * use a field query: - query on any label's key or value. Example: `
|
3978
3984
|
# labels:prod` - query by a given label. Example: `labels.env:prod` - query by a
|
3979
3985
|
# given label's existence. Example: `labels.env:*` * use a free text query.
|
3980
3986
|
# Example: `prod`
|
@@ -3983,9 +3989,9 @@ module Google
|
|
3983
3989
|
attr_accessor :labels
|
3984
3990
|
|
3985
3991
|
# Location can be `global`, regional like `us-east1`, or zonal like `us-west1-b`.
|
3986
|
-
# This field is available only when the resource's
|
3987
|
-
# against the `location`: * use a field query. Example: `location:us-west
|
3988
|
-
# use a free text query. Example: `us-west*`
|
3992
|
+
# This field is available only when the resource's Protobuf contains it. To
|
3993
|
+
# search against the `location`: * use a field query. Example: `location:us-west*
|
3994
|
+
# ` * use a free text query. Example: `us-west*`
|
3989
3995
|
# Corresponds to the JSON property `location`
|
3990
3996
|
# @return [String]
|
3991
3997
|
attr_accessor :location
|
@@ -4004,8 +4010,8 @@ module Google
|
|
4004
4010
|
# type of annotations used to group GCP resources. See [Labelling GCP resources](
|
4005
4011
|
# https://cloud.google.com/blog/products/gcp/labelling-and-grouping-your-google-
|
4006
4012
|
# cloud-platform-resources) for more information. This field is available only
|
4007
|
-
# when the resource's
|
4008
|
-
# use a field query. Example: `networkTags:internal` * use a free text query.
|
4013
|
+
# when the resource's Protobuf contains it. To search against the `network_tags`:
|
4014
|
+
# * use a field query. Example: `networkTags:internal` * use a free text query.
|
4009
4015
|
# Example: `internal`
|
4010
4016
|
# Corresponds to the JSON property `networkTags`
|
4011
4017
|
# @return [Array<String>]
|
@@ -4056,7 +4062,7 @@ module Google
|
|
4056
4062
|
|
4057
4063
|
# The state of this resource. Different resources types have different state
|
4058
4064
|
# definitions that are mapped from various fields of different resource types.
|
4059
|
-
# This field is available only when the resource's
|
4065
|
+
# This field is available only when the resource's Protobuf contains it. Example:
|
4060
4066
|
# If the resource is an instance provided by Compute Engine, its state will
|
4061
4067
|
# include PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED,
|
4062
4068
|
# REPAIRING, and TERMINATED. See `status` definition in [API Reference](https://
|
@@ -4073,11 +4079,11 @@ module Google
|
|
4073
4079
|
|
4074
4080
|
# The last update timestamp of this resource, at which the resource was last
|
4075
4081
|
# modified or deleted. The granularity is in seconds. Timestamp.nanos will
|
4076
|
-
# always be 0. This field is available only when the resource's
|
4077
|
-
# it. To search against `update_time`: * use a field query. - value in
|
4078
|
-
# since unix epoch. Example: `updateTime < 1609459200` - value in date
|
4079
|
-
# Example: `updateTime < 2021-01-01` - value in date-time string (must
|
4080
|
-
# . Example: `updateTime < "2021-01-01T00:00:00"`
|
4082
|
+
# always be 0. This field is available only when the resource's Protobuf
|
4083
|
+
# contains it. To search against `update_time`: * use a field query. - value in
|
4084
|
+
# seconds since unix epoch. Example: `updateTime < 1609459200` - value in date
|
4085
|
+
# string. Example: `updateTime < 2021-01-01` - value in date-time string (must
|
4086
|
+
# be quoted). Example: `updateTime < "2021-01-01T00:00:00"`
|
4081
4087
|
# Corresponds to the JSON property `updateTime`
|
4082
4088
|
# @return [String]
|
4083
4089
|
attr_accessor :update_time
|
@@ -4229,10 +4235,9 @@ module Google
|
|
4229
4235
|
# @return [Google::Apis::CloudassetV1::WindowsQuickFixEngineeringPackage]
|
4230
4236
|
attr_accessor :qfe_package
|
4231
4237
|
|
4232
|
-
# Contains information about a Windows application
|
4233
|
-
# Registry. For more information about these fields, see
|
4234
|
-
#
|
4235
|
-
# windows/win32/msi/uninstall-registry-key)`: class="external" `
|
4238
|
+
# Contains information about a Windows application that is retrieved from the
|
4239
|
+
# Windows Registry. For more information about these fields, see: https://docs.
|
4240
|
+
# microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
4236
4241
|
# Corresponds to the JSON property `windowsApplication`
|
4237
4242
|
# @return [Google::Apis::CloudassetV1::WindowsApplication]
|
4238
4243
|
attr_accessor :windows_application
|
@@ -4498,10 +4503,9 @@ module Google
|
|
4498
4503
|
end
|
4499
4504
|
end
|
4500
4505
|
|
4501
|
-
# Contains information about a Windows application
|
4502
|
-
# Registry. For more information about these fields, see
|
4503
|
-
#
|
4504
|
-
# windows/win32/msi/uninstall-registry-key)`: class="external" `
|
4506
|
+
# Contains information about a Windows application that is retrieved from the
|
4507
|
+
# Windows Registry. For more information about these fields, see: https://docs.
|
4508
|
+
# microsoft.com/en-us/windows/win32/msi/uninstall-registry-key
|
4505
4509
|
class WindowsApplication
|
4506
4510
|
include Google::Apis::Core::Hashable
|
4507
4511
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudassetV1
|
18
18
|
# Version of the google-apis-cloudasset_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.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 = "20211022"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -352,8 +352,8 @@ module Google
|
|
352
352
|
# value must not be earlier than the current time; otherwise, an
|
353
353
|
# INVALID_ARGUMENT error will be returned.
|
354
354
|
# @param [String] analysis_query_identity_selector_identity
|
355
|
-
# Required. The identity appear in the form of
|
356
|
-
# https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of
|
355
|
+
# Required. The identity appear in the form of principals in [IAM policy binding]
|
356
|
+
# (https://cloud.google.com/iam/reference/rest/v1/Binding). The examples of
|
357
357
|
# supported forms are: "user:mike@example.com", "group:admins@example.com", "
|
358
358
|
# domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com".
|
359
359
|
# Notice that wildcard characters (such as * and ?) are not supported. You must
|
@@ -402,11 +402,12 @@ module Google
|
|
402
402
|
# result will be determined by the selector, and this flag is not allowed to set.
|
403
403
|
# Default is false.
|
404
404
|
# @param [Boolean] analysis_query_options_output_group_edges
|
405
|
-
# Optional. If true, the result will output
|
406
|
-
#
|
405
|
+
# Optional. If true, the result will output the relevant membership
|
406
|
+
# relationships between groups and other groups, and between groups and
|
407
|
+
# principals. Default is false.
|
407
408
|
# @param [Boolean] analysis_query_options_output_resource_edges
|
408
|
-
# Optional. If true, the result will output
|
409
|
-
#
|
409
|
+
# Optional. If true, the result will output the relevant parent/child
|
410
|
+
# relationships between resources. Default is false.
|
410
411
|
# @param [String] analysis_query_resource_selector_full_resource_name
|
411
412
|
# Required. The [full resource name] (https://cloud.google.com/asset-inventory/
|
412
413
|
# docs/resource-name-format) of a resource of [supported resource types](https://
|
@@ -624,11 +625,11 @@ module Google
|
|
624
625
|
# BigQuery table. For Cloud Storage location destinations, the output format is
|
625
626
|
# newline-delimited JSON. Each line represents a google.cloud.asset.v1.Asset in
|
626
627
|
# the JSON format; for BigQuery table destinations, the output table stores the
|
627
|
-
# fields in asset
|
628
|
-
# Operation API
|
629
|
-
# intervals of at least 2 seconds with exponential retry to poll the
|
630
|
-
# operation result. For regular-size resource parent, the export
|
631
|
-
# usually finishes within 5 minutes.
|
628
|
+
# fields in asset Protobuf as columns. This API implements the google.
|
629
|
+
# longrunning.Operation API, which allows you to keep track of the export. We
|
630
|
+
# recommend intervals of at least 2 seconds with exponential retry to poll the
|
631
|
+
# export operation result. For regular-size resource parent, the export
|
632
|
+
# operation usually finishes within 5 minutes.
|
632
633
|
# @param [String] parent
|
633
634
|
# Required. The relative name of the root asset. This can only be an
|
634
635
|
# organization number (such as "organizations/123"), a project ID (such as "
|
@@ -713,9 +714,9 @@ module Google
|
|
713
714
|
# how_to_construct_a_query) for more information. If not specified or empty, it
|
714
715
|
# will search all the IAM policies within the specified `scope`. Note that the
|
715
716
|
# query string is compared against each Cloud IAM policy binding, including its
|
716
|
-
#
|
717
|
-
# only contain the bindings that match your query. To learn more about the
|
718
|
-
# policy structure, see [IAM policy doc](https://cloud.google.com/iam/docs/
|
717
|
+
# principals, roles, and Cloud IAM conditions. The returned Cloud IAM policies
|
718
|
+
# will only contain the bindings that match your query. To learn more about the
|
719
|
+
# IAM policy structure, see [IAM policy doc](https://cloud.google.com/iam/docs/
|
719
720
|
# policies#structure). Examples: * `policy:amy@gmail.com` to find IAM policy
|
720
721
|
# bindings that specify user "amy@gmail.com". * `policy:roles/compute.admin` to
|
721
722
|
# find IAM policy bindings that specify the Compute Admin role. * `policy:comp*`
|
@@ -737,8 +738,8 @@ module Google
|
|
737
738
|
# instance1 OR instance2) policy:amy` to find IAM policy bindings that are set
|
738
739
|
# on resources "instance1" or "instance2" and also specify user "amy". * `roles:
|
739
740
|
# roles/compute.admin` to find IAM policy bindings that specify the Compute
|
740
|
-
# Admin role. * `memberTypes:user` to find IAM policy bindings that contain the
|
741
|
-
# user"
|
741
|
+
# Admin role. * `memberTypes:user` to find IAM policy bindings that contain the
|
742
|
+
# principal type "user".
|
742
743
|
# @param [String] fields
|
743
744
|
# Selector specifying which fields to include in a partial response.
|
744
745
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudasset_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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_v1/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_v1/CHANGELOG.md
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1/v0.20.0
|
62
|
+
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
65
65
|
require_paths:
|