ProjectsLocationsFunctionsResource class

Constructors

ProjectsLocationsFunctionsResource(ApiRequester client)

Properties

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

Methods

call(CallFunctionRequest request, String name, {String? $fields}) Future<CallFunctionResponse>
Synchronously invokes a deployed Cloud Function.
create(CloudFunction request, String location, {String? $fields}) Future<Operation>
Creates a new function.
delete(String name, {String? $fields}) Future<Operation>
Deletes a function with the given name from the specified project.
generateDownloadUrl(GenerateDownloadUrlRequest request, String name, {String? $fields}) Future<GenerateDownloadUrlResponse>
Returns a signed URL for downloading deployed function source code.
generateUploadUrl(GenerateUploadUrlRequest request, String parent, {String? $fields}) Future<GenerateUploadUrlResponse>
Returns a signed URL for uploading a function source code.
get(String name, {String? versionId, String? $fields}) Future<CloudFunction>
Returns a function with the given name from the requested project.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the IAM access control policy for a function.
list(String parent, {int? pageSize, String? pageToken, String? $fields}) Future<ListFunctionsResponse>
Returns a list of functions that belong to the requested project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(CloudFunction request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates existing function.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the IAM access control policy on the specified function.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Tests the specified permissions against the IAM access control policy for a function.
toString() String
A string representation of this object.
inherited

Operators

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