Skip to content

Commit ef2ce05

Browse files
feat: Automated regeneration of apphub v1 client (#24823)
Auto-created at 2025-11-02 10:05:03 +0000 using the toys pull request generator.
1 parent ffa8a76 commit ef2ce05

File tree

6 files changed

+60
-4
lines changed

6 files changed

+60
-4
lines changed

api_names_out.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45220,6 +45220,8 @@
4522045220
"/apphub:v1/Expr/title": title
4522145221
"/apphub:v1/ExtraParameter": extra_parameter
4522245222
"/apphub:v1/ExtraParameter/regionalMigDistributionPolicy": regional_mig_distribution_policy
45223+
"/apphub:v1/FunctionalType": functional_type
45224+
"/apphub:v1/FunctionalType/type": type
4522345225
"/apphub:v1/IsolationExpectations": isolation_expectations
4522445226
"/apphub:v1/IsolationExpectations/requirementOverride": requirement_override
4522545227
"/apphub:v1/IsolationExpectations/ziOrgPolicy": zi_org_policy
@@ -45355,6 +45357,7 @@
4535545357
"/apphub:v1/ServiceProjectAttachment/state": state
4535645358
"/apphub:v1/ServiceProjectAttachment/uid": uid
4535745359
"/apphub:v1/ServiceProperties": service_properties
45360+
"/apphub:v1/ServiceProperties/functionalType": functional_type
4535845361
"/apphub:v1/ServiceProperties/gcpProject": gcp_project
4535945362
"/apphub:v1/ServiceProperties/location": location
4536045363
"/apphub:v1/ServiceProperties/zone": zone
@@ -45396,6 +45399,7 @@
4539645399
"/apphub:v1/Workload/workloadProperties": workload_properties
4539745400
"/apphub:v1/Workload/workloadReference": workload_reference
4539845401
"/apphub:v1/WorkloadProperties": workload_properties
45402+
"/apphub:v1/WorkloadProperties/functionalType": functional_type
4539945403
"/apphub:v1/WorkloadProperties/gcpProject": gcp_project
4540045404
"/apphub:v1/WorkloadProperties/location": location
4540145405
"/apphub:v1/WorkloadProperties/zone": zone

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.13.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251028
6+
37
### v0.12.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251001

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

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

554+
# The functional type of a service or workload.
555+
class FunctionalType
556+
include Google::Apis::Core::Hashable
557+
558+
# Output only. The functional type of a service or workload.
559+
# Corresponds to the JSON property `type`
560+
# @return [String]
561+
attr_accessor :type
562+
563+
def initialize(**args)
564+
update!(**args)
565+
end
566+
567+
# Update properties of this object
568+
def update!(**args)
569+
@type = args[:type] if args.key?(:type)
570+
end
571+
end
572+
554573
# Response for ListApplications.
555574
class ListApplicationsResponse
556575
include Google::Apis::Core::Hashable
@@ -1310,6 +1329,11 @@ def update!(**args)
13101329
class ServiceProperties
13111330
include Google::Apis::Core::Hashable
13121331

1332+
# The functional type of a service or workload.
1333+
# Corresponds to the JSON property `functionalType`
1334+
# @return [Google::Apis::ApphubV1::FunctionalType]
1335+
attr_accessor :functional_type
1336+
13131337
# Output only. The service project identifier that the underlying cloud resource
13141338
# resides in.
13151339
# Corresponds to the JSON property `gcpProject`
@@ -1334,6 +1358,7 @@ def initialize(**args)
13341358

13351359
# Update properties of this object
13361360
def update!(**args)
1361+
@functional_type = args[:functional_type] if args.key?(:functional_type)
13371362
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
13381363
@location = args[:location] if args.key?(:location)
13391364
@zone = args[:zone] if args.key?(:zone)
@@ -1583,6 +1608,11 @@ def update!(**args)
15831608
class WorkloadProperties
15841609
include Google::Apis::Core::Hashable
15851610

1611+
# The functional type of a service or workload.
1612+
# Corresponds to the JSON property `functionalType`
1613+
# @return [Google::Apis::ApphubV1::FunctionalType]
1614+
attr_accessor :functional_type
1615+
15861616
# Output only. The service project identifier that the underlying cloud resource
15871617
# resides in. Empty for non-cloud resources.
15881618
# Corresponds to the JSON property `gcpProject`
@@ -1607,6 +1637,7 @@ def initialize(**args)
16071637

16081638
# Update properties of this object
16091639
def update!(**args)
1640+
@functional_type = args[:functional_type] if args.key?(:functional_type)
16101641
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
16111642
@location = args[:location] if args.key?(:location)
16121643
@zone = args[:zone] if args.key?(:zone)

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.12.0"
19+
GEM_VERSION = "0.13.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 = "20251001"
25+
REVISION = "20251028"
2626
end
2727
end
2828
end

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

Lines changed: 17 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 FunctionalType
116+
class Representation < Google::Apis::Core::JsonRepresentation; end
117+
118+
include Google::Apis::Core::JsonObjectSupport
119+
end
120+
115121
class ListApplicationsResponse
116122
class Representation < Google::Apis::Core::JsonRepresentation; end
117123

@@ -418,6 +424,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
418424
end
419425
end
420426

427+
class FunctionalType
428+
# @private
429+
class Representation < Google::Apis::Core::JsonRepresentation
430+
property :type, as: 'type'
431+
end
432+
end
433+
421434
class ListApplicationsResponse
422435
# @private
423436
class Representation < Google::Apis::Core::JsonRepresentation
@@ -618,6 +631,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
618631
class ServiceProperties
619632
# @private
620633
class Representation < Google::Apis::Core::JsonRepresentation
634+
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
635+
621636
property :gcp_project, as: 'gcpProject'
622637
property :location, as: 'location'
623638
property :zone, as: 'zone'
@@ -686,6 +701,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
686701
class WorkloadProperties
687702
# @private
688703
class Representation < Google::Apis::Core::JsonRepresentation
704+
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
705+
689706
property :gcp_project, as: 'gcpProject'
690707
property :location, as: 'location'
691708
property :zone, as: 'zone'

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
122122
# @param [String] name
123123
# The resource that owns the locations collection, if applicable.
124124
# @param [Array<String>, String] extra_location_types
125-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
126-
# field which is primarily intended for internal usage.
125+
# Optional. Do not use this field. It is unsupported and is ignored unless
126+
# explicitly documented otherwise. This is primarily for internal usage.
127127
# @param [String] filter
128128
# A filter to narrow down results to a preferred subset. The filtering language
129129
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)