google-apis-privateca_v1 0.29.0 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03240dff4e744c0c95d9b8b7560d54402c414aa689622dc380b47fd1b597526b
4
- data.tar.gz: cde596b7f6d9c7b3346c902475c237b75ee85132659d5b42da3ec70cf9fc89fa
3
+ metadata.gz: 742d1d62669a514b371187b55f4b9a0dd91c8299cbf44b4b48414089d7b65729
4
+ data.tar.gz: e39d7132abc1191ab9ff25b6e8a3530f231ae7f9a8d25a728c7dee2d60b7d49d
5
5
  SHA512:
6
- metadata.gz: 6d608b2a0c73e19b51cd6520a4f368c7a6617ea4d6f89184a37b47382dcc4322864ce8f7cea5b4ae7a36723047116eb69a85236219cdba30b49e64cb255027a6
7
- data.tar.gz: c4892abd7462b9f6c53972a15cc3f745cda3ffa7b3294513c562340f4acc5a62c618af5dbd2a69e85440bd9edc78385403a6985dca26bd1d722430a9d5c6fa9d
6
+ metadata.gz: 03c99f73e6a9f68e95fec2ea95df263c206321b3326457f193eb240c17e52030381fa152615d52d7107c4675b586a35ab778fce7c8fccb8ac521742996d15b62
7
+ data.tar.gz: 846e5ca1aeccbac3e3009e12dce3a2d44a6c32f6e82112a297dcf8960734a111b263d875325ae70be71372ff894112c2e39801113313cb1cde0a908d8715b02c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-privateca_v1
2
2
 
3
+ ### v0.30.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230403
6
+
3
7
  ### v0.29.0 (2023-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20230315
@@ -972,6 +972,15 @@ module Google
972
972
  class DisableCertificateAuthorityRequest
973
973
  include Google::Apis::Core::Hashable
974
974
 
975
+ # Optional. This field allows this CA to be disabled even if it's being depended
976
+ # on by another resource. However, doing so may result in unintended and
977
+ # unrecoverable effects on any dependent resource(s) since the CA will no longer
978
+ # be able to issue certificates.
979
+ # Corresponds to the JSON property `ignoreDependentResources`
980
+ # @return [Boolean]
981
+ attr_accessor :ignore_dependent_resources
982
+ alias_method :ignore_dependent_resources?, :ignore_dependent_resources
983
+
975
984
  # Optional. An ID to identify requests. Specify a unique request ID so that if
976
985
  # you must retry your request, the server will know to ignore the request if it
977
986
  # has already been completed. The server will guarantee that for at least 60
@@ -992,6 +1001,7 @@ module Google
992
1001
 
993
1002
  # Update properties of this object
994
1003
  def update!(**args)
1004
+ @ignore_dependent_resources = args[:ignore_dependent_resources] if args.key?(:ignore_dependent_resources)
995
1005
  @request_id = args[:request_id] if args.key?(:request_id)
996
1006
  end
997
1007
  end
@@ -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.29.0"
19
+ GEM_VERSION = "0.30.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230315"
25
+ REVISION = "20230403"
26
26
  end
27
27
  end
28
28
  end
@@ -659,6 +659,7 @@ module Google
659
659
  class DisableCertificateAuthorityRequest
660
660
  # @private
661
661
  class Representation < Google::Apis::Core::JsonRepresentation
662
+ property :ignore_dependent_resources, as: 'ignoreDependentResources'
662
663
  property :request_id, as: 'requestId'
663
664
  end
664
665
  end
@@ -178,6 +178,11 @@ module Google
178
178
  # @param [String] name
179
179
  # Required. The resource name for this CaPool in the format `projects/*/
180
180
  # locations/*/caPools/*`.
181
+ # @param [Boolean] ignore_dependent_resources
182
+ # Optional. This field allows this pool to be deleted even if it's being
183
+ # depended on by another resource. However, doing so may result in unintended
184
+ # and unrecoverable effects on any dependent resource(s) since the pool will no
185
+ # longer be able to issue certificates.
181
186
  # @param [String] request_id
182
187
  # Optional. An ID to identify requests. Specify a unique request ID so that if
183
188
  # you must retry your request, the server will know to ignore the request if it
@@ -206,11 +211,12 @@ module Google
206
211
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
207
212
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
208
213
  # @raise [Google::Apis::AuthorizationError] Authorization is required
209
- def delete_project_location_ca_pool(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
214
+ def delete_project_location_ca_pool(name, ignore_dependent_resources: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
210
215
  command = make_simple_command(:delete, 'v1/{+name}', options)
211
216
  command.response_representation = Google::Apis::PrivatecaV1::Operation::Representation
212
217
  command.response_class = Google::Apis::PrivatecaV1::Operation
213
218
  command.params['name'] = name unless name.nil?
219
+ command.query['ignoreDependentResources'] = ignore_dependent_resources unless ignore_dependent_resources.nil?
214
220
  command.query['requestId'] = request_id unless request_id.nil?
215
221
  command.query['fields'] = fields unless fields.nil?
216
222
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -594,6 +600,11 @@ module Google
594
600
  # @param [Boolean] ignore_active_certificates
595
601
  # Optional. This field allows the CA to be deleted even if the CA has active
596
602
  # certs. Active certs include both unrevoked and unexpired certs.
603
+ # @param [Boolean] ignore_dependent_resources
604
+ # Optional. This field allows this ca to be deleted even if it's being depended
605
+ # on by another resource. However, doing so may result in unintended and
606
+ # unrecoverable effects on any dependent resource(s) since the CA will no longer
607
+ # be able to issue certificates.
597
608
  # @param [String] request_id
598
609
  # Optional. An ID to identify requests. Specify a unique request ID so that if
599
610
  # you must retry your request, the server will know to ignore the request if it
@@ -626,12 +637,13 @@ module Google
626
637
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
627
638
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
628
639
  # @raise [Google::Apis::AuthorizationError] Authorization is required
629
- def delete_project_location_ca_pool_certificate_authority(name, ignore_active_certificates: nil, request_id: nil, skip_grace_period: nil, fields: nil, quota_user: nil, options: nil, &block)
640
+ def delete_project_location_ca_pool_certificate_authority(name, ignore_active_certificates: nil, ignore_dependent_resources: nil, request_id: nil, skip_grace_period: nil, fields: nil, quota_user: nil, options: nil, &block)
630
641
  command = make_simple_command(:delete, 'v1/{+name}', options)
631
642
  command.response_representation = Google::Apis::PrivatecaV1::Operation::Representation
632
643
  command.response_class = Google::Apis::PrivatecaV1::Operation
633
644
  command.params['name'] = name unless name.nil?
634
645
  command.query['ignoreActiveCertificates'] = ignore_active_certificates unless ignore_active_certificates.nil?
646
+ command.query['ignoreDependentResources'] = ignore_dependent_resources unless ignore_dependent_resources.nil?
635
647
  command.query['requestId'] = request_id unless request_id.nil?
636
648
  command.query['skipGracePeriod'] = skip_grace_period unless skip_grace_period.nil?
637
649
  command.query['fields'] = fields unless fields.nil?
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.29.0
4
+ version: 0.30.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: 2023-03-26 00:00:00.000000000 Z
11
+ date: 2023-04-16 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.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.30.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: []