@Generated("by gapic-generator-java")
Package com.google.cloud.functions.v2alpha
A client to Cloud Functions API
The interfaces provided are listed below, along with usage samples.
======================= FunctionServiceClient =======================
Service Description: Google Cloud Functions is used to deploy functions that are executed by Google in response to various events. Data connected with that event is passed to a function as the input data.
A **function** is a resource which describes a function that should be executed and how it is triggered.
Sample for FunctionServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (FunctionServiceClient functionServiceClient = FunctionServiceClient.create()) {
FunctionName name = FunctionName.of("[PROJECT]", "[LOCATION]", "[FUNCTION]");
Function response = functionServiceClient.getFunction(name);
}
-
Class Summary Class Description BuildConfig Describes the Build step of the function that builds a container from the given source.BuildConfig.Builder Describes the Build step of the function that builds a container from the given source.CreateFunctionRequest Request for the `CreateFunction` method.CreateFunctionRequest.Builder Request for the `CreateFunction` method.CryptoKeyName CryptoKeyName.Builder Builder for projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}.DeleteFunctionRequest Request for the `DeleteFunction` method.DeleteFunctionRequest.Builder Request for the `DeleteFunction` method.EventFilter Filters events based on exact matches on the CloudEvents attributes.EventFilter.Builder Filters events based on exact matches on the CloudEvents attributes.EventTrigger Describes EventTrigger, used to request events to be sent from another service.EventTrigger.Builder Describes EventTrigger, used to request events to be sent from another service.Function Describes a Cloud Function that contains user computation executed in response to an event.Function.Builder Describes a Cloud Function that contains user computation executed in response to an event.FunctionName FunctionName.Builder Builder for projects/{project}/locations/{location}/functions/{function}.FunctionServiceClient Service Description: Google Cloud Functions is used to deploy functions that are executed by Google in response to various events.FunctionServiceClient.ListFunctionsFixedSizeCollection FunctionServiceClient.ListFunctionsPage FunctionServiceClient.ListFunctionsPagedResponse FunctionServiceClient.ListLocationsFixedSizeCollection FunctionServiceClient.ListLocationsPage FunctionServiceClient.ListLocationsPagedResponse FunctionServiceGrpc Google Cloud Functions is used to deploy functions that are executed by Google in response to various events.FunctionServiceGrpc.FunctionServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service FunctionService.FunctionServiceGrpc.FunctionServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service FunctionService.FunctionServiceGrpc.FunctionServiceImplBase Base class for the server implementation of the service FunctionService.FunctionServiceGrpc.FunctionServiceStub A stub to allow clients to do asynchronous rpc calls to service FunctionService.FunctionServiceSettings Settings class to configure an instance ofFunctionServiceClient
.FunctionServiceSettings.Builder Builder for FunctionServiceSettings.FunctionsProto GenerateDownloadUrlRequest Request of `GenerateDownloadUrl` method.GenerateDownloadUrlRequest.Builder Request of `GenerateDownloadUrl` method.GenerateDownloadUrlResponse Response of `GenerateDownloadUrl` method.GenerateDownloadUrlResponse.Builder Response of `GenerateDownloadUrl` method.GenerateUploadUrlRequest Request of `GenerateSourceUploadUrl` method.GenerateUploadUrlRequest.Builder Request of `GenerateSourceUploadUrl` method.GenerateUploadUrlResponse Response of `GenerateSourceUploadUrl` method.GenerateUploadUrlResponse.Builder Response of `GenerateSourceUploadUrl` method.GetFunctionRequest Request for the `GetFunction` method.GetFunctionRequest.Builder Request for the `GetFunction` method.ListFunctionsRequest Request for the `ListFunctions` method.ListFunctionsRequest.Builder Request for the `ListFunctions` method.ListFunctionsResponse Response for the `ListFunctions` method.ListFunctionsResponse.Builder Response for the `ListFunctions` method.ListRuntimesRequest Request for the `ListRuntimes` method.ListRuntimesRequest.Builder Request for the `ListRuntimes` method.ListRuntimesResponse Response for the `ListRuntimes` method.ListRuntimesResponse.Builder Response for the `ListRuntimes` method.ListRuntimesResponse.Runtime Describes a runtime and any special information (e.g., deprecation status) related to it.ListRuntimesResponse.Runtime.Builder Describes a runtime and any special information (e.g., deprecation status) related to it.LocationMetadata Extra GCF specific location information.LocationMetadata.Builder Extra GCF specific location information.LocationName LocationName.Builder Builder for projects/{project}/locations/{location}.OperationMetadata Represents the metadata of the long-running operation.OperationMetadata.Builder Represents the metadata of the long-running operation.RepoSource Location of the source in a Google Cloud Source Repository.RepoSource.Builder Location of the source in a Google Cloud Source Repository.SecretEnvVar Configuration for a secret environment variable.SecretEnvVar.Builder Configuration for a secret environment variable.SecretVolume Configuration for a secret volume.SecretVolume.Builder Configuration for a secret volume.SecretVolume.SecretVersion Configuration for a single version.SecretVolume.SecretVersion.Builder Configuration for a single version.ServiceConfig Describes the Service being deployed.ServiceConfig.Builder Describes the Service being deployed.Source The location of the function source code.Source.Builder The location of the function source code.SourceProvenance Provenance of the source.SourceProvenance.Builder Provenance of the source.Stage Each Stage of the deployment processStage.Builder Each Stage of the deployment processStateMessage Informational messages about the state of the Cloud Function or Operation.StateMessage.Builder Informational messages about the state of the Cloud Function or Operation.StorageSource Location of the source in an archive file in Google Cloud Storage.StorageSource.Builder Location of the source in an archive file in Google Cloud Storage.UpdateFunctionRequest Request for the `UpdateFunction` method.UpdateFunctionRequest.Builder Request for the `UpdateFunction` method. -
Enum Summary Enum Description BuildConfig.DockerRegistry Docker Registry to use for storing function Docker images.Environment The environment the function is hosted on.EventTrigger.RetryPolicy Describes the retry policy in case of function's execution failure.Function.State Describes the current state of the function.ListRuntimesResponse.RuntimeStage The various stages that a runtime can be in.RepoSource.RevisionCase ServiceConfig.IngressSettings Available ingress settings.ServiceConfig.SecurityLevel Available security level settings.ServiceConfig.VpcConnectorEgressSettings Available egress settings.Source.SourceCase Stage.Name Possible names for a StageStage.State Possible states for a StageStateMessage.Severity Severity of the state message.