- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Update a single Enrollment.
HTTP request
PATCH https://eventarc.googleapis.com/v1/{enrollment.name=projects/*/locations/*/enrollments/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
enrollment. |
Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment} |
Query parameters
Parameters | |
---|---|
update |
Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "*". This is a comma-separated list of fully qualified names of fields. Example: |
allow |
Optional. If set to true, and the Enrollment is not found, a new Enrollment will be created. In this situation, |
validate |
Optional. If set, validate the request and preview the review, but do not post it. |
Request body
The request body contains an instance of Enrollment
.
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.