- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Update API version. The following fields in the version can be updated currently:
The updateMask should be used to specify the fields being updated.
HTTP request
PATCH https://apihub.googleapis.com/v1/{version.name=projects/*/locations/*/apis/*/versions/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
version.name |
Identifier. The name of the version. 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 Version.
Response body
If successful, the response body contains an instance of Version.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/apihub.readwritehttps://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name resource:
apihub.versions.update
For more information, see the IAM documentation.