google-apis-cloudasset_v1p7beta1 0.8.0 → 0.12.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: c851991ec412a37155a02b943c58e02302d3930766a7bfa3b56b44b2fd3d4aaf
4
- data.tar.gz: a5b7cc68f43f6400302f59f61520a207594feb5330e8c0ae4342d4b631d8d78b
3
+ metadata.gz: e3548ee055c607c941c970f0ddff58ada79a0b618304d69ef271ce3c21695c59
4
+ data.tar.gz: 7df34d44d6591d647d1b953495c7c699e82be0da4a9388770a9cc152e814aa60
5
5
  SHA512:
6
- metadata.gz: 7b4ddc1689b75cd01dea6f8701e705c8b3be913c6ddb13bc9eb5b7ca9bddad9f81e9d3eb17eec43c011345761bf8c74ec4da10c42f9795b48e55a27ca4b18eb4
7
- data.tar.gz: 3192b26fd60ea0ad5a4c9dc626c165f5212d0b7f8eb1d5fa00970215bb0d33652daed31be6a0a36229ab73663f55241deb1278d55bb03847c443c40bdebe8b50
6
+ metadata.gz: 8c1830fdc3583367bfa8d23ba19dc764379c310737b4af947a0c70324895f836215c859e439cb70a0b6cb48dbcb58d44fce9878b09a80c308a6a6cf6bf468776
7
+ data.tar.gz: ae575ba008bd1da09c2f80562f9b79b0b0bc332dbe048a5d48bae0c40db31da87e6596875b30c6caf63da718dc34f781a2397b09c16f722d4c86042f55a958c5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-cloudasset_v1p7beta1
2
2
 
3
+ ### v0.12.0 (2021-10-20)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+
7
+ ### v0.11.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210813
10
+
11
+ ### v0.10.0 (2021-07-28)
12
+
13
+ * Regenerated from discovery document revision 20210723
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.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
 
@@ -22,6 +22,26 @@ module Google
22
22
  module Apis
23
23
  module CloudassetV1p7beta1
24
24
 
25
+ # Represents the metadata of the longrunning operation for the
26
+ # AnalyzeIamPolicyLongrunning rpc.
27
+ class AnalyzeIamPolicyLongrunningMetadata
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Output only. The time the operation was created.
31
+ # Corresponds to the JSON property `createTime`
32
+ # @return [String]
33
+ attr_accessor :create_time
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ @create_time = args[:create_time] if args.key?(:create_time)
42
+ end
43
+ end
44
+
25
45
  # A response message for AssetService.AnalyzeIamPolicyLongrunning.
26
46
  class AnalyzeIamPolicyLongrunningResponse
27
47
  include Google::Apis::Core::Hashable
@@ -106,7 +126,7 @@ module Google
106
126
  end
107
127
  end
108
128
 
109
- # Associates `members` with a `role`.
129
+ # Associates `members`, or principals, with a `role`.
110
130
  class Binding
111
131
  include Google::Apis::Core::Hashable
112
132
 
@@ -129,7 +149,7 @@ module Google
129
149
  # @return [Google::Apis::CloudassetV1p7beta1::Expr]
130
150
  attr_accessor :condition
131
151
 
132
- # Specifies the identities requesting access for a Cloud Platform resource. `
152
+ # Specifies the principals requesting access for a Cloud Platform resource. `
133
153
  # members` can have the following values: * `allUsers`: A special identifier
134
154
  # that represents anyone who is on the internet; with or without a Google
135
155
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -159,8 +179,8 @@ module Google
159
179
  # @return [Array<String>]
160
180
  attr_accessor :members
161
181
 
162
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
163
- # , or `roles/owner`.
182
+ # Role that is assigned to the list of `members`, or principals. For example, `
183
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
164
184
  # Corresponds to the JSON property `role`
165
185
  # @return [String]
166
186
  attr_accessor :role
@@ -275,31 +295,31 @@ module Google
275
295
 
276
296
  # An Identity and Access Management (IAM) policy, which specifies access
277
297
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
278
- # A `binding` binds one or more `members` to a single `role`. Members can be
279
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
280
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
281
- # role or a user-created custom role. For some types of Google Cloud resources,
282
- # a `binding` can also specify a `condition`, which is a logical expression that
283
- # allows access to a resource only if the expression evaluates to `true`. A
284
- # condition can add constraints based on attributes of the request, the resource,
285
- # or both. To learn which resources support conditions in their IAM policies,
286
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
287
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
288
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
289
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
290
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
291
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
292
- # title": "expirable access", "description": "Does not grant access after Sep
293
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
294
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
295
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
296
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
297
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
298
- # roles/resourcemanager.organizationViewer condition: title: expirable access
299
- # description: Does not grant access after Sep 2020 expression: request.time <
300
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
301
- # description of IAM and its features, see the [IAM documentation](https://cloud.
302
- # google.com/iam/docs/).
298
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
299
+ # Principals can be user accounts, service accounts, Google groups, and domains (
300
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
301
+ # an IAM predefined role or a user-created custom role. For some types of Google
302
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
303
+ # logical expression that allows access to a resource only if the expression
304
+ # evaluates to `true`. A condition can add constraints based on attributes of
305
+ # the request, the resource, or both. To learn which resources support
306
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
307
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
308
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
309
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
310
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
311
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
312
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
313
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
314
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
315
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
316
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
317
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
318
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
319
+ # access description: Does not grant access after Sep 2020 expression: request.
320
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
321
+ # a description of IAM and its features, see the [IAM documentation](https://
322
+ # cloud.google.com/iam/docs/).
303
323
  # Corresponds to the JSON property `iamPolicy`
304
324
  # @return [Google::Apis::CloudassetV1p7beta1::Policy]
305
325
  attr_accessor :iam_policy
@@ -1070,8 +1090,8 @@ module Google
1070
1090
 
1071
1091
  # Required. Resource name for the Access Level. The `short_name` component must
1072
1092
  # begin with a letter and only include alphanumeric and '_'. Format: `
1073
- # accessPolicies/`policy_id`/accessLevels/`short_name``. The maximum length of
1074
- # the `short_name` component is 50 characters.
1093
+ # accessPolicies/`access_policy`/accessLevels/`access_level``. The maximum
1094
+ # length of the `access_level` component is 50 characters.
1075
1095
  # Corresponds to the JSON property `name`
1076
1096
  # @return [String]
1077
1097
  attr_accessor :name
@@ -1112,7 +1132,7 @@ module Google
1112
1132
  attr_accessor :etag
1113
1133
 
1114
1134
  # Output only. Resource name of the `AccessPolicy`. Format: `accessPolicies/`
1115
- # policy_id``
1135
+ # access_policy``
1116
1136
  # Corresponds to the JSON property `name`
1117
1137
  # @return [String]
1118
1138
  attr_accessor :name
@@ -1717,7 +1737,7 @@ module Google
1717
1737
 
1718
1738
  # Required. Resource name for the ServicePerimeter. The `short_name` component
1719
1739
  # must begin with a letter and only include alphanumeric and '_'. Format: `
1720
- # accessPolicies/`policy_id`/servicePerimeters/`short_name``
1740
+ # accessPolicies/`access_policy`/servicePerimeters/`service_perimeter``
1721
1741
  # Corresponds to the JSON property `name`
1722
1742
  # @return [String]
1723
1743
  attr_accessor :name
@@ -1935,31 +1955,31 @@ module Google
1935
1955
 
1936
1956
  # An Identity and Access Management (IAM) policy, which specifies access
1937
1957
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1938
- # A `binding` binds one or more `members` to a single `role`. Members can be
1939
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1940
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1941
- # role or a user-created custom role. For some types of Google Cloud resources,
1942
- # a `binding` can also specify a `condition`, which is a logical expression that
1943
- # allows access to a resource only if the expression evaluates to `true`. A
1944
- # condition can add constraints based on attributes of the request, the resource,
1945
- # or both. To learn which resources support conditions in their IAM policies,
1946
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1947
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1948
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1949
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1950
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1951
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1952
- # title": "expirable access", "description": "Does not grant access after Sep
1953
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1954
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1955
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1956
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1957
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1958
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1959
- # description: Does not grant access after Sep 2020 expression: request.time <
1960
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1961
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1962
- # google.com/iam/docs/).
1958
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1959
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1960
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1961
+ # an IAM predefined role or a user-created custom role. For some types of Google
1962
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1963
+ # logical expression that allows access to a resource only if the expression
1964
+ # evaluates to `true`. A condition can add constraints based on attributes of
1965
+ # the request, the resource, or both. To learn which resources support
1966
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1967
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1968
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1969
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1970
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1971
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1972
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1973
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1974
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1975
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1976
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1977
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1978
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1979
+ # access description: Does not grant access after Sep 2020 expression: request.
1980
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1981
+ # a description of IAM and its features, see the [IAM documentation](https://
1982
+ # cloud.google.com/iam/docs/).
1963
1983
  class Policy
1964
1984
  include Google::Apis::Core::Hashable
1965
1985
 
@@ -1968,9 +1988,14 @@ module Google
1968
1988
  # @return [Array<Google::Apis::CloudassetV1p7beta1::AuditConfig>]
1969
1989
  attr_accessor :audit_configs
1970
1990
 
1971
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1972
- # condition` that determines how and when the `bindings` are applied. Each of
1973
- # the `bindings` must contain at least one member.
1991
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1992
+ # specify a `condition` that determines how and when the `bindings` are applied.
1993
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1994
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1995
+ # can be Google groups. Each occurrence of a principal counts towards these
1996
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1997
+ # example.com`, and not to any other principal, then you can add another 1,450
1998
+ # principals to the `bindings` in the `Policy`.
1974
1999
  # Corresponds to the JSON property `bindings`
1975
2000
  # @return [Array<Google::Apis::CloudassetV1p7beta1::Binding>]
1976
2001
  attr_accessor :bindings
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudassetV1p7beta1
18
18
  # Version of the google-apis-cloudasset_v1p7beta1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.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
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module CloudassetV1p7beta1
24
24
 
25
+ class AnalyzeIamPolicyLongrunningMetadata
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AnalyzeIamPolicyLongrunningResponse
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -268,6 +274,13 @@ module Google
268
274
  include Google::Apis::Core::JsonObjectSupport
269
275
  end
270
276
 
277
+ class AnalyzeIamPolicyLongrunningMetadata
278
+ # @private
279
+ class Representation < Google::Apis::Core::JsonRepresentation
280
+ property :create_time, as: 'createTime'
281
+ end
282
+ end
283
+
271
284
  class AnalyzeIamPolicyLongrunningResponse
272
285
  # @private
273
286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1p7beta1'
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_v1p7beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.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-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_v1p7beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-cloudasset_v1p7beta1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudasset_v1p7beta1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudasset_v1p7beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: