google-apis-cloudasset_v1p4beta1 0.7.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cd0cd1bdb362bfbea95b49552122d6df407eea9415088afe99b632ba108bcb2
4
- data.tar.gz: 2cb16cc22ebc04b77131d955e1bf71b15252dcfc0c234b143add9d9bd77bd667
3
+ metadata.gz: d25131fa2ef5055d4b9daf1c316886386fbda76759a46cb2999560415e729b90
4
+ data.tar.gz: 586edb1842fa7a1c697a230e8c6af2475c70db38358d8209237921b7525c6e04
5
5
  SHA512:
6
- metadata.gz: 7e883d2f0c94df5867bab595583f7fc286a1680a13cc99ba5ffebeda15aeaf4f8dfa70c71c00e452e018b1ed152b9c8bb99e26b6c79fc6e45de1837954232371
7
- data.tar.gz: 0c612a68f5334410d9380d0683d043e8dc1bf4ce8aca7caa0b733fdae411a7eeb6e3917ae2dfa0e444fcc79f3019d5ac2517e0fd5855698087679281203b6abb
6
+ metadata.gz: ce483747614e5580bc0063344fb2bd4e52101104c7c201f44707467f51504b841f59dbe9a78a5e51f806429c5ebe2be5df233feabd7046a4074c6970f42b5ae5
7
+ data.tar.gz: 12ac8fbf50c79ba34400163d10760077e2d5a2697aa9dc32f16c8013b7a3e187df83dbf368bfeac43bea7550ffb5dbbf4dd9c473b88760eaaf2d85ba9c1f6986
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudasset_v1p4beta1
2
2
 
3
+ ### v0.11.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
7
+ ### v0.10.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210813
10
+
11
+ ### v0.9.0 (2021-07-28)
12
+
13
+ * Regenerated from discovery document revision 20210723
14
+
15
+ ### v0.8.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.7.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Cloudasset service in particular.)
67
67
 
@@ -51,6 +51,26 @@ module Google
51
51
  end
52
52
  end
53
53
 
54
+ # Represents the metadata of the longrunning operation for the
55
+ # AnalyzeIamPolicyLongrunning rpc.
56
+ class AnalyzeIamPolicyLongrunningMetadata
57
+ include Google::Apis::Core::Hashable
58
+
59
+ # Output only. The time the operation was created.
60
+ # Corresponds to the JSON property `createTime`
61
+ # @return [String]
62
+ attr_accessor :create_time
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @create_time = args[:create_time] if args.key?(:create_time)
71
+ end
72
+ end
73
+
54
74
  # A response message for AssetService.AnalyzeIamPolicyLongrunning.
55
75
  class AnalyzeIamPolicyLongrunningResponse
56
76
  include Google::Apis::Core::Hashable
@@ -177,7 +197,7 @@ module Google
177
197
  end
178
198
  end
179
199
 
180
- # Associates `members` with a `role`.
200
+ # Associates `members`, or principals, with a `role`.
181
201
  class Binding
182
202
  include Google::Apis::Core::Hashable
183
203
 
@@ -200,7 +220,7 @@ module Google
200
220
  # @return [Google::Apis::CloudassetV1p4beta1::Expr]
201
221
  attr_accessor :condition
202
222
 
203
- # Specifies the identities requesting access for a Cloud Platform resource. `
223
+ # Specifies the principals requesting access for a Cloud Platform resource. `
204
224
  # members` can have the following values: * `allUsers`: A special identifier
205
225
  # that represents anyone who is on the internet; with or without a Google
206
226
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -230,8 +250,8 @@ module Google
230
250
  # @return [Array<String>]
231
251
  attr_accessor :members
232
252
 
233
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
234
- # , or `roles/owner`.
253
+ # Role that is assigned to the list of `members`, or principals. For example, `
254
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
235
255
  # Corresponds to the JSON property `role`
236
256
  # @return [String]
237
257
  attr_accessor :role
@@ -620,31 +640,31 @@ module Google
620
640
 
621
641
  # An Identity and Access Management (IAM) policy, which specifies access
622
642
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
623
- # A `binding` binds one or more `members` to a single `role`. Members can be
624
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
625
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
626
- # role or a user-created custom role. For some types of Google Cloud resources,
627
- # a `binding` can also specify a `condition`, which is a logical expression that
628
- # allows access to a resource only if the expression evaluates to `true`. A
629
- # condition can add constraints based on attributes of the request, the resource,
630
- # or both. To learn which resources support conditions in their IAM policies,
631
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
632
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
633
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
634
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
635
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
636
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
637
- # title": "expirable access", "description": "Does not grant access after Sep
638
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
639
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
640
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
641
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
642
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
643
- # roles/resourcemanager.organizationViewer condition: title: expirable access
644
- # description: Does not grant access after Sep 2020 expression: request.time <
645
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
646
- # description of IAM and its features, see the [IAM documentation](https://cloud.
647
- # google.com/iam/docs/).
643
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
644
+ # Principals can be user accounts, service accounts, Google groups, and domains (
645
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
646
+ # an IAM predefined role or a user-created custom role. For some types of Google
647
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
648
+ # logical expression that allows access to a resource only if the expression
649
+ # evaluates to `true`. A condition can add constraints based on attributes of
650
+ # the request, the resource, or both. To learn which resources support
651
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
652
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
653
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
654
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
655
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
656
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
657
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
658
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
659
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
660
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
661
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
662
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
663
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
664
+ # access description: Does not grant access after Sep 2020 expression: request.
665
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
666
+ # a description of IAM and its features, see the [IAM documentation](https://
667
+ # cloud.google.com/iam/docs/).
648
668
  # Corresponds to the JSON property `iamPolicy`
649
669
  # @return [Google::Apis::CloudassetV1p4beta1::Policy]
650
670
  attr_accessor :iam_policy
@@ -1199,8 +1219,8 @@ module Google
1199
1219
 
1200
1220
  # Required. Resource name for the Access Level. The `short_name` component must
1201
1221
  # begin with a letter and only include alphanumeric and '_'. Format: `
1202
- # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
1203
- # the `short_name` component is 50 characters.
1222
+ # accessPolicies/`access_policy`/accessLevels/`access_level``. The maximum
1223
+ # length of the `access_level` component is 50 characters.
1204
1224
  # Corresponds to the JSON property `name`
1205
1225
  # @return [String]
1206
1226
  attr_accessor :name
@@ -1241,7 +1261,7 @@ module Google
1241
1261
  attr_accessor :etag
1242
1262
 
1243
1263
  # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
1244
- # policy_id``
1264
+ # access_policy``
1245
1265
  # Corresponds to the JSON property `name`
1246
1266
  # @return [String]
1247
1267
  attr_accessor :name
@@ -1846,7 +1866,7 @@ module Google
1846
1866
 
1847
1867
  # Required. Resource name for the ServicePerimeter. The `short_name` component
1848
1868
  # must begin with a letter and only include alphanumeric and '_'. Format: `
1849
- # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1869
+ # accessPolicies/`access_policy`/servicePerimeters/`service_perimeter``
1850
1870
  # Corresponds to the JSON property `name`
1851
1871
  # @return [String]
1852
1872
  attr_accessor :name
@@ -2129,7 +2149,7 @@ module Google
2129
2149
  attr_accessor :fully_explored
2130
2150
  alias_method :fully_explored?, :fully_explored
2131
2151
 
2132
- # Associates `members` with a `role`.
2152
+ # Associates `members`, or principals, with a `role`.
2133
2153
  # Corresponds to the JSON property `iamBinding`
2134
2154
  # @return [Google::Apis::CloudassetV1p4beta1::Binding]
2135
2155
  attr_accessor :iam_binding
@@ -2330,31 +2350,31 @@ module Google
2330
2350
 
2331
2351
  # An Identity and Access Management (IAM) policy, which specifies access
2332
2352
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2333
- # A `binding` binds one or more `members` to a single `role`. Members can be
2334
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2335
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2336
- # role or a user-created custom role. For some types of Google Cloud resources,
2337
- # a `binding` can also specify a `condition`, which is a logical expression that
2338
- # allows access to a resource only if the expression evaluates to `true`. A
2339
- # condition can add constraints based on attributes of the request, the resource,
2340
- # or both. To learn which resources support conditions in their IAM policies,
2341
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2342
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2343
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2344
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2345
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2346
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2347
- # title": "expirable access", "description": "Does not grant access after Sep
2348
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2349
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2350
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2351
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2352
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2353
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2354
- # description: Does not grant access after Sep 2020 expression: request.time <
2355
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2356
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2357
- # google.com/iam/docs/).
2353
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2354
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2355
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2356
+ # an IAM predefined role or a user-created custom role. For some types of Google
2357
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2358
+ # logical expression that allows access to a resource only if the expression
2359
+ # evaluates to `true`. A condition can add constraints based on attributes of
2360
+ # the request, the resource, or both. To learn which resources support
2361
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2362
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2363
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2364
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2365
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2366
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2367
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2368
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2369
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2370
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2371
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2372
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2373
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2374
+ # access description: Does not grant access after Sep 2020 expression: request.
2375
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2376
+ # a description of IAM and its features, see the [IAM documentation](https://
2377
+ # cloud.google.com/iam/docs/).
2358
2378
  class Policy
2359
2379
  include Google::Apis::Core::Hashable
2360
2380
 
@@ -2363,9 +2383,14 @@ module Google
2363
2383
  # @return [Array<Google::Apis::CloudassetV1p4beta1::AuditConfig>]
2364
2384
  attr_accessor :audit_configs
2365
2385
 
2366
- # Associates a list of `members` to a `role`. Optionally, may specify a `
2367
- # condition` that determines how and when the `bindings` are applied. Each of
2368
- # the `bindings` must contain at least one member.
2386
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
2387
+ # specify a `condition` that determines how and when the `bindings` are applied.
2388
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
2389
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
2390
+ # can be Google groups. Each occurrence of a principal counts towards these
2391
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
2392
+ # example.com`, and not to any other principal, then you can add another 1,450
2393
+ # principals to the `bindings` in the `Policy`.
2369
2394
  # Corresponds to the JSON property `bindings`
2370
2395
  # @return [Array<Google::Apis::CloudassetV1p4beta1::Binding>]
2371
2396
  attr_accessor :bindings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p4beta1
18
18
  # Version of the google-apis-cloudasset_v1p4beta1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210416"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class AnalyzeIamPolicyLongrunningMetadata
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class AnalyzeIamPolicyLongrunningResponse
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -354,6 +360,13 @@ module Google
354
360
  end
355
361
  end
356
362
 
363
+ class AnalyzeIamPolicyLongrunningMetadata
364
+ # @private
365
+ class Representation < Google::Apis::Core::JsonRepresentation
366
+ property :create_time, as: 'createTime'
367
+ end
368
+ end
369
+
357
370
  class AnalyzeIamPolicyLongrunningResponse
358
371
  # @private
359
372
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1p4beta1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudasset_v1p4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.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-06-28 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p4beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p4beta1/v0.7.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p4beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p4beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p4beta1/v0.11.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p4beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: