Skip to content

Commit ae58a71

Browse files
yoshi-automationquirogas
authored andcommitted
feat(apphub): update the API
#### apphub:v1alpha The following keys were added: - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.flatPath - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.httpMethod - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.id - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameterOrder - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.required - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.path - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.response.$ref - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.scopes - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.flatPath - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.httpMethod - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.id - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameterOrder - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.path - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.response.$ref - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.scopes - schemas.ExtendedMetadataSchema.description - schemas.ExtendedMetadataSchema.id - schemas.ExtendedMetadataSchema.properties.jsonSchema.description - schemas.ExtendedMetadataSchema.properties.jsonSchema.readOnly - schemas.ExtendedMetadataSchema.properties.jsonSchema.type - schemas.ExtendedMetadataSchema.properties.name.description - schemas.ExtendedMetadataSchema.properties.name.type - schemas.ExtendedMetadataSchema.properties.schemaVersion.description - schemas.ExtendedMetadataSchema.properties.schemaVersion.format - schemas.ExtendedMetadataSchema.properties.schemaVersion.readOnly - schemas.ExtendedMetadataSchema.properties.schemaVersion.type - schemas.ExtendedMetadataSchema.type - schemas.ListExtendedMetadataSchemasResponse.description - schemas.ListExtendedMetadataSchemasResponse.id - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.description - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.items.$ref - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.type - schemas.ListExtendedMetadataSchemasResponse.properties.nextPageToken.description - schemas.ListExtendedMetadataSchemasResponse.properties.nextPageToken.type - schemas.ListExtendedMetadataSchemasResponse.type The following keys were changed: - description - schemas.Boundary.properties.crmNode.description - schemas.Identity.properties.principal.description #### apphub:v1 The following keys were added: - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.flatPath - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.httpMethod - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.id - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameterOrder - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.pattern - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.required - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.parameters.name.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.path - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.response.$ref - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.get.scopes - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.flatPath - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.httpMethod - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.id - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameterOrder - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.format - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageSize.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.pageToken.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.location - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.pattern - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.required - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.parameters.parent.type - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.path - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.response.$ref - resources.projects.resources.locations.resources.extendedMetadataSchemas.methods.list.scopes - schemas.ExtendedMetadataSchema.description - schemas.ExtendedMetadataSchema.id - schemas.ExtendedMetadataSchema.properties.jsonSchema.description - schemas.ExtendedMetadataSchema.properties.jsonSchema.readOnly - schemas.ExtendedMetadataSchema.properties.jsonSchema.type - schemas.ExtendedMetadataSchema.properties.name.description - schemas.ExtendedMetadataSchema.properties.name.type - schemas.ExtendedMetadataSchema.properties.schemaVersion.description - schemas.ExtendedMetadataSchema.properties.schemaVersion.format - schemas.ExtendedMetadataSchema.properties.schemaVersion.readOnly - schemas.ExtendedMetadataSchema.properties.schemaVersion.type - schemas.ExtendedMetadataSchema.type - schemas.ListExtendedMetadataSchemasResponse.description - schemas.ListExtendedMetadataSchemasResponse.id - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.description - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.items.$ref - schemas.ListExtendedMetadataSchemasResponse.properties.extendedMetadataSchemas.type - schemas.ListExtendedMetadataSchemasResponse.properties.nextPageToken.description - schemas.ListExtendedMetadataSchemasResponse.properties.nextPageToken.type - schemas.ListExtendedMetadataSchemasResponse.type The following keys were changed: - description - schemas.Boundary.properties.crmNode.description - schemas.Identity.properties.principal.description
1 parent 6d4518a commit ae58a71

File tree

4 files changed

+929
-14
lines changed

4 files changed

+929
-14
lines changed

discovery/apphub-v1.json

Lines changed: 109 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"baseUrl": "https://apphub.googleapis.com/",
1313
"batchPath": "batch",
1414
"canonicalName": "App Hub",
15-
"description": "",
15+
"description": "App Hub lets you build, operate, and manage applications on Google Cloud.",
1616
"discoveryVersion": "v1",
1717
"documentationLink": "https://cloud.google.com/app-hub/docs/",
1818
"fullyEncodeReservedExpansion": true,
@@ -1145,6 +1145,71 @@
11451145
}
11461146
}
11471147
},
1148+
"extendedMetadataSchemas": {
1149+
"methods": {
1150+
"get": {
1151+
"description": "Gets an Extended Metadata Schema.",
1152+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas/{extendedMetadataSchemasId}",
1153+
"httpMethod": "GET",
1154+
"id": "apphub.projects.locations.extendedMetadataSchemas.get",
1155+
"parameterOrder": [
1156+
"name"
1157+
],
1158+
"parameters": {
1159+
"name": {
1160+
"description": "Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be \"apphub.googleapis.com/Name\"",
1161+
"location": "path",
1162+
"pattern": "^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$",
1163+
"required": true,
1164+
"type": "string"
1165+
}
1166+
},
1167+
"path": "v1/{+name}",
1168+
"response": {
1169+
"$ref": "ExtendedMetadataSchema"
1170+
},
1171+
"scopes": [
1172+
"https://www.googleapis.com/auth/cloud-platform"
1173+
]
1174+
},
1175+
"list": {
1176+
"description": "Lists Extended Metadata Schemas available in a host project and location.",
1177+
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas",
1178+
"httpMethod": "GET",
1179+
"id": "apphub.projects.locations.extendedMetadataSchemas.list",
1180+
"parameterOrder": [
1181+
"parent"
1182+
],
1183+
"parameters": {
1184+
"pageSize": {
1185+
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
1186+
"format": "int32",
1187+
"location": "query",
1188+
"type": "integer"
1189+
},
1190+
"pageToken": {
1191+
"description": "Optional. A token identifying a page of results the server should return.",
1192+
"location": "query",
1193+
"type": "string"
1194+
},
1195+
"parent": {
1196+
"description": "Required. Project and location to list Extended Metadata Schemas on. Expected format: `projects/{project}/locations/{location}`.",
1197+
"location": "path",
1198+
"pattern": "^projects/[^/]+/locations/[^/]+$",
1199+
"required": true,
1200+
"type": "string"
1201+
}
1202+
},
1203+
"path": "v1/{+parent}/extendedMetadataSchemas",
1204+
"response": {
1205+
"$ref": "ListExtendedMetadataSchemasResponse"
1206+
},
1207+
"scopes": [
1208+
"https://www.googleapis.com/auth/cloud-platform"
1209+
]
1210+
}
1211+
}
1212+
},
11481213
"operations": {
11491214
"methods": {
11501215
"cancel": {
@@ -1421,7 +1486,7 @@
14211486
}
14221487
}
14231488
},
1424-
"revision": "20251114",
1489+
"revision": "20251210",
14251490
"rootUrl": "https://apphub.googleapis.com/",
14261491
"schemas": {
14271492
"Application": {
@@ -1602,7 +1667,7 @@
16021667
"type": "string"
16031668
},
16041669
"crmNode": {
1605-
"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`",
1670+
"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}`",
16061671
"type": "string"
16071672
},
16081673
"name": {
@@ -1805,6 +1870,28 @@
18051870
},
18061871
"type": "object"
18071872
},
1873+
"ExtendedMetadataSchema": {
1874+
"description": "ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.",
1875+
"id": "ExtendedMetadataSchema",
1876+
"properties": {
1877+
"jsonSchema": {
1878+
"description": "Output only. The JSON schema as a string.",
1879+
"readOnly": true,
1880+
"type": "string"
1881+
},
1882+
"name": {
1883+
"description": "Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/",
1884+
"type": "string"
1885+
},
1886+
"schemaVersion": {
1887+
"description": "Output only. The version of the schema. New versions are required to be backwards compatible.",
1888+
"format": "int64",
1889+
"readOnly": true,
1890+
"type": "string"
1891+
}
1892+
},
1893+
"type": "object"
1894+
},
18081895
"FunctionalType": {
18091896
"description": "The functional type of a service or workload.",
18101897
"id": "FunctionalType",
@@ -1832,7 +1919,7 @@
18321919
"id": "Identity",
18331920
"properties": {
18341921
"principal": {
1835-
"description": "Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity",
1922+
"description": "Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity",
18361923
"readOnly": true,
18371924
"type": "string"
18381925
}
@@ -1914,6 +2001,24 @@
19142001
},
19152002
"type": "object"
19162003
},
2004+
"ListExtendedMetadataSchemasResponse": {
2005+
"description": "Response for ListExtendedMetadataSchemas.",
2006+
"id": "ListExtendedMetadataSchemasResponse",
2007+
"properties": {
2008+
"extendedMetadataSchemas": {
2009+
"description": "List of Extended Metadata Schemas.",
2010+
"items": {
2011+
"$ref": "ExtendedMetadataSchema"
2012+
},
2013+
"type": "array"
2014+
},
2015+
"nextPageToken": {
2016+
"description": "A token identifying a page of results the server should return.",
2017+
"type": "string"
2018+
}
2019+
},
2020+
"type": "object"
2021+
},
19172022
"ListLocationsResponse": {
19182023
"description": "The response message for Locations.ListLocations.",
19192024
"id": "ListLocationsResponse",

discovery/apphub-v1alpha.json

Lines changed: 109 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"baseUrl": "https://apphub.googleapis.com/",
1313
"batchPath": "batch",
1414
"canonicalName": "App Hub",
15-
"description": "",
15+
"description": "App Hub lets you build, operate, and manage applications on Google Cloud.",
1616
"discoveryVersion": "v1",
1717
"documentationLink": "https://cloud.google.com/app-hub/docs/",
1818
"fullyEncodeReservedExpansion": true,
@@ -1237,6 +1237,71 @@
12371237
}
12381238
}
12391239
},
1240+
"extendedMetadataSchemas": {
1241+
"methods": {
1242+
"get": {
1243+
"description": "Gets an Extended Metadata Schema.",
1244+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas/{extendedMetadataSchemasId}",
1245+
"httpMethod": "GET",
1246+
"id": "apphub.projects.locations.extendedMetadataSchemas.get",
1247+
"parameterOrder": [
1248+
"name"
1249+
],
1250+
"parameters": {
1251+
"name": {
1252+
"description": "Required. Schema resource name Format: projects//locations//extendedMetadataSchemas/ could be \"apphub.googleapis.com/Name\"",
1253+
"location": "path",
1254+
"pattern": "^projects/[^/]+/locations/[^/]+/extendedMetadataSchemas/.*$",
1255+
"required": true,
1256+
"type": "string"
1257+
}
1258+
},
1259+
"path": "v1alpha/{+name}",
1260+
"response": {
1261+
"$ref": "ExtendedMetadataSchema"
1262+
},
1263+
"scopes": [
1264+
"https://www.googleapis.com/auth/cloud-platform"
1265+
]
1266+
},
1267+
"list": {
1268+
"description": "Lists Extended Metadata Schemas available in a host project and location.",
1269+
"flatPath": "v1alpha/projects/{projectsId}/locations/{locationsId}/extendedMetadataSchemas",
1270+
"httpMethod": "GET",
1271+
"id": "apphub.projects.locations.extendedMetadataSchemas.list",
1272+
"parameterOrder": [
1273+
"parent"
1274+
],
1275+
"parameters": {
1276+
"pageSize": {
1277+
"description": "Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
1278+
"format": "int32",
1279+
"location": "query",
1280+
"type": "integer"
1281+
},
1282+
"pageToken": {
1283+
"description": "Optional. A token identifying a page of results the server should return.",
1284+
"location": "query",
1285+
"type": "string"
1286+
},
1287+
"parent": {
1288+
"description": "Required. Project and location to list Extended Metadata Schemas on. Expected format: `projects/{project}/locations/{location}`.",
1289+
"location": "path",
1290+
"pattern": "^projects/[^/]+/locations/[^/]+$",
1291+
"required": true,
1292+
"type": "string"
1293+
}
1294+
},
1295+
"path": "v1alpha/{+parent}/extendedMetadataSchemas",
1296+
"response": {
1297+
"$ref": "ListExtendedMetadataSchemasResponse"
1298+
},
1299+
"scopes": [
1300+
"https://www.googleapis.com/auth/cloud-platform"
1301+
]
1302+
}
1303+
}
1304+
},
12401305
"operations": {
12411306
"methods": {
12421307
"cancel": {
@@ -1513,7 +1578,7 @@
15131578
}
15141579
}
15151580
},
1516-
"revision": "20251114",
1581+
"revision": "20251210",
15171582
"rootUrl": "https://apphub.googleapis.com/",
15181583
"schemas": {
15191584
"Application": {
@@ -1694,7 +1759,7 @@
16941759
"type": "string"
16951760
},
16961761
"crmNode": {
1697-
"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}` or `projects/{project-id}`",
1762+
"description": "Optional. The resource name of the CRM node being attached to the boundary. Format: `projects/{project-number}`",
16981763
"type": "string"
16991764
},
17001765
"name": {
@@ -1927,6 +1992,28 @@
19271992
},
19281993
"type": "object"
19291994
},
1995+
"ExtendedMetadataSchema": {
1996+
"description": "ExtendedMetadataSchema represents a schema for extended metadata of a service or workload.",
1997+
"id": "ExtendedMetadataSchema",
1998+
"properties": {
1999+
"jsonSchema": {
2000+
"description": "Output only. The JSON schema as a string.",
2001+
"readOnly": true,
2002+
"type": "string"
2003+
},
2004+
"name": {
2005+
"description": "Identifier. Resource name of the schema. Format: projects//locations//extendedMetadataSchemas/",
2006+
"type": "string"
2007+
},
2008+
"schemaVersion": {
2009+
"description": "Output only. The version of the schema. New versions are required to be backwards compatible.",
2010+
"format": "int64",
2011+
"readOnly": true,
2012+
"type": "string"
2013+
}
2014+
},
2015+
"type": "object"
2016+
},
19302017
"FindUnregisteredServicesResponse": {
19312018
"description": "Response for FindUnregisteredServices.",
19322019
"id": "FindUnregisteredServicesResponse",
@@ -2004,7 +2091,7 @@
20042091
"id": "Identity",
20052092
"properties": {
20062093
"principal": {
2007-
"description": "Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity",
2094+
"description": "Output only. The principal of the identity. Supported formats: * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity",
20082095
"readOnly": true,
20092096
"type": "string"
20102097
}
@@ -2086,6 +2173,24 @@
20862173
},
20872174
"type": "object"
20882175
},
2176+
"ListExtendedMetadataSchemasResponse": {
2177+
"description": "Response for ListExtendedMetadataSchemas.",
2178+
"id": "ListExtendedMetadataSchemasResponse",
2179+
"properties": {
2180+
"extendedMetadataSchemas": {
2181+
"description": "List of Extended Metadata Schemas.",
2182+
"items": {
2183+
"$ref": "ExtendedMetadataSchema"
2184+
},
2185+
"type": "array"
2186+
},
2187+
"nextPageToken": {
2188+
"description": "A token identifying a page of results the server should return.",
2189+
"type": "string"
2190+
}
2191+
},
2192+
"type": "object"
2193+
},
20892194
"ListLocationsResponse": {
20902195
"description": "The response message for Locations.ListLocations.",
20912196
"id": "ListLocationsResponse",

0 commit comments

Comments
 (0)