Namespace Google.Apis.CloudFunctions.v1beta2
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.
OperationsResource
The "operations" collection of methods.
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.
OperationsResource.ListRequest
Lists operations that match the specified filter in the request. If the server doesn't support this
method, it returns UNIMPLEMENTED
.
NOTE: the name
binding allows API services to override the binding to use different resource name schemes,
such as users/operations
. To override the binding, API services can add a binding such as
"/v1/{name=users}/operations"
to their service configuration. For backwards compatibility, the default
name includes the operations collection id, however overriding users must ensure the name binding is the
parent resource, without the operations collection id.
ProjectsResource
The "projects" collection of methods.
ProjectsResource.LocationsResource
The "locations" collection of methods.
ProjectsResource.LocationsResource.FunctionsResource
The "functions" collection of methods.
ProjectsResource.LocationsResource.FunctionsResource.CallRequest
Synchronously invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed. For more information on the actual limits refer to API Calls.
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.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 minutes after 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. * Source file size should not exceed 100MB limit. * 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, these two headers need to be specified:
content-type: application/zip
*x-goog-content-length-range: 0,104857600
And this header SHOULD NOT be specified:
Authorization: Bearer YOUR_TOKEN
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.UpdateRequest
Updates existing function.
ProjectsResource.LocationsResource.ListRequest
Lists information about the supported locations for this service.
Enums
CloudFunctionsBaseServiceRequest<TResponse>.AltEnum
Data format for response.
CloudFunctionsBaseServiceRequest<TResponse>.XgafvEnum
V1 error format.