Cloudfunctions_v1Functions

Functions

Link copied to clipboard

Returns a function with the given name from the requested project.

suspend fun getFunction(argument: suspend GetFunctionPlainArgsBuilder.() -> Unit): GetFunctionResult
suspend fun getFunction(functionId: String, location: String, project: String? = null): GetFunctionResult
Link copied to clipboard

Gets the IAM access control policy for a function. Returns an empty policy if the function exists and does not have a policy set.

suspend fun getFunctionIamPolicy(functionId: String, location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetFunctionIamPolicyResult