You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/cloudasset-v1.json
+3-62Lines changed: 3 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -358,59 +358,6 @@
358
358
},
359
359
"operations": {
360
360
"methods": {
361
-
"cancel": {
362
-
"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`.",
"description": "The name of the operation resource to be cancelled.",
372
-
"location": "path",
373
-
"pattern": "^operations/.*$",
374
-
"required": true,
375
-
"type": "string"
376
-
}
377
-
},
378
-
"path": "v1/{+name}:cancel",
379
-
"request": {
380
-
"$ref": "CancelOperationRequest"
381
-
},
382
-
"response": {
383
-
"$ref": "Empty"
384
-
},
385
-
"scopes": [
386
-
"https://www.googleapis.com/auth/cloud-platform"
387
-
]
388
-
},
389
-
"delete": {
390
-
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
391
-
"flatPath": "v1/operations/{operationsId}",
392
-
"httpMethod": "DELETE",
393
-
"id": "cloudasset.operations.delete",
394
-
"parameterOrder": [
395
-
"name"
396
-
],
397
-
"parameters": {
398
-
"name": {
399
-
"description": "The name of the operation resource to be deleted.",
400
-
"location": "path",
401
-
"pattern": "^operations/.*$",
402
-
"required": true,
403
-
"type": "string"
404
-
}
405
-
},
406
-
"path": "v1/{+name}",
407
-
"response": {
408
-
"$ref": "Empty"
409
-
},
410
-
"scopes": [
411
-
"https://www.googleapis.com/auth/cloud-platform"
412
-
]
413
-
},
414
361
"get": {
415
362
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
"description": "The request message for Operations.CancelOperation.",
1583
-
"id": "CancelOperationRequest",
1584
-
"properties": {},
1585
-
"type": "object"
1586
-
},
1587
1528
"ConditionContext": {
1588
1529
"description": "The IAM conditions context.",
1589
1530
"id": "ConditionContext",
@@ -3526,7 +3467,7 @@
3526
3467
"AVAILABLE_PACKAGE"
3527
3468
],
3528
3469
"enumDescriptions": [
3529
-
"Invalid. An type must be specified.",
3470
+
"Invalid. A type must be specified.",
3530
3471
"This represents a package that is installed on the VM.",
3531
3472
"This represents an update that is available for a package."
3532
3473
],
@@ -4207,7 +4148,7 @@
4207
4148
"type": "array"
4208
4149
},
4209
4150
"enrichments": {
4210
-
"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" }",
4151
+
"description": "Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: ``` scope: \"projects/my-project\" query: \"name: my-project\" assetTypes: \"cloudresourcemanager.googleapis.com/Project\" readMask: { paths: \"asset_type\" paths: \"name\" paths: \"enrichments.resource_owners\" } ```",
* Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: scope: "projects/my-project" query: "name: my-project" assetTypes: "cloudresourcemanager.googleapis.com/Project" readMask: { paths: "asset_type" paths: "name" paths: "enrichments.resource_owners" \}
2337
+
* Enrichments of the asset. Currently supported enrichment types with SearchAllResources API: * RESOURCE_OWNERS The corresponding read masks in order to get the enrichment: * enrichments.resource_owners The corresponding required permissions: * cloudasset.assets.searchEnrichmentResourceOwners Example query to get resource owner enrichment: ``` scope: "projects/my-project" query: "name: my-project" assetTypes: "cloudresourcemanager.googleapis.com/Project" readMask: { paths: "asset_type" paths: "name" paths: "enrichments.resource_owners" \} ```
* 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`.
3537
-
*
3538
-
* @param params - Parameters for request
3539
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3540
-
* @param callback - Optional callback that handles the response.
3541
-
* @returns A promise if used with async/await, or void if used with a callback.
* Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
3622
-
*
3623
-
* @param params - Parameters for request
3624
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
3625
-
* @param callback - Optional callback that handles the response.
3626
-
* @returns A promise if used with async/await, or void if used with a callback.
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
0 commit comments