functions

package
v0.0.0-...-2824937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package functions is a generated protocol buffer package.

It is generated from these files:

google/cloud/functions/v1beta2/functions.proto
google/cloud/functions/v1beta2/operations.proto

It has these top-level messages:

CloudFunction
HTTPSTrigger
EventTrigger
SourceRepository
CreateFunctionRequest
UpdateFunctionRequest
GetFunctionRequest
ListFunctionsRequest
ListFunctionsResponse
DeleteFunctionRequest
CallFunctionRequest
CallFunctionResponse
OperationMetadataV1Beta2

Index

Constants

This section is empty.

Variables

View Source
var CloudFunctionStatus_name = map[int32]string{
	0: "STATUS_UNSPECIFIED",
	1: "READY",
	2: "FAILED",
	3: "DEPLOYING",
	4: "DELETING",
}
View Source
var CloudFunctionStatus_value = map[string]int32{
	"STATUS_UNSPECIFIED": 0,
	"READY":              1,
	"FAILED":             2,
	"DEPLOYING":          3,
	"DELETING":           4,
}
View Source
var OperationType_name = map[int32]string{
	0: "OPERATION_UNSPECIFIED",
	1: "CREATE_FUNCTION",
	2: "UPDATE_FUNCTION",
	3: "DELETE_FUNCTION",
}
View Source
var OperationType_value = map[string]int32{
	"OPERATION_UNSPECIFIED": 0,
	"CREATE_FUNCTION":       1,
	"UPDATE_FUNCTION":       2,
	"DELETE_FUNCTION":       3,
}

Functions

func RegisterCloudFunctionsServiceServer

func RegisterCloudFunctionsServiceServer(s *grpc.Server, srv CloudFunctionsServiceServer)

Types

type CallFunctionRequest

type CallFunctionRequest struct {
	// The name of the function to be called.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Input to be passed to the function.
	Data string `protobuf:"bytes,2,opt,name=data" json:"data,omitempty"`
}

Request for the `CallFunction` method.

func (*CallFunctionRequest) Descriptor

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

func (*CallFunctionRequest) GetData

func (m *CallFunctionRequest) GetData() string

func (*CallFunctionRequest) GetName

func (m *CallFunctionRequest) GetName() string

func (*CallFunctionRequest) ProtoMessage

func (*CallFunctionRequest) ProtoMessage()

func (*CallFunctionRequest) Reset

func (m *CallFunctionRequest) Reset()

func (*CallFunctionRequest) String

func (m *CallFunctionRequest) String() string

type CallFunctionResponse

type CallFunctionResponse struct {
	// Execution id of function invocation.
	ExecutionId string `protobuf:"bytes,1,opt,name=execution_id,json=executionId" json:"execution_id,omitempty"`
	// Result populated for successful execution of synchronous function. Will
	// not be populated if function does not return a result through context.
	Result string `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"`
	// Either system or user-function generated error. Set if execution
	// was not successful.
	Error string `protobuf:"bytes,3,opt,name=error" json:"error,omitempty"`
}

Response of `CallFunction` method.

func (*CallFunctionResponse) Descriptor

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

func (*CallFunctionResponse) GetError

func (m *CallFunctionResponse) GetError() string

func (*CallFunctionResponse) GetExecutionId

func (m *CallFunctionResponse) GetExecutionId() string

func (*CallFunctionResponse) GetResult

func (m *CallFunctionResponse) GetResult() string

func (*CallFunctionResponse) ProtoMessage

func (*CallFunctionResponse) ProtoMessage()

func (*CallFunctionResponse) Reset

func (m *CallFunctionResponse) Reset()

func (*CallFunctionResponse) String

func (m *CallFunctionResponse) String() string

type CloudFunction

type CloudFunction struct {
	// A user-defined name of the function. Function names must be unique
	// globally and match pattern `projects/*/locations/*/functions/*`
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// The location of the function source code.
	//
	// Types that are valid to be assigned to SourceCode:
	//	*CloudFunction_SourceArchiveUrl
	//	*CloudFunction_SourceRepository
	SourceCode isCloudFunction_SourceCode `protobuf_oneof:"source_code"`
	// An event that triggers the function.
	//
	// Types that are valid to be assigned to Trigger:
	//	*CloudFunction_HttpsTrigger
	//	*CloudFunction_EventTrigger
	Trigger isCloudFunction_Trigger `protobuf_oneof:"trigger"`
	// Output only. Status of the function deployment.
	Status CloudFunctionStatus `protobuf:"varint,7,opt,name=status,enum=google.cloud.functions.v1beta2.CloudFunctionStatus" json:"status,omitempty"`
	// Output only. Name of the most recent operation modifying the function. If
	// the function status is `DEPLOYING` or `DELETING`, then it points to the
	// active operation.
	LatestOperation string `protobuf:"bytes,8,opt,name=latest_operation,json=latestOperation" json:"latest_operation,omitempty"`
	// The name of the function (as defined in source code) that will be
	// executed. Defaults to the resource name suffix, if not specified. For
	// backward compatibility, if function with given name is not found, then the
	// system will try to use function named "function".
	// For Node.js this is name of a function exported by the module specified
	// in `source_location`.
	EntryPoint string `protobuf:"bytes,9,opt,name=entry_point,json=entryPoint" json:"entry_point,omitempty"`
	// The function execution timeout. Execution is considered failed and
	// can be terminated if the function is not completed at the end of the
	// timeout period. Defaults to 60 seconds.
	Timeout *google_protobuf3.Duration `protobuf:"bytes,10,opt,name=timeout" json:"timeout,omitempty"`
	// The amount of memory in MB available for a function.
	// Defaults to 256MB.
	AvailableMemoryMb int32 `protobuf:"varint,11,opt,name=available_memory_mb,json=availableMemoryMb" json:"available_memory_mb,omitempty"`
	// Output only. The service account of the function.
	ServiceAccount string `protobuf:"bytes,13,opt,name=service_account,json=serviceAccount" json:"service_account,omitempty"`
	// Output only. The last update timestamp of a Cloud Function.
	UpdateTime *google_protobuf4.Timestamp `protobuf:"bytes,15,opt,name=update_time,json=updateTime" json:"update_time,omitempty"`
}

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

func (*CloudFunction) Descriptor

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

func (*CloudFunction) GetAvailableMemoryMb

func (m *CloudFunction) GetAvailableMemoryMb() int32

func (*CloudFunction) GetEntryPoint

func (m *CloudFunction) GetEntryPoint() string

func (*CloudFunction) GetEventTrigger

func (m *CloudFunction) GetEventTrigger() *EventTrigger

func (*CloudFunction) GetHttpsTrigger

func (m *CloudFunction) GetHttpsTrigger() *HTTPSTrigger

func (*CloudFunction) GetLatestOperation

func (m *CloudFunction) GetLatestOperation() string

func (*CloudFunction) GetName

func (m *CloudFunction) GetName() string

func (*CloudFunction) GetServiceAccount

func (m *CloudFunction) GetServiceAccount() string

func (*CloudFunction) GetSourceArchiveUrl

func (m *CloudFunction) GetSourceArchiveUrl() string

func (*CloudFunction) GetSourceCode

func (m *CloudFunction) GetSourceCode() isCloudFunction_SourceCode

func (*CloudFunction) GetSourceRepository

func (m *CloudFunction) GetSourceRepository() *SourceRepository

func (*CloudFunction) GetStatus

func (m *CloudFunction) GetStatus() CloudFunctionStatus

func (*CloudFunction) GetTimeout

func (m *CloudFunction) GetTimeout() *google_protobuf3.Duration

func (*CloudFunction) GetTrigger

func (m *CloudFunction) GetTrigger() isCloudFunction_Trigger

func (*CloudFunction) GetUpdateTime

func (m *CloudFunction) GetUpdateTime() *google_protobuf4.Timestamp

func (*CloudFunction) ProtoMessage

func (*CloudFunction) ProtoMessage()

func (*CloudFunction) Reset

func (m *CloudFunction) Reset()

func (*CloudFunction) String

func (m *CloudFunction) String() string

func (*CloudFunction) XXX_OneofFuncs

func (*CloudFunction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type CloudFunctionStatus

type CloudFunctionStatus int32

Describes the current stage of a deployment.

const (
	// Status not specified.
	CloudFunctionStatus_STATUS_UNSPECIFIED CloudFunctionStatus = 0
	// Successfully deployed.
	CloudFunctionStatus_READY CloudFunctionStatus = 1
	// Not deployed correctly - behavior is undefined. The item should be updated
	// or deleted to move it out of this state.
	CloudFunctionStatus_FAILED CloudFunctionStatus = 2
	// Creation or update in progress.
	CloudFunctionStatus_DEPLOYING CloudFunctionStatus = 3
	// Deletion in progress.
	CloudFunctionStatus_DELETING CloudFunctionStatus = 4
)

func (CloudFunctionStatus) EnumDescriptor

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

func (CloudFunctionStatus) String

func (x CloudFunctionStatus) String() string

type CloudFunction_EventTrigger

type CloudFunction_EventTrigger struct {
	EventTrigger *EventTrigger `protobuf:"bytes,12,opt,name=event_trigger,json=eventTrigger,oneof"`
}

type CloudFunction_HttpsTrigger

type CloudFunction_HttpsTrigger struct {
	HttpsTrigger *HTTPSTrigger `protobuf:"bytes,6,opt,name=https_trigger,json=httpsTrigger,oneof"`
}

type CloudFunction_SourceArchiveUrl

type CloudFunction_SourceArchiveUrl struct {
	SourceArchiveUrl string `protobuf:"bytes,14,opt,name=source_archive_url,json=sourceArchiveUrl,oneof"`
}

type CloudFunction_SourceRepository

type CloudFunction_SourceRepository struct {
	SourceRepository *SourceRepository `protobuf:"bytes,3,opt,name=source_repository,json=sourceRepository,oneof"`
}

type CloudFunctionsServiceClient

type CloudFunctionsServiceClient interface {
	// Returns a list of functions that belong to the requested project.
	ListFunctions(ctx context.Context, in *ListFunctionsRequest, opts ...grpc.CallOption) (*ListFunctionsResponse, error)
	// Returns a function with the given name from the requested project.
	GetFunction(ctx context.Context, in *GetFunctionRequest, opts ...grpc.CallOption) (*CloudFunction, 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) (*google_longrunning.Operation, error)
	// Updates existing function.
	UpdateFunction(ctx context.Context, in *UpdateFunctionRequest, opts ...grpc.CallOption) (*google_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) (*google_longrunning.Operation, error)
	// Invokes synchronously deployed function. To be used for testing, very
	// limited traffic allowed.
	CallFunction(ctx context.Context, in *CallFunctionRequest, opts ...grpc.CallOption) (*CallFunctionResponse, error)
}

func NewCloudFunctionsServiceClient

func NewCloudFunctionsServiceClient(cc *grpc.ClientConn) CloudFunctionsServiceClient

type CloudFunctionsServiceServer

type CloudFunctionsServiceServer interface {
	// Returns a list of functions that belong to the requested project.
	ListFunctions(context.Context, *ListFunctionsRequest) (*ListFunctionsResponse, error)
	// Returns a function with the given name from the requested project.
	GetFunction(context.Context, *GetFunctionRequest) (*CloudFunction, 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) (*google_longrunning.Operation, error)
	// Updates existing function.
	UpdateFunction(context.Context, *UpdateFunctionRequest) (*google_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) (*google_longrunning.Operation, error)
	// Invokes synchronously deployed function. To be used for testing, very
	// limited traffic allowed.
	CallFunction(context.Context, *CallFunctionRequest) (*CallFunctionResponse, error)
}

type CreateFunctionRequest

type CreateFunctionRequest struct {
	// The project and location in which the function should be created, specified
	// in the format `projects/*/locations/*`
	Location string `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
	// Function to be created.
	Function *CloudFunction `protobuf:"bytes,2,opt,name=function" json:"function,omitempty"`
}

Request for the `CreateFunction` method.

func (*CreateFunctionRequest) Descriptor

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

func (*CreateFunctionRequest) GetFunction

func (m *CreateFunctionRequest) GetFunction() *CloudFunction

func (*CreateFunctionRequest) GetLocation

func (m *CreateFunctionRequest) GetLocation() string

func (*CreateFunctionRequest) ProtoMessage

func (*CreateFunctionRequest) ProtoMessage()

func (*CreateFunctionRequest) Reset

func (m *CreateFunctionRequest) Reset()

func (*CreateFunctionRequest) String

func (m *CreateFunctionRequest) String() string

type DeleteFunctionRequest

type DeleteFunctionRequest struct {
	// The name of the function which should be deleted.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

Request for the `DeleteFunction` method.

func (*DeleteFunctionRequest) Descriptor

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

func (*DeleteFunctionRequest) GetName

func (m *DeleteFunctionRequest) GetName() string

func (*DeleteFunctionRequest) ProtoMessage

func (*DeleteFunctionRequest) ProtoMessage()

func (*DeleteFunctionRequest) Reset

func (m *DeleteFunctionRequest) Reset()

func (*DeleteFunctionRequest) String

func (m *DeleteFunctionRequest) String() string

type EventTrigger

type EventTrigger struct {
	// `event_type` names contain the service that is sending an event and the
	// kind of event that was fired. Must be of the form
	// `providers/*/eventTypes/*` e.g. Directly handle a Message published to
	// Google Cloud Pub/Sub `providers/cloud.pubsub/eventTypes/topic.publish`
	//
	//      Handle an object changing in Google Cloud Storage
	//      `providers/cloud.storage/eventTypes/object.change`
	//
	//      Handle a write to the Firebase Realtime Database
	//      `providers/firebase.database/eventTypes/data.write`
	EventType string `protobuf:"bytes,1,opt,name=event_type,json=eventType" json:"event_type,omitempty"`
	// Which instance of the source's service should send events. E.g. for Pub/Sub
	// this would be a Pub/Sub topic at `projects/*/topics/*`. For Google Cloud
	// Storage this would be a bucket at `projects/*/buckets/*`. For any source
	// that only supports one instance per-project, this should be the name of the
	// project (`projects/*`)
	Resource string `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
}

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

func (*EventTrigger) Descriptor

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

func (*EventTrigger) GetEventType

func (m *EventTrigger) GetEventType() string

func (*EventTrigger) GetResource

func (m *EventTrigger) GetResource() string

func (*EventTrigger) ProtoMessage

func (*EventTrigger) ProtoMessage()

func (*EventTrigger) Reset

func (m *EventTrigger) Reset()

func (*EventTrigger) String

func (m *EventTrigger) String() string

type GetFunctionRequest

type GetFunctionRequest struct {
	// The name of the function which details should be obtained.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

Request for the `GetFunction` method.

func (*GetFunctionRequest) Descriptor

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

func (*GetFunctionRequest) GetName

func (m *GetFunctionRequest) GetName() string

func (*GetFunctionRequest) ProtoMessage

func (*GetFunctionRequest) ProtoMessage()

func (*GetFunctionRequest) Reset

func (m *GetFunctionRequest) Reset()

func (*GetFunctionRequest) String

func (m *GetFunctionRequest) String() string

type HTTPSTrigger

type HTTPSTrigger struct {
	// Output only. The deployed url for the function.
	Url string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"`
}

Describes HTTPSTrigger, could be used to connect web hooks to function.

func (*HTTPSTrigger) Descriptor

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

func (*HTTPSTrigger) GetUrl

func (m *HTTPSTrigger) GetUrl() string

func (*HTTPSTrigger) ProtoMessage

func (*HTTPSTrigger) ProtoMessage()

func (*HTTPSTrigger) Reset

func (m *HTTPSTrigger) Reset()

func (*HTTPSTrigger) String

func (m *HTTPSTrigger) String() string

type ListFunctionsRequest

type ListFunctionsRequest struct {
	// 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.
	Location string `protobuf:"bytes,1,opt,name=location" json:"location,omitempty"`
	// Maximum number of functions to return per call.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize" 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" json:"page_token,omitempty"`
}

Request for the `ListFunctions` method.

func (*ListFunctionsRequest) Descriptor

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

func (*ListFunctionsRequest) GetLocation

func (m *ListFunctionsRequest) GetLocation() string

func (*ListFunctionsRequest) GetPageSize

func (m *ListFunctionsRequest) GetPageSize() int32

func (*ListFunctionsRequest) GetPageToken

func (m *ListFunctionsRequest) GetPageToken() string

func (*ListFunctionsRequest) ProtoMessage

func (*ListFunctionsRequest) ProtoMessage()

func (*ListFunctionsRequest) Reset

func (m *ListFunctionsRequest) Reset()

func (*ListFunctionsRequest) String

func (m *ListFunctionsRequest) String() string

type ListFunctionsResponse

type ListFunctionsResponse struct {
	// The functions that match the request.
	Functions []*CloudFunction `protobuf:"bytes,1,rep,name=functions" json:"functions,omitempty"`
	// If not empty, indicates that there may be more functions that match
	// the request; this value should be passed in a new
	// [google.cloud.functions.v1beta2.ListFunctionsRequest][]
	// to get more functions.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken" json:"next_page_token,omitempty"`
}

Response for the `ListFunctions` method.

func (*ListFunctionsResponse) Descriptor

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

func (*ListFunctionsResponse) GetFunctions

func (m *ListFunctionsResponse) GetFunctions() []*CloudFunction

func (*ListFunctionsResponse) GetNextPageToken

func (m *ListFunctionsResponse) GetNextPageToken() string

func (*ListFunctionsResponse) ProtoMessage

func (*ListFunctionsResponse) ProtoMessage()

func (*ListFunctionsResponse) Reset

func (m *ListFunctionsResponse) Reset()

func (*ListFunctionsResponse) String

func (m *ListFunctionsResponse) String() string

type OperationMetadataV1Beta2

type OperationMetadataV1Beta2 struct {
	// Target of the operation - for example
	// projects/project-1/locations/region-1/functions/function-1
	Target string `protobuf:"bytes,1,opt,name=target" json:"target,omitempty"`
	// Type of operation.
	Type OperationType `protobuf:"varint,2,opt,name=type,enum=google.cloud.functions.v1beta2.OperationType" json:"type,omitempty"`
	// The original request that started the operation.
	Request *google_protobuf1.Any `protobuf:"bytes,3,opt,name=request" json:"request,omitempty"`
}

Metadata describing an [Operation][google.longrunning.Operation]

func (*OperationMetadataV1Beta2) Descriptor

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

func (*OperationMetadataV1Beta2) GetRequest

func (*OperationMetadataV1Beta2) GetTarget

func (m *OperationMetadataV1Beta2) GetTarget() string

func (*OperationMetadataV1Beta2) GetType

func (*OperationMetadataV1Beta2) ProtoMessage

func (*OperationMetadataV1Beta2) ProtoMessage()

func (*OperationMetadataV1Beta2) Reset

func (m *OperationMetadataV1Beta2) Reset()

func (*OperationMetadataV1Beta2) String

func (m *OperationMetadataV1Beta2) String() string

type OperationType

type OperationType int32

A type of an operation.

const (
	// Unknown operation type.
	OperationType_OPERATION_UNSPECIFIED OperationType = 0
	// Triggered by CreateFunction call
	OperationType_CREATE_FUNCTION OperationType = 1
	// Triggered by UpdateFunction call
	OperationType_UPDATE_FUNCTION OperationType = 2
	// Triggered by DeleteFunction call.
	OperationType_DELETE_FUNCTION OperationType = 3
)

func (OperationType) EnumDescriptor

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

func (OperationType) String

func (x OperationType) String() string

type SourceRepository

type SourceRepository struct {
	// URL to the hosted repository where the function is defined. Only paths in
	// https://source.developers.google.com domain are supported. The path should
	// contain the name of the repository.
	RepositoryUrl string `protobuf:"bytes,1,opt,name=repository_url,json=repositoryUrl" json:"repository_url,omitempty"`
	// The path within the repository where the function is defined. The path
	// should point to the directory where Cloud Functions files are located. Use
	// "/" if the function is defined directly in the root directory of a
	// repository.
	SourcePath string `protobuf:"bytes,2,opt,name=source_path,json=sourcePath" json:"source_path,omitempty"`
	// The version of a function. Defaults to the latest version of the master
	// branch.
	//
	// Types that are valid to be assigned to Version:
	//	*SourceRepository_Branch
	//	*SourceRepository_Tag
	//	*SourceRepository_Revision
	Version isSourceRepository_Version `protobuf_oneof:"version"`
	// Output only. The id of the revision that was resolved at the moment of
	// function creation or update. For example when a user deployed from a
	// branch, it will be the revision id of the latest change on this branch at
	// that time. If user deployed from revision then this value will be always
	// equal to the revision specified by the user.
	DeployedRevision string `protobuf:"bytes,6,opt,name=deployed_revision,json=deployedRevision" json:"deployed_revision,omitempty"`
}

Describes the location of the function source in a remote repository.

func (*SourceRepository) Descriptor

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

func (*SourceRepository) GetBranch

func (m *SourceRepository) GetBranch() string

func (*SourceRepository) GetDeployedRevision

func (m *SourceRepository) GetDeployedRevision() string

func (*SourceRepository) GetRepositoryUrl

func (m *SourceRepository) GetRepositoryUrl() string

func (*SourceRepository) GetRevision

func (m *SourceRepository) GetRevision() string

func (*SourceRepository) GetSourcePath

func (m *SourceRepository) GetSourcePath() string

func (*SourceRepository) GetTag

func (m *SourceRepository) GetTag() string

func (*SourceRepository) GetVersion

func (m *SourceRepository) GetVersion() isSourceRepository_Version

func (*SourceRepository) ProtoMessage

func (*SourceRepository) ProtoMessage()

func (*SourceRepository) Reset

func (m *SourceRepository) Reset()

func (*SourceRepository) String

func (m *SourceRepository) String() string

func (*SourceRepository) XXX_OneofFuncs

func (*SourceRepository) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type SourceRepository_Branch

type SourceRepository_Branch struct {
	Branch string `protobuf:"bytes,3,opt,name=branch,oneof"`
}

type SourceRepository_Revision

type SourceRepository_Revision struct {
	Revision string `protobuf:"bytes,5,opt,name=revision,oneof"`
}

type SourceRepository_Tag

type SourceRepository_Tag struct {
	Tag string `protobuf:"bytes,4,opt,name=tag,oneof"`
}

type UpdateFunctionRequest

type UpdateFunctionRequest struct {
	// The name of the function to be updated.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// New version of the function.
	Function *CloudFunction `protobuf:"bytes,2,opt,name=function" json:"function,omitempty"`
}

Request for the `UpdateFunction` method.

func (*UpdateFunctionRequest) Descriptor

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

func (*UpdateFunctionRequest) GetFunction

func (m *UpdateFunctionRequest) GetFunction() *CloudFunction

func (*UpdateFunctionRequest) GetName

func (m *UpdateFunctionRequest) GetName() string

func (*UpdateFunctionRequest) ProtoMessage

func (*UpdateFunctionRequest) ProtoMessage()

func (*UpdateFunctionRequest) Reset

func (m *UpdateFunctionRequest) Reset()

func (*UpdateFunctionRequest) String

func (m *UpdateFunctionRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL