Updates a resource file.
Specify the Content-Type
as application/octet-stream
or multipart/form-data
.
For more information about resource files, see Resource files.
HTTP request
PUT https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/resourcefiles/{type}/{name}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the environment in the following format: Authorization requires the following IAM permission on the specified resource
|
type |
Required. Resource file type. Valid types include |
name |
Required. ID of the resource file to update. Must match the regular expression: [a-zA-Z0-9:/\!@#$%^&{}[]()+-=,.~'` ]{1,255} |
Request body
The request body contains an instance of HttpBody
.
Response body
If successful, the response body contains an instance of ResourceFile
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform