Skip to content

Commit 69bede2

Browse files
feat(developerconnect): update the API
#### developerconnect:v1 The following keys were added: - schemas.AppHubService.description - schemas.AppHubService.id - schemas.AppHubService.properties.apphubService.description - schemas.AppHubService.properties.apphubService.readOnly - schemas.AppHubService.properties.apphubService.type - schemas.AppHubService.properties.criticality.description - schemas.AppHubService.properties.criticality.readOnly - schemas.AppHubService.properties.criticality.type - schemas.AppHubService.properties.environment.description - schemas.AppHubService.properties.environment.readOnly - schemas.AppHubService.properties.environment.type - schemas.AppHubService.type - schemas.GoogleCloudRun.description - schemas.GoogleCloudRun.id - schemas.GoogleCloudRun.properties.serviceUri.description - schemas.GoogleCloudRun.properties.serviceUri.type - schemas.GoogleCloudRun.type - schemas.RuntimeConfig.properties.appHubService.$ref - schemas.RuntimeConfig.properties.appHubService.description - schemas.RuntimeConfig.properties.appHubService.readOnly - schemas.RuntimeConfig.properties.googleCloudRun.$ref - schemas.RuntimeConfig.properties.googleCloudRun.description - schemas.RuntimeConfig.properties.googleCloudRun.readOnly
1 parent 529b8e4 commit 69bede2

File tree

2 files changed

+78
-1
lines changed

2 files changed

+78
-1
lines changed

discovery/developerconnect-v1.json

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@
16061606
}
16071607
}
16081608
},
1609-
"revision": "20251003",
1609+
"revision": "20251016",
16101610
"rootUrl": "https://developerconnect.googleapis.com/",
16111611
"schemas": {
16121612
"AccountConnector": {
@@ -1659,6 +1659,28 @@
16591659
},
16601660
"type": "object"
16611661
},
1662+
"AppHubService": {
1663+
"description": "AppHubService represents the App Hub Service.",
1664+
"id": "AppHubService",
1665+
"properties": {
1666+
"apphubService": {
1667+
"description": "Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project}/locations/{location}/applications/{application}/services/{service}`.",
1668+
"readOnly": true,
1669+
"type": "string"
1670+
},
1671+
"criticality": {
1672+
"description": "Output only. The criticality of the App Hub Service.",
1673+
"readOnly": true,
1674+
"type": "string"
1675+
},
1676+
"environment": {
1677+
"description": "Output only. The environment of the App Hub Service.",
1678+
"readOnly": true,
1679+
"type": "string"
1680+
}
1681+
},
1682+
"type": "object"
1683+
},
16621684
"AppHubWorkload": {
16631685
"description": "AppHubWorkload represents the App Hub Workload.",
16641686
"id": "AppHubWorkload",
@@ -2298,6 +2320,17 @@
22982320
},
22992321
"type": "object"
23002322
},
2323+
"GoogleCloudRun": {
2324+
"description": "GoogleCloudRun represents the Cloud Run runtime.",
2325+
"id": "GoogleCloudRun",
2326+
"properties": {
2327+
"serviceUri": {
2328+
"description": "Required. Immutable. The name of the Cloud Run service. Format: `projects/{project}/locations/{location}/services/{service}`.",
2329+
"type": "string"
2330+
}
2331+
},
2332+
"type": "object"
2333+
},
23012334
"HttpBody": {
23022335
"description": "Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.",
23032336
"id": "HttpBody",
@@ -2873,6 +2906,11 @@
28732906
"description": "RuntimeConfig represents the runtimes where the application is deployed.",
28742907
"id": "RuntimeConfig",
28752908
"properties": {
2909+
"appHubService": {
2910+
"$ref": "AppHubService",
2911+
"description": "Output only. App Hub Service.",
2912+
"readOnly": true
2913+
},
28762914
"appHubWorkload": {
28772915
"$ref": "AppHubWorkload",
28782916
"description": "Output only. App Hub Workload.",
@@ -2883,6 +2921,11 @@
28832921
"description": "Output only. Google Kubernetes Engine runtime.",
28842922
"readOnly": true
28852923
},
2924+
"googleCloudRun": {
2925+
"$ref": "GoogleCloudRun",
2926+
"description": "Output only. Cloud Run runtime.",
2927+
"readOnly": true
2928+
},
28862929
"state": {
28872930
"description": "Output only. The state of the Runtime.",
28882931
"enum": [

src/apis/developerconnect/v1.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,23 @@ export namespace developerconnect_v1 {
161161
*/
162162
updateTime?: string | null;
163163
}
164+
/**
165+
* AppHubService represents the App Hub Service.
166+
*/
167+
export interface Schema$AppHubService {
168+
/**
169+
* Required. Output only. Immutable. The name of the App Hub Service. Format: `projects/{project\}/locations/{location\}/applications/{application\}/services/{service\}`.
170+
*/
171+
apphubService?: string | null;
172+
/**
173+
* Output only. The criticality of the App Hub Service.
174+
*/
175+
criticality?: string | null;
176+
/**
177+
* Output only. The environment of the App Hub Service.
178+
*/
179+
environment?: string | null;
180+
}
164181
/**
165182
* AppHubWorkload represents the App Hub Workload.
166183
*/
@@ -675,6 +692,15 @@ export namespace developerconnect_v1 {
675692
*/
676693
projectId?: string | null;
677694
}
695+
/**
696+
* GoogleCloudRun represents the Cloud Run runtime.
697+
*/
698+
export interface Schema$GoogleCloudRun {
699+
/**
700+
* Required. Immutable. The name of the Cloud Run service. Format: `projects/{project\}/locations/{location\}/services/{service\}`.
701+
*/
702+
serviceUri?: string | null;
703+
}
678704
/**
679705
* Message that represents an arbitrary HTTP body. It should only be used for payload formats that can't be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; \} service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); \} Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); \} Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
680706
*/
@@ -1057,6 +1083,10 @@ export namespace developerconnect_v1 {
10571083
* RuntimeConfig represents the runtimes where the application is deployed.
10581084
*/
10591085
export interface Schema$RuntimeConfig {
1086+
/**
1087+
* Output only. App Hub Service.
1088+
*/
1089+
appHubService?: Schema$AppHubService;
10601090
/**
10611091
* Output only. App Hub Workload.
10621092
*/
@@ -1065,6 +1095,10 @@ export namespace developerconnect_v1 {
10651095
* Output only. Google Kubernetes Engine runtime.
10661096
*/
10671097
gkeWorkload?: Schema$GKEWorkload;
1098+
/**
1099+
* Output only. Cloud Run runtime.
1100+
*/
1101+
googleCloudRun?: Schema$GoogleCloudRun;
10681102
/**
10691103
* Output only. The state of the Runtime.
10701104
*/

0 commit comments

Comments
 (0)