Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45640,6 +45640,8 @@
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/nextPageToken": next_page_token
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/unreachable": unreachable
"/apphub:v1alpha/FindUnregisteredWorkloadsResponse/unreachable/unreachable": unreachable
"/apphub:v1alpha/FunctionalType": functional_type
"/apphub:v1alpha/FunctionalType/type": type
"/apphub:v1alpha/IsolationExpectations": isolation_expectations
"/apphub:v1alpha/IsolationExpectations/requirementOverride": requirement_override
"/apphub:v1alpha/IsolationExpectations/ziOrgPolicy": zi_org_policy
Expand Down Expand Up @@ -45778,6 +45780,7 @@
"/apphub:v1alpha/ServiceProjectAttachment/state": state
"/apphub:v1alpha/ServiceProjectAttachment/uid": uid
"/apphub:v1alpha/ServiceProperties": service_properties
"/apphub:v1alpha/ServiceProperties/functionalType": functional_type
"/apphub:v1alpha/ServiceProperties/gcpProject": gcp_project
"/apphub:v1alpha/ServiceProperties/location": location
"/apphub:v1alpha/ServiceProperties/zone": zone
Expand Down Expand Up @@ -45820,6 +45823,7 @@
"/apphub:v1alpha/Workload/workloadProperties": workload_properties
"/apphub:v1alpha/Workload/workloadReference": workload_reference
"/apphub:v1alpha/WorkloadProperties": workload_properties
"/apphub:v1alpha/WorkloadProperties/functionalType": functional_type
"/apphub:v1alpha/WorkloadProperties/gcpProject": gcp_project
"/apphub:v1alpha/WorkloadProperties/location": location
"/apphub:v1alpha/WorkloadProperties/zone": zone
Expand Down
4 changes: 4 additions & 0 deletions generated/google-apis-apphub_v1alpha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-apphub_v1alpha

### v0.17.0 (2025-11-02)

* Regenerated from discovery document revision 20251028

### v0.16.0 (2025-10-12)

* Regenerated from discovery document revision 20251001
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,25 @@ def update!(**args)
end
end

# The functional type of a service or workload.
class FunctionalType
include Google::Apis::Core::Hashable

# Output only. The functional type of a service or workload.
# Corresponds to the JSON property `type`
# @return [String]
attr_accessor :type

def initialize(**args)
update!(**args)
end

# Update properties of this object
def update!(**args)
@type = args[:type] if args.key?(:type)
end
end

# Response for ListApplications.
class ListApplicationsResponse
include Google::Apis::Core::Hashable
Expand Down Expand Up @@ -1395,6 +1414,11 @@ def update!(**args)
class ServiceProperties
include Google::Apis::Core::Hashable

# The functional type of a service or workload.
# Corresponds to the JSON property `functionalType`
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
attr_accessor :functional_type

# Output only. The service project identifier that the underlying cloud resource
# resides in.
# Corresponds to the JSON property `gcpProject`
Expand All @@ -1419,6 +1443,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@functional_type = args[:functional_type] if args.key?(:functional_type)
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
@location = args[:location] if args.key?(:location)
@zone = args[:zone] if args.key?(:zone)
Expand Down Expand Up @@ -1676,6 +1701,11 @@ def update!(**args)
class WorkloadProperties
include Google::Apis::Core::Hashable

# The functional type of a service or workload.
# Corresponds to the JSON property `functionalType`
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
attr_accessor :functional_type

# Output only. The service project identifier that the underlying cloud resource
# resides in. Empty for non-cloud resources.
# Corresponds to the JSON property `gcpProject`
Expand All @@ -1700,6 +1730,7 @@ def initialize(**args)

# Update properties of this object
def update!(**args)
@functional_type = args[:functional_type] if args.key?(:functional_type)
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
@location = args[:location] if args.key?(:location)
@zone = args[:zone] if args.key?(:zone)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module ApphubV1alpha
# Version of the google-apis-apphub_v1alpha gem
GEM_VERSION = "0.16.0"
GEM_VERSION = "0.17.0"

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

# Revision of the discovery document this client was generated from
REVISION = "20251001"
REVISION = "20251028"
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end

class FunctionalType
class Representation < Google::Apis::Core::JsonRepresentation; end

include Google::Apis::Core::JsonObjectSupport
end

class ListApplicationsResponse
class Representation < Google::Apis::Core::JsonRepresentation; end

Expand Down Expand Up @@ -462,6 +468,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
end
end

class FunctionalType
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :type, as: 'type'
end
end

class ListApplicationsResponse
# @private
class Representation < Google::Apis::Core::JsonRepresentation
Expand Down Expand Up @@ -654,6 +667,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class ServiceProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation

property :gcp_project, as: 'gcpProject'
property :location, as: 'location'
property :zone, as: 'zone'
Expand Down Expand Up @@ -723,6 +738,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
class WorkloadProperties
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation

property :gcp_project, as: 'gcpProject'
property :location, as: 'location'
property :zone, as: 'zone'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
# @param [String] name
# The resource that owns the locations collection, if applicable.
# @param [Array<String>, String] extra_location_types
# Optional. Unless explicitly documented otherwise, don't use this unsupported
# field which is primarily intended for internal usage.
# Optional. Do not use this field. It is unsupported and is ignored unless
# explicitly documented otherwise. This is primarily for internal usage.
# @param [String] filter
# A filter to narrow down results to a preferred subset. The filtering language
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
Expand Down