Skip to content

Commit 76c3885

Browse files
feat: Automated regeneration of apphub v1 client (#24969)
Auto-created at 2025-11-16 09:44:13 +0000 using the toys pull request generator.
1 parent 81015e4 commit 76c3885

File tree

5 files changed

+110
-2
lines changed

5 files changed

+110
-2
lines changed

api_names_out.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47133,6 +47133,9 @@
4713347133
"/apphub:v1/Expr/expression": expression
4713447134
"/apphub:v1/Expr/location": location
4713547135
"/apphub:v1/Expr/title": title
47136+
"/apphub:v1/ExtendedMetadata": extended_metadata
47137+
"/apphub:v1/ExtendedMetadata/metadataStruct": metadata_struct
47138+
"/apphub:v1/ExtendedMetadata/metadataStruct/metadata_struct": metadata_struct
4713647139
"/apphub:v1/ExtraParameter": extra_parameter
4713747140
"/apphub:v1/ExtraParameter/regionalMigDistributionPolicy": regional_mig_distribution_policy
4713847141
"/apphub:v1/FunctionalType": functional_type
@@ -47248,6 +47251,8 @@
4724847251
"/apphub:v1/RegionalMigDistributionPolicy/targetShape": target_shape
4724947252
"/apphub:v1/RegionalMigDistributionPolicy/zones": zones
4725047253
"/apphub:v1/RegionalMigDistributionPolicy/zones/zone": zone
47254+
"/apphub:v1/RegistrationType": registration_type
47255+
"/apphub:v1/RegistrationType/type": type
4725147256
"/apphub:v1/RequirementOverride": requirement_override
4725247257
"/apphub:v1/RequirementOverride/ziOverride": zi_override
4725347258
"/apphub:v1/RequirementOverride/zsOverride": zs_override
@@ -47272,9 +47277,12 @@
4727247277
"/apphub:v1/ServiceProjectAttachment/state": state
4727347278
"/apphub:v1/ServiceProjectAttachment/uid": uid
4727447279
"/apphub:v1/ServiceProperties": service_properties
47280+
"/apphub:v1/ServiceProperties/extendedMetadata": extended_metadata
47281+
"/apphub:v1/ServiceProperties/extendedMetadata/extended_metadatum": extended_metadatum
4727547282
"/apphub:v1/ServiceProperties/functionalType": functional_type
4727647283
"/apphub:v1/ServiceProperties/gcpProject": gcp_project
4727747284
"/apphub:v1/ServiceProperties/location": location
47285+
"/apphub:v1/ServiceProperties/registrationType": registration_type
4727847286
"/apphub:v1/ServiceProperties/zone": zone
4727947287
"/apphub:v1/ServiceReference": service_reference
4728047288
"/apphub:v1/ServiceReference/uri": uri
@@ -47314,6 +47322,8 @@
4731447322
"/apphub:v1/Workload/workloadProperties": workload_properties
4731547323
"/apphub:v1/Workload/workloadReference": workload_reference
4731647324
"/apphub:v1/WorkloadProperties": workload_properties
47325+
"/apphub:v1/WorkloadProperties/extendedMetadata": extended_metadata
47326+
"/apphub:v1/WorkloadProperties/extendedMetadata/extended_metadatum": extended_metadatum
4731747327
"/apphub:v1/WorkloadProperties/functionalType": functional_type
4731847328
"/apphub:v1/WorkloadProperties/gcpProject": gcp_project
4731947329
"/apphub:v1/WorkloadProperties/location": location

generated/google-apis-apphub_v1/CHANGELOG.md

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

3+
### v0.14.0 (2025-11-16)
4+
5+
* Regenerated from discovery document revision 20251110
6+
37
### v0.13.0 (2025-11-02)
48

59
* Regenerated from discovery document revision 20251028

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,25 @@ def update!(**args)
551551
end
552552
end
553553

554+
# Additional metadata for a Service or Workload.
555+
class ExtendedMetadata
556+
include Google::Apis::Core::Hashable
557+
558+
# Output only. The metadata contents.
559+
# Corresponds to the JSON property `metadataStruct`
560+
# @return [Hash<String,Object>]
561+
attr_accessor :metadata_struct
562+
563+
def initialize(**args)
564+
update!(**args)
565+
end
566+
567+
# Update properties of this object
568+
def update!(**args)
569+
@metadata_struct = args[:metadata_struct] if args.key?(:metadata_struct)
570+
end
571+
end
572+
554573
# The functional type of a service or workload.
555574
class FunctionalType
556575
include Google::Apis::Core::Hashable
@@ -1169,6 +1188,25 @@ def update!(**args)
11691188
end
11701189
end
11711190

1191+
# The registration type of a service.
1192+
class RegistrationType
1193+
include Google::Apis::Core::Hashable
1194+
1195+
# Output only. The registration type of a service.
1196+
# Corresponds to the JSON property `type`
1197+
# @return [String]
1198+
attr_accessor :type
1199+
1200+
def initialize(**args)
1201+
update!(**args)
1202+
end
1203+
1204+
# Update properties of this object
1205+
def update!(**args)
1206+
@type = args[:type] if args.key?(:type)
1207+
end
1208+
end
1209+
11721210
# Scope of an application.
11731211
class Scope
11741212
include Google::Apis::Core::Hashable
@@ -1329,6 +1367,14 @@ def update!(**args)
13291367
class ServiceProperties
13301368
include Google::Apis::Core::Hashable
13311369

1370+
# Output only. Additional metadata specific to the resource type. The key is a
1371+
# string that identifies the type of metadata and the value is the metadata
1372+
# contents specific to that type. Key format: `apphub.googleapis.com/`
1373+
# metadataType``
1374+
# Corresponds to the JSON property `extendedMetadata`
1375+
# @return [Hash<String,Google::Apis::ApphubV1::ExtendedMetadata>]
1376+
attr_accessor :extended_metadata
1377+
13321378
# The functional type of a service or workload.
13331379
# Corresponds to the JSON property `functionalType`
13341380
# @return [Google::Apis::ApphubV1::FunctionalType]
@@ -1346,6 +1392,11 @@ class ServiceProperties
13461392
# @return [String]
13471393
attr_accessor :location
13481394

1395+
# The registration type of a service.
1396+
# Corresponds to the JSON property `registrationType`
1397+
# @return [Google::Apis::ApphubV1::RegistrationType]
1398+
attr_accessor :registration_type
1399+
13491400
# Output only. The location that the underlying resource resides in if it is
13501401
# zonal, for example, us-west1-a).
13511402
# Corresponds to the JSON property `zone`
@@ -1358,9 +1409,11 @@ def initialize(**args)
13581409

13591410
# Update properties of this object
13601411
def update!(**args)
1412+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
13611413
@functional_type = args[:functional_type] if args.key?(:functional_type)
13621414
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
13631415
@location = args[:location] if args.key?(:location)
1416+
@registration_type = args[:registration_type] if args.key?(:registration_type)
13641417
@zone = args[:zone] if args.key?(:zone)
13651418
end
13661419
end
@@ -1608,6 +1661,14 @@ def update!(**args)
16081661
class WorkloadProperties
16091662
include Google::Apis::Core::Hashable
16101663

1664+
# Output only. Additional metadata specific to the resource type. The key is a
1665+
# string that identifies the type of metadata and the value is the metadata
1666+
# contents specific to that type. Key format: `apphub.googleapis.com/`
1667+
# metadataType``
1668+
# Corresponds to the JSON property `extendedMetadata`
1669+
# @return [Hash<String,Google::Apis::ApphubV1::ExtendedMetadata>]
1670+
attr_accessor :extended_metadata
1671+
16111672
# The functional type of a service or workload.
16121673
# Corresponds to the JSON property `functionalType`
16131674
# @return [Google::Apis::ApphubV1::FunctionalType]
@@ -1637,6 +1698,7 @@ def initialize(**args)
16371698

16381699
# Update properties of this object
16391700
def update!(**args)
1701+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
16401702
@functional_type = args[:functional_type] if args.key?(:functional_type)
16411703
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
16421704
@location = args[:location] if args.key?(:location)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module ApphubV1
1818
# Version of the google-apis-apphub_v1 gem
19-
GEM_VERSION = "0.13.0"
19+
GEM_VERSION = "0.14.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
112112
include Google::Apis::Core::JsonObjectSupport
113113
end
114114

115+
class ExtendedMetadata
116+
class Representation < Google::Apis::Core::JsonRepresentation; end
117+
118+
include Google::Apis::Core::JsonObjectSupport
119+
end
120+
115121
class FunctionalType
116122
class Representation < Google::Apis::Core::JsonRepresentation; end
117123

@@ -214,6 +220,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
214220
include Google::Apis::Core::JsonObjectSupport
215221
end
216222

223+
class RegistrationType
224+
class Representation < Google::Apis::Core::JsonRepresentation; end
225+
226+
include Google::Apis::Core::JsonObjectSupport
227+
end
228+
217229
class Scope
218230
class Representation < Google::Apis::Core::JsonRepresentation; end
219231

@@ -424,6 +436,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
424436
end
425437
end
426438

439+
class ExtendedMetadata
440+
# @private
441+
class Representation < Google::Apis::Core::JsonRepresentation
442+
hash :metadata_struct, as: 'metadataStruct'
443+
end
444+
end
445+
427446
class FunctionalType
428447
# @private
429448
class Representation < Google::Apis::Core::JsonRepresentation
@@ -590,6 +609,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
590609
end
591610
end
592611

612+
class RegistrationType
613+
# @private
614+
class Representation < Google::Apis::Core::JsonRepresentation
615+
property :type, as: 'type'
616+
end
617+
end
618+
593619
class Scope
594620
# @private
595621
class Representation < Google::Apis::Core::JsonRepresentation
@@ -631,10 +657,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
631657
class ServiceProperties
632658
# @private
633659
class Representation < Google::Apis::Core::JsonRepresentation
660+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1::ExtendedMetadata, decorator: Google::Apis::ApphubV1::ExtendedMetadata::Representation
661+
634662
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
635663

636664
property :gcp_project, as: 'gcpProject'
637665
property :location, as: 'location'
666+
property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1::RegistrationType, decorator: Google::Apis::ApphubV1::RegistrationType::Representation
667+
638668
property :zone, as: 'zone'
639669
end
640670
end
@@ -701,6 +731,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
701731
class WorkloadProperties
702732
# @private
703733
class Representation < Google::Apis::Core::JsonRepresentation
734+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1::ExtendedMetadata, decorator: Google::Apis::ApphubV1::ExtendedMetadata::Representation
735+
704736
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
705737

706738
property :gcp_project, as: 'gcpProject'

0 commit comments

Comments
 (0)