Package cloud.google.com/go/functions/apiv2/functionspb (v1.10.0)

Variables

Environment_name, Environment_value

var (
	Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "GEN_1",
		2: "GEN_2",
	}
	Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"GEN_1":                   1,
		"GEN_2":                   2,
	}
)

Enum value maps for Environment.

Function_State_name, Function_State_value

var (
	Function_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ACTIVE",
		2: "FAILED",
		3: "DEPLOYING",
		4: "DELETING",
		5: "UNKNOWN",
	}
	Function_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ACTIVE":            1,
		"FAILED":            2,
		"DEPLOYING":         3,
		"DELETING":          4,
		"UNKNOWN":           5,
	}
)

Enum value maps for Function_State.

StateMessage_Severity_name, StateMessage_Severity_value

var (
	StateMessage_Severity_name = map[int32]string{
		0: "SEVERITY_UNSPECIFIED",
		1: "ERROR",
		2: "WARNING",
		3: "INFO",
	}
	StateMessage_Severity_value = map[string]int32{
		"SEVERITY_UNSPECIFIED": 0,
		"ERROR":                1,
		"WARNING":              2,
		"INFO":                 3,
	}
)

Enum value maps for StateMessage_Severity.

ServiceConfig_VpcConnectorEgressSettings_name, ServiceConfig_VpcConnectorEgressSettings_value

var (
	ServiceConfig_VpcConnectorEgressSettings_name = map[int32]string{
		0: "VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED",
		1: "PRIVATE_RANGES_ONLY",
		2: "ALL_TRAFFIC",
	}
	ServiceConfig_VpcConnectorEgressSettings_value = map[string]int32{
		"VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED": 0,
		"PRIVATE_RANGES_ONLY":                       1,
		"ALL_TRAFFIC":                               2,
	}
)

Enum value maps for ServiceConfig_VpcConnectorEgressSettings.

ServiceConfig_IngressSettings_name, ServiceConfig_IngressSettings_value

var (
	ServiceConfig_IngressSettings_name = map[int32]string{
		0: "INGRESS_SETTINGS_UNSPECIFIED",
		1: "ALLOW_ALL",
		2: "ALLOW_INTERNAL_ONLY",
		3: "ALLOW_INTERNAL_AND_GCLB",
	}
	ServiceConfig_IngressSettings_value = map[string]int32{
		"INGRESS_SETTINGS_UNSPECIFIED": 0,
		"ALLOW_ALL":                    1,
		"ALLOW_INTERNAL_ONLY":          2,
		"ALLOW_INTERNAL_AND_GCLB":      3,
	}
)

Enum value maps for ServiceConfig_IngressSettings.

EventTrigger_RetryPolicy_name, EventTrigger_RetryPolicy_value

var (
	EventTrigger_RetryPolicy_name = map[int32]string{
		0: "RETRY_POLICY_UNSPECIFIED",
		1: "RETRY_POLICY_DO_NOT_RETRY",
		2: "RETRY_POLICY_RETRY",
	}
	EventTrigger_RetryPolicy_value = map[string]int32{
		"RETRY_POLICY_UNSPECIFIED":  0,
		"RETRY_POLICY_DO_NOT_RETRY": 1,
		"RETRY_POLICY_RETRY":        2,
	}
)

Enum value maps for EventTrigger_RetryPolicy.

ListRuntimesResponse_RuntimeStage_name, ListRuntimesResponse_RuntimeStage_value

var (
	ListRuntimesResponse_RuntimeStage_name = map[int32]string{
		0: "RUNTIME_STAGE_UNSPECIFIED",
		1: "DEVELOPMENT",
		2: "ALPHA",
		3: "BETA",
		4: "GA",
		5: "DEPRECATED",
		6: "DECOMMISSIONED",
	}
	ListRuntimesResponse_RuntimeStage_value = map[string]int32{
		"RUNTIME_STAGE_UNSPECIFIED": 0,
		"DEVELOPMENT":               1,
		"ALPHA":                     2,
		"BETA":                      3,
		"GA":                        4,
		"DEPRECATED":                5,
		"DECOMMISSIONED":            6,
	}
)

Enum value maps for ListRuntimesResponse_RuntimeStage.

Stage_Name_name, Stage_Name_value

var (
	Stage_Name_name = map[int32]string{
		0: "NAME_UNSPECIFIED",
		1: "ARTIFACT_REGISTRY",
		2: "BUILD",
		3: "SERVICE",
		4: "TRIGGER",
		5: "SERVICE_ROLLBACK",
		6: "TRIGGER_ROLLBACK",
	}
	Stage_Name_value = map[string]int32{
		"NAME_UNSPECIFIED":  0,
		"ARTIFACT_REGISTRY": 1,
		"BUILD":             2,
		"SERVICE":           3,
		"TRIGGER":           4,
		"SERVICE_ROLLBACK":  5,
		"TRIGGER_ROLLBACK":  6,
	}
)

Enum value maps for Stage_Name.

Stage_State_name, Stage_State_value

var (
	Stage_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "NOT_STARTED",
		2: "IN_PROGRESS",
		3: "COMPLETE",
	}
	Stage_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"NOT_STARTED":       1,
		"IN_PROGRESS":       2,
		"COMPLETE":          3,
	}
)

Enum value maps for Stage_State.

File_google_cloud_functions_v2_functions_proto

var File_google_cloud_functions_v2_functions_proto protoreflect.FileDescriptor

Functions

func RegisterFunctionServiceServer

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

BuildConfig

type BuildConfig struct {
	Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`

	Runtime string `protobuf:"bytes,2,opt,name=runtime,proto3" json:"runtime,omitempty"`

	EntryPoint string `protobuf:"bytes,3,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`

	Source *Source `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`

	SourceProvenance *SourceProvenance `protobuf:"bytes,8,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"`

	WorkerPool string `protobuf:"bytes,5,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`

	EnvironmentVariables map[string]string "" /* 209 byte string literal not displayed */

	DockerRepository string `protobuf:"bytes,7,opt,name=docker_repository,json=dockerRepository,proto3" json:"docker_repository,omitempty"`

}

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

func (*BuildConfig) Descriptor

func (*BuildConfig) Descriptor() ([]byte, []int)

Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.

func (*BuildConfig) GetBuild

func (x *BuildConfig) GetBuild() string

func (*BuildConfig) GetDockerRepository

func (x *BuildConfig) GetDockerRepository() string

func (*BuildConfig) GetEntryPoint

func (x *BuildConfig) GetEntryPoint() string

func (*BuildConfig) GetEnvironmentVariables

func (x *BuildConfig) GetEnvironmentVariables() map[string]string

func (*BuildConfig) GetRuntime

func (x *BuildConfig) GetRuntime() string

func (*BuildConfig) GetSource

func (x *BuildConfig) GetSource() *Source

func (*BuildConfig) GetSourceProvenance

func (x *BuildConfig) GetSourceProvenance() *SourceProvenance

func (*BuildConfig) GetWorkerPool

func (x *BuildConfig) GetWorkerPool() string

func (*BuildConfig) ProtoMessage

func (*BuildConfig) ProtoMessage()

func (*BuildConfig) ProtoReflect

func (x *BuildConfig) ProtoReflect() protoreflect.Message

func (*BuildConfig) Reset

func (x *BuildConfig) Reset()

func (*BuildConfig) String

func (x *BuildConfig) String() string

CreateFunctionRequest

type CreateFunctionRequest struct {

	// Required. The project and location in which the function should be created, specified
	// in the format `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Function to be created.
	Function *Function `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`
	// The ID to use for the function, which will become the final component of
	// the function's resource name.
	//
	// This value should be 4-63 characters, and valid characters
	// are /[a-z][0-9]-/.
	FunctionId string `protobuf:"bytes,3,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
	// contains filtered or unexported fields
}

Request for the CreateFunction method.

func (*CreateFunctionRequest) Descriptor

func (*CreateFunctionRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFunctionRequest.ProtoReflect.Descriptor instead.

func (*CreateFunctionRequest) GetFunction

func (x *CreateFunctionRequest) GetFunction() *Function

func (*CreateFunctionRequest) GetFunctionId

func (x *CreateFunctionRequest) GetFunctionId() string

func (*CreateFunctionRequest) GetParent

func (x *CreateFunctionRequest) GetParent() string

func (*CreateFunctionRequest) ProtoMessage

func (*CreateFunctionRequest) ProtoMessage()

func (*CreateFunctionRequest) ProtoReflect

func (x *CreateFunctionRequest) ProtoReflect() protoreflect.Message

func (*CreateFunctionRequest) Reset

func (x *CreateFunctionRequest) Reset()

func (*CreateFunctionRequest) String

func (x *CreateFunctionRequest) String() string

DeleteFunctionRequest

type DeleteFunctionRequest struct {

	// Required. The name of the function which should be deleted.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the DeleteFunction method.

func (*DeleteFunctionRequest) Descriptor

func (*DeleteFunctionRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFunctionRequest.ProtoReflect.Descriptor instead.

func (*DeleteFunctionRequest) GetName

func (x *DeleteFunctionRequest) GetName() string

func (*DeleteFunctionRequest) ProtoMessage

func (*DeleteFunctionRequest) ProtoMessage()

func (*DeleteFunctionRequest) ProtoReflect

func (x *DeleteFunctionRequest) ProtoReflect() protoreflect.Message

func (*DeleteFunctionRequest) Reset

func (x *DeleteFunctionRequest) Reset()

func (*DeleteFunctionRequest) String

func (x *DeleteFunctionRequest) String() string

Environment

type Environment int32

The environment the function is hosted on.

Environment_ENVIRONMENT_UNSPECIFIED, Environment_GEN_1, Environment_GEN_2

const (
	// Unspecified
	Environment_ENVIRONMENT_UNSPECIFIED Environment = 0
	// Gen 1
	Environment_GEN_1 Environment = 1
	// Gen 2
	Environment_GEN_2 Environment = 2
)

func (Environment) Descriptor

func (Environment) Enum

func (x Environment) Enum() *Environment

func (Environment) EnumDescriptor

func (Environment) EnumDescriptor() ([]byte, []int)

Deprecated: Use Environment.Descriptor instead.

func (Environment) Number

func (x Environment) Number() protoreflect.EnumNumber

func (Environment) String

func (x Environment) String() string

func (Environment) Type

EventFilter

type EventFilter struct {

	// Required. The name of a CloudEvents attribute.
	Attribute string `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// Required. The value for the attribute.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Optional. The operator used for matching the events with the value of the
	// filter. If not specified, only events that have an exact key-value pair
	// specified in the filter are matched. The only allowed value is
	// `match-path-pattern`.
	Operator string `protobuf:"bytes,3,opt,name=operator,proto3" json:"operator,omitempty"`
	// contains filtered or unexported fields
}

Filters events based on exact matches on the CloudEvents attributes.

func (*EventFilter) Descriptor

func (*EventFilter) Descriptor() ([]byte, []int)

Deprecated: Use EventFilter.ProtoReflect.Descriptor instead.

func (*EventFilter) GetAttribute

func (x *EventFilter) GetAttribute() string

func (*EventFilter) GetOperator

func (x *EventFilter) GetOperator() string

func (*EventFilter) GetValue

func (x *EventFilter) GetValue() string

func (*EventFilter) ProtoMessage

func (*EventFilter) ProtoMessage()

func (*EventFilter) ProtoReflect

func (x *EventFilter) ProtoReflect() protoreflect.Message

func (*EventFilter) Reset

func (x *EventFilter) Reset()

func (*EventFilter) String

func (x *EventFilter) String() string

EventTrigger

type EventTrigger struct {
	Trigger string `protobuf:"bytes,1,opt,name=trigger,proto3" json:"trigger,omitempty"`

	TriggerRegion string `protobuf:"bytes,2,opt,name=trigger_region,json=triggerRegion,proto3" json:"trigger_region,omitempty"`

	EventType string `protobuf:"bytes,3,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`

	EventFilters []*EventFilter `protobuf:"bytes,4,rep,name=event_filters,json=eventFilters,proto3" json:"event_filters,omitempty"`

	PubsubTopic string `protobuf:"bytes,5,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`

	ServiceAccountEmail string `protobuf:"bytes,6,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`

	RetryPolicy EventTrigger_RetryPolicy "" /* 151 byte string literal not displayed */

	Channel string `protobuf:"bytes,8,opt,name=channel,proto3" json:"channel,omitempty"`

}

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

func (*EventTrigger) Descriptor

func (*EventTrigger) Descriptor() ([]byte, []int)

Deprecated: Use EventTrigger.ProtoReflect.Descriptor instead.

func (*EventTrigger) GetChannel

func (x *EventTrigger) GetChannel() string

func (*EventTrigger) GetEventFilters

func (x *EventTrigger) GetEventFilters() []*EventFilter

func (*EventTrigger) GetEventType

func (x *EventTrigger) GetEventType() string

func (*EventTrigger) GetPubsubTopic

func (x *EventTrigger) GetPubsubTopic() string

func (*EventTrigger) GetRetryPolicy

func (x *EventTrigger) GetRetryPolicy() EventTrigger_RetryPolicy

func (*EventTrigger) GetServiceAccountEmail

func (x *EventTrigger) GetServiceAccountEmail() string

func (*EventTrigger) GetTrigger

func (x *EventTrigger) GetTrigger() string

func (*EventTrigger) GetTriggerRegion

func (x *EventTrigger) GetTriggerRegion() string

func (*EventTrigger) ProtoMessage

func (*EventTrigger) ProtoMessage()

func (*EventTrigger) ProtoReflect

func (x *EventTrigger) ProtoReflect() protoreflect.Message

func (*EventTrigger) Reset

func (x *EventTrigger) Reset()

func (*EventTrigger) String

func (x *EventTrigger) String() string

EventTrigger_RetryPolicy

type EventTrigger_RetryPolicy int32

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

EventTrigger_RETRY_POLICY_UNSPECIFIED, EventTrigger_RETRY_POLICY_DO_NOT_RETRY, EventTrigger_RETRY_POLICY_RETRY

const (
	// Not specified.
	EventTrigger_RETRY_POLICY_UNSPECIFIED EventTrigger_RetryPolicy = 0
	// Do not retry.
	EventTrigger_RETRY_POLICY_DO_NOT_RETRY EventTrigger_RetryPolicy = 1
	// Retry on any failure, retry up to 7 days with an exponential backoff
	// (capped at 10 seconds).
	EventTrigger_RETRY_POLICY_RETRY EventTrigger_RetryPolicy = 2
)

func (EventTrigger_RetryPolicy) Descriptor

func (EventTrigger_RetryPolicy) Enum

func (EventTrigger_RetryPolicy) EnumDescriptor

func (EventTrigger_RetryPolicy) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventTrigger_RetryPolicy.Descriptor instead.

func (EventTrigger_RetryPolicy) Number

func (EventTrigger_RetryPolicy) String

func (x EventTrigger_RetryPolicy) String() string

func (EventTrigger_RetryPolicy) Type

Function

type Function struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Environment Environment `protobuf:"varint,10,opt,name=environment,proto3,enum=google.cloud.functions.v2.Environment" json:"environment,omitempty"`

	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`

	BuildConfig *BuildConfig `protobuf:"bytes,3,opt,name=build_config,json=buildConfig,proto3" json:"build_config,omitempty"`

	ServiceConfig *ServiceConfig `protobuf:"bytes,4,opt,name=service_config,json=serviceConfig,proto3" json:"service_config,omitempty"`

	EventTrigger *EventTrigger `protobuf:"bytes,5,opt,name=event_trigger,json=eventTrigger,proto3" json:"event_trigger,omitempty"`

	State Function_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.functions.v2.Function_State" json:"state,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	StateMessages []*StateMessage `protobuf:"bytes,9,rep,name=state_messages,json=stateMessages,proto3" json:"state_messages,omitempty"`

}

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

func (*Function) Descriptor

func (*Function) Descriptor() ([]byte, []int)

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetBuildConfig

func (x *Function) GetBuildConfig() *BuildConfig

func (*Function) GetDescription

func (x *Function) GetDescription() string

func (*Function) GetEnvironment

func (x *Function) GetEnvironment() Environment

func (*Function) GetEventTrigger

func (x *Function) GetEventTrigger() *EventTrigger

func (*Function) GetLabels

func (x *Function) GetLabels() map[string]string

func (*Function) GetName

func (x *Function) GetName() string

func (*Function) GetServiceConfig

func (x *Function) GetServiceConfig() *ServiceConfig

func (*Function) GetState

func (x *Function) GetState() Function_State

func (*Function) GetStateMessages

func (x *Function) GetStateMessages() []*StateMessage

func (*Function) GetUpdateTime

func (x *Function) GetUpdateTime() *timestamppb.Timestamp

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

func (x *Function) ProtoReflect() protoreflect.Message

func (*Function) Reset

func (x *Function) Reset()

func (*Function) String

func (x *Function) String() string

FunctionServiceClient

type FunctionServiceClient interface {
	// Returns a function with the given name from the requested project.
	GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*Function, error)
	// Returns a list of functions that belong to the requested project.
	ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error)
	// 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.
	CreateFunction(ctx context.Context, in *CreateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Updates existing function.
	UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// 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.
	DeleteFunction(ctx context.Context, in *DeleteFunctionRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// 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, these two headers need to be specified:
	//
	// * `content-type: application/zip`
	//
	// And this header SHOULD NOT be specified:
	//
	// * `Authorization: Bearer YOUR_TOKEN`
	GenerateUploadUrl(ctx context.Context, in *GenerateUploadUrlRequest, opts ...grpc.CallOption) (*GenerateUploadUrlResponse, error)
	// 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
	GenerateDownloadUrl(ctx context.Context, in *GenerateDownloadUrlRequest, opts ...grpc.CallOption) (*GenerateDownloadUrlResponse, error)
	// Returns a list of runtimes that are supported for the requested project.
	ListRuntimes(ctx context.Context, in *ListRuntimesRequest, opts ...grpc.CallOption) (*ListRuntimesResponse, error)
}

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.

func NewFunctionServiceClient

func NewFunctionServiceClient(cc grpc.ClientConnInterface) FunctionServiceClient

FunctionServiceServer

type FunctionServiceServer interface {
	// Returns a function with the given name from the requested project.
	GetFunction(context.Context, *GetFunctionRequest) (*Function, error)
	// Returns a list of functions that belong to the requested project.
	ListFunctions(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
	// 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.
	CreateFunction(context.Context, *CreateFunctionRequest) (*longrunning.Operation, error)
	// Updates existing function.
	UpdateFunction(context.Context, *UpdateFunctionRequest) (*longrunning.Operation, error)
	// 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.
	DeleteFunction(context.Context, *DeleteFunctionRequest) (*longrunning.Operation, error)
	// 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, these two headers need to be specified:
	//
	// * `content-type: application/zip`
	//
	// And this header SHOULD NOT be specified:
	//
	// * `Authorization: Bearer YOUR_TOKEN`
	GenerateUploadUrl(context.Context, *GenerateUploadUrlRequest) (*GenerateUploadUrlResponse, error)
	// 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
	GenerateDownloadUrl(context.Context, *GenerateDownloadUrlRequest) (*GenerateDownloadUrlResponse, error)
	// Returns a list of runtimes that are supported for the requested project.
	ListRuntimes(context.Context, *ListRuntimesRequest) (*ListRuntimesResponse, error)
}

FunctionServiceServer is the server API for FunctionService service.

Function_State

type Function_State int32

Describes the current state of the function.

Function_STATE_UNSPECIFIED, Function_ACTIVE, Function_FAILED, Function_DEPLOYING, Function_DELETING, Function_UNKNOWN

const (
	// Not specified. Invalid state.
	Function_STATE_UNSPECIFIED Function_State = 0
	// Function has been successfully deployed and is serving.
	Function_ACTIVE Function_State = 1
	// Function deployment failed and the function is not serving.
	Function_FAILED Function_State = 2
	// Function is being created or updated.
	Function_DEPLOYING Function_State = 3
	// Function is being deleted.
	Function_DELETING Function_State = 4
	// Function deployment failed and the function serving state is undefined.
	// The function should be updated or deleted to move it out of this state.
	Function_UNKNOWN Function_State = 5
)

func (Function_State) Descriptor

func (Function_State) Enum

func (x Function_State) Enum() *Function_State

func (Function_State) EnumDescriptor

func (Function_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Function_State.Descriptor instead.

func (Function_State) Number

func (Function_State) String

func (x Function_State) String() string

func (Function_State) Type

GenerateDownloadUrlRequest

type GenerateDownloadUrlRequest struct {

	// Required. The name of function for which source code Google Cloud Storage signed
	// URL should be generated.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request of GenerateDownloadUrl method.

func (*GenerateDownloadUrlRequest) Descriptor

func (*GenerateDownloadUrlRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateDownloadUrlRequest.ProtoReflect.Descriptor instead.

func (*GenerateDownloadUrlRequest) GetName

func (x *GenerateDownloadUrlRequest) GetName() string

func (*GenerateDownloadUrlRequest) ProtoMessage

func (*GenerateDownloadUrlRequest) ProtoMessage()

func (*GenerateDownloadUrlRequest) ProtoReflect

func (*GenerateDownloadUrlRequest) Reset

func (x *GenerateDownloadUrlRequest) Reset()

func (*GenerateDownloadUrlRequest) String

func (x *GenerateDownloadUrlRequest) String() string

GenerateDownloadUrlResponse

type GenerateDownloadUrlResponse struct {

	// The generated Google Cloud Storage signed URL that should be used for
	// function source code download.
	DownloadUrl string `protobuf:"bytes,1,opt,name=download_url,json=downloadUrl,proto3" json:"download_url,omitempty"`
	// contains filtered or unexported fields
}

Response of GenerateDownloadUrl method.

func (*GenerateDownloadUrlResponse) Descriptor

func (*GenerateDownloadUrlResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateDownloadUrlResponse.ProtoReflect.Descriptor instead.

func (*GenerateDownloadUrlResponse) GetDownloadUrl

func (x *GenerateDownloadUrlResponse) GetDownloadUrl() string

func (*GenerateDownloadUrlResponse) ProtoMessage

func (*GenerateDownloadUrlResponse) ProtoMessage()

func (*GenerateDownloadUrlResponse) ProtoReflect

func (*GenerateDownloadUrlResponse) Reset

func (x *GenerateDownloadUrlResponse) Reset()

func (*GenerateDownloadUrlResponse) String

func (x *GenerateDownloadUrlResponse) String() string

GenerateUploadUrlRequest

type GenerateUploadUrlRequest struct {

	// Required. The project and location in which the Google Cloud Storage signed URL
	// should be generated, specified in the format `projects/*/locations/*`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// contains filtered or unexported fields
}

Request of GenerateSourceUploadUrl method.

func (*GenerateUploadUrlRequest) Descriptor

func (*GenerateUploadUrlRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateUploadUrlRequest.ProtoReflect.Descriptor instead.

func (*GenerateUploadUrlRequest) GetParent

func (x *GenerateUploadUrlRequest) GetParent() string

func (*GenerateUploadUrlRequest) ProtoMessage

func (*GenerateUploadUrlRequest) ProtoMessage()

func (*GenerateUploadUrlRequest) ProtoReflect

func (x *GenerateUploadUrlRequest) ProtoReflect() protoreflect.Message

func (*GenerateUploadUrlRequest) Reset

func (x *GenerateUploadUrlRequest) Reset()

func (*GenerateUploadUrlRequest) String

func (x *GenerateUploadUrlRequest) String() string

GenerateUploadUrlResponse

type GenerateUploadUrlResponse struct {

	// The generated Google Cloud Storage signed URL that should be used for a
	// function source code upload. The uploaded file should be a zip archive
	// which contains a function.
	UploadUrl string `protobuf:"bytes,1,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"`
	// The location of the source code in the upload bucket.
	//
	// Once the archive is uploaded using the `upload_url` use this field to
	// set the `function.build_config.source.storage_source`
	// during CreateFunction and UpdateFunction.
	//
	// Generation defaults to 0, as Cloud Storage provides a new generation only
	// upon uploading a new object or version of an object.
	StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3" json:"storage_source,omitempty"`
	// contains filtered or unexported fields
}

Response of GenerateSourceUploadUrl method.

func (*GenerateUploadUrlResponse) Descriptor

func (*GenerateUploadUrlResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateUploadUrlResponse.ProtoReflect.Descriptor instead.

func (*GenerateUploadUrlResponse) GetStorageSource

func (x *GenerateUploadUrlResponse) GetStorageSource() *StorageSource

func (*GenerateUploadUrlResponse) GetUploadUrl

func (x *GenerateUploadUrlResponse) GetUploadUrl() string

func (*GenerateUploadUrlResponse) ProtoMessage

func (*GenerateUploadUrlResponse) ProtoMessage()

func (*GenerateUploadUrlResponse) ProtoReflect

func (*GenerateUploadUrlResponse) Reset

func (x *GenerateUploadUrlResponse) Reset()

func (*GenerateUploadUrlResponse) String

func (x *GenerateUploadUrlResponse) String() string

GetFunctionRequest

type GetFunctionRequest struct {

	// Required. The name of the function which details should be obtained.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for the GetFunction method.

func (*GetFunctionRequest) Descriptor

func (*GetFunctionRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFunctionRequest.ProtoReflect.Descriptor instead.

func (*GetFunctionRequest) GetName

func (x *GetFunctionRequest) GetName() string

func (*GetFunctionRequest) ProtoMessage

func (*GetFunctionRequest) ProtoMessage()

func (*GetFunctionRequest) ProtoReflect

func (x *GetFunctionRequest) ProtoReflect() protoreflect.Message

func (*GetFunctionRequest) Reset

func (x *GetFunctionRequest) Reset()

func (*GetFunctionRequest) String

func (x *GetFunctionRequest) String() string

ListFunctionsRequest

type ListFunctionsRequest struct {

	// Required. The project and location from which the function should be listed,
	// specified in the format `projects/*/locations/*`
	// If you want to list functions in all locations, use "-" in place of a
	// location. When listing functions in all locations, if one or more
	// location(s) are unreachable, the response will contain functions from all
	// reachable locations along with the names of any unreachable locations.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of functions to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// The value returned by the last
	// `ListFunctionsResponse`; indicates that
	// this is a continuation of a prior `ListFunctions` call, and that the
	// system should return the next page of data.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// The filter for Functions that match the filter expression,
	// following the syntax outlined in https://google.aip.dev/160.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// The sorting order of the resources returned. Value should be a comma
	// separated list of fields. The default sorting oder is ascending.
	// See https://google.aip.dev/132#ordering.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request for the ListFunctions method.

func (*ListFunctionsRequest) Descriptor

func (*ListFunctionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFunctionsRequest.ProtoReflect.Descriptor instead.

func (*ListFunctionsRequest) GetFilter

func (x *ListFunctionsRequest) GetFilter() string

func (*ListFunctionsRequest) GetOrderBy

func (x *ListFunctionsRequest) GetOrderBy() string

func (*ListFunctionsRequest) GetPageSize

func (x *ListFunctionsRequest) GetPageSize() int32

func (*ListFunctionsRequest) GetPageToken

func (x *ListFunctionsRequest) GetPageToken() string

func (*ListFunctionsRequest) GetParent

func (x *ListFunctionsRequest) GetParent() string

func (*ListFunctionsRequest) ProtoMessage

func (*ListFunctionsRequest) ProtoMessage()

func (*ListFunctionsRequest) ProtoReflect

func (x *ListFunctionsRequest) ProtoReflect() protoreflect.Message

func (*ListFunctionsRequest) Reset

func (x *ListFunctionsRequest) Reset()

func (*ListFunctionsRequest) String

func (x *ListFunctionsRequest) String() string

ListFunctionsResponse

type ListFunctionsResponse struct {

	// The functions that match the request.
	Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached. The response does not include any
	// functions from these locations.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for the ListFunctions method.

func (*ListFunctionsResponse) Descriptor

func (*ListFunctionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFunctionsResponse.ProtoReflect.Descriptor instead.

func (*ListFunctionsResponse) GetFunctions

func (x *ListFunctionsResponse) GetFunctions() []*Function

func (*ListFunctionsResponse) GetNextPageToken

func (x *ListFunctionsResponse) GetNextPageToken() string

func (*ListFunctionsResponse) GetUnreachable

func (x *ListFunctionsResponse) GetUnreachable() []string

func (*ListFunctionsResponse) ProtoMessage

func (*ListFunctionsResponse) ProtoMessage()

func (*ListFunctionsResponse) ProtoReflect

func (x *ListFunctionsResponse) ProtoReflect() protoreflect.Message

func (*ListFunctionsResponse) Reset

func (x *ListFunctionsResponse) Reset()

func (*ListFunctionsResponse) String

func (x *ListFunctionsResponse) String() string

ListRuntimesRequest

type ListRuntimesRequest struct {

	// Required. The project and location from which the runtimes should be listed,
	// specified in the format `projects/*/locations/*`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The filter for Runtimes that match the filter expression,
	// following the syntax outlined in https://google.aip.dev/160.
	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

Request for the ListRuntimes method.

func (*ListRuntimesRequest) Descriptor

func (*ListRuntimesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimesRequest.ProtoReflect.Descriptor instead.

func (*ListRuntimesRequest) GetFilter

func (x *ListRuntimesRequest) GetFilter() string

func (*ListRuntimesRequest) GetParent

func (x *ListRuntimesRequest) GetParent() string

func (*ListRuntimesRequest) ProtoMessage

func (*ListRuntimesRequest) ProtoMessage()

func (*ListRuntimesRequest) ProtoReflect

func (x *ListRuntimesRequest) ProtoReflect() protoreflect.Message

func (*ListRuntimesRequest) Reset

func (x *ListRuntimesRequest) Reset()

func (*ListRuntimesRequest) String

func (x *ListRuntimesRequest) String() string

ListRuntimesResponse

type ListRuntimesResponse struct {

	// The runtimes that match the request.
	Runtimes []*ListRuntimesResponse_Runtime `protobuf:"bytes,1,rep,name=runtimes,proto3" json:"runtimes,omitempty"`
	// contains filtered or unexported fields
}

Response for the ListRuntimes method.

func (*ListRuntimesResponse) Descriptor

func (*ListRuntimesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimesResponse.ProtoReflect.Descriptor instead.

func (*ListRuntimesResponse) GetRuntimes

func (*ListRuntimesResponse) ProtoMessage

func (*ListRuntimesResponse) ProtoMessage()

func (*ListRuntimesResponse) ProtoReflect

func (x *ListRuntimesResponse) ProtoReflect() protoreflect.Message

func (*ListRuntimesResponse) Reset

func (x *ListRuntimesResponse) Reset()

func (*ListRuntimesResponse) String

func (x *ListRuntimesResponse) String() string

ListRuntimesResponse_Runtime

type ListRuntimesResponse_Runtime struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Stage ListRuntimesResponse_RuntimeStage "" /* 129 byte string literal not displayed */

	Warnings []string `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`

	Environment Environment `protobuf:"varint,4,opt,name=environment,proto3,enum=google.cloud.functions.v2.Environment" json:"environment,omitempty"`

}

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

func (*ListRuntimesResponse_Runtime) Descriptor

func (*ListRuntimesResponse_Runtime) Descriptor() ([]byte, []int)

Deprecated: Use ListRuntimesResponse_Runtime.ProtoReflect.Descriptor instead.

func (*ListRuntimesResponse_Runtime) GetDisplayName

func (x *ListRuntimesResponse_Runtime) GetDisplayName() string

func (*ListRuntimesResponse_Runtime) GetEnvironment

func (x *ListRuntimesResponse_Runtime) GetEnvironment() Environment

func (*ListRuntimesResponse_Runtime) GetName

func (x *ListRuntimesResponse_Runtime) GetName() string

func (*ListRuntimesResponse_Runtime) GetStage

func (*ListRuntimesResponse_Runtime) GetWarnings

func (x *ListRuntimesResponse_Runtime) GetWarnings() []string

func (*ListRuntimesResponse_Runtime) ProtoMessage

func (*ListRuntimesResponse_Runtime) ProtoMessage()

func (*ListRuntimesResponse_Runtime) ProtoReflect

func (*ListRuntimesResponse_Runtime) Reset

func (x *ListRuntimesResponse_Runtime) Reset()

func (*ListRuntimesResponse_Runtime) String

ListRuntimesResponse_RuntimeStage

type ListRuntimesResponse_RuntimeStage int32

The various stages that a runtime can be in.

ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED, ListRuntimesResponse_DEVELOPMENT, ListRuntimesResponse_ALPHA, ListRuntimesResponse_BETA, ListRuntimesResponse_GA, ListRuntimesResponse_DEPRECATED, ListRuntimesResponse_DECOMMISSIONED

const (
	// Not specified.
	ListRuntimesResponse_RUNTIME_STAGE_UNSPECIFIED ListRuntimesResponse_RuntimeStage = 0
	// The runtime is in development.
	ListRuntimesResponse_DEVELOPMENT ListRuntimesResponse_RuntimeStage = 1
	// The runtime is in the Alpha stage.
	ListRuntimesResponse_ALPHA ListRuntimesResponse_RuntimeStage = 2
	// The runtime is in the Beta stage.
	ListRuntimesResponse_BETA ListRuntimesResponse_RuntimeStage = 3
	// The runtime is generally available.
	ListRuntimesResponse_GA ListRuntimesResponse_RuntimeStage = 4
	// The runtime is deprecated.
	ListRuntimesResponse_DEPRECATED ListRuntimesResponse_RuntimeStage = 5
	// The runtime is no longer supported.
	ListRuntimesResponse_DECOMMISSIONED ListRuntimesResponse_RuntimeStage = 6
)

func (ListRuntimesResponse_RuntimeStage) Descriptor

func (ListRuntimesResponse_RuntimeStage) Enum

func (ListRuntimesResponse_RuntimeStage) EnumDescriptor

func (ListRuntimesResponse_RuntimeStage) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListRuntimesResponse_RuntimeStage.Descriptor instead.

func (ListRuntimesResponse_RuntimeStage) Number

func (ListRuntimesResponse_RuntimeStage) String

func (ListRuntimesResponse_RuntimeStage) Type

OperationMetadata

type OperationMetadata struct {

	// The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Human-readable status of the operation, if any.
	StatusDetail string `protobuf:"bytes,5,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"`
	// Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
	// corresponding to `Code.CANCELLED`.
	CancelRequested bool `protobuf:"varint,6,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
	// API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// The original request that started the operation.
	RequestResource *anypb.Any `protobuf:"bytes,8,opt,name=request_resource,json=requestResource,proto3" json:"request_resource,omitempty"`
	// Mechanism for reporting in-progress stages
	Stages []*Stage `protobuf:"bytes,9,rep,name=stages,proto3" json:"stages,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCancelRequested

func (x *OperationMetadata) GetCancelRequested() bool

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestResource

func (x *OperationMetadata) GetRequestResource() *anypb.Any

func (*OperationMetadata) GetStages

func (x *OperationMetadata) GetStages() []*Stage

func (*OperationMetadata) GetStatusDetail

func (x *OperationMetadata) GetStatusDetail() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

RepoSource

type RepoSource struct {

	// A revision within the Cloud Source Repository must be specified in
	// one of these ways.
	//
	// Types that are assignable to Revision:
	//
	//	*RepoSource_BranchName
	//	*RepoSource_TagName
	//	*RepoSource_CommitSha
	Revision isRepoSource_Revision `protobuf_oneof:"revision"`
	// ID of the project that owns the Cloud Source Repository. If omitted, the
	// project ID requesting the build is assumed.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name of the Cloud Source Repository.
	RepoName string `protobuf:"bytes,2,opt,name=repo_name,json=repoName,proto3" json:"repo_name,omitempty"`
	// Directory, relative to the source root, in which to run the build.
	//
	// This must be a relative path. If a step's `dir` is specified and is an
	// absolute path, this value is ignored for that step's execution.
	// eg. helloworld (no leading slash allowed)
	Dir string `protobuf:"bytes,6,opt,name=dir,proto3" json:"dir,omitempty"`
	// Only trigger a build if the revision regex does NOT match the revision
	// regex.
	InvertRegex bool `protobuf:"varint,7,opt,name=invert_regex,json=invertRegex,proto3" json:"invert_regex,omitempty"`
	// contains filtered or unexported fields
}

Location of the source in a Google Cloud Source Repository.

func (*RepoSource) Descriptor

func (*RepoSource) Descriptor() ([]byte, []int)

Deprecated: Use RepoSource.ProtoReflect.Descriptor instead.

func (*RepoSource) GetBranchName

func (x *RepoSource) GetBranchName() string

func (*RepoSource) GetCommitSha

func (x *RepoSource) GetCommitSha() string

func (*RepoSource) GetDir

func (x *RepoSource) GetDir() string

func (*RepoSource) GetInvertRegex

func (x *RepoSource) GetInvertRegex() bool

func (*RepoSource) GetProjectId

func (x *RepoSource) GetProjectId() string

func (*RepoSource) GetRepoName

func (x *RepoSource) GetRepoName() string

func (*RepoSource) GetRevision

func (m *RepoSource) GetRevision() isRepoSource_Revision

func (*RepoSource) GetTagName

func (x *RepoSource) GetTagName() string

func (*RepoSource) ProtoMessage

func (*RepoSource) ProtoMessage()

func (*RepoSource) ProtoReflect

func (x *RepoSource) ProtoReflect() protoreflect.Message

func (*RepoSource) Reset

func (x *RepoSource) Reset()

func (*RepoSource) String

func (x *RepoSource) String() string

RepoSource_BranchName

type RepoSource_BranchName struct {
	// Regex matching branches to build.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	BranchName string `protobuf:"bytes,3,opt,name=branch_name,json=branchName,proto3,oneof"`
}

RepoSource_CommitSha

type RepoSource_CommitSha struct {
	// Explicit commit SHA to build.
	CommitSha string `protobuf:"bytes,5,opt,name=commit_sha,json=commitSha,proto3,oneof"`
}

RepoSource_TagName

type RepoSource_TagName struct {
	// Regex matching tags to build.
	//
	// The syntax of the regular expressions accepted is the syntax accepted by
	// RE2 and described at https://github.com/google/re2/wiki/Syntax
	TagName string `protobuf:"bytes,4,opt,name=tag_name,json=tagName,proto3,oneof"`
}

SecretEnvVar

type SecretEnvVar struct {

	// Name of the environment variable.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Project identifier (preferably project number but can also be the
	// project ID) of the project that contains the secret. If not set, it is
	// assumed that the secret is in the same project as the function.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name of the secret in secret manager (not the full resource name).
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// Version of the secret (version number or the string 'latest'). It is
	// recommended to use a numeric version for secret environment variables as
	// any updates to the secret value is not reflected until new instances
	// start.
	Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*SecretEnvVar) Descriptor

func (*SecretEnvVar) Descriptor() ([]byte, []int)

Deprecated: Use SecretEnvVar.ProtoReflect.Descriptor instead.

func (*SecretEnvVar) GetKey

func (x *SecretEnvVar) GetKey() string

func (*SecretEnvVar) GetProjectId

func (x *SecretEnvVar) GetProjectId() string

func (*SecretEnvVar) GetSecret

func (x *SecretEnvVar) GetSecret() string

func (*SecretEnvVar) GetVersion

func (x *SecretEnvVar) GetVersion() string

func (*SecretEnvVar) ProtoMessage

func (*SecretEnvVar) ProtoMessage()

func (*SecretEnvVar) ProtoReflect

func (x *SecretEnvVar) ProtoReflect() protoreflect.Message

func (*SecretEnvVar) Reset

func (x *SecretEnvVar) Reset()

func (*SecretEnvVar) String

func (x *SecretEnvVar) String() string

SecretVolume

type SecretVolume struct {

	// The path within the container to mount the secret volume. For example,
	// setting the mount_path as `/etc/secrets` would mount the secret value files
	// under the `/etc/secrets` directory. This directory will also be completely
	// shadowed and unavailable to mount any other secrets.
	// Recommended mount path: /etc/secrets
	MountPath string `protobuf:"bytes,1,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
	// Project identifier (preferably project number but can also be the project
	// ID) of the project that contains the secret. If not set, it is
	// assumed that the secret is in the same project as the function.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Name of the secret in secret manager (not the full resource name).
	Secret string `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// List of secret versions to mount for this secret. If empty, the `latest`
	// version of the secret will be made available in a file named after the
	// secret under the mount point.
	Versions []*SecretVolume_SecretVersion `protobuf:"bytes,4,rep,name=versions,proto3" json:"versions,omitempty"`
	// contains filtered or unexported fields
}

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.

func (*SecretVolume) Descriptor

func (*SecretVolume) Descriptor() ([]byte, []int)

Deprecated: Use SecretVolume.ProtoReflect.Descriptor instead.

func (*SecretVolume) GetMountPath

func (x *SecretVolume) GetMountPath() string

func (*SecretVolume) GetProjectId

func (x *SecretVolume) GetProjectId() string

func (*SecretVolume) GetSecret

func (x *SecretVolume) GetSecret() string

func (*SecretVolume) GetVersions

func (x *SecretVolume) GetVersions() []*SecretVolume_SecretVersion

func (*SecretVolume) ProtoMessage

func (*SecretVolume) ProtoMessage()

func (*SecretVolume) ProtoReflect

func (x *SecretVolume) ProtoReflect() protoreflect.Message

func (*SecretVolume) Reset

func (x *SecretVolume) Reset()

func (*SecretVolume) String

func (x *SecretVolume) String() string

SecretVolume_SecretVersion

type SecretVolume_SecretVersion struct {

	// Version of the secret (version number or the string 'latest'). It is
	// preferable to use `latest` version with secret volumes as secret value
	// changes are reflected immediately.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Relative path of the file under the mount path where the secret value for
	// this version will be fetched and made available. For example, setting the
	// mount_path as '/etc/secrets' and path as `secret_foo` would mount the
	// secret value file at `/etc/secrets/secret_foo`.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a single version.

func (*SecretVolume_SecretVersion) Descriptor

func (*SecretVolume_SecretVersion) Descriptor() ([]byte, []int)

Deprecated: Use SecretVolume_SecretVersion.ProtoReflect.Descriptor instead.

func (*SecretVolume_SecretVersion) GetPath

func (x *SecretVolume_SecretVersion) GetPath() string

func (*SecretVolume_SecretVersion) GetVersion

func (x *SecretVolume_SecretVersion) GetVersion() string

func (*SecretVolume_SecretVersion) ProtoMessage

func (*SecretVolume_SecretVersion) ProtoMessage()

func (*SecretVolume_SecretVersion) ProtoReflect

func (*SecretVolume_SecretVersion) Reset

func (x *SecretVolume_SecretVersion) Reset()

func (*SecretVolume_SecretVersion) String

func (x *SecretVolume_SecretVersion) String() string

ServiceConfig

type ServiceConfig struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`

	TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`

	AvailableMemory string `protobuf:"bytes,13,opt,name=available_memory,json=availableMemory,proto3" json:"available_memory,omitempty"`

	EnvironmentVariables map[string]string "" /* 209 byte string literal not displayed */

	MaxInstanceCount int32 `protobuf:"varint,5,opt,name=max_instance_count,json=maxInstanceCount,proto3" json:"max_instance_count,omitempty"`

	MinInstanceCount int32 `protobuf:"varint,12,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"`

	VpcConnector string `protobuf:"bytes,6,opt,name=vpc_connector,json=vpcConnector,proto3" json:"vpc_connector,omitempty"`

	VpcConnectorEgressSettings ServiceConfig_VpcConnectorEgressSettings "" /* 216 byte string literal not displayed */

	IngressSettings ServiceConfig_IngressSettings "" /* 168 byte string literal not displayed */

	Uri string `protobuf:"bytes,9,opt,name=uri,proto3" json:"uri,omitempty"`

	ServiceAccountEmail string `protobuf:"bytes,10,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`

	AllTrafficOnLatestRevision bool "" /* 147 byte string literal not displayed */

	SecretEnvironmentVariables []*SecretEnvVar "" /* 142 byte string literal not displayed */

	SecretVolumes []*SecretVolume `protobuf:"bytes,19,rep,name=secret_volumes,json=secretVolumes,proto3" json:"secret_volumes,omitempty"`

	Revision string `protobuf:"bytes,18,opt,name=revision,proto3" json:"revision,omitempty"`

}

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

func (*ServiceConfig) Descriptor

func (*ServiceConfig) Descriptor() ([]byte, []int)

Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.

func (*ServiceConfig) GetAllTrafficOnLatestRevision

func (x *ServiceConfig) GetAllTrafficOnLatestRevision() bool

func (*ServiceConfig) GetAvailableMemory

func (x *ServiceConfig) GetAvailableMemory() string

func (*ServiceConfig) GetEnvironmentVariables

func (x *ServiceConfig) GetEnvironmentVariables() map[string]string

func (*ServiceConfig) GetIngressSettings

func (x *ServiceConfig) GetIngressSettings() ServiceConfig_IngressSettings

func (*ServiceConfig) GetMaxInstanceCount

func (x *ServiceConfig) GetMaxInstanceCount() int32

func (*ServiceConfig) GetMinInstanceCount

func (x *ServiceConfig) GetMinInstanceCount() int32

func (*ServiceConfig) GetRevision

func (x *ServiceConfig) GetRevision() string

func (*ServiceConfig) GetSecretEnvironmentVariables

func (x *ServiceConfig) GetSecretEnvironmentVariables() []*SecretEnvVar

func (*ServiceConfig) GetSecretVolumes

func (x *ServiceConfig) GetSecretVolumes() []*SecretVolume

func (*ServiceConfig) GetService

func (x *ServiceConfig) GetService() string

func (*ServiceConfig) GetServiceAccountEmail

func (x *ServiceConfig) GetServiceAccountEmail() string

func (*ServiceConfig) GetTimeoutSeconds

func (x *ServiceConfig) GetTimeoutSeconds() int32

func (*ServiceConfig) GetUri

func (x *ServiceConfig) GetUri() string

func (*ServiceConfig) GetVpcConnector

func (x *ServiceConfig) GetVpcConnector() string

func (*ServiceConfig) GetVpcConnectorEgressSettings

func (x *ServiceConfig) GetVpcConnectorEgressSettings() ServiceConfig_VpcConnectorEgressSettings

func (*ServiceConfig) ProtoMessage

func (*ServiceConfig) ProtoMessage()

func (*ServiceConfig) ProtoReflect

func (x *ServiceConfig) ProtoReflect() protoreflect.Message

func (*ServiceConfig) Reset

func (x *ServiceConfig) Reset()

func (*ServiceConfig) String

func (x *ServiceConfig) String() string

ServiceConfig_IngressSettings

type ServiceConfig_IngressSettings int32

Available ingress settings.

This controls what traffic can reach the function.

If unspecified, ALLOW_ALL will be used.

ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED, ServiceConfig_ALLOW_ALL, ServiceConfig_ALLOW_INTERNAL_ONLY, ServiceConfig_ALLOW_INTERNAL_AND_GCLB

const (
	// Unspecified.
	ServiceConfig_INGRESS_SETTINGS_UNSPECIFIED ServiceConfig_IngressSettings = 0
	// Allow HTTP traffic from public and private sources.
	ServiceConfig_ALLOW_ALL ServiceConfig_IngressSettings = 1
	// Allow HTTP traffic from only private VPC sources.
	ServiceConfig_ALLOW_INTERNAL_ONLY ServiceConfig_IngressSettings = 2
	// Allow HTTP traffic from private VPC sources and through GCLB.
	ServiceConfig_ALLOW_INTERNAL_AND_GCLB ServiceConfig_IngressSettings = 3
)

func (ServiceConfig_IngressSettings) Descriptor

func (ServiceConfig_IngressSettings) Enum

func (ServiceConfig_IngressSettings) EnumDescriptor

func (ServiceConfig_IngressSettings) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_IngressSettings.Descriptor instead.

func (ServiceConfig_IngressSettings) Number

func (ServiceConfig_IngressSettings) String

func (ServiceConfig_IngressSettings) Type

ServiceConfig_VpcConnectorEgressSettings

type ServiceConfig_VpcConnectorEgressSettings int32

Available egress settings.

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

ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED, ServiceConfig_PRIVATE_RANGES_ONLY, ServiceConfig_ALL_TRAFFIC

const (
	// Unspecified.
	ServiceConfig_VPC_CONNECTOR_EGRESS_SETTINGS_UNSPECIFIED ServiceConfig_VpcConnectorEgressSettings = 0
	// Use the VPC Access Connector only for private IP space from RFC1918.
	ServiceConfig_PRIVATE_RANGES_ONLY ServiceConfig_VpcConnectorEgressSettings = 1
	// Force the use of VPC Access Connector for all egress traffic from the
	// function.
	ServiceConfig_ALL_TRAFFIC ServiceConfig_VpcConnectorEgressSettings = 2
)

func (ServiceConfig_VpcConnectorEgressSettings) Descriptor

func (ServiceConfig_VpcConnectorEgressSettings) Enum

func (ServiceConfig_VpcConnectorEgressSettings) EnumDescriptor

func (ServiceConfig_VpcConnectorEgressSettings) EnumDescriptor() ([]byte, []int)

Deprecated: Use ServiceConfig_VpcConnectorEgressSettings.Descriptor instead.

func (ServiceConfig_VpcConnectorEgressSettings) Number

func (ServiceConfig_VpcConnectorEgressSettings) String

func (ServiceConfig_VpcConnectorEgressSettings) Type

Source

type Source struct {

	// Location of the source.
	// At least one source needs to be provided for the deployment to succeed.
	//
	// Types that are assignable to Source:
	//
	//	*Source_StorageSource
	//	*Source_RepoSource
	Source isSource_Source `protobuf_oneof:"source"`
	// contains filtered or unexported fields
}

The location of the function source code.

func (*Source) Descriptor

func (*Source) Descriptor() ([]byte, []int)

Deprecated: Use Source.ProtoReflect.Descriptor instead.

func (*Source) GetRepoSource

func (x *Source) GetRepoSource() *RepoSource

func (*Source) GetSource

func (m *Source) GetSource() isSource_Source

func (*Source) GetStorageSource

func (x *Source) GetStorageSource() *StorageSource

func (*Source) ProtoMessage

func (*Source) ProtoMessage()

func (*Source) ProtoReflect

func (x *Source) ProtoReflect() protoreflect.Message

func (*Source) Reset

func (x *Source) Reset()

func (*Source) String

func (x *Source) String() string

SourceProvenance

type SourceProvenance struct {

	// A copy of the build's `source.storage_source`, if exists, with any
	// generations resolved.
	ResolvedStorageSource *StorageSource `protobuf:"bytes,1,opt,name=resolved_storage_source,json=resolvedStorageSource,proto3" json:"resolved_storage_source,omitempty"`
	// A copy of the build's `source.repo_source`, if exists, with any
	// revisions resolved.
	ResolvedRepoSource *RepoSource `protobuf:"bytes,2,opt,name=resolved_repo_source,json=resolvedRepoSource,proto3" json:"resolved_repo_source,omitempty"`
	// contains filtered or unexported fields
}

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

func (*SourceProvenance) Descriptor

func (*SourceProvenance) Descriptor() ([]byte, []int)

Deprecated: Use SourceProvenance.ProtoReflect.Descriptor instead.

func (*SourceProvenance) GetResolvedRepoSource

func (x *SourceProvenance) GetResolvedRepoSource() *RepoSource

func (*SourceProvenance) GetResolvedStorageSource

func (x *SourceProvenance) GetResolvedStorageSource() *StorageSource

func (*SourceProvenance) ProtoMessage

func (*SourceProvenance) ProtoMessage()

func (*SourceProvenance) ProtoReflect

func (x *SourceProvenance) ProtoReflect() protoreflect.Message

func (*SourceProvenance) Reset

func (x *SourceProvenance) Reset()

func (*SourceProvenance) String

func (x *SourceProvenance) String() string

Source_RepoSource

type Source_RepoSource struct {
	// If provided, get the source from this location in a Cloud Source
	// Repository.
	RepoSource *RepoSource `protobuf:"bytes,2,opt,name=repo_source,json=repoSource,proto3,oneof"`
}

Source_StorageSource

type Source_StorageSource struct {
	// If provided, get the source from this location in Google Cloud Storage.
	StorageSource *StorageSource `protobuf:"bytes,1,opt,name=storage_source,json=storageSource,proto3,oneof"`
}

Stage

type Stage struct {

	// Name of the Stage. This will be unique for each Stage.
	Name Stage_Name `protobuf:"varint,1,opt,name=name,proto3,enum=google.cloud.functions.v2.Stage_Name" json:"name,omitempty"`
	// Message describing the Stage
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// Current state of the Stage
	State Stage_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.functions.v2.Stage_State" json:"state,omitempty"`
	// Resource of the Stage
	Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	// Link to the current Stage resource
	ResourceUri string `protobuf:"bytes,5,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// State messages from the current Stage.
	StateMessages []*StateMessage `protobuf:"bytes,6,rep,name=state_messages,json=stateMessages,proto3" json:"state_messages,omitempty"`
	// contains filtered or unexported fields
}

Each Stage of the deployment process

func (*Stage) Descriptor

func (*Stage) Descriptor() ([]byte, []int)

Deprecated: Use Stage.ProtoReflect.Descriptor instead.

func (*Stage) GetMessage

func (x *Stage) GetMessage() string

func (*Stage) GetName

func (x *Stage) GetName() Stage_Name

func (*Stage) GetResource

func (x *Stage) GetResource() string

func (*Stage) GetResourceUri

func (x *Stage) GetResourceUri() string

func (*Stage) GetState

func (x *Stage) GetState() Stage_State

func (*Stage) GetStateMessages

func (x *Stage) GetStateMessages() []*StateMessage

func (*Stage) ProtoMessage

func (*Stage) ProtoMessage()

func (*Stage) ProtoReflect

func (x *Stage) ProtoReflect() protoreflect.Message

func (*Stage) Reset

func (x *Stage) Reset()

func (*Stage) String

func (x *Stage) String() string

Stage_Name

type Stage_Name int32

Possible names for a Stage

Stage_NAME_UNSPECIFIED, Stage_ARTIFACT_REGISTRY, Stage_BUILD, Stage_SERVICE, Stage_TRIGGER, Stage_SERVICE_ROLLBACK, Stage_TRIGGER_ROLLBACK

const (
	// Not specified. Invalid name.
	Stage_NAME_UNSPECIFIED Stage_Name = 0
	// Artifact Regsitry Stage
	Stage_ARTIFACT_REGISTRY Stage_Name = 1
	// Build Stage
	Stage_BUILD Stage_Name = 2
	// Service Stage
	Stage_SERVICE Stage_Name = 3
	// Trigger Stage
	Stage_TRIGGER Stage_Name = 4
	// Service Rollback Stage
	Stage_SERVICE_ROLLBACK Stage_Name = 5
	// Trigger Rollback Stage
	Stage_TRIGGER_ROLLBACK Stage_Name = 6
)

func (Stage_Name) Descriptor

func (Stage_Name) Descriptor() protoreflect.EnumDescriptor

func (Stage_Name) Enum

func (x Stage_Name) Enum() *Stage_Name

func (Stage_Name) EnumDescriptor

func (Stage_Name) EnumDescriptor() ([]byte, []int)

Deprecated: Use Stage_Name.Descriptor instead.

func (Stage_Name) Number

func (x Stage_Name) Number() protoreflect.EnumNumber

func (Stage_Name) String

func (x Stage_Name) String() string

func (Stage_Name) Type

Stage_State

type Stage_State int32

Possible states for a Stage

Stage_STATE_UNSPECIFIED, Stage_NOT_STARTED, Stage_IN_PROGRESS, Stage_COMPLETE

const (
	// Not specified. Invalid state.
	Stage_STATE_UNSPECIFIED Stage_State = 0
	// Stage has not started.
	Stage_NOT_STARTED Stage_State = 1
	// Stage is in progress.
	Stage_IN_PROGRESS Stage_State = 2
	// Stage has completed.
	Stage_COMPLETE Stage_State = 3
)

func (Stage_State) Descriptor

func (Stage_State) Enum

func (x Stage_State) Enum() *Stage_State

func (Stage_State) EnumDescriptor

func (Stage_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Stage_State.Descriptor instead.

func (Stage_State) Number

func (x Stage_State) Number() protoreflect.EnumNumber

func (Stage_State) String

func (x Stage_State) String() string

func (Stage_State) Type

StateMessage

type StateMessage struct {

	// Severity of the state message.
	Severity StateMessage_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.cloud.functions.v2.StateMessage_Severity" json:"severity,omitempty"`
	// One-word CamelCase type of the state message.
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// The message.
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

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

func (*StateMessage) Descriptor

func (*StateMessage) Descriptor() ([]byte, []int)

Deprecated: Use StateMessage.ProtoReflect.Descriptor instead.

func (*StateMessage) GetMessage

func (x *StateMessage) GetMessage() string

func (*StateMessage) GetSeverity

func (x *StateMessage) GetSeverity() StateMessage_Severity

func (*StateMessage) GetType

func (x *StateMessage) GetType() string

func (*StateMessage) ProtoMessage

func (*StateMessage) ProtoMessage()

func (*StateMessage) ProtoReflect

func (x *StateMessage) ProtoReflect() protoreflect.Message

func (*StateMessage) Reset

func (x *StateMessage) Reset()

func (*StateMessage) String

func (x *StateMessage) String() string

StateMessage_Severity

type StateMessage_Severity int32

Severity of the state message.

StateMessage_SEVERITY_UNSPECIFIED, StateMessage_ERROR, StateMessage_WARNING, StateMessage_INFO

const (
	// Not specified. Invalid severity.
	StateMessage_SEVERITY_UNSPECIFIED StateMessage_Severity = 0
	// ERROR-level severity.
	StateMessage_ERROR StateMessage_Severity = 1
	// WARNING-level severity.
	StateMessage_WARNING StateMessage_Severity = 2
	// INFO-level severity.
	StateMessage_INFO StateMessage_Severity = 3
)

func (StateMessage_Severity) Descriptor

func (StateMessage_Severity) Enum

func (StateMessage_Severity) EnumDescriptor

func (StateMessage_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use StateMessage_Severity.Descriptor instead.

func (StateMessage_Severity) Number

func (StateMessage_Severity) String

func (x StateMessage_Severity) String() string

func (StateMessage_Severity) Type

StorageSource

type StorageSource struct {

	// Google Cloud Storage bucket containing the source (see
	// [Bucket Name
	// Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)).
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Google Cloud Storage object containing the source.
	//
	// This object must be a gzipped archive file (`.tar.gz`) containing source to
	// build.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// Google Cloud Storage generation for the object. If the generation is
	// omitted, the latest generation will be used.
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// contains filtered or unexported fields
}

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

func (*StorageSource) Descriptor

func (*StorageSource) Descriptor() ([]byte, []int)

Deprecated: Use StorageSource.ProtoReflect.Descriptor instead.

func (*StorageSource) GetBucket

func (x *StorageSource) GetBucket() string

func (*StorageSource) GetGeneration

func (x *StorageSource) GetGeneration() int64

func (*StorageSource) GetObject

func (x *StorageSource) GetObject() string

func (*StorageSource) ProtoMessage

func (*StorageSource) ProtoMessage()

func (*StorageSource) ProtoReflect

func (x *StorageSource) ProtoReflect() protoreflect.Message

func (*StorageSource) Reset

func (x *StorageSource) Reset()

func (*StorageSource) String

func (x *StorageSource) String() string

UnimplementedFunctionServiceServer

type UnimplementedFunctionServiceServer struct {
}

UnimplementedFunctionServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedFunctionServiceServer) CreateFunction

func (*UnimplementedFunctionServiceServer) DeleteFunction

func (*UnimplementedFunctionServiceServer) GenerateDownloadUrl

func (*UnimplementedFunctionServiceServer) GenerateUploadUrl

func (*UnimplementedFunctionServiceServer) GetFunction

func (*UnimplementedFunctionServiceServer) ListFunctions

func (*UnimplementedFunctionServiceServer) ListRuntimes

func (*UnimplementedFunctionServiceServer) UpdateFunction

UpdateFunctionRequest

type UpdateFunctionRequest struct {

	// Required. New version of the function.
	Function *Function `protobuf:"bytes,1,opt,name=function,proto3" json:"function,omitempty"`
	// The list of fields to be updated.
	// If no field mask is provided, all provided fields in the request will be
	// updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request for the UpdateFunction method.

func (*UpdateFunctionRequest) Descriptor

func (*UpdateFunctionRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFunctionRequest.ProtoReflect.Descriptor instead.

func (*UpdateFunctionRequest) GetFunction

func (x *UpdateFunctionRequest) GetFunction() *Function

func (*UpdateFunctionRequest) GetUpdateMask

func (x *UpdateFunctionRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateFunctionRequest) ProtoMessage

func (*UpdateFunctionRequest) ProtoMessage()

func (*UpdateFunctionRequest) ProtoReflect

func (x *UpdateFunctionRequest) ProtoReflect() protoreflect.Message

func (*UpdateFunctionRequest) Reset

func (x *UpdateFunctionRequest) Reset()

func (*UpdateFunctionRequest) String

func (x *UpdateFunctionRequest) String() string