google-apis-privateca_v1 0.47.0 → 0.49.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: 124214ae9b379721396c348db23619e549f1de023b5703352860fc5f43bdec10
4
- data.tar.gz: db3248a5d1986ed3f405beb55c06b4878f9140da7918c2e106328594054893c5
3
+ metadata.gz: 9271fe13d6bf58ddf7aabca52bd313a815c9a4b90db74ae3ddfb465d5245ea0d
4
+ data.tar.gz: bcecc9eadc7d8b054e4eb45260a96f4b0eec8e6b72d7edae5379b20eb893bb70
5
5
  SHA512:
6
- metadata.gz: 3a6f649742ad10a90169a5b605fc2e333947d9b1dfa22c1f7ad9a6533014fda5edb32d23501979526de529b60eccc4feb11d251cc437dd752c22b5ffafb4f2ec
7
- data.tar.gz: 58d1385d5be97247fcde84cb4e098438015745e707f4e6a47e9dfe8559bfed64e8d453714cbeb7f7867f4e39c9f8e2db4d76354017497d22323c202fce81f85d
6
+ metadata.gz: 06b867006fdcfd017e5052a980a23797fd144e326277971665c895ff88d65114e5817534f9a4206a5ad50eb3f61e2c4d8d8b98bd7237093ebf9d5d9c58972e3a
7
+ data.tar.gz: 7903324492f9757dfd829db2d26009840ecf6aec6a35f5d28cd511844279ed54128ef4822dd507605e06bca00b924e8bf86299ed279e62163b32f81e746614b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-privateca_v1
2
2
 
3
+ ### v0.49.0 (2025-02-26)
4
+
5
+ * Regenerated from discovery document revision 20250219
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.48.0 (2024-12-15)
9
+
10
+ * Regenerated from discovery document revision 20241204
11
+
3
12
  ### v0.47.0 (2024-11-24)
4
13
 
5
14
  * Regenerated from discovery document revision 20241106
@@ -342,8 +342,8 @@ module Google
342
342
  # @return [Hash<String,String>]
343
343
  attr_accessor :labels
344
344
 
345
- # Output only. Identifier. The resource name for this CaPool in the format `
346
- # projects/*/locations/*/caPools/*`.
345
+ # Identifier. The resource name for this CaPool in the format `projects/*/
346
+ # locations/*/caPools/*`.
347
347
  # Corresponds to the JSON property `name`
348
348
  # @return [String]
349
349
  attr_accessor :name
@@ -457,7 +457,7 @@ module Google
457
457
  # @return [String]
458
458
  attr_accessor :lifetime
459
459
 
460
- # Output only. The resource name for this Certificate in the format `projects/*/
460
+ # Identifier. The resource name for this Certificate in the format `projects/*/
461
461
  # locations/*/caPools/*/certificates/*`.
462
462
  # Corresponds to the JSON property `name`
463
463
  # @return [String]
@@ -583,8 +583,8 @@ module Google
583
583
  # @return [String]
584
584
  attr_accessor :lifetime
585
585
 
586
- # Output only. Identifier. The resource name for this CertificateAuthority in
587
- # the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
586
+ # Identifier. The resource name for this CertificateAuthority in the format `
587
+ # projects/*/locations/*/caPools/*/certificateAuthorities/*`.
588
588
  # Corresponds to the JSON property `name`
589
589
  # @return [String]
590
590
  attr_accessor :name
@@ -636,6 +636,11 @@ module Google
636
636
  # @return [String]
637
637
  attr_accessor :update_time
638
638
 
639
+ # User-defined URLs for accessing content published by this CertificateAuthority.
640
+ # Corresponds to the JSON property `userDefinedAccessUrls`
641
+ # @return [Google::Apis::PrivatecaV1::UserDefinedAccessUrls]
642
+ attr_accessor :user_defined_access_urls
643
+
639
644
  def initialize(**args)
640
645
  update!(**args)
641
646
  end
@@ -661,6 +666,7 @@ module Google
661
666
  @tier = args[:tier] if args.key?(:tier)
662
667
  @type = args[:type] if args.key?(:type)
663
668
  @update_time = args[:update_time] if args.key?(:update_time)
669
+ @user_defined_access_urls = args[:user_defined_access_urls] if args.key?(:user_defined_access_urls)
664
670
  end
665
671
  end
666
672
 
@@ -920,8 +926,8 @@ module Google
920
926
  # @return [Hash<String,String>]
921
927
  attr_accessor :labels
922
928
 
923
- # Output only. The resource name for this CertificateRevocationList in the
924
- # format `projects/*/locations/*/caPools/*certificateAuthorities/*/
929
+ # Identifier. The resource name for this CertificateRevocationList in the format
930
+ # `projects/*/locations/*/caPools/*certificateAuthorities/*/
925
931
  # certificateRevocationLists/*`.
926
932
  # Corresponds to the JSON property `name`
927
933
  # @return [String]
@@ -1013,7 +1019,7 @@ module Google
1013
1019
  # @return [String]
1014
1020
  attr_accessor :maximum_lifetime
1015
1021
 
1016
- # Output only. The resource name for this CertificateTemplate in the format `
1022
+ # Identifier. The resource name for this CertificateTemplate in the format `
1017
1023
  # projects/*/locations/*/certificateTemplates/*`.
1018
1024
  # Corresponds to the JSON property `name`
1019
1025
  # @return [String]
@@ -1387,6 +1393,16 @@ module Google
1387
1393
  # @return [Array<Google::Apis::PrivatecaV1::AllowedKeyType>]
1388
1394
  attr_accessor :allowed_key_types
1389
1395
 
1396
+ # Optional. The duration to backdate all certificates issued from this CaPool.
1397
+ # If not set, the certificates will be issued with a not_before_time of the
1398
+ # issuance time (i.e. the current time). If set, the certificates will be issued
1399
+ # with a not_before_time of the issuance time minus the backdate_duration. The
1400
+ # not_after_time will be adjusted to preserve the requested lifetime. The
1401
+ # backdate_duration must be less than or equal to 48 hours.
1402
+ # Corresponds to the JSON property `backdateDuration`
1403
+ # @return [String]
1404
+ attr_accessor :backdate_duration
1405
+
1390
1406
  # An X509Parameters is used to describe certain fields of an X.509 certificate,
1391
1407
  # such as the key usage fields, fields specific to CA certificates, certificate
1392
1408
  # policy extensions and custom extensions.
@@ -1421,6 +1437,7 @@ module Google
1421
1437
  def update!(**args)
1422
1438
  @allowed_issuance_modes = args[:allowed_issuance_modes] if args.key?(:allowed_issuance_modes)
1423
1439
  @allowed_key_types = args[:allowed_key_types] if args.key?(:allowed_key_types)
1440
+ @backdate_duration = args[:backdate_duration] if args.key?(:backdate_duration)
1424
1441
  @baseline_values = args[:baseline_values] if args.key?(:baseline_values)
1425
1442
  @identity_constraints = args[:identity_constraints] if args.key?(:identity_constraints)
1426
1443
  @maximum_lifetime = args[:maximum_lifetime] if args.key?(:maximum_lifetime)
@@ -2798,6 +2815,35 @@ module Google
2798
2815
  end
2799
2816
  end
2800
2817
 
2818
+ # User-defined URLs for accessing content published by this CertificateAuthority.
2819
+ class UserDefinedAccessUrls
2820
+ include Google::Apis::Core::Hashable
2821
+
2822
+ # Optional. A list of URLs where the issuer CA certificate may be downloaded,
2823
+ # which appears in the "Authority Information Access" extension in the
2824
+ # certificate. If specified, the default GCS URLs will be omitted.
2825
+ # Corresponds to the JSON property `aiaIssuingCertificateUrls`
2826
+ # @return [Array<String>]
2827
+ attr_accessor :aia_issuing_certificate_urls
2828
+
2829
+ # Optional. A list of URLs where to obtain CRL information, i.e. the
2830
+ # DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#
2831
+ # section-4.2.1.13. If specified, the default GCS URLs will be omitted.
2832
+ # Corresponds to the JSON property `crlAccessUrls`
2833
+ # @return [Array<String>]
2834
+ attr_accessor :crl_access_urls
2835
+
2836
+ def initialize(**args)
2837
+ update!(**args)
2838
+ end
2839
+
2840
+ # Update properties of this object
2841
+ def update!(**args)
2842
+ @aia_issuing_certificate_urls = args[:aia_issuing_certificate_urls] if args.key?(:aia_issuing_certificate_urls)
2843
+ @crl_access_urls = args[:crl_access_urls] if args.key?(:crl_access_urls)
2844
+ end
2845
+ end
2846
+
2801
2847
  # An X509Extension specifies an X.509 extension, which may be used in different
2802
2848
  # parts of X.509 objects like certificates, CSRs, and CRLs.
2803
2849
  class X509Extension
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241106"
25
+ REVISION = "20250219"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,12 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class UserDefinedAccessUrls
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
421
427
  class X509Extension
422
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
429
 
@@ -569,6 +575,8 @@ module Google
569
575
  property :tier, as: 'tier'
570
576
  property :type, as: 'type'
571
577
  property :update_time, as: 'updateTime'
578
+ property :user_defined_access_urls, as: 'userDefinedAccessUrls', class: Google::Apis::PrivatecaV1::UserDefinedAccessUrls, decorator: Google::Apis::PrivatecaV1::UserDefinedAccessUrls::Representation
579
+
572
580
  end
573
581
  end
574
582
 
@@ -762,6 +770,7 @@ module Google
762
770
 
763
771
  collection :allowed_key_types, as: 'allowedKeyTypes', class: Google::Apis::PrivatecaV1::AllowedKeyType, decorator: Google::Apis::PrivatecaV1::AllowedKeyType::Representation
764
772
 
773
+ property :backdate_duration, as: 'backdateDuration'
765
774
  property :baseline_values, as: 'baselineValues', class: Google::Apis::PrivatecaV1::X509Parameters, decorator: Google::Apis::PrivatecaV1::X509Parameters::Representation
766
775
 
767
776
  property :identity_constraints, as: 'identityConstraints', class: Google::Apis::PrivatecaV1::CertificateIdentityConstraints, decorator: Google::Apis::PrivatecaV1::CertificateIdentityConstraints::Representation
@@ -1115,6 +1124,14 @@ module Google
1115
1124
  end
1116
1125
  end
1117
1126
 
1127
+ class UserDefinedAccessUrls
1128
+ # @private
1129
+ class Representation < Google::Apis::Core::JsonRepresentation
1130
+ collection :aia_issuing_certificate_urls, as: 'aiaIssuingCertificateUrls'
1131
+ collection :crl_access_urls, as: 'crlAccessUrls'
1132
+ end
1133
+ end
1134
+
1118
1135
  class X509Extension
1119
1136
  # @private
1120
1137
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -385,8 +385,8 @@ module Google
385
385
 
386
386
  # Update a CaPool.
387
387
  # @param [String] name
388
- # Output only. Identifier. The resource name for this CaPool in the format `
389
- # projects/*/locations/*/caPools/*`.
388
+ # Identifier. The resource name for this CaPool in the format `projects/*/
389
+ # locations/*/caPools/*`.
390
390
  # @param [Google::Apis::PrivatecaV1::CaPool] ca_pool_object
391
391
  # @param [String] request_id
392
392
  # Optional. An ID to identify requests. Specify a unique request ID so that if
@@ -836,8 +836,8 @@ module Google
836
836
 
837
837
  # Update a CertificateAuthority.
838
838
  # @param [String] name
839
- # Output only. Identifier. The resource name for this CertificateAuthority in
840
- # the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
839
+ # Identifier. The resource name for this CertificateAuthority in the format `
840
+ # projects/*/locations/*/caPools/*/certificateAuthorities/*`.
841
841
  # @param [Google::Apis::PrivatecaV1::CertificateAuthority] certificate_authority_object
842
842
  # @param [String] request_id
843
843
  # Optional. An ID to identify requests. Specify a unique request ID so that if
@@ -1043,8 +1043,8 @@ module Google
1043
1043
 
1044
1044
  # Update a CertificateRevocationList.
1045
1045
  # @param [String] name
1046
- # Output only. The resource name for this CertificateRevocationList in the
1047
- # format `projects/*/locations/*/caPools/*certificateAuthorities/*/
1046
+ # Identifier. The resource name for this CertificateRevocationList in the format
1047
+ # `projects/*/locations/*/caPools/*certificateAuthorities/*/
1048
1048
  # certificateRevocationLists/*`.
1049
1049
  # @param [Google::Apis::PrivatecaV1::CertificateRevocationList] certificate_revocation_list_object
1050
1050
  # @param [String] request_id
@@ -1322,7 +1322,7 @@ module Google
1322
1322
  # Update a Certificate. Currently, the only field you can update is the labels
1323
1323
  # field.
1324
1324
  # @param [String] name
1325
- # Output only. The resource name for this Certificate in the format `projects/*/
1325
+ # Identifier. The resource name for this Certificate in the format `projects/*/
1326
1326
  # locations/*/caPools/*/certificates/*`.
1327
1327
  # @param [Google::Apis::PrivatecaV1::Certificate] certificate_object
1328
1328
  # @param [String] request_id
@@ -1620,7 +1620,7 @@ module Google
1620
1620
 
1621
1621
  # Update a CertificateTemplate.
1622
1622
  # @param [String] name
1623
- # Output only. The resource name for this CertificateTemplate in the format `
1623
+ # Identifier. The resource name for this CertificateTemplate in the format `
1624
1624
  # projects/*/locations/*/certificateTemplates/*`.
1625
1625
  # @param [Google::Apis::PrivatecaV1::CertificateTemplate] certificate_template_object
1626
1626
  # @param [String] request_id
@@ -1749,8 +1749,8 @@ module Google
1749
1749
  # Clients can use Operations.GetOperation or other methods to check whether the
1750
1750
  # cancellation succeeded or whether the operation completed despite cancellation.
1751
1751
  # On successful cancellation, the operation is not deleted; instead, it becomes
1752
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1753
- # corresponding to `Code.CANCELLED`.
1752
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1753
+ # , corresponding to `Code.CANCELLED`.
1754
1754
  # @param [String] name
1755
1755
  # The name of the operation resource to be cancelled.
1756
1756
  # @param [Google::Apis::PrivatecaV1::CancelOperationRequest] cancel_operation_request_object
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-privateca_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-04 00:00:00.000000000 Z
10
+ date: 2025-03-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  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.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-privateca_v1/v0.49.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-privateca_v1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.22
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Certificate Authority API V1
82
79
  test_files: []