ProjectsLocationsFunctionsResource class Null safety


ProjectsLocationsFunctionsResource(ApiRequester client)


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


create(Function_ request, String parent, {String? functionId, 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? $fields}) Future<Function_>
Returns a function with the given name from the requested project.
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields}) Future<Policy>
Gets the access control policy for a resource.
list(String parent, {String? filter, String? orderBy, 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 non-existent method or property is accessed.
patch(Function_ request, String name, {String? updateMask, String? $fields}) Future<Operation>
Updates existing function.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified resource.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns permissions that a caller has on the specified resource.
toString() String
A string representation of this object.


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