Skip to content

Commit 54d5b32

Browse files
feat: Automated regeneration of apphub v1alpha client
1 parent e7452c8 commit 54d5b32

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
@@ -45640,6 +45640,8 @@
4564045640
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/nextPageToken": next_page_token
4564145641
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/unreachable": unreachable
4564245642
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/unreachable/unreachable": unreachable
45643+
"/apphub:v1alpha/FunctionalType": functional_type
45644+
"/apphub:v1alpha/FunctionalType/type": type
4564345645
"/apphub:v1alpha/IsolationExpectations": isolation_expectations
4564445646
"/apphub:v1alpha/IsolationExpectations/requirementOverride": requirement_override
4564545647
"/apphub:v1alpha/IsolationExpectations/ziOrgPolicy": zi_org_policy
@@ -45778,6 +45780,7 @@
4577845780
"/apphub:v1alpha/ServiceProjectAttachment/state": state
4577945781
"/apphub:v1alpha/ServiceProjectAttachment/uid": uid
4578045782
"/apphub:v1alpha/ServiceProperties": service_properties
45783+
"/apphub:v1alpha/ServiceProperties/functionalType": functional_type
4578145784
"/apphub:v1alpha/ServiceProperties/gcpProject": gcp_project
4578245785
"/apphub:v1alpha/ServiceProperties/location": location
4578345786
"/apphub:v1alpha/ServiceProperties/zone": zone
@@ -45820,6 +45823,7 @@
4582045823
"/apphub:v1alpha/Workload/workloadProperties": workload_properties
4582145824
"/apphub:v1alpha/Workload/workloadReference": workload_reference
4582245825
"/apphub:v1alpha/WorkloadProperties": workload_properties
45826+
"/apphub:v1alpha/WorkloadProperties/functionalType": functional_type
4582345827
"/apphub:v1alpha/WorkloadProperties/gcpProject": gcp_project
4582445828
"/apphub:v1alpha/WorkloadProperties/location": location
4582545829
"/apphub:v1alpha/WorkloadProperties/zone": zone

generated/google-apis-apphub_v1alpha/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_v1alpha
22

3+
### v0.17.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251028
6+
37
### v0.16.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251001

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -662,6 +662,25 @@ def update!(**args)
662662
end
663663
end
664664

665+
# The functional type of a service or workload.
666+
class FunctionalType
667+
include Google::Apis::Core::Hashable
668+
669+
# Output only. The functional type of a service or workload.
670+
# Corresponds to the JSON property `type`
671+
# @return [String]
672+
attr_accessor :type
673+
674+
def initialize(**args)
675+
update!(**args)
676+
end
677+
678+
# Update properties of this object
679+
def update!(**args)
680+
@type = args[:type] if args.key?(:type)
681+
end
682+
end
683+
665684
# Response for ListApplications.
666685
class ListApplicationsResponse
667686
include Google::Apis::Core::Hashable
@@ -1395,6 +1414,11 @@ def update!(**args)
13951414
class ServiceProperties
13961415
include Google::Apis::Core::Hashable
13971416

1417+
# The functional type of a service or workload.
1418+
# Corresponds to the JSON property `functionalType`
1419+
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
1420+
attr_accessor :functional_type
1421+
13981422
# Output only. The service project identifier that the underlying cloud resource
13991423
# resides in.
14001424
# Corresponds to the JSON property `gcpProject`
@@ -1419,6 +1443,7 @@ def initialize(**args)
14191443

14201444
# Update properties of this object
14211445
def update!(**args)
1446+
@functional_type = args[:functional_type] if args.key?(:functional_type)
14221447
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
14231448
@location = args[:location] if args.key?(:location)
14241449
@zone = args[:zone] if args.key?(:zone)
@@ -1676,6 +1701,11 @@ def update!(**args)
16761701
class WorkloadProperties
16771702
include Google::Apis::Core::Hashable
16781703

1704+
# The functional type of a service or workload.
1705+
# Corresponds to the JSON property `functionalType`
1706+
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
1707+
attr_accessor :functional_type
1708+
16791709
# Output only. The service project identifier that the underlying cloud resource
16801710
# resides in. Empty for non-cloud resources.
16811711
# Corresponds to the JSON property `gcpProject`
@@ -1700,6 +1730,7 @@ def initialize(**args)
17001730

17011731
# Update properties of this object
17021732
def update!(**args)
1733+
@functional_type = args[:functional_type] if args.key?(:functional_type)
17031734
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
17041735
@location = args[:location] if args.key?(:location)
17051736
@zone = args[:zone] if args.key?(:zone)

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/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 ApphubV1alpha
1818
# Version of the google-apis-apphub_v1alpha gem
19-
GEM_VERSION = "0.16.0"
19+
GEM_VERSION = "0.17.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_v1alpha/lib/google/apis/apphub_v1alpha/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
130130
include Google::Apis::Core::JsonObjectSupport
131131
end
132132

133+
class FunctionalType
134+
class Representation < Google::Apis::Core::JsonRepresentation; end
135+
136+
include Google::Apis::Core::JsonObjectSupport
137+
end
138+
133139
class ListApplicationsResponse
134140
class Representation < Google::Apis::Core::JsonRepresentation; end
135141

@@ -462,6 +468,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
462468
end
463469
end
464470

471+
class FunctionalType
472+
# @private
473+
class Representation < Google::Apis::Core::JsonRepresentation
474+
property :type, as: 'type'
475+
end
476+
end
477+
465478
class ListApplicationsResponse
466479
# @private
467480
class Representation < Google::Apis::Core::JsonRepresentation
@@ -654,6 +667,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
654667
class ServiceProperties
655668
# @private
656669
class Representation < Google::Apis::Core::JsonRepresentation
670+
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
671+
657672
property :gcp_project, as: 'gcpProject'
658673
property :location, as: 'location'
659674
property :zone, as: 'zone'
@@ -723,6 +738,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
723738
class WorkloadProperties
724739
# @private
725740
class Representation < Google::Apis::Core::JsonRepresentation
741+
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
742+
726743
property :gcp_project, as: 'gcpProject'
727744
property :location, as: 'location'
728745
property :zone, as: 'zone'

generated/google-apis-apphub_v1alpha/lib/google/apis/apphub_v1alpha/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)