...

Package functions

import "google.golang.org/genproto/googleapis/cloud/functions/v2"
Overview
Index

Overview ▾

Package functions aliases all exported identifiers in package "cloud.google.com/go/functions/apiv2/functionspb".

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Constants

Deprecated: Please use consts in: cloud.google.com/go/functions/apiv2/functionspb

const (
    Environment_ENVIRONMENT_UNSPECIFIED                     = src.Environment_ENVIRONMENT_UNSPECIFIED
    Environment_GEN_1                                       = src.Environment_GEN_1
    Environment_GEN_2                                       = src.Environment_GEN_2
    EventTrigger_RETRY_POLICY_DO_NOT_RETRY                  = src.EventTrigger_RETRY_POLICY_DO_NOT_RETRY
    EventTrigger_RETRY_POLICY_RETRY                         = src.EventTrigger_RETRY_POLICY_RETRY
    EventTrigger_RETRY_POLICY_UNSPECIFIED                   = src.EventTrigger_RETRY_POLICY_UNSPECIFIED
    Function_ACTIVE                                         = src.Function_ACTIVE
    Function_DELETING                                       = src.Function_DELETING
    Function_DEPLOYING                                      = src.Function_DEPLOYING
    Function_FAILED                                         = src.Function_FAILED
    Function_STATE_UNSPECIFIED                              = src.Function_STATE_UNSPECIFIED
    Function_UNKNOWN                                        = src.Function_UNKNOWN
    ListRuntimesResponse_ALPHA                              = src.ListRuntimesResponse_ALPHA
    ListRuntimesResponse_BETA                               = src.ListRuntimesResponse_BETA
    ListRuntimesResponse_DECOMMISSIONED                     = src.ListRuntimesResponse_DECOMMISSIONED
    ListRuntimesResponse_DEPRECATED                         = src.ListRuntimesResponse_DEPRECATED
    ListRuntimesResponse_DEVELOPMENT                        = src.ListRuntimesResponse_DEVELOPMENT
    ListRuntimesResponse_GA                                 = src.ListRuntimesResponse_GA
    ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED          = src.ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED
    ServiceConfig_ALLOW_ALL                                 = src.ServiceConfig_ALLOW_ALL
    ServiceConfig_ALLOW_INTERNAL_AND_GCLB                   = src.ServiceConfig_ALLOW_INTERNAL_AND_GCLB
    ServiceConfig_ALLOW_INTERNAL_ONLY                       = src.ServiceConfig_ALLOW_INTERNAL_ONLY
    ServiceConfig_ALL_TRAFFIC                               = src.ServiceConfig_ALL_TRAFFIC
    ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED              = src.ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED
    ServiceConfig_PRIVATE_RANGES_ONLY                       = src.ServiceConfig_PRIVATE_RANGES_ONLY
    ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED = src.ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED
    Stage_ARTIFACT_REGISTRY                                 = src.Stage_ARTIFACT_REGISTRY
    Stage_BUILD                                             = src.Stage_BUILD
    Stage_COMPLETE                                          = src.Stage_COMPLETE
    Stage_IN_PROGRESS                                       = src.Stage_IN_PROGRESS
    Stage_NAME_UNSPECIFIED                                  = src.Stage_NAME_UNSPECIFIED
    Stage_NOT_STARTED                                       = src.Stage_NOT_STARTED
    Stage_SERVICE                                           = src.Stage_SERVICE
    Stage_SERVICE_ROLLBACK                                  = src.Stage_SERVICE_ROLLBACK
    Stage_STATE_UNSPECIFIED                                 = src.Stage_STATE_UNSPECIFIED
    Stage_TRIGGER                                           = src.Stage_TRIGGER
    Stage_TRIGGER_ROLLBACK                                  = src.Stage_TRIGGER_ROLLBACK
    StateMessage_ERROR                                      = src.StateMessage_ERROR
    StateMessage_INFO                                       = src.StateMessage_INFO
    StateMessage_SEVERITY_UNSPECIFIED                       = src.StateMessage_SEVERITY_UNSPECIFIED
    StateMessage_WARNING                                    = src.StateMessage_WARNING
)

Variables

Deprecated: Please use vars in: cloud.google.com/go/functions/apiv2/functionspb

var (
    Environment_name                               = src.Environment_name
    Environment_value                              = src.Environment_value
    EventTrigger_RetryPolicy_name                  = src.EventTrigger_RetryPolicy_name
    EventTrigger_RetryPolicy_value                 = src.EventTrigger_RetryPolicy_value
    File_google_cloud_functions_v2_functions_proto = src.File_google_cloud_functions_v2_functions_proto
    Function_State_name                            = src.Function_State_name
    Function_State_value                           = src.Function_State_value
    ListRuntimesResponse_RuntimeStage_name         = src.ListRuntimesResponse_RuntimeStage_name
    ListRuntimesResponse_RuntimeStage_value        = src.ListRuntimesResponse_RuntimeStage_value
    ServiceConfig_IngressSettings_name             = src.ServiceConfig_IngressSettings_name
    ServiceConfig_IngressSettings_value            = src.ServiceConfig_IngressSettings_value
    ServiceConfig_VpcConnectorEgressSettings_name  = src.ServiceConfig_VpcConnectorEgressSettings_name
    ServiceConfig_VpcConnectorEgressSettings_value = src.ServiceConfig_VpcConnectorEgressSettings_value
    Stage_Name_name                                = src.Stage_Name_name
    Stage_Name_value                               = src.Stage_Name_value
    Stage_State_name                               = src.Stage_State_name
    Stage_State_value                              = src.Stage_State_value
    StateMessage_Severity_name                     = src.StateMessage_Severity_name
    StateMessage_Severity_value                    = src.StateMessage_Severity_value
)

func RegisterFunctionServiceServer

func RegisterFunctionServiceServer(s *grpc.Server, srv FunctionServiceServer)

Deprecated: Please use funcs in: cloud.google.com/go/functions/apiv2/functionspb

type BuildConfig

Describes the Build step of the function that builds a container from the given source.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type BuildConfig = src.BuildConfig

type CreateFunctionRequest

Request for the `CreateFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type CreateFunctionRequest = src.CreateFunctionRequest

type DeleteFunctionRequest

Request for the `DeleteFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type DeleteFunctionRequest = src.DeleteFunctionRequest

type Environment

The environment the function is hosted on.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Environment = src.Environment

type EventFilter

Filters events based on exact matches on the CloudEvents attributes.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventFilter = src.EventFilter

type EventTrigger

Describes EventTrigger, used to request events to be sent from another service.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventTrigger = src.EventTrigger

type EventTrigger_RetryPolicy

Describes the retry policy in case of function's execution failure. Retried execution is charged as any other execution.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type EventTrigger_RetryPolicy = src.EventTrigger_RetryPolicy

type Function

Describes a Cloud Function that contains user computation executed in response to an event. It encapsulates function and trigger configurations.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Function = src.Function

type FunctionServiceClient

FunctionServiceClient is the client API for FunctionService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type FunctionServiceClient = src.FunctionServiceClient

func NewFunctionServiceClient

func NewFunctionServiceClient(cc grpc.ClientConnInterface) FunctionServiceClient

Deprecated: Please use funcs in: cloud.google.com/go/functions/apiv2/functionspb

type FunctionServiceServer

FunctionServiceServer is the server API for FunctionService service.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type FunctionServiceServer = src.FunctionServiceServer

type Function_State

Describes the current state of the function.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Function_State = src.Function_State

type GenerateDownloadUrlRequest

Request of `GenerateDownloadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateDownloadUrlRequest = src.GenerateDownloadUrlRequest

type GenerateDownloadUrlResponse

Response of `GenerateDownloadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateDownloadUrlResponse = src.GenerateDownloadUrlResponse

type GenerateUploadUrlRequest

Request of `GenerateSourceUploadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateUploadUrlRequest = src.GenerateUploadUrlRequest

type GenerateUploadUrlResponse

Response of `GenerateSourceUploadUrl` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GenerateUploadUrlResponse = src.GenerateUploadUrlResponse

type GetFunctionRequest

Request for the `GetFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type GetFunctionRequest = src.GetFunctionRequest

type ListFunctionsRequest

Request for the `ListFunctions` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListFunctionsRequest = src.ListFunctionsRequest

type ListFunctionsResponse

Response for the `ListFunctions` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListFunctionsResponse = src.ListFunctionsResponse

type ListRuntimesRequest

Request for the `ListRuntimes` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesRequest = src.ListRuntimesRequest

type ListRuntimesResponse

Response for the `ListRuntimes` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse = src.ListRuntimesResponse

type ListRuntimesResponse_Runtime

Describes a runtime and any special information (e.g., deprecation status) related to it.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse_Runtime = src.ListRuntimesResponse_Runtime

type ListRuntimesResponse_RuntimeStage

The various stages that a runtime can be in.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ListRuntimesResponse_RuntimeStage = src.ListRuntimesResponse_RuntimeStage

type OperationMetadata

Represents the metadata of the long-running operation.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type OperationMetadata = src.OperationMetadata

type RepoSource

Location of the source in a Google Cloud Source Repository.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type RepoSource = src.RepoSource

type RepoSource_BranchName

type RepoSource_BranchName = src.RepoSource_BranchName

type RepoSource_CommitSha

type RepoSource_CommitSha = src.RepoSource_CommitSha

type RepoSource_TagName

type RepoSource_TagName = src.RepoSource_TagName

type SecretEnvVar

Configuration for a secret environment variable. It has the information necessary to fetch the secret value from secret manager and expose it as an environment variable.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SecretEnvVar = src.SecretEnvVar

type SecretVolume

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SecretVolume = src.SecretVolume

type SecretVolume_SecretVersion

Configuration for a single version.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SecretVolume_SecretVersion = src.SecretVolume_SecretVersion

type ServiceConfig

Describes the Service being deployed. Currently Supported : Cloud Run (fully managed).

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig = src.ServiceConfig

type ServiceConfig_IngressSettings

Available ingress settings. This controls what traffic can reach the function. If unspecified, ALLOW_ALL will be used.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig_IngressSettings = src.ServiceConfig_IngressSettings

type ServiceConfig_VpcConnectorEgressSettings

Available egress settings. This controls what traffic is diverted through the VPC Access Connector resource. By default PRIVATE_RANGES_ONLY will be used.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type ServiceConfig_VpcConnectorEgressSettings = src.ServiceConfig_VpcConnectorEgressSettings

type Source

The location of the function source code.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Source = src.Source

type SourceProvenance

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type SourceProvenance = src.SourceProvenance

type Source_RepoSource

type Source_RepoSource = src.Source_RepoSource

type Source_StorageSource

type Source_StorageSource = src.Source_StorageSource

type Stage

Each Stage of the deployment process

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Stage = src.Stage

type Stage_Name

Possible names for a Stage

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Stage_Name = src.Stage_Name

type Stage_State

Possible states for a Stage

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type Stage_State = src.Stage_State

type StateMessage

Informational messages about the state of the Cloud Function or Operation.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StateMessage = src.StateMessage

type StateMessage_Severity

Severity of the state message.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StateMessage_Severity = src.StateMessage_Severity

type StorageSource

Location of the source in an archive file in Google Cloud Storage.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type StorageSource = src.StorageSource

type UnimplementedFunctionServiceServer

UnimplementedFunctionServiceServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type UnimplementedFunctionServiceServer = src.UnimplementedFunctionServiceServer

type UpdateFunctionRequest

Request for the `UpdateFunction` method.

Deprecated: Please use types in: cloud.google.com/go/functions/apiv2/functionspb

type UpdateFunctionRequest = src.UpdateFunctionRequest