Namespace Google.Apis.CloudFunctions.v2 | Google.Apis.CloudFunctions.v2
Show / Hide Table of Contents

Namespace Google.Apis.CloudFunctions.v2

Classes

CloudFunctionsBaseServiceRequest<TResponse>

A base abstract class for CloudFunctions requests.

CloudFunctionsService

The CloudFunctions Service.

CloudFunctionsService.Scope

Available OAuth 2.0 scopes for use with the Cloud Functions API.

CloudFunctionsService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud Functions API.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.LocationsResource

The "locations" collection of methods.

ProjectsResource.LocationsResource.FunctionsResource

The "functions" collection of methods.

ProjectsResource.LocationsResource.FunctionsResource.AbortFunctionUpgradeRequest

Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd Gen copy related configuration and resources which were created during the upgrade process.

ProjectsResource.LocationsResource.FunctionsResource.CommitFunctionUpgradeRequest

Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Deletes all original 1st Gen related configuration and resources.

ProjectsResource.LocationsResource.FunctionsResource.CreateRequest

Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return ALREADY_EXISTS error.

ProjectsResource.LocationsResource.FunctionsResource.DeleteRequest

Deletes a function with the given name from the specified project. If the given function is used by some trigger, the trigger will be updated to remove this function.

ProjectsResource.LocationsResource.FunctionsResource.DetachFunctionRequest

Detaches 2nd Gen function to Cloud Run function.

ProjectsResource.LocationsResource.FunctionsResource.GenerateDownloadUrlRequest

Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited period and should be used within 30 minutes of generation. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls

ProjectsResource.LocationsResource.FunctionsResource.GenerateUploadUrlRequest

Returns a signed URL for uploading a function source code. For more information about the signed URL usage see: https://cloud.google.com/storage/docs/access-control/signed-urls. Once the function source code upload is complete, the used signed URL should be provided in CreateFunction or UpdateFunction request as a reference to the function source code. When uploading source code to the generated signed URL, please follow these restrictions: * Source file type should be a zip file. * No credentials should be attached - the signed URLs provide access to the target bucket using internal service identity; if credentials were attached, the identity from the credentials would be used, but that identity does not have permissions to upload files to the URL. When making a HTTP PUT request, specify this header: * content-type: application/zip Do not specify this header: * Authorization: Bearer YOUR_TOKEN

ProjectsResource.LocationsResource.FunctionsResource.GetIamPolicyRequest

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

ProjectsResource.LocationsResource.FunctionsResource.GetRequest

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

ProjectsResource.LocationsResource.FunctionsResource.ListRequest

Returns a list of functions that belong to the requested project.

ProjectsResource.LocationsResource.FunctionsResource.Request

Updates existing function.

ProjectsResource.LocationsResource.FunctionsResource.RedirectFunctionUpgradeTrafficRequest

Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the second step of the multi step process to upgrade 1st Gen functions to 2nd Gen. After this operation, all new traffic will be served by 2nd Gen copy.

ProjectsResource.LocationsResource.FunctionsResource.RollbackFunctionUpgradeTrafficRequest

Reverts the traffic target of a function from the 2nd Gen copy to the original 1st Gen function. After this operation, all new traffic would be served by the 1st Gen.

ProjectsResource.LocationsResource.FunctionsResource.SetIamPolicyRequest

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

ProjectsResource.LocationsResource.FunctionsResource.SetupFunctionUpgradeConfigRequest

Creates a 2nd Gen copy of the function configuration based on the 1st Gen function with the given name. This is the first step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Only 2nd Gen configuration is setup as part of this request and traffic continues to be served by 1st Gen.

ProjectsResource.LocationsResource.FunctionsResource.TestIamPermissionsRequest

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

ProjectsResource.LocationsResource.ListRequest

Lists information about the supported locations for this service.

ProjectsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.LocationsResource.OperationsResource.ListRequest

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

ProjectsResource.LocationsResource.RuntimesResource

The "runtimes" collection of methods.

ProjectsResource.LocationsResource.RuntimesResource.ListRequest

Returns a list of runtimes that are supported for the requested project.

Enums

CloudFunctionsBaseServiceRequest<TResponse>.AltEnum

Data format for response.

CloudFunctionsBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In this article
Back to top Generated by DocFX