- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Update a deployment resource in the API hub. The following fields in the deployment resource
can be updated:
display_name
description
documentation
deployment_type
resource_uri
endpoints
slo
environment
attributes
The updateMask
should be used to specify the fields being updated.
HTTP request
PATCH https://apihub.googleapis.com/v1/{deployment.name=projects/*/locations/*/deployments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
deployment.name |
Identifier. The name of the deployment. Format: |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Deployment
.
Response body
If successful, the response body contains an instance of Deployment
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name
resource:
apihub.deployments.update
For more information, see the IAM documentation.