google-apis-privateca_v1 0.9.0 → 0.13.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: 066a05dcc144811c1c6725240bf08398d3fc201ecc7e89d3da39c90447828c23
4
- data.tar.gz: 6247c63b5365592001df40f52a1e63f08948c028266c50d7e509c7a95acd51a8
3
+ metadata.gz: 41a311b25d201e4c2a698ad6aa4873b4ccd6670b2bd9310aa1d001ce50c6d156
4
+ data.tar.gz: dfa42a8dda0baf624f7832bf237c94838c629a45313d6880ddcccb4e9e6c1b15
5
5
  SHA512:
6
- metadata.gz: b17d5cca3448518c9ab949790242f65cd255d63754f465b5ac660d24fa99e7bd403df7d2093ef1a4a61ab0aeb9017d4505e6198cb285ace7bd663a7c012536d2
7
- data.tar.gz: ae2cee395a5502424430eb3843e90ac021478a66ed4ff5d3ce0328c873cca1f4535e946e8db1d825a4ab507a1b3bd62ddbd69ffa149b2a4c40131f343cf8e1c7
6
+ metadata.gz: c532d46227cdfdae3bef54a88c2c22da2c1b9dd56402257f57aa11530c5404d008194bd640289b7c3d56037daa1caed656f858beab409dc224184bbd78831c15
7
+ data.tar.gz: d9f181192eb316561f365e529edbdc4827ac88d6d68d4ec0254c871c1d02d5edffba9a1a42847f561de231e6e1c386e0a28ec7614abbecb00e84ebb606225915
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-privateca_v1
2
2
 
3
+ ### v0.13.0 (2022-01-16)
4
+
5
+ * Regenerated from discovery document revision 20220107
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.12.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.11.0 (2021-11-13)
13
+
14
+ * Regenerated from discovery document revision 20211103
15
+
16
+ ### v0.10.0 (2021-11-06)
17
+
18
+ * Regenerated from discovery document revision 20211101
19
+
3
20
  ### v0.9.0 (2021-10-30)
4
21
 
5
22
  * Regenerated from discovery document revision 20211020
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/privateca_v1"
51
51
  client = Google::Apis::PrivatecaV1::CertificateAuthorityServiceService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -299,11 +299,6 @@ 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
-
307
302
  # Defines controls over all certificate issuance within a CaPool.
308
303
  # Corresponds to the JSON property `issuancePolicy`
309
304
  # @return [Google::Apis::PrivatecaV1::IssuancePolicy]
@@ -333,24 +328,17 @@ module Google
333
328
  # @return [String]
334
329
  attr_accessor :tier
335
330
 
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
-
341
331
  def initialize(**args)
342
332
  update!(**args)
343
333
  end
344
334
 
345
335
  # Update properties of this object
346
336
  def update!(**args)
347
- @create_time = args[:create_time] if args.key?(:create_time)
348
337
  @issuance_policy = args[:issuance_policy] if args.key?(:issuance_policy)
349
338
  @labels = args[:labels] if args.key?(:labels)
350
339
  @name = args[:name] if args.key?(:name)
351
340
  @publishing_options = args[:publishing_options] if args.key?(:publishing_options)
352
341
  @tier = args[:tier] if args.key?(:tier)
353
- @update_time = args[:update_time] if args.key?(:update_time)
354
342
  end
355
343
  end
356
344
 
@@ -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.9.0"
19
+ GEM_VERSION = "0.13.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20211020"
25
+ REVISION = "20220107"
26
26
  end
27
27
  end
28
28
  end
@@ -484,7 +484,6 @@ module Google
484
484
  class CaPool
485
485
  # @private
486
486
  class Representation < Google::Apis::Core::JsonRepresentation
487
- property :create_time, as: 'createTime'
488
487
  property :issuance_policy, as: 'issuancePolicy', class: Google::Apis::PrivatecaV1::IssuancePolicy, decorator: Google::Apis::PrivatecaV1::IssuancePolicy::Representation
489
488
 
490
489
  hash :labels, as: 'labels'
@@ -492,7 +491,6 @@ module Google
492
491
  property :publishing_options, as: 'publishingOptions', class: Google::Apis::PrivatecaV1::PublishingOptions, decorator: Google::Apis::PrivatecaV1::PublishingOptions::Representation
493
492
 
494
493
  property :tier, as: 'tier'
495
- property :update_time, as: 'updateTime'
496
494
  end
497
495
  end
498
496
 
@@ -24,7 +24,7 @@ module Google
24
24
  #
25
25
  # The Certificate Authority Service API is a highly-available, scalable service
26
26
  # that enables you to simplify and automate the management of private
27
- # certificate authorities (CAs) while staying in control of your private keys."
27
+ # certificate authorities (CAs) while staying in control of your private keys.
28
28
  #
29
29
  # @example
30
30
  # require 'google/apis/privateca_v1'
@@ -289,13 +289,16 @@ module Google
289
289
  # REQUIRED: The resource for which the policy is being requested. See the
290
290
  # operation documentation for the appropriate value for this field.
291
291
  # @param [Fixnum] options_requested_policy_version
292
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
293
- # 3. Requests specifying an invalid value will be rejected. Requests for
294
- # policies with any conditional bindings must specify version 3. Policies
295
- # without any conditional bindings may specify any valid value or leave the
296
- # field unset. To learn which resources support conditions in their IAM policies,
297
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
298
- # resource-policies).
292
+ # Optional. The maximum policy version that will be used to format the policy.
293
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
294
+ # rejected. Requests for policies with any conditional role bindings must
295
+ # specify version 3. Policies with no conditional role bindings may specify any
296
+ # valid value or leave the field unset. The policy in the response might use the
297
+ # policy version that you specified, or it might use a lower policy version. For
298
+ # example, if you specify version 3, but the policy has no conditional role
299
+ # bindings, the response uses version 1. To learn which resources support
300
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
301
+ # google.com/iam/help/conditions/resource-policies).
299
302
  # @param [String] fields
300
303
  # Selector specifying which fields to include in a partial response.
301
304
  # @param [String] quota_user
@@ -928,13 +931,16 @@ module Google
928
931
  # REQUIRED: The resource for which the policy is being requested. See the
929
932
  # operation documentation for the appropriate value for this field.
930
933
  # @param [Fixnum] options_requested_policy_version
931
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
932
- # 3. Requests specifying an invalid value will be rejected. Requests for
933
- # policies with any conditional bindings must specify version 3. Policies
934
- # without any conditional bindings may specify any valid value or leave the
935
- # field unset. To learn which resources support conditions in their IAM policies,
936
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
937
- # resource-policies).
934
+ # Optional. The maximum policy version that will be used to format the policy.
935
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
936
+ # rejected. Requests for policies with any conditional role bindings must
937
+ # specify version 3. Policies with no conditional role bindings may specify any
938
+ # valid value or leave the field unset. The policy in the response might use the
939
+ # policy version that you specified, or it might use a lower policy version. For
940
+ # example, if you specify version 3, but the policy has no conditional role
941
+ # bindings, the response uses version 1. To learn which resources support
942
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
943
+ # google.com/iam/help/conditions/resource-policies).
938
944
  # @param [String] fields
939
945
  # Selector specifying which fields to include in a partial response.
940
946
  # @param [String] quota_user
@@ -1501,13 +1507,16 @@ module Google
1501
1507
  # REQUIRED: The resource for which the policy is being requested. See the
1502
1508
  # operation documentation for the appropriate value for this field.
1503
1509
  # @param [Fixnum] options_requested_policy_version
1504
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
1505
- # 3. Requests specifying an invalid value will be rejected. Requests for
1506
- # policies with any conditional bindings must specify version 3. Policies
1507
- # without any conditional bindings may specify any valid value or leave the
1508
- # field unset. To learn which resources support conditions in their IAM policies,
1509
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1510
- # resource-policies).
1510
+ # Optional. The maximum policy version that will be used to format the policy.
1511
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1512
+ # rejected. Requests for policies with any conditional role bindings must
1513
+ # specify version 3. Policies with no conditional role bindings may specify any
1514
+ # valid value or leave the field unset. The policy in the response might use the
1515
+ # policy version that you specified, or it might use a lower policy version. For
1516
+ # example, if you specify version 3, but the policy has no conditional role
1517
+ # bindings, the response uses version 1. To learn which resources support
1518
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1519
+ # google.com/iam/help/conditions/resource-policies).
1511
1520
  # @param [String] fields
1512
1521
  # Selector specifying which fields to include in a partial response.
1513
1522
  # @param [String] quota_user
@@ -1706,6 +1715,50 @@ module Google
1706
1715
  execute_or_queue_command(command, &block)
1707
1716
  end
1708
1717
 
1718
+ # Gets the access control policy for a resource. Returns an empty policy if the
1719
+ # resource exists and does not have a policy set.
1720
+ # @param [String] resource
1721
+ # REQUIRED: The resource for which the policy is being requested. See the
1722
+ # operation documentation for the appropriate value for this field.
1723
+ # @param [Fixnum] options_requested_policy_version
1724
+ # Optional. The maximum policy version that will be used to format the policy.
1725
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1726
+ # rejected. Requests for policies with any conditional role bindings must
1727
+ # specify version 3. Policies with no conditional role bindings may specify any
1728
+ # valid value or leave the field unset. The policy in the response might use the
1729
+ # policy version that you specified, or it might use a lower policy version. For
1730
+ # example, if you specify version 3, but the policy has no conditional role
1731
+ # bindings, the response uses version 1. To learn which resources support
1732
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1733
+ # google.com/iam/help/conditions/resource-policies).
1734
+ # @param [String] fields
1735
+ # Selector specifying which fields to include in a partial response.
1736
+ # @param [String] quota_user
1737
+ # Available to use for quota purposes for server-side applications. Can be any
1738
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1739
+ # @param [Google::Apis::RequestOptions] options
1740
+ # Request-specific options
1741
+ #
1742
+ # @yield [result, err] Result & error if block supplied
1743
+ # @yieldparam result [Google::Apis::PrivatecaV1::Policy] parsed result object
1744
+ # @yieldparam err [StandardError] error object if request failed
1745
+ #
1746
+ # @return [Google::Apis::PrivatecaV1::Policy]
1747
+ #
1748
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1749
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1750
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1751
+ def get_project_location_managed_pki_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1752
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
1753
+ command.response_representation = Google::Apis::PrivatecaV1::Policy::Representation
1754
+ command.response_class = Google::Apis::PrivatecaV1::Policy
1755
+ command.params['resource'] = resource unless resource.nil?
1756
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1757
+ command.query['fields'] = fields unless fields.nil?
1758
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1759
+ execute_or_queue_command(command, &block)
1760
+ end
1761
+
1709
1762
  # Starts asynchronous cancellation on a long-running operation. The server makes
1710
1763
  # a best effort to cancel the operation, but success is not guaranteed. If the
1711
1764
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -23,7 +23,7 @@ module Google
23
23
  #
24
24
  # The Certificate Authority Service API is a highly-available, scalable service
25
25
  # that enables you to simplify and automate the management of private
26
- # certificate authorities (CAs) while staying in control of your private keys."
26
+ # certificate authorities (CAs) while staying in control of your private keys.
27
27
  #
28
28
  # @see https://cloud.google.com/
29
29
  module PrivatecaV1
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.9.0
4
+ version: 0.13.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-01 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
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
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.13.0
62
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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Certificate Authority API V1