Cloud Functions Service, REST: Function methods
A set of methods for managing serverless functions.
JSON Representation
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"httpInvokeUrl": "string",
"status": "string"
}
Field | Description |
---|---|
id | string ID of the function. Generated at creation time. |
folderId | string ID of the folder that the function belongs to. |
createdAt | string (date-time) Creation timestamp for the function. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
name | string Name of the function. The name is unique within the folder. The string length in characters must be 3-63. |
description | string Description of the function. The string length in characters must be 0-256. |
labels | object Function labels as No more than 64 per resource. |
httpInvokeUrl | string URL that needs to be requested to invoke the function. |
status | string Status of the function.
|
Methods
Method | Description |
---|---|
create | Creates a function in the specified folder. |
createVersion | Creates a version for the specified function. |
delete | Deletes the specified function. |
deleteVersion | Deletes the specified version of a function. |
get | Returns the specified function. |
getVersion | Returns the specified version of a function. |
getVersionByTag | Returns all versions with the specified tag. |
list | Retrieves the list of functions in the specified folder. |
listAccessBindings | Lists existing access bindings for the specified function. |
listOperations | Lists operations for the specified function. |
listRuntimes | Lists available runtime environments for the specified function. |
listScalingPolicies | Lists existing scaling policies for specified function |
listTagHistory | Returns the log of tags assigned to versions of the specified function. |
listVersions | Retrieves the list of versions for the specified function, or of all function versions in the specified folder. |
removeScalingPolicy | Remove scaling policy for specified function and tag |
removeTag | Remove a tag from the specified version of a function. |
setAccessBindings | Sets access bindings for the function. |
setScalingPolicy | Set scaling policy for specified function and tag |
setTag | Set a tag for the specified version of a function. |
update | Updates the specified function. |
updateAccessBindings | Updates access bindings for the specified function. |