Skip to content

Commit 3c2d0e2

Browse files
yoshi-automationfeywind
authored andcommitted
feat(apphub): update the API
#### apphub:v1alpha The following keys were added: - schemas.FunctionalType.description - schemas.FunctionalType.id - schemas.FunctionalType.properties.type.description - schemas.FunctionalType.properties.type.enum - schemas.FunctionalType.properties.type.enumDescriptions - schemas.FunctionalType.properties.type.readOnly - schemas.FunctionalType.properties.type.type - schemas.FunctionalType.type - schemas.ServiceProperties.properties.functionalType.$ref - schemas.ServiceProperties.properties.functionalType.description - schemas.ServiceProperties.properties.functionalType.readOnly - schemas.WorkloadProperties.properties.functionalType.$ref - schemas.WorkloadProperties.properties.functionalType.description - schemas.WorkloadProperties.properties.functionalType.readOnly The following keys were changed: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description #### apphub:v1 The following keys were added: - schemas.FunctionalType.description - schemas.FunctionalType.id - schemas.FunctionalType.properties.type.description - schemas.FunctionalType.properties.type.enum - schemas.FunctionalType.properties.type.enumDescriptions - schemas.FunctionalType.properties.type.readOnly - schemas.FunctionalType.properties.type.type - schemas.FunctionalType.type - schemas.ServiceProperties.properties.functionalType.$ref - schemas.ServiceProperties.properties.functionalType.description - schemas.ServiceProperties.properties.functionalType.readOnly - schemas.WorkloadProperties.properties.functionalType.$ref - schemas.WorkloadProperties.properties.functionalType.description - schemas.WorkloadProperties.properties.functionalType.readOnly The following keys were changed: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description
1 parent d93f3c7 commit 3c2d0e2

File tree

4 files changed

+106
-8
lines changed

4 files changed

+106
-8
lines changed

discovery/apphub-v1.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
],
173173
"parameters": {
174174
"extraLocationTypes": {
175-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
175+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
176176
"location": "query",
177177
"repeated": true,
178178
"type": "string"
@@ -1357,7 +1357,7 @@
13571357
}
13581358
}
13591359
},
1360-
"revision": "20251001",
1360+
"revision": "20251028",
13611361
"rootUrl": "https://apphub.googleapis.com/",
13621362
"schemas": {
13631363
"Application": {
@@ -1681,6 +1681,28 @@
16811681
},
16821682
"type": "object"
16831683
},
1684+
"FunctionalType": {
1685+
"description": "The functional type of a service or workload.",
1686+
"id": "FunctionalType",
1687+
"properties": {
1688+
"type": {
1689+
"description": "Output only. The functional type of a service or workload.",
1690+
"enum": [
1691+
"TYPE_UNSPECIFIED",
1692+
"AGENT",
1693+
"MCP_SERVER"
1694+
],
1695+
"enumDescriptions": [
1696+
"Unspecified type.",
1697+
"Agent type.",
1698+
"MCP Server type."
1699+
],
1700+
"readOnly": true,
1701+
"type": "string"
1702+
}
1703+
},
1704+
"type": "object"
1705+
},
16841706
"ListApplicationsResponse": {
16851707
"description": "Response for ListApplications.",
16861708
"id": "ListApplicationsResponse",
@@ -2223,6 +2245,11 @@
22232245
"description": "Properties of an underlying cloud resource that can comprise a Service.",
22242246
"id": "ServiceProperties",
22252247
"properties": {
2248+
"functionalType": {
2249+
"$ref": "FunctionalType",
2250+
"description": "Output only. The type of the service.",
2251+
"readOnly": true
2252+
},
22262253
"gcpProject": {
22272254
"description": "Output only. The service project identifier that the underlying cloud resource resides in.",
22282255
"readOnly": true,
@@ -2401,6 +2428,11 @@
24012428
"description": "Properties of an underlying compute resource represented by the Workload.",
24022429
"id": "WorkloadProperties",
24032430
"properties": {
2431+
"functionalType": {
2432+
"$ref": "FunctionalType",
2433+
"description": "Output only. The type of the workload.",
2434+
"readOnly": true
2435+
},
24042436
"gcpProject": {
24052437
"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.",
24062438
"readOnly": true,

discovery/apphub-v1alpha.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
],
173173
"parameters": {
174174
"extraLocationTypes": {
175-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
175+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
176176
"location": "query",
177177
"repeated": true,
178178
"type": "string"
@@ -1449,7 +1449,7 @@
14491449
}
14501450
}
14511451
},
1452-
"revision": "20251001",
1452+
"revision": "20251028",
14531453
"rootUrl": "https://apphub.googleapis.com/",
14541454
"schemas": {
14551455
"Application": {
@@ -1853,6 +1853,28 @@
18531853
},
18541854
"type": "object"
18551855
},
1856+
"FunctionalType": {
1857+
"description": "The functional type of a service or workload.",
1858+
"id": "FunctionalType",
1859+
"properties": {
1860+
"type": {
1861+
"description": "Output only. The functional type of a service or workload.",
1862+
"enum": [
1863+
"TYPE_UNSPECIFIED",
1864+
"AGENT",
1865+
"MCP_SERVER"
1866+
],
1867+
"enumDescriptions": [
1868+
"Unspecified type.",
1869+
"Agent type.",
1870+
"MCP Server type."
1871+
],
1872+
"readOnly": true,
1873+
"type": "string"
1874+
}
1875+
},
1876+
"type": "object"
1877+
},
18561878
"ListApplicationsResponse": {
18571879
"description": "Response for ListApplications.",
18581880
"id": "ListApplicationsResponse",
@@ -2364,6 +2386,11 @@
23642386
"description": "Properties of an underlying cloud resource that can comprise a Service.",
23652387
"id": "ServiceProperties",
23662388
"properties": {
2389+
"functionalType": {
2390+
"$ref": "FunctionalType",
2391+
"description": "Output only. The type of the service.",
2392+
"readOnly": true
2393+
},
23672394
"gcpProject": {
23682395
"description": "Output only. The service project identifier that the underlying cloud resource resides in.",
23692396
"readOnly": true,
@@ -2547,6 +2574,11 @@
25472574
"description": "Properties of an underlying compute resource represented by the Workload.",
25482575
"id": "WorkloadProperties",
25492576
"properties": {
2577+
"functionalType": {
2578+
"$ref": "FunctionalType",
2579+
"description": "Output only. The type of the workload.",
2580+
"readOnly": true
2581+
},
25502582
"gcpProject": {
25512583
"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.",
25522584
"readOnly": true,

src/apis/apphub/v1.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,15 @@ export namespace apphub_v1 {
335335
*/
336336
title?: string | null;
337337
}
338+
/**
339+
* The functional type of a service or workload.
340+
*/
341+
export interface Schema$FunctionalType {
342+
/**
343+
* Output only. The functional type of a service or workload.
344+
*/
345+
type?: string | null;
346+
}
338347
/**
339348
* Response for ListApplications.
340349
*/
@@ -698,6 +707,10 @@ export namespace apphub_v1 {
698707
* Properties of an underlying cloud resource that can comprise a Service.
699708
*/
700709
export interface Schema$ServiceProperties {
710+
/**
711+
* Output only. The type of the service.
712+
*/
713+
functionalType?: Schema$FunctionalType;
701714
/**
702715
* Output only. The service project identifier that the underlying cloud resource resides in.
703716
*/
@@ -821,6 +834,10 @@ export namespace apphub_v1 {
821834
* Properties of an underlying compute resource represented by the Workload.
822835
*/
823836
export interface Schema$WorkloadProperties {
837+
/**
838+
* Output only. The type of the workload.
839+
*/
840+
functionalType?: Schema$FunctionalType;
824841
/**
825842
* Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
826843
*/
@@ -1196,7 +1213,7 @@ export namespace apphub_v1 {
11961213
*
11971214
* // Do the magic
11981215
* const res = await apphub.projects.locations.list({
1199-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1216+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
12001217
* extraLocationTypes: 'placeholder-value',
12011218
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
12021219
* filter: 'placeholder-value',
@@ -1483,7 +1500,7 @@ export namespace apphub_v1 {
14831500
export interface Params$Resource$Projects$Locations$List
14841501
extends StandardParameters {
14851502
/**
1486-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1503+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
14871504
*/
14881505
extraLocationTypes?: string[];
14891506
/**

src/apis/apphub/v1alpha.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,15 @@ export namespace apphub_v1alpha {
394394
*/
395395
unreachable?: string[] | null;
396396
}
397+
/**
398+
* The functional type of a service or workload.
399+
*/
400+
export interface Schema$FunctionalType {
401+
/**
402+
* Output only. The functional type of a service or workload.
403+
*/
404+
type?: string | null;
405+
}
397406
/**
398407
* Response for ListApplications.
399408
*/
@@ -744,6 +753,10 @@ export namespace apphub_v1alpha {
744753
* Properties of an underlying cloud resource that can comprise a Service.
745754
*/
746755
export interface Schema$ServiceProperties {
756+
/**
757+
* Output only. The type of the service.
758+
*/
759+
functionalType?: Schema$FunctionalType;
747760
/**
748761
* Output only. The service project identifier that the underlying cloud resource resides in.
749762
*/
@@ -871,6 +884,10 @@ export namespace apphub_v1alpha {
871884
* Properties of an underlying compute resource represented by the Workload.
872885
*/
873886
export interface Schema$WorkloadProperties {
887+
/**
888+
* Output only. The type of the workload.
889+
*/
890+
functionalType?: Schema$FunctionalType;
874891
/**
875892
* Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.
876893
*/
@@ -1246,7 +1263,7 @@ export namespace apphub_v1alpha {
12461263
*
12471264
* // Do the magic
12481265
* const res = await apphub.projects.locations.list({
1249-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1266+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
12501267
* extraLocationTypes: 'placeholder-value',
12511268
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
12521269
* filter: 'placeholder-value',
@@ -1533,7 +1550,7 @@ export namespace apphub_v1alpha {
15331550
export interface Params$Resource$Projects$Locations$List
15341551
extends StandardParameters {
15351552
/**
1536-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
1553+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
15371554
*/
15381555
extraLocationTypes?: string[];
15391556
/**

0 commit comments

Comments
 (0)