Functions class

The Functions Service allows you view, create and manage your Cloud Functions.

Constructors

Functions(Client client)

Properties

client Client
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create({required String functionId, required String name, required Runtime runtime, List<String>? execute, List<String>? events, String? schedule, int? timeout, bool? enabled, bool? logging, String? entrypoint, String? commands, String? installationId, String? providerRepositoryId, String? providerBranch, bool? providerSilentMode, String? providerRootDirectory, String? templateRepository, String? templateOwner, String? templateRootDirectory, String? templateBranch}) Future<Func>
Create function
createBuild({required String functionId, required String deploymentId, required String buildId}) Future
Create build
createDeployment({required String functionId, required InputFile code, required bool activate, String? entrypoint, String? commands, dynamic onProgress(UploadProgress)?}) Future<Deployment>
Create deployment
createExecution({required String functionId, String? body, bool? xasync, String? path, ExecutionMethod? method, Map? headers}) Future<Execution>
Create execution
createVariable({required String functionId, required String key, required String value}) Future<Variable>
Create variable
delete({required String functionId}) Future
Delete function
deleteDeployment({required String functionId, required String deploymentId}) Future
Delete deployment
deleteVariable({required String functionId, required String variableId}) Future
Delete variable
downloadDeployment({required String functionId, required String deploymentId}) Future<Uint8List>
Download Deployment
get({required String functionId}) Future<Func>
Get function
getDeployment({required String functionId, required String deploymentId}) Future<Deployment>
Get deployment
getExecution({required String functionId, required String executionId}) Future<Execution>
Get execution
getVariable({required String functionId, required String variableId}) Future<Variable>
Get variable
list({List<String>? queries, String? search}) Future<FunctionList>
List functions
listDeployments({required String functionId, List<String>? queries, String? search}) Future<DeploymentList>
List deployments
listExecutions({required String functionId, List<String>? queries, String? search}) Future<ExecutionList>
List executions
listRuntimes() Future<RuntimeList>
List runtimes
listVariables({required String functionId}) Future<VariableList>
List variables
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update({required String functionId, required String name, Runtime? runtime, List<String>? execute, List<String>? events, String? schedule, int? timeout, bool? enabled, bool? logging, String? entrypoint, String? commands, String? installationId, String? providerRepositoryId, String? providerBranch, bool? providerSilentMode, String? providerRootDirectory}) Future<Func>
Update function
updateDeployment({required String functionId, required String deploymentId}) Future<Func>
Update function deployment
updateVariable({required String functionId, required String variableId, required String key, String? value}) Future<Variable>
Update variable

Operators

operator ==(Object other) bool
The equality operator.
inherited