google-apis-privateca_v1 0.5.0 → 0.9.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: f1b1b14f58f77b3c2638b88cf49fc163fff0c5414a47c7ff6d794ce9a25e59ce
4
- data.tar.gz: 2d2fcc24211bfc30cd7b3fb3dcf2d87388b10437a7d11d9e78462a0157c0b994
3
+ metadata.gz: 066a05dcc144811c1c6725240bf08398d3fc201ecc7e89d3da39c90447828c23
4
+ data.tar.gz: 6247c63b5365592001df40f52a1e63f08948c028266c50d7e509c7a95acd51a8
5
5
  SHA512:
6
- metadata.gz: e10d0878b9ef15751cf2b53c5d1de67d39034a86437c1b93943332488ab18bd3fdba8c894fa02151567e9fd98c15a82c5a0ddb637711b9dd34be35626a755741
7
- data.tar.gz: 5306b5b4ad7f5a5459c3ddfe0bffca38acff25ec1b084a74f7f82a10573e2b84b9774853ad3985c8edac5eb269efee376c86463aae48638b14c695e8b71a1878
6
+ metadata.gz: b17d5cca3448518c9ab949790242f65cd255d63754f465b5ac660d24fa99e7bd403df7d2093ef1a4a61ab0aeb9017d4505e6198cb285ace7bd663a7c012536d2
7
+ data.tar.gz: ae2cee395a5502424430eb3843e90ac021478a66ed4ff5d3ce0328c873cca1f4535e946e8db1d825a4ab507a1b3bd62ddbd69ffa149b2a4c40131f343cf8e1c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-privateca_v1
2
2
 
3
+ ### v0.9.0 (2021-10-30)
4
+
5
+ * Regenerated from discovery document revision 20211020
6
+
7
+ ### v0.8.0 (2021-10-23)
8
+
9
+ * Regenerated from discovery document revision 20211006
10
+ * Unspecified changes
11
+
12
+ ### v0.7.0 (2021-10-04)
13
+
14
+ * Regenerated from discovery document revision 20210922
15
+
16
+ ### v0.6.0 (2021-09-01)
17
+
18
+ * Regenerated from discovery document revision 20210819
19
+
3
20
  ### v0.5.0 (2021-07-28)
4
21
 
5
22
  * Regenerated from discovery document revision 20210721
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 Privateca service in particular.)
67
67
 
@@ -191,7 +191,7 @@ module Google
191
191
  end
192
192
  end
193
193
 
194
- # Associates `members` with a `role`.
194
+ # Associates `members`, or principals, with a `role`.
195
195
  class Binding
196
196
  include Google::Apis::Core::Hashable
197
197
 
@@ -214,7 +214,7 @@ module Google
214
214
  # @return [Google::Apis::PrivatecaV1::Expr]
215
215
  attr_accessor :condition
216
216
 
217
- # Specifies the identities requesting access for a Cloud Platform resource. `
217
+ # Specifies the principals requesting access for a Cloud Platform resource. `
218
218
  # members` can have the following values: * `allUsers`: A special identifier
219
219
  # that represents anyone who is on the internet; with or without a Google
220
220
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -244,8 +244,8 @@ module Google
244
244
  # @return [Array<String>]
245
245
  attr_accessor :members
246
246
 
247
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
248
- # , or `roles/owner`.
247
+ # Role that is assigned to the list of `members`, or principals. For example, `
248
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
249
249
  # Corresponds to the JSON property `role`
250
250
  # @return [String]
251
251
  attr_accessor :role
@@ -299,6 +299,11 @@ module Google
299
299
  class CaPool
300
300
  include Google::Apis::Core::Hashable
301
301
 
302
+ # Output only. The time at which this CaPool was created.
303
+ # Corresponds to the JSON property `createTime`
304
+ # @return [String]
305
+ attr_accessor :create_time
306
+
302
307
  # Defines controls over all certificate issuance within a CaPool.
303
308
  # Corresponds to the JSON property `issuancePolicy`
304
309
  # @return [Google::Apis::PrivatecaV1::IssuancePolicy]
@@ -328,17 +333,24 @@ module Google
328
333
  # @return [String]
329
334
  attr_accessor :tier
330
335
 
336
+ # Output only. The time at which this CaPool was last updated.
337
+ # Corresponds to the JSON property `updateTime`
338
+ # @return [String]
339
+ attr_accessor :update_time
340
+
331
341
  def initialize(**args)
332
342
  update!(**args)
333
343
  end
334
344
 
335
345
  # Update properties of this object
336
346
  def update!(**args)
347
+ @create_time = args[:create_time] if args.key?(:create_time)
337
348
  @issuance_policy = args[:issuance_policy] if args.key?(:issuance_policy)
338
349
  @labels = args[:labels] if args.key?(:labels)
339
350
  @name = args[:name] if args.key?(:name)
340
351
  @publishing_options = args[:publishing_options] if args.key?(:publishing_options)
341
352
  @tier = args[:tier] if args.key?(:tier)
353
+ @update_time = args[:update_time] if args.key?(:update_time)
342
354
  end
343
355
  end
344
356
 
@@ -543,8 +555,9 @@ module Google
543
555
  # @return [Hash<String,String>]
544
556
  attr_accessor :labels
545
557
 
546
- # Required. The desired lifetime of the CA certificate. Used to create the "
547
- # not_before_time" and "not_after_time" fields inside an X.509 certificate.
558
+ # Required. Immutable. The desired lifetime of the CA certificate. Used to
559
+ # create the "not_before_time" and "not_after_time" fields inside an X.509
560
+ # certificate.
548
561
  # Corresponds to the JSON property `lifetime`
549
562
  # @return [String]
550
563
  attr_accessor :lifetime
@@ -1893,31 +1906,31 @@ module Google
1893
1906
 
1894
1907
  # An Identity and Access Management (IAM) policy, which specifies access
1895
1908
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1896
- # A `binding` binds one or more `members` to a single `role`. Members can be
1897
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1898
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1899
- # role or a user-created custom role. For some types of Google Cloud resources,
1900
- # a `binding` can also specify a `condition`, which is a logical expression that
1901
- # allows access to a resource only if the expression evaluates to `true`. A
1902
- # condition can add constraints based on attributes of the request, the resource,
1903
- # or both. To learn which resources support conditions in their IAM policies,
1904
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1905
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1906
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1907
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1908
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1909
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1910
- # title": "expirable access", "description": "Does not grant access after Sep
1911
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1912
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1913
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1914
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1915
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1916
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1917
- # description: Does not grant access after Sep 2020 expression: request.time <
1918
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1919
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1920
- # google.com/iam/docs/).
1909
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1910
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1911
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1912
+ # an IAM predefined role or a user-created custom role. For some types of Google
1913
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1914
+ # logical expression that allows access to a resource only if the expression
1915
+ # evaluates to `true`. A condition can add constraints based on attributes of
1916
+ # the request, the resource, or both. To learn which resources support
1917
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1918
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1919
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1920
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1921
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1922
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1923
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1924
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1925
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1926
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1927
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1928
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1929
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1930
+ # access description: Does not grant access after Sep 2020 expression: request.
1931
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1932
+ # a description of IAM and its features, see the [IAM documentation](https://
1933
+ # cloud.google.com/iam/docs/).
1921
1934
  class Policy
1922
1935
  include Google::Apis::Core::Hashable
1923
1936
 
@@ -1926,9 +1939,14 @@ module Google
1926
1939
  # @return [Array<Google::Apis::PrivatecaV1::AuditConfig>]
1927
1940
  attr_accessor :audit_configs
1928
1941
 
1929
- # Associates a list of `members` to a `role`. Optionally, may specify a `
1930
- # condition` that determines how and when the `bindings` are applied. Each of
1931
- # the `bindings` must contain at least one member.
1942
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
1943
+ # specify a `condition` that determines how and when the `bindings` are applied.
1944
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
1945
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
1946
+ # can be Google groups. Each occurrence of a principal counts towards these
1947
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
1948
+ # example.com`, and not to any other principal, then you can add another 1,450
1949
+ # principals to the `bindings` in the `Policy`.
1932
1950
  # Corresponds to the JSON property `bindings`
1933
1951
  # @return [Array<Google::Apis::PrivatecaV1::Binding>]
1934
1952
  attr_accessor :bindings
@@ -2168,16 +2186,16 @@ module Google
2168
2186
  class RsaKeyType
2169
2187
  include Google::Apis::Core::Hashable
2170
2188
 
2171
- # Optional. The maximum allowed RSA modulus size, in bits. If this is not set,
2172
- # or if set to zero, the service will not enforce an explicit upper bound on RSA
2173
- # modulus sizes.
2189
+ # Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this
2190
+ # is not set, or if set to zero, the service will not enforce an explicit upper
2191
+ # bound on RSA modulus sizes.
2174
2192
  # Corresponds to the JSON property `maxModulusSize`
2175
2193
  # @return [Fixnum]
2176
2194
  attr_accessor :max_modulus_size
2177
2195
 
2178
- # Optional. The minimum allowed RSA modulus size, in bits. If this is not set,
2179
- # or if set to zero, the service-level min RSA modulus size will continue to
2180
- # apply.
2196
+ # Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this
2197
+ # is not set, or if set to zero, the service-level min RSA modulus size will
2198
+ # continue to apply.
2181
2199
  # Corresponds to the JSON property `minModulusSize`
2182
2200
  # @return [Fixnum]
2183
2201
  attr_accessor :min_modulus_size
@@ -2199,31 +2217,31 @@ module Google
2199
2217
 
2200
2218
  # An Identity and Access Management (IAM) policy, which specifies access
2201
2219
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2202
- # A `binding` binds one or more `members` to a single `role`. Members can be
2203
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
2204
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
2205
- # role or a user-created custom role. For some types of Google Cloud resources,
2206
- # a `binding` can also specify a `condition`, which is a logical expression that
2207
- # allows access to a resource only if the expression evaluates to `true`. A
2208
- # condition can add constraints based on attributes of the request, the resource,
2209
- # or both. To learn which resources support conditions in their IAM policies,
2210
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2211
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2212
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2213
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2214
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2215
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2216
- # title": "expirable access", "description": "Does not grant access after Sep
2217
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2218
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2219
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
2220
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2221
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2222
- # roles/resourcemanager.organizationViewer condition: title: expirable access
2223
- # description: Does not grant access after Sep 2020 expression: request.time <
2224
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2225
- # description of IAM and its features, see the [IAM documentation](https://cloud.
2226
- # google.com/iam/docs/).
2220
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
2221
+ # Principals can be user accounts, service accounts, Google groups, and domains (
2222
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
2223
+ # an IAM predefined role or a user-created custom role. For some types of Google
2224
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
2225
+ # logical expression that allows access to a resource only if the expression
2226
+ # evaluates to `true`. A condition can add constraints based on attributes of
2227
+ # the request, the resource, or both. To learn which resources support
2228
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2229
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
2230
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
2231
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
2232
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
2233
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
2234
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
2235
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
2236
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
2237
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
2238
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
2239
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
2240
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
2241
+ # access description: Does not grant access after Sep 2020 expression: request.
2242
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
2243
+ # a description of IAM and its features, see the [IAM documentation](https://
2244
+ # cloud.google.com/iam/docs/).
2227
2245
  # Corresponds to the JSON property `policy`
2228
2246
  # @return [Google::Apis::PrivatecaV1::Policy]
2229
2247
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PrivatecaV1
18
18
  # Version of the google-apis-privateca_v1 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.9.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 = "20210721"
25
+ REVISION = "20211020"
26
26
  end
27
27
  end
28
28
  end
@@ -484,6 +484,7 @@ module Google
484
484
  class CaPool
485
485
  # @private
486
486
  class Representation < Google::Apis::Core::JsonRepresentation
487
+ property :create_time, as: 'createTime'
487
488
  property :issuance_policy, as: 'issuancePolicy', class: Google::Apis::PrivatecaV1::IssuancePolicy, decorator: Google::Apis::PrivatecaV1::IssuancePolicy::Representation
488
489
 
489
490
  hash :labels, as: 'labels'
@@ -491,6 +492,7 @@ module Google
491
492
  property :publishing_options, as: 'publishingOptions', class: Google::Apis::PrivatecaV1::PublishingOptions, decorator: Google::Apis::PrivatecaV1::PublishingOptions::Representation
492
493
 
493
494
  property :tier, as: 'tier'
495
+ property :update_time, as: 'updateTime'
494
496
  end
495
497
  end
496
498
 
@@ -31,7 +31,7 @@ module Google
31
31
  # This is NOT the gem version.
32
32
  VERSION = 'V1'
33
33
 
34
- # See, edit, configure, and delete your Google Cloud Platform data
34
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
35
35
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
36
36
  end
37
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-privateca_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.9.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-08-02 00:00:00.000000000 Z
11
+ date: 2021-11-01 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/master/generated/google-apis-privateca_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.5.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-privateca_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.9.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: