Skip to content

Commit e0e861e

Browse files
feat: Add functional_type, registration_type and extended_metadata to the apphub service and workload (#15692)
1 parent 525cea9 commit e0e861e

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

mmv1/products/apphub/Service.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,56 @@ properties:
139139
description: "Output only. The location that the underlying resource resides in
140140
if it is zonal, for example, us-west1-a)."
141141
output: true
142+
- name: 'functionalType'
143+
type: NestedObject
144+
description: "Output only. The type of the service."
145+
output: true
146+
properties:
147+
- name: 'type'
148+
type: Enum
149+
description: "Output only. The functional type of a service or workload."
150+
output: true
151+
enum_values:
152+
- 'TYPE_UNSPECIFIED'
153+
- 'AGENT'
154+
- 'MCP_SERVER'
155+
- name: 'registrationType'
156+
type: NestedObject
157+
description: "Output only. The registration type of the service."
158+
output: true
159+
properties:
160+
- name: 'type'
161+
type: Enum
162+
description: "Output only. The registration type of a service."
163+
output: true
164+
enum_values:
165+
- 'TYPE_UNSPECIFIED'
166+
- 'EXCLUSIVE'
167+
- 'SHARED'
168+
- name: 'extendedMetadata'
169+
type: Array
170+
description: "Output only. Additional metadata specific to the resource type."
171+
output: true
172+
item_type:
173+
type: NestedObject
174+
properties:
175+
- name: 'key'
176+
type: String
177+
description: "The key of the extended metadata."
178+
output: true
179+
- name: 'value'
180+
type: NestedObject
181+
description: "The value of the extended metadata."
182+
output: true
183+
properties:
184+
- name: 'metadataStruct'
185+
type: String
186+
description: "The metadata contents as a JSON string."
187+
output: true
188+
- name: 'extendedMetadataSchema'
189+
type: String
190+
description: "The resource name for the Extended Metadata Schema."
191+
output: true
142192
- name: 'attributes'
143193
type: NestedObject
144194
description: 'Consumer provided attributes.'

mmv1/products/apphub/Workload.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,43 @@ properties:
135135
description: "Output only. The location that the underlying compute resource resides
136136
in if it is zonal (e.g us-west1-a)."
137137
output: true
138+
- name: 'functionalType'
139+
type: NestedObject
140+
description: "Output only. The functional type of a service or workload."
141+
output: true
142+
properties:
143+
- name: 'type'
144+
type: Enum
145+
description: "Output only. The functional type of a service or workload."
146+
output: true
147+
enum_values:
148+
- 'TYPE_UNSPECIFIED'
149+
- 'AGENT'
150+
- 'MCP_SERVER'
151+
- name: 'extendedMetadata'
152+
type: Array
153+
description: "Output only. Additional metadata specific to the resource type."
154+
output: true
155+
item_type:
156+
type: NestedObject
157+
properties:
158+
- name: 'key'
159+
type: String
160+
description: "The key of the extended metadata."
161+
output: true
162+
- name: 'value'
163+
type: NestedObject
164+
description: "The value of the extended metadata."
165+
output: true
166+
properties:
167+
- name: 'metadataStruct'
168+
type: String
169+
description: "The metadata contents as a JSON string."
170+
output: true
171+
- name: 'extendedMetadataSchema'
172+
type: String
173+
description: "The resource name for the Extended Metadata Schema."
174+
output: true
138175
- name: 'discoveredWorkload'
139176
type: String
140177
description: 'Immutable. The resource name of the original discovered workload.'

0 commit comments

Comments
 (0)