Skip to content

Commit 1c7316a

Browse files
feat: Automated regeneration of privateca v1 client (googleapis#23373)
Auto-created at 2025-06-08 10:47:15 +0000 using the toys pull request generator.
1 parent 21ed27d commit 1c7316a

File tree

5 files changed

+108
-3
lines changed

5 files changed

+108
-3
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305622,6 +305622,10 @@
305622305622
"/privateca:v1/AllowedKeyType": allowed_key_type
305623305623
"/privateca:v1/AllowedKeyType/ellipticCurve": elliptic_curve
305624305624
"/privateca:v1/AllowedKeyType/rsa": rsa
305625+
"/privateca:v1/AttributeTypeAndValue": attribute_type_and_value
305626+
"/privateca:v1/AttributeTypeAndValue/objectId": object_id_prop
305627+
"/privateca:v1/AttributeTypeAndValue/type": type
305628+
"/privateca:v1/AttributeTypeAndValue/value": value
305625305629
"/privateca:v1/AuditConfig": audit_config
305626305630
"/privateca:v1/AuditConfig/auditLogConfigs": audit_log_configs
305627305631
"/privateca:v1/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
@@ -305905,6 +305909,9 @@
305905305909
"/privateca:v1/ReconciliationOperationMetadata": reconciliation_operation_metadata
305906305910
"/privateca:v1/ReconciliationOperationMetadata/deleteResource": delete_resource
305907305911
"/privateca:v1/ReconciliationOperationMetadata/exclusiveAction": exclusive_action
305912+
"/privateca:v1/RelativeDistinguishedName": relative_distinguished_name
305913+
"/privateca:v1/RelativeDistinguishedName/attributes": attributes
305914+
"/privateca:v1/RelativeDistinguishedName/attributes/attribute": attribute
305908305915
"/privateca:v1/RevocationDetails": revocation_details
305909305916
"/privateca:v1/RevocationDetails/revocationState": revocation_state
305910305917
"/privateca:v1/RevocationDetails/revocationTime": revocation_time
@@ -305935,6 +305942,8 @@
305935305942
"/privateca:v1/Subject/organizationalUnit": organizational_unit
305936305943
"/privateca:v1/Subject/postalCode": postal_code
305937305944
"/privateca:v1/Subject/province": province
305945+
"/privateca:v1/Subject/rdnSequence": rdn_sequence
305946+
"/privateca:v1/Subject/rdnSequence/rdn_sequence": rdn_sequence
305938305947
"/privateca:v1/Subject/streetAddress": street_address
305939305948
"/privateca:v1/SubjectAltNames": subject_alt_names
305940305949
"/privateca:v1/SubjectAltNames/customSans": custom_sans

generated/google-apis-privateca_v1/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-privateca_v1
22

3+
### v0.53.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250528
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.52.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

generated/google-apis-privateca_v1/lib/google/apis/privateca_v1/classes.rb

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,39 @@ def update!(**args)
120120
end
121121
end
122122

123+
# AttributeTypeAndValue specifies an attribute type and value. It can use either
124+
# a OID or enum value to specify the attribute type.
125+
class AttributeTypeAndValue
126+
include Google::Apis::Core::Hashable
127+
128+
# An ObjectId specifies an object identifier (OID). These provide context and
129+
# describe types in ASN.1 messages.
130+
# Corresponds to the JSON property `objectId`
131+
# @return [Google::Apis::PrivatecaV1::ObjectIdProp]
132+
attr_accessor :object_id_prop
133+
134+
# The attribute type of the attribute and value pair.
135+
# Corresponds to the JSON property `type`
136+
# @return [String]
137+
attr_accessor :type
138+
139+
# The value for the attribute type.
140+
# Corresponds to the JSON property `value`
141+
# @return [String]
142+
attr_accessor :value
143+
144+
def initialize(**args)
145+
update!(**args)
146+
end
147+
148+
# Update properties of this object
149+
def update!(**args)
150+
@object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
151+
@type = args[:type] if args.key?(:type)
152+
@value = args[:value] if args.key?(:value)
153+
end
154+
end
155+
123156
# Specifies the audit configuration for a service. The configuration determines
124157
# which permission types are logged, and what identities, if any, are exempted
125158
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -2292,6 +2325,26 @@ def update!(**args)
22922325
end
22932326
end
22942327

2328+
# RelativeDistinguishedName specifies a relative distinguished name which will
2329+
# be used to build a distinguished name.
2330+
class RelativeDistinguishedName
2331+
include Google::Apis::Core::Hashable
2332+
2333+
# Attributes describes the attribute value assertions in the RDN.
2334+
# Corresponds to the JSON property `attributes`
2335+
# @return [Array<Google::Apis::PrivatecaV1::AttributeTypeAndValue>]
2336+
attr_accessor :attributes
2337+
2338+
def initialize(**args)
2339+
update!(**args)
2340+
end
2341+
2342+
# Update properties of this object
2343+
def update!(**args)
2344+
@attributes = args[:attributes] if args.key?(:attributes)
2345+
end
2346+
end
2347+
22952348
# Describes fields that are relavent to the revocation of a Certificate.
22962349
class RevocationDetails
22972350
include Google::Apis::Core::Hashable
@@ -2544,6 +2597,11 @@ class Subject
25442597
# @return [String]
25452598
attr_accessor :province
25462599

2600+
# This field can be used in place of the named subject fields.
2601+
# Corresponds to the JSON property `rdnSequence`
2602+
# @return [Array<Google::Apis::PrivatecaV1::RelativeDistinguishedName>]
2603+
attr_accessor :rdn_sequence
2604+
25472605
# The street address of the subject.
25482606
# Corresponds to the JSON property `streetAddress`
25492607
# @return [String]
@@ -2562,6 +2620,7 @@ def update!(**args)
25622620
@organizational_unit = args[:organizational_unit] if args.key?(:organizational_unit)
25632621
@postal_code = args[:postal_code] if args.key?(:postal_code)
25642622
@province = args[:province] if args.key?(:province)
2623+
@rdn_sequence = args[:rdn_sequence] if args.key?(:rdn_sequence)
25652624
@street_address = args[:street_address] if args.key?(:street_address)
25662625
end
25672626
end

generated/google-apis-privateca_v1/lib/google/apis/privateca_v1/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module PrivatecaV1
1818
# Version of the google-apis-privateca_v1 gem
19-
GEM_VERSION = "0.52.0"
19+
GEM_VERSION = "0.53.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250326"
25+
REVISION = "20250528"
2626
end
2727
end
2828
end

generated/google-apis-privateca_v1/lib/google/apis/privateca_v1/representations.rb

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
4040
include Google::Apis::Core::JsonObjectSupport
4141
end
4242

43+
class AttributeTypeAndValue
44+
class Representation < Google::Apis::Core::JsonRepresentation; end
45+
46+
include Google::Apis::Core::JsonObjectSupport
47+
end
48+
4349
class AuditConfig
4450
class Representation < Google::Apis::Core::JsonRepresentation; end
4551

@@ -328,6 +334,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
328334
include Google::Apis::Core::JsonObjectSupport
329335
end
330336

337+
class RelativeDistinguishedName
338+
class Representation < Google::Apis::Core::JsonRepresentation; end
339+
340+
include Google::Apis::Core::JsonObjectSupport
341+
end
342+
331343
class RevocationDetails
332344
class Representation < Google::Apis::Core::JsonRepresentation; end
333345

@@ -464,6 +476,16 @@ class Representation < Google::Apis::Core::JsonRepresentation
464476
end
465477
end
466478

479+
class AttributeTypeAndValue
480+
# @private
481+
class Representation < Google::Apis::Core::JsonRepresentation
482+
property :object_id_prop, as: 'objectId', class: Google::Apis::PrivatecaV1::ObjectIdProp, decorator: Google::Apis::PrivatecaV1::ObjectIdProp::Representation
483+
484+
property :type, as: 'type'
485+
property :value, as: 'value'
486+
end
487+
end
488+
467489
class AuditConfig
468490
# @private
469491
class Representation < Google::Apis::Core::JsonRepresentation
@@ -986,6 +1008,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
9861008
end
9871009
end
9881010

1011+
class RelativeDistinguishedName
1012+
# @private
1013+
class Representation < Google::Apis::Core::JsonRepresentation
1014+
collection :attributes, as: 'attributes', class: Google::Apis::PrivatecaV1::AttributeTypeAndValue, decorator: Google::Apis::PrivatecaV1::AttributeTypeAndValue::Representation
1015+
1016+
end
1017+
end
1018+
9891019
class RevocationDetails
9901020
# @private
9911021
class Representation < Google::Apis::Core::JsonRepresentation
@@ -1047,6 +1077,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
10471077
property :organizational_unit, as: 'organizationalUnit'
10481078
property :postal_code, as: 'postalCode'
10491079
property :province, as: 'province'
1080+
collection :rdn_sequence, as: 'rdnSequence', class: Google::Apis::PrivatecaV1::RelativeDistinguishedName, decorator: Google::Apis::PrivatecaV1::RelativeDistinguishedName::Representation
1081+
10501082
property :street_address, as: 'streetAddress'
10511083
end
10521084
end

0 commit comments

Comments
 (0)