Skip to content

Commit 2e2841b

Browse files
yoshi-automationsofisl
authored andcommitted
fix(apphub): update the API
#### apphub:v1alpha The following keys were changed: - resources.projects.resources.locations.resources.applications.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.applications.resources.services.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.applications.resources.workloads.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.Application.description - schemas.Application.properties.name.description - schemas.DiscoveredService.description - schemas.DiscoveredService.properties.name.description - schemas.DiscoveredWorkload.properties.name.description - schemas.OperationMetadata.properties.requestedCancellation.description - schemas.Scope.properties.type.enum - schemas.Scope.properties.type.enumDescriptions - schemas.Service.description - schemas.Service.properties.name.description - schemas.ServiceProjectAttachment.properties.name.description - schemas.ServiceProjectAttachment.properties.serviceProject.description - schemas.ServiceReference.properties.uri.description - schemas.Workload.properties.name.description - schemas.WorkloadProperties.properties.gcpProject.description - schemas.WorkloadProperties.properties.location.description - schemas.WorkloadProperties.properties.zone.description #### apphub:v1 The following keys were changed: - resources.projects.resources.locations.resources.applications.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.applications.resources.services.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.applications.resources.workloads.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.Application.description - schemas.Application.properties.name.description - schemas.DiscoveredService.description - schemas.DiscoveredService.properties.name.description - schemas.DiscoveredWorkload.properties.name.description - schemas.OperationMetadata.properties.requestedCancellation.description - schemas.Scope.properties.type.enum - schemas.Scope.properties.type.enumDescriptions - schemas.Service.description - schemas.Service.properties.name.description - schemas.ServiceProjectAttachment.properties.name.description - schemas.ServiceProjectAttachment.properties.serviceProject.description - schemas.ServiceReference.properties.uri.description - schemas.Workload.properties.name.description - schemas.WorkloadProperties.properties.gcpProject.description - schemas.WorkloadProperties.properties.location.description - schemas.WorkloadProperties.properties.zone.description
1 parent 2781a62 commit 2e2841b

File tree

4 files changed

+86
-82
lines changed

4 files changed

+86
-82
lines changed

‎discovery/apphub-v1.json

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
],
413413
"parameters": {
414414
"name": {
415-
"description": "Identifier. The resource name of an Application. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}\"",
415+
"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`",
416416
"location": "path",
417417
"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+$",
418418
"required": true,
@@ -650,7 +650,7 @@
650650
],
651651
"parameters": {
652652
"name": {
653-
"description": "Identifier. The resource name of a Service. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"",
653+
"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`",
654654
"location": "path",
655655
"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/services/[^/]+$",
656656
"required": true,
@@ -832,7 +832,7 @@
832832
],
833833
"parameters": {
834834
"name": {
835-
"description": "Identifier. The resource name of the Workload. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"",
835+
"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`",
836836
"location": "path",
837837
"pattern": "^projects/[^/]+/locations/[^/]+/applications/[^/]+/workloads/[^/]+$",
838838
"required": true,
@@ -1078,7 +1078,7 @@
10781078
"operations": {
10791079
"methods": {
10801080
"cancel": {
1081-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1081+
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
10821082
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
10831083
"httpMethod": "POST",
10841084
"id": "apphub.projects.locations.operations.cancel",
@@ -1346,11 +1346,11 @@
13461346
}
13471347
}
13481348
},
1349-
"revision": "20240311",
1349+
"revision": "20250115",
13501350
"rootUrl": "https://apphub.googleapis.com/",
13511351
"schemas": {
13521352
"Application": {
1353-
"description": "Application defines the governance boundary for App Hub Entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.",
1353+
"description": "Application defines the governance boundary for App Hub entities that perform a logical end-to-end business function. App Hub supports application level IAM permission to align with governance requirements.",
13541354
"id": "Application",
13551355
"properties": {
13561356
"attributes": {
@@ -1372,7 +1372,7 @@
13721372
"type": "string"
13731373
},
13741374
"name": {
1375-
"description": "Identifier. The resource name of an Application. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}\"",
1375+
"description": "Identifier. The resource name of an Application. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}\"`",
13761376
"type": "string"
13771377
},
13781378
"scope": {
@@ -1575,11 +1575,11 @@
15751575
"type": "object"
15761576
},
15771577
"DiscoveredService": {
1578-
"description": "DiscoveredService is a network/api interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.",
1578+
"description": "DiscoveredService is a network or API interface that exposes some functionality to clients for consumption over the network. A discovered service can be registered to a App Hub service.",
15791579
"id": "DiscoveredService",
15801580
"properties": {
15811581
"name": {
1582-
"description": "Identifier. The resource name of the discovered service. Format: \"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"\"",
1582+
"description": "Identifier. The resource name of the discovered service. Format: `\"projects/{host-project-id}/locations/{location}/discoveredServices/{uuid}\"`",
15831583
"type": "string"
15841584
},
15851585
"serviceProperties": {
@@ -1600,7 +1600,7 @@
16001600
"id": "DiscoveredWorkload",
16011601
"properties": {
16021602
"name": {
1603-
"description": "Identifier. The resource name of the discovered workload. Format: \"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"",
1603+
"description": "Identifier. The resource name of the discovered workload. Format: `\"projects/{host-project-id}/locations/{location}/discoveredWorkloads/{uuid}\"`",
16041604
"type": "string"
16051605
},
16061606
"workloadProperties": {
@@ -1980,7 +1980,7 @@
19801980
"type": "string"
19811981
},
19821982
"requestedCancellation": {
1983-
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1983+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
19841984
"readOnly": true,
19851985
"type": "boolean"
19861986
},
@@ -2072,19 +2072,21 @@
20722072
"description": "Required. Scope Type.",
20732073
"enum": [
20742074
"TYPE_UNSPECIFIED",
2075-
"REGIONAL"
2075+
"REGIONAL",
2076+
"GLOBAL"
20762077
],
20772078
"enumDescriptions": [
20782079
"Unspecified type.",
2079-
"Regional type."
2080+
"Regional type.",
2081+
"Global type."
20802082
],
20812083
"type": "string"
20822084
}
20832085
},
20842086
"type": "object"
20852087
},
20862088
"Service": {
2087-
"description": "Service is an App Hub data model that contains a discovered service, which represents a network/api interface that exposes some functionality to clients for consumption over the network.",
2089+
"description": "Service is an App Hub data model that contains a discovered service, which represents a network or API interface that exposes some functionality to clients for consumption over the network.",
20882090
"id": "Service",
20892091
"properties": {
20902092
"attributes": {
@@ -2110,7 +2112,7 @@
21102112
"type": "string"
21112113
},
21122114
"name": {
2113-
"description": "Identifier. The resource name of a Service. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"",
2115+
"description": "Identifier. The resource name of a Service. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}\"`",
21142116
"type": "string"
21152117
},
21162118
"serviceProperties": {
@@ -2167,11 +2169,11 @@
21672169
"type": "string"
21682170
},
21692171
"name": {
2170-
"description": "Identifier. The resource name of a ServiceProjectAttachment. Format: \"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\"",
2172+
"description": "Identifier. The resource name of a ServiceProjectAttachment. Format: `\"projects/{host-project-id}/locations/global/serviceProjectAttachments/{service-project-id}.\"`",
21712173
"type": "string"
21722174
},
21732175
"serviceProject": {
2174-
"description": "Required. Immutable. Service project name in the format: \"projects/abc\" or \"projects/123\". As input, project name with either project id or number are accepted. As output, this field will contain project number.",
2176+
"description": "Required. Immutable. Service project name in the format: `\"projects/abc\"` or `\"projects/123\"`. As input, project name with either project id or number are accepted. As output, this field will contain project number.",
21752177
"type": "string"
21762178
},
21772179
"state": {
@@ -2226,7 +2228,7 @@
22262228
"id": "ServiceReference",
22272229
"properties": {
22282230
"uri": {
2229-
"description": "Output only. The underlying resource URI (For example, URI of Forwarding Rule, URL Map, and Backend Service).",
2231+
"description": "Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service.",
22302232
"readOnly": true,
22312233
"type": "string"
22322234
}
@@ -2331,7 +2333,7 @@
23312333
"type": "string"
23322334
},
23332335
"name": {
2334-
"description": "Identifier. The resource name of the Workload. Format: \"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"",
2336+
"description": "Identifier. The resource name of the Workload. Format: `\"projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}\"`",
23352337
"type": "string"
23362338
},
23372339
"state": {
@@ -2382,17 +2384,17 @@
23822384
"id": "WorkloadProperties",
23832385
"properties": {
23842386
"gcpProject": {
2385-
"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non cloud resources.",
2387+
"description": "Output only. The service project identifier that the underlying cloud resource resides in. Empty for non-cloud resources.",
23862388
"readOnly": true,
23872389
"type": "string"
23882390
},
23892391
"location": {
2390-
"description": "Output only. The location that the underlying compute resource resides in (e.g us-west1).",
2392+
"description": "Output only. The location that the underlying compute resource resides in (for example, us-west1).",
23912393
"readOnly": true,
23922394
"type": "string"
23932395
},
23942396
"zone": {
2395-
"description": "Output only. The location that the underlying compute resource resides in if it is zonal (e.g us-west1-a).",
2397+
"description": "Output only. The location that the underlying compute resource resides in if it is zonal (for example, us-west1-a).",
23962398
"readOnly": true,
23972399
"type": "string"
23982400
}

0 commit comments

Comments
 (0)