Skip to content

Commit 8bd23f0

Browse files
feat: Automated regeneration of certificatemanager v1 client (googleapis#21864)
Auto-created at 2025-02-26 21:17:47 +0000 using the toys pull request generator.
1 parent 410a317 commit 8bd23f0

File tree

5 files changed

+55
-3
lines changed

5 files changed

+55
-3
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54473,6 +54473,8 @@
5447354473
"/certificatemanager:v1/Certificate/scope": scope
5447454474
"/certificatemanager:v1/Certificate/selfManaged": self_managed
5447554475
"/certificatemanager:v1/Certificate/updateTime": update_time
54476+
"/certificatemanager:v1/Certificate/usedBy": used_by
54477+
"/certificatemanager:v1/Certificate/usedBy/used_by": used_by
5447654478
"/certificatemanager:v1/CertificateAuthorityConfig": certificate_authority_config
5447754479
"/certificatemanager:v1/CertificateAuthorityConfig/certificateAuthorityServiceConfig": certificate_authority_service_config
5447854480
"/certificatemanager:v1/CertificateAuthorityServiceConfig": certificate_authority_service_config
@@ -54648,6 +54650,8 @@
5464854650
"/certificatemanager:v1/TrustStore/intermediateCas/intermediate_ca": intermediate_ca
5464954651
"/certificatemanager:v1/TrustStore/trustAnchors": trust_anchors
5465054652
"/certificatemanager:v1/TrustStore/trustAnchors/trust_anchor": trust_anchor
54653+
"/certificatemanager:v1/UsedBy": used_by
54654+
"/certificatemanager:v1/UsedBy/name": name
5465154655
"/certificatemanager:v1/certificatemanager.projects.locations.certificateIssuanceConfigs.create": create_project_location_certificate_issuance_config
5465254656
"/certificatemanager:v1/certificatemanager.projects.locations.certificateIssuanceConfigs.create/certificateIssuanceConfigId": certificate_issuance_config_id
5465354657
"/certificatemanager:v1/certificatemanager.projects.locations.certificateIssuanceConfigs.create/parent": parent

generated/google-apis-certificatemanager_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-certificatemanager_v1
22

3+
### v0.32.0 (2025-02-26)
4+
5+
* Regenerated from discovery document revision 20250211
6+
* Regenerated using generator version 0.16.0
7+
38
### v0.31.0 (2024-12-15)
49

510
* Regenerated from discovery document revision 20241204

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

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ class Certificate
161161
# @return [String]
162162
attr_accessor :update_time
163163

164+
# Output only. The list of resources that use this Certificate.
165+
# Corresponds to the JSON property `usedBy`
166+
# @return [Array<Google::Apis::CertificatemanagerV1::UsedBy>]
167+
attr_accessor :used_by
168+
164169
def initialize(**args)
165170
update!(**args)
166171
end
@@ -178,6 +183,7 @@ def update!(**args)
178183
@scope = args[:scope] if args.key?(:scope)
179184
@self_managed = args[:self_managed] if args.key?(:self_managed)
180185
@update_time = args[:update_time] if args.key?(:update_time)
186+
@used_by = args[:used_by] if args.key?(:used_by)
181187
end
182188
end
183189

@@ -1304,6 +1310,28 @@ def update!(**args)
13041310
@trust_anchors = args[:trust_anchors] if args.key?(:trust_anchors)
13051311
end
13061312
end
1313+
1314+
# Defines a resource that uses the certificate.
1315+
class UsedBy
1316+
include Google::Apis::Core::Hashable
1317+
1318+
# Output only. Full name of the resource https://google.aip.dev/122#full-
1319+
# resource-names, e.g. `//certificatemanager.googleapis.com/projects/*/locations/
1320+
# */certificateMaps/*/certificateMapEntries/*` or `//compute.googleapis.com/
1321+
# projects/*/locations/*/targetHttpsProxies/*`.
1322+
# Corresponds to the JSON property `name`
1323+
# @return [String]
1324+
attr_accessor :name
1325+
1326+
def initialize(**args)
1327+
update!(**args)
1328+
end
1329+
1330+
# Update properties of this object
1331+
def update!(**args)
1332+
@name = args[:name] if args.key?(:name)
1333+
end
1334+
end
13071335
end
13081336
end
13091337
end

generated/google-apis-certificatemanager_v1/lib/google/apis/certificatemanager_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 CertificatemanagerV1
1818
# Version of the google-apis-certificatemanager_v1 gem
19-
GEM_VERSION = "0.31.0"
19+
GEM_VERSION = "0.32.0"
2020

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

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

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
220220
include Google::Apis::Core::JsonObjectSupport
221221
end
222222

223+
class UsedBy
224+
class Representation < Google::Apis::Core::JsonRepresentation; end
225+
226+
include Google::Apis::Core::JsonObjectSupport
227+
end
228+
223229
class AllowlistedCertificate
224230
# @private
225231
class Representation < Google::Apis::Core::JsonRepresentation
@@ -259,6 +265,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
259265
property :self_managed, as: 'selfManaged', class: Google::Apis::CertificatemanagerV1::SelfManagedCertificate, decorator: Google::Apis::CertificatemanagerV1::SelfManagedCertificate::Representation
260266

261267
property :update_time, as: 'updateTime'
268+
collection :used_by, as: 'usedBy', class: Google::Apis::CertificatemanagerV1::UsedBy, decorator: Google::Apis::CertificatemanagerV1::UsedBy::Representation
269+
262270
end
263271
end
264272

@@ -561,6 +569,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
561569

562570
end
563571
end
572+
573+
class UsedBy
574+
# @private
575+
class Representation < Google::Apis::Core::JsonRepresentation
576+
property :name, as: 'name'
577+
end
578+
end
564579
end
565580
end
566581
end

0 commit comments

Comments
 (0)