- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates the metadata of a repository.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
repository.name |
Optional. A unique identifier for a repository. The name should be of the format: |
Query parameters
Parameters | |
---|---|
updateMask |
Optional. Field mask is used to specify the fields to be overwritten in the repository resource by the update. The fields specified in the updateMask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten. This is a comma-separated list of fully qualified names of fields. Example: |
validateOnly |
Optional. False by default. If set to true, the request is validated and the user is provided with an expected result, but no actual change is made. |
Request body
The request body contains an instance of Repository
.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
securesourcemanager.repositories.update
For more information, see the IAM documentation.