Skip to content

Commit 5d17056

Browse files
feat(all): auto-regenerate discovery clients (#3409)
1 parent ba64741 commit 5d17056

File tree

10 files changed

+920
-35
lines changed

10 files changed

+920
-35
lines changed

apihub/v1/apihub-api.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,11 +1135,13 @@
11351135
"description": "Optional. The type of the spec contents to be retrieved.",
11361136
"enum": [
11371137
"SPEC_CONTENT_TYPE_UNSPECIFIED",
1138-
"BOOSTED_SPEC_CONTENT"
1138+
"BOOSTED_SPEC_CONTENT",
1139+
"GATEWAY_OPEN_API_SPEC"
11391140
],
11401141
"enumDescriptions": [
11411142
"Unspecified spec content type. Defaults to spec content uploaded by the user.",
1142-
"The spec content type for boosted spec."
1143+
"The spec content type for boosted spec.",
1144+
"The spec content type for OpenAPI spec. This enum is used for OpenAPI specs ingested via APIGEE X Gateway."
11431145
],
11441146
"location": "query",
11451147
"type": "string"
@@ -3171,7 +3173,7 @@
31713173
}
31723174
}
31733175
},
3174-
"revision": "20251205",
3176+
"revision": "20251210",
31753177
"rootUrl": "https://apihub.googleapis.com/",
31763178
"schemas": {
31773179
"Empty": {
@@ -3244,11 +3246,13 @@
32443246
"description": "Required. The type of the spec content.",
32453247
"enum": [
32463248
"SPEC_CONTENT_TYPE_UNSPECIFIED",
3247-
"BOOSTED_SPEC_CONTENT"
3249+
"BOOSTED_SPEC_CONTENT",
3250+
"GATEWAY_OPEN_API_SPEC"
32483251
],
32493252
"enumDescriptions": [
32503253
"Unspecified spec content type. Defaults to spec content uploaded by the user.",
3251-
"The spec content type for boosted spec."
3254+
"The spec content type for boosted spec.",
3255+
"The spec content type for OpenAPI spec. This enum is used for OpenAPI specs ingested via APIGEE X Gateway."
32523256
],
32533257
"type": "string"
32543258
},

apihub/v1/apihub-gen.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apphub/v1/apphub-api.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",

0 commit comments

Comments
 (0)