UpdateFunction
Function
Update Function
Update an existing function’s metadata. Also the publish path: set function.published_commit_id and include “published_commit_id” in update_mask to make a commit the default runnable version.
POST
UpdateFunction
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
application/json
Response
200 - application/json
Successful response
The FunctionsServiceUpdateFunctionResponse message.
Function represents a customer-provided code extension in the API