Documentation ¶
Index ¶
- Variables
- func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer)
- func RegisterJobsServer(s *grpc.Server, srv JobsServer)
- func RegisterRevisionsServer(s *grpc.Server, srv RevisionsServer)
- func RegisterServicesServer(s *grpc.Server, srv ServicesServer)
- func RegisterTasksServer(s *grpc.Server, srv TasksServer)
- type BinaryAuthorization
- func (*BinaryAuthorization) Descriptor() ([]byte, []int)deprecated
- func (m *BinaryAuthorization) GetBinauthzMethod() isBinaryAuthorization_BinauthzMethod
- func (x *BinaryAuthorization) GetBreakglassJustification() string
- func (x *BinaryAuthorization) GetUseDefault() bool
- func (*BinaryAuthorization) ProtoMessage()
- func (x *BinaryAuthorization) ProtoReflect() protoreflect.Message
- func (x *BinaryAuthorization) Reset()
- func (x *BinaryAuthorization) String() string
- type BinaryAuthorization_UseDefault
- type CancelExecutionRequest
- func (*CancelExecutionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelExecutionRequest) GetEtag() string
- func (x *CancelExecutionRequest) GetName() string
- func (x *CancelExecutionRequest) GetValidateOnly() bool
- func (*CancelExecutionRequest) ProtoMessage()
- func (x *CancelExecutionRequest) ProtoReflect() protoreflect.Message
- func (x *CancelExecutionRequest) Reset()
- func (x *CancelExecutionRequest) String() string
- type CloudSqlInstance
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetExecutionReason() Condition_ExecutionReason
- func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
- func (x *Condition) GetMessage() string
- func (x *Condition) GetReason() Condition_CommonReason
- func (m *Condition) GetReasons() isCondition_Reasons
- func (x *Condition) GetRevisionReason() Condition_RevisionReason
- func (x *Condition) GetSeverity() Condition_Severity
- func (x *Condition) GetState() Condition_State
- func (x *Condition) GetType() string
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type Condition_CommonReason
- func (Condition_CommonReason) Descriptor() protoreflect.EnumDescriptor
- func (x Condition_CommonReason) Enum() *Condition_CommonReason
- func (Condition_CommonReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x Condition_CommonReason) Number() protoreflect.EnumNumber
- func (x Condition_CommonReason) String() string
- func (Condition_CommonReason) Type() protoreflect.EnumType
- type Condition_ExecutionReason
- func (Condition_ExecutionReason) Descriptor() protoreflect.EnumDescriptor
- func (x Condition_ExecutionReason) Enum() *Condition_ExecutionReason
- func (Condition_ExecutionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x Condition_ExecutionReason) Number() protoreflect.EnumNumber
- func (x Condition_ExecutionReason) String() string
- func (Condition_ExecutionReason) Type() protoreflect.EnumType
- type Condition_ExecutionReason_
- type Condition_Reason
- type Condition_RevisionReason
- func (Condition_RevisionReason) Descriptor() protoreflect.EnumDescriptor
- func (x Condition_RevisionReason) Enum() *Condition_RevisionReason
- func (Condition_RevisionReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x Condition_RevisionReason) Number() protoreflect.EnumNumber
- func (x Condition_RevisionReason) String() string
- func (Condition_RevisionReason) Type() protoreflect.EnumType
- type Condition_RevisionReason_
- type Condition_Severity
- func (Condition_Severity) Descriptor() protoreflect.EnumDescriptor
- func (x Condition_Severity) Enum() *Condition_Severity
- func (Condition_Severity) EnumDescriptor() ([]byte, []int)deprecated
- func (x Condition_Severity) Number() protoreflect.EnumNumber
- func (x Condition_Severity) String() string
- func (Condition_Severity) Type() protoreflect.EnumType
- type Condition_State
- func (Condition_State) Descriptor() protoreflect.EnumDescriptor
- func (x Condition_State) Enum() *Condition_State
- func (Condition_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Condition_State) Number() protoreflect.EnumNumber
- func (x Condition_State) String() string
- func (Condition_State) Type() protoreflect.EnumType
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() []string
- func (x *Container) GetDependsOn() []string
- func (x *Container) GetEnv() []*EnvVar
- func (x *Container) GetImage() string
- func (x *Container) GetLivenessProbe() *Probe
- func (x *Container) GetName() string
- func (x *Container) GetPorts() []*ContainerPort
- func (x *Container) GetResources() *ResourceRequirements
- func (x *Container) GetStartupProbe() *Probe
- func (x *Container) GetVolumeMounts() []*VolumeMount
- func (x *Container) GetWorkingDir() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ContainerPort
- func (*ContainerPort) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerPort) GetContainerPort() int32
- func (x *ContainerPort) GetName() string
- func (*ContainerPort) ProtoMessage()
- func (x *ContainerPort) ProtoReflect() protoreflect.Message
- func (x *ContainerPort) Reset()
- func (x *ContainerPort) String() string
- type CreateJobRequest
- func (*CreateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateJobRequest) GetJob() *Job
- func (x *CreateJobRequest) GetJobId() string
- func (x *CreateJobRequest) GetParent() string
- func (x *CreateJobRequest) GetValidateOnly() bool
- func (*CreateJobRequest) ProtoMessage()
- func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
- func (x *CreateJobRequest) Reset()
- func (x *CreateJobRequest) String() string
- type CreateServiceRequest
- func (*CreateServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateServiceRequest) GetParent() string
- func (x *CreateServiceRequest) GetService() *Service
- func (x *CreateServiceRequest) GetServiceId() string
- func (x *CreateServiceRequest) GetValidateOnly() bool
- func (*CreateServiceRequest) ProtoMessage()
- func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateServiceRequest) Reset()
- func (x *CreateServiceRequest) String() string
- type DeleteExecutionRequest
- func (*DeleteExecutionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteExecutionRequest) GetEtag() string
- func (x *DeleteExecutionRequest) GetName() string
- func (x *DeleteExecutionRequest) GetValidateOnly() bool
- func (*DeleteExecutionRequest) ProtoMessage()
- func (x *DeleteExecutionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteExecutionRequest) Reset()
- func (x *DeleteExecutionRequest) String() string
- type DeleteJobRequest
- func (*DeleteJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteJobRequest) GetEtag() string
- func (x *DeleteJobRequest) GetName() string
- func (x *DeleteJobRequest) GetValidateOnly() bool
- func (*DeleteJobRequest) ProtoMessage()
- func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteJobRequest) Reset()
- func (x *DeleteJobRequest) String() string
- type DeleteRevisionRequest
- func (*DeleteRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRevisionRequest) GetEtag() string
- func (x *DeleteRevisionRequest) GetName() string
- func (x *DeleteRevisionRequest) GetValidateOnly() bool
- func (*DeleteRevisionRequest) ProtoMessage()
- func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRevisionRequest) Reset()
- func (x *DeleteRevisionRequest) String() string
- type DeleteServiceRequest
- func (*DeleteServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteServiceRequest) GetEtag() string
- func (x *DeleteServiceRequest) GetName() string
- func (x *DeleteServiceRequest) GetValidateOnly() bool
- func (*DeleteServiceRequest) ProtoMessage()
- func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteServiceRequest) Reset()
- func (x *DeleteServiceRequest) String() string
- type EmptyDirVolumeSource
- func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *EmptyDirVolumeSource) GetMedium() EmptyDirVolumeSource_Medium
- func (x *EmptyDirVolumeSource) GetSizeLimit() string
- func (*EmptyDirVolumeSource) ProtoMessage()
- func (x *EmptyDirVolumeSource) ProtoReflect() protoreflect.Message
- func (x *EmptyDirVolumeSource) Reset()
- func (x *EmptyDirVolumeSource) String() string
- type EmptyDirVolumeSource_Medium
- func (EmptyDirVolumeSource_Medium) Descriptor() protoreflect.EnumDescriptor
- func (x EmptyDirVolumeSource_Medium) Enum() *EmptyDirVolumeSource_Medium
- func (EmptyDirVolumeSource_Medium) EnumDescriptor() ([]byte, []int)deprecated
- func (x EmptyDirVolumeSource_Medium) Number() protoreflect.EnumNumber
- func (x EmptyDirVolumeSource_Medium) String() string
- func (EmptyDirVolumeSource_Medium) Type() protoreflect.EnumType
- type EncryptionKeyRevocationAction
- func (EncryptionKeyRevocationAction) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionKeyRevocationAction) Enum() *EncryptionKeyRevocationAction
- func (EncryptionKeyRevocationAction) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionKeyRevocationAction) Number() protoreflect.EnumNumber
- func (x EncryptionKeyRevocationAction) String() string
- func (EncryptionKeyRevocationAction) Type() protoreflect.EnumType
- type EnvVar
- func (*EnvVar) Descriptor() ([]byte, []int)deprecated
- func (x *EnvVar) GetName() string
- func (x *EnvVar) GetValue() string
- func (x *EnvVar) GetValueSource() *EnvVarSource
- func (m *EnvVar) GetValues() isEnvVar_Values
- func (*EnvVar) ProtoMessage()
- func (x *EnvVar) ProtoReflect() protoreflect.Message
- func (x *EnvVar) Reset()
- func (x *EnvVar) String() string
- type EnvVarSource
- type EnvVar_Value
- type EnvVar_ValueSource
- type Execution
- func (*Execution) Descriptor() ([]byte, []int)deprecated
- func (x *Execution) GetAnnotations() map[string]string
- func (x *Execution) GetCancelledCount() int32
- func (x *Execution) GetCompletionTime() *timestamppb.Timestamp
- func (x *Execution) GetConditions() []*Condition
- func (x *Execution) GetCreateTime() *timestamppb.Timestamp
- func (x *Execution) GetDeleteTime() *timestamppb.Timestamp
- func (x *Execution) GetEtag() string
- func (x *Execution) GetExpireTime() *timestamppb.Timestamp
- func (x *Execution) GetFailedCount() int32
- func (x *Execution) GetGeneration() int64
- func (x *Execution) GetJob() string
- func (x *Execution) GetLabels() map[string]string
- func (x *Execution) GetLaunchStage() api.LaunchStage
- func (x *Execution) GetLogUri() string
- func (x *Execution) GetName() string
- func (x *Execution) GetObservedGeneration() int64
- func (x *Execution) GetParallelism() int32
- func (x *Execution) GetReconciling() bool
- func (x *Execution) GetRetriedCount() int32
- func (x *Execution) GetRunningCount() int32
- func (x *Execution) GetSatisfiesPzs() bool
- func (x *Execution) GetStartTime() *timestamppb.Timestamp
- func (x *Execution) GetSucceededCount() int32
- func (x *Execution) GetTaskCount() int32
- func (x *Execution) GetTemplate() *TaskTemplate
- func (x *Execution) GetUid() string
- func (x *Execution) GetUpdateTime() *timestamppb.Timestamp
- func (*Execution) ProtoMessage()
- func (x *Execution) ProtoReflect() protoreflect.Message
- func (x *Execution) Reset()
- func (x *Execution) String() string
- type ExecutionEnvironment
- func (ExecutionEnvironment) Descriptor() protoreflect.EnumDescriptor
- func (x ExecutionEnvironment) Enum() *ExecutionEnvironment
- func (ExecutionEnvironment) EnumDescriptor() ([]byte, []int)deprecated
- func (x ExecutionEnvironment) Number() protoreflect.EnumNumber
- func (x ExecutionEnvironment) String() string
- func (ExecutionEnvironment) Type() protoreflect.EnumType
- type ExecutionReference
- func (*ExecutionReference) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionReference) GetCompletionTime() *timestamppb.Timestamp
- func (x *ExecutionReference) GetCreateTime() *timestamppb.Timestamp
- func (x *ExecutionReference) GetName() string
- func (*ExecutionReference) ProtoMessage()
- func (x *ExecutionReference) ProtoReflect() protoreflect.Message
- func (x *ExecutionReference) Reset()
- func (x *ExecutionReference) String() string
- type ExecutionTemplate
- func (*ExecutionTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ExecutionTemplate) GetAnnotations() map[string]string
- func (x *ExecutionTemplate) GetLabels() map[string]string
- func (x *ExecutionTemplate) GetParallelism() int32
- func (x *ExecutionTemplate) GetTaskCount() int32
- func (x *ExecutionTemplate) GetTemplate() *TaskTemplate
- func (*ExecutionTemplate) ProtoMessage()
- func (x *ExecutionTemplate) ProtoReflect() protoreflect.Message
- func (x *ExecutionTemplate) Reset()
- func (x *ExecutionTemplate) String() string
- type ExecutionsClient
- type ExecutionsServer
- type GCSVolumeSource
- func (*GCSVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *GCSVolumeSource) GetBucket() string
- func (x *GCSVolumeSource) GetReadOnly() bool
- func (*GCSVolumeSource) ProtoMessage()
- func (x *GCSVolumeSource) ProtoReflect() protoreflect.Message
- func (x *GCSVolumeSource) Reset()
- func (x *GCSVolumeSource) String() string
- type GRPCAction
- type GetExecutionRequest
- func (*GetExecutionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetExecutionRequest) GetName() string
- func (*GetExecutionRequest) ProtoMessage()
- func (x *GetExecutionRequest) ProtoReflect() protoreflect.Message
- func (x *GetExecutionRequest) Reset()
- func (x *GetExecutionRequest) String() string
- type GetJobRequest
- type GetRevisionRequest
- func (*GetRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRevisionRequest) GetName() string
- func (*GetRevisionRequest) ProtoMessage()
- func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *GetRevisionRequest) Reset()
- func (x *GetRevisionRequest) String() string
- type GetServiceRequest
- type GetTaskRequest
- type HTTPGetAction
- func (*HTTPGetAction) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
- func (x *HTTPGetAction) GetPath() string
- func (x *HTTPGetAction) GetPort() int32
- func (*HTTPGetAction) ProtoMessage()
- func (x *HTTPGetAction) ProtoReflect() protoreflect.Message
- func (x *HTTPGetAction) Reset()
- func (x *HTTPGetAction) String() string
- type HTTPHeader
- type IngressTraffic
- func (IngressTraffic) Descriptor() protoreflect.EnumDescriptor
- func (x IngressTraffic) Enum() *IngressTraffic
- func (IngressTraffic) EnumDescriptor() ([]byte, []int)deprecated
- func (x IngressTraffic) Number() protoreflect.EnumNumber
- func (x IngressTraffic) String() string
- func (IngressTraffic) Type() protoreflect.EnumType
- type Job
- func (*Job) Descriptor() ([]byte, []int)deprecated
- func (x *Job) GetAnnotations() map[string]string
- func (x *Job) GetBinaryAuthorization() *BinaryAuthorization
- func (x *Job) GetClient() string
- func (x *Job) GetClientVersion() string
- func (x *Job) GetConditions() []*Condition
- func (x *Job) GetCreateTime() *timestamppb.Timestamp
- func (x *Job) GetCreator() string
- func (x *Job) GetDeleteTime() *timestamppb.Timestamp
- func (x *Job) GetEtag() string
- func (x *Job) GetExecutionCount() int32
- func (x *Job) GetExpireTime() *timestamppb.Timestamp
- func (x *Job) GetGeneration() int64
- func (x *Job) GetLabels() map[string]string
- func (x *Job) GetLastModifier() string
- func (x *Job) GetLatestCreatedExecution() *ExecutionReference
- func (x *Job) GetLaunchStage() api.LaunchStage
- func (x *Job) GetName() string
- func (x *Job) GetObservedGeneration() int64
- func (x *Job) GetReconciling() bool
- func (x *Job) GetSatisfiesPzs() bool
- func (x *Job) GetTemplate() *ExecutionTemplate
- func (x *Job) GetTerminalCondition() *Condition
- func (x *Job) GetUid() string
- func (x *Job) GetUpdateTime() *timestamppb.Timestamp
- func (*Job) ProtoMessage()
- func (x *Job) ProtoReflect() protoreflect.Message
- func (x *Job) Reset()
- func (x *Job) String() string
- type JobsClient
- type JobsServer
- type ListExecutionsRequest
- func (*ListExecutionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListExecutionsRequest) GetPageSize() int32
- func (x *ListExecutionsRequest) GetPageToken() string
- func (x *ListExecutionsRequest) GetParent() string
- func (x *ListExecutionsRequest) GetShowDeleted() bool
- func (*ListExecutionsRequest) ProtoMessage()
- func (x *ListExecutionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListExecutionsRequest) Reset()
- func (x *ListExecutionsRequest) String() string
- type ListExecutionsResponse
- func (*ListExecutionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListExecutionsResponse) GetExecutions() []*Execution
- func (x *ListExecutionsResponse) GetNextPageToken() string
- func (*ListExecutionsResponse) ProtoMessage()
- func (x *ListExecutionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListExecutionsResponse) Reset()
- func (x *ListExecutionsResponse) String() string
- type ListJobsRequest
- func (*ListJobsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsRequest) GetPageSize() int32
- func (x *ListJobsRequest) GetPageToken() string
- func (x *ListJobsRequest) GetParent() string
- func (x *ListJobsRequest) GetShowDeleted() bool
- func (*ListJobsRequest) ProtoMessage()
- func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
- func (x *ListJobsRequest) Reset()
- func (x *ListJobsRequest) String() string
- type ListJobsResponse
- func (*ListJobsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListJobsResponse) GetJobs() []*Job
- func (x *ListJobsResponse) GetNextPageToken() string
- func (*ListJobsResponse) ProtoMessage()
- func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
- func (x *ListJobsResponse) Reset()
- func (x *ListJobsResponse) String() string
- type ListRevisionsRequest
- func (*ListRevisionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsRequest) GetPageSize() int32
- func (x *ListRevisionsRequest) GetPageToken() string
- func (x *ListRevisionsRequest) GetParent() string
- func (x *ListRevisionsRequest) GetShowDeleted() bool
- func (*ListRevisionsRequest) ProtoMessage()
- func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsRequest) Reset()
- func (x *ListRevisionsRequest) String() string
- type ListRevisionsResponse
- func (*ListRevisionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRevisionsResponse) GetNextPageToken() string
- func (x *ListRevisionsResponse) GetRevisions() []*Revision
- func (*ListRevisionsResponse) ProtoMessage()
- func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRevisionsResponse) Reset()
- func (x *ListRevisionsResponse) String() string
- type ListServicesRequest
- func (*ListServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesRequest) GetPageSize() int32
- func (x *ListServicesRequest) GetPageToken() string
- func (x *ListServicesRequest) GetParent() string
- func (x *ListServicesRequest) GetShowDeleted() bool
- func (*ListServicesRequest) ProtoMessage()
- func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
- func (x *ListServicesRequest) Reset()
- func (x *ListServicesRequest) String() string
- type ListServicesResponse
- func (*ListServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListServicesResponse) GetNextPageToken() string
- func (x *ListServicesResponse) GetServices() []*Service
- func (*ListServicesResponse) ProtoMessage()
- func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ListServicesResponse) Reset()
- func (x *ListServicesResponse) String() string
- type ListTasksRequest
- func (*ListTasksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksRequest) GetPageSize() int32
- func (x *ListTasksRequest) GetPageToken() string
- func (x *ListTasksRequest) GetParent() string
- func (x *ListTasksRequest) GetShowDeleted() bool
- func (*ListTasksRequest) ProtoMessage()
- func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
- func (x *ListTasksRequest) Reset()
- func (x *ListTasksRequest) String() string
- type ListTasksResponse
- func (*ListTasksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTasksResponse) GetNextPageToken() string
- func (x *ListTasksResponse) GetTasks() []*Task
- func (*ListTasksResponse) ProtoMessage()
- func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
- func (x *ListTasksResponse) Reset()
- func (x *ListTasksResponse) String() string
- type NFSVolumeSource
- func (*NFSVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *NFSVolumeSource) GetPath() string
- func (x *NFSVolumeSource) GetReadOnly() bool
- func (x *NFSVolumeSource) GetServer() string
- func (*NFSVolumeSource) ProtoMessage()
- func (x *NFSVolumeSource) ProtoReflect() protoreflect.Message
- func (x *NFSVolumeSource) Reset()
- func (x *NFSVolumeSource) String() string
- type Probe
- func (*Probe) Descriptor() ([]byte, []int)deprecated
- func (x *Probe) GetFailureThreshold() int32
- func (x *Probe) GetGrpc() *GRPCAction
- func (x *Probe) GetHttpGet() *HTTPGetAction
- func (x *Probe) GetInitialDelaySeconds() int32
- func (x *Probe) GetPeriodSeconds() int32
- func (m *Probe) GetProbeType() isProbe_ProbeType
- func (x *Probe) GetTcpSocket() *TCPSocketAction
- func (x *Probe) GetTimeoutSeconds() int32
- func (*Probe) ProtoMessage()
- func (x *Probe) ProtoReflect() protoreflect.Message
- func (x *Probe) Reset()
- func (x *Probe) String() string
- type Probe_Grpc
- type Probe_HttpGet
- type Probe_TcpSocket
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRequirements) GetCpuIdle() bool
- func (x *ResourceRequirements) GetLimits() map[string]string
- func (x *ResourceRequirements) GetStartupCpuBoost() bool
- func (*ResourceRequirements) ProtoMessage()
- func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
- func (x *ResourceRequirements) Reset()
- func (x *ResourceRequirements) String() string
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)deprecated
- func (x *Revision) GetAnnotations() map[string]string
- func (x *Revision) GetConditions() []*Condition
- func (x *Revision) GetContainers() []*Container
- func (x *Revision) GetCreateTime() *timestamppb.Timestamp
- func (x *Revision) GetDeleteTime() *timestamppb.Timestamp
- func (x *Revision) GetEncryptionKey() string
- func (x *Revision) GetEncryptionKeyRevocationAction() EncryptionKeyRevocationAction
- func (x *Revision) GetEncryptionKeyShutdownDuration() *durationpb.Duration
- func (x *Revision) GetEtag() string
- func (x *Revision) GetExecutionEnvironment() ExecutionEnvironment
- func (x *Revision) GetExpireTime() *timestamppb.Timestamp
- func (x *Revision) GetGeneration() int64
- func (x *Revision) GetLabels() map[string]string
- func (x *Revision) GetLaunchStage() api.LaunchStage
- func (x *Revision) GetLogUri() string
- func (x *Revision) GetMaxInstanceRequestConcurrency() int32
- func (x *Revision) GetName() string
- func (x *Revision) GetObservedGeneration() int64
- func (x *Revision) GetReconciling() bool
- func (x *Revision) GetSatisfiesPzs() bool
- func (x *Revision) GetScaling() *RevisionScaling
- func (x *Revision) GetScalingStatus() *RevisionScalingStatus
- func (x *Revision) GetService() string
- func (x *Revision) GetServiceAccount() string
- func (x *Revision) GetSessionAffinity() bool
- func (x *Revision) GetTimeout() *durationpb.Duration
- func (x *Revision) GetUid() string
- func (x *Revision) GetUpdateTime() *timestamppb.Timestamp
- func (x *Revision) GetVolumes() []*Volume
- func (x *Revision) GetVpcAccess() *VpcAccess
- func (*Revision) ProtoMessage()
- func (x *Revision) ProtoReflect() protoreflect.Message
- func (x *Revision) Reset()
- func (x *Revision) String() string
- type RevisionScaling
- func (*RevisionScaling) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionScaling) GetMaxInstanceCount() int32
- func (x *RevisionScaling) GetMinInstanceCount() int32
- func (*RevisionScaling) ProtoMessage()
- func (x *RevisionScaling) ProtoReflect() protoreflect.Message
- func (x *RevisionScaling) Reset()
- func (x *RevisionScaling) String() string
- type RevisionScalingStatus
- func (*RevisionScalingStatus) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionScalingStatus) GetDesiredMinInstanceCount() int32
- func (*RevisionScalingStatus) ProtoMessage()
- func (x *RevisionScalingStatus) ProtoReflect() protoreflect.Message
- func (x *RevisionScalingStatus) Reset()
- func (x *RevisionScalingStatus) String() string
- type RevisionTemplate
- func (*RevisionTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *RevisionTemplate) GetAnnotations() map[string]string
- func (x *RevisionTemplate) GetContainers() []*Container
- func (x *RevisionTemplate) GetEncryptionKey() string
- func (x *RevisionTemplate) GetExecutionEnvironment() ExecutionEnvironment
- func (x *RevisionTemplate) GetHealthCheckDisabled() bool
- func (x *RevisionTemplate) GetLabels() map[string]string
- func (x *RevisionTemplate) GetMaxInstanceRequestConcurrency() int32
- func (x *RevisionTemplate) GetRevision() string
- func (x *RevisionTemplate) GetScaling() *RevisionScaling
- func (x *RevisionTemplate) GetServiceAccount() string
- func (x *RevisionTemplate) GetSessionAffinity() bool
- func (x *RevisionTemplate) GetTimeout() *durationpb.Duration
- func (x *RevisionTemplate) GetVolumes() []*Volume
- func (x *RevisionTemplate) GetVpcAccess() *VpcAccess
- func (*RevisionTemplate) ProtoMessage()
- func (x *RevisionTemplate) ProtoReflect() protoreflect.Message
- func (x *RevisionTemplate) Reset()
- func (x *RevisionTemplate) String() string
- type RevisionsClient
- type RevisionsServer
- type RunJobRequest
- func (*RunJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunJobRequest) GetEtag() string
- func (x *RunJobRequest) GetName() string
- func (x *RunJobRequest) GetOverrides() *RunJobRequest_Overrides
- func (x *RunJobRequest) GetValidateOnly() bool
- func (*RunJobRequest) ProtoMessage()
- func (x *RunJobRequest) ProtoReflect() protoreflect.Message
- func (x *RunJobRequest) Reset()
- func (x *RunJobRequest) String() string
- type RunJobRequest_Overrides
- func (*RunJobRequest_Overrides) Descriptor() ([]byte, []int)deprecated
- func (x *RunJobRequest_Overrides) GetContainerOverrides() []*RunJobRequest_Overrides_ContainerOverride
- func (x *RunJobRequest_Overrides) GetTaskCount() int32
- func (x *RunJobRequest_Overrides) GetTimeout() *durationpb.Duration
- func (*RunJobRequest_Overrides) ProtoMessage()
- func (x *RunJobRequest_Overrides) ProtoReflect() protoreflect.Message
- func (x *RunJobRequest_Overrides) Reset()
- func (x *RunJobRequest_Overrides) String() string
- type RunJobRequest_Overrides_ContainerOverride
- func (*RunJobRequest_Overrides_ContainerOverride) Descriptor() ([]byte, []int)deprecated
- func (x *RunJobRequest_Overrides_ContainerOverride) GetArgs() []string
- func (x *RunJobRequest_Overrides_ContainerOverride) GetClearArgs() bool
- func (x *RunJobRequest_Overrides_ContainerOverride) GetEnv() []*EnvVar
- func (x *RunJobRequest_Overrides_ContainerOverride) GetName() string
- func (*RunJobRequest_Overrides_ContainerOverride) ProtoMessage()
- func (x *RunJobRequest_Overrides_ContainerOverride) ProtoReflect() protoreflect.Message
- func (x *RunJobRequest_Overrides_ContainerOverride) Reset()
- func (x *RunJobRequest_Overrides_ContainerOverride) String() string
- type SecretKeySelector
- func (*SecretKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *SecretKeySelector) GetSecret() string
- func (x *SecretKeySelector) GetVersion() string
- func (*SecretKeySelector) ProtoMessage()
- func (x *SecretKeySelector) ProtoReflect() protoreflect.Message
- func (x *SecretKeySelector) Reset()
- func (x *SecretKeySelector) String() string
- type SecretVolumeSource
- func (*SecretVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *SecretVolumeSource) GetDefaultMode() int32
- func (x *SecretVolumeSource) GetItems() []*VersionToPath
- func (x *SecretVolumeSource) GetSecret() string
- func (*SecretVolumeSource) ProtoMessage()
- func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message
- func (x *SecretVolumeSource) Reset()
- func (x *SecretVolumeSource) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetAnnotations() map[string]string
- func (x *Service) GetBinaryAuthorization() *BinaryAuthorization
- func (x *Service) GetClient() string
- func (x *Service) GetClientVersion() string
- func (x *Service) GetConditions() []*Condition
- func (x *Service) GetCreateTime() *timestamppb.Timestamp
- func (x *Service) GetCreator() string
- func (x *Service) GetCustomAudiences() []string
- func (x *Service) GetDefaultUriDisabled() bool
- func (x *Service) GetDeleteTime() *timestamppb.Timestamp
- func (x *Service) GetDescription() string
- func (x *Service) GetEtag() string
- func (x *Service) GetExpireTime() *timestamppb.Timestamp
- func (x *Service) GetGeneration() int64
- func (x *Service) GetIngress() IngressTraffic
- func (x *Service) GetLabels() map[string]string
- func (x *Service) GetLastModifier() string
- func (x *Service) GetLatestCreatedRevision() string
- func (x *Service) GetLatestReadyRevision() string
- func (x *Service) GetLaunchStage() api.LaunchStage
- func (x *Service) GetName() string
- func (x *Service) GetObservedGeneration() int64
- func (x *Service) GetReconciling() bool
- func (x *Service) GetSatisfiesPzs() bool
- func (x *Service) GetScaling() *ServiceScaling
- func (x *Service) GetTemplate() *RevisionTemplate
- func (x *Service) GetTerminalCondition() *Condition
- func (x *Service) GetTraffic() []*TrafficTarget
- func (x *Service) GetTrafficStatuses() []*TrafficTargetStatus
- func (x *Service) GetUid() string
- func (x *Service) GetUpdateTime() *timestamppb.Timestamp
- func (x *Service) GetUri() string
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceScaling
- type ServicesClient
- type ServicesServer
- type TCPSocketAction
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAnnotations() map[string]string
- func (x *Task) GetCompletionTime() *timestamppb.Timestamp
- func (x *Task) GetConditions() []*Condition
- func (x *Task) GetContainers() []*Container
- func (x *Task) GetCreateTime() *timestamppb.Timestamp
- func (x *Task) GetDeleteTime() *timestamppb.Timestamp
- func (x *Task) GetEncryptionKey() string
- func (x *Task) GetEtag() string
- func (x *Task) GetExecution() string
- func (x *Task) GetExecutionEnvironment() ExecutionEnvironment
- func (x *Task) GetExpireTime() *timestamppb.Timestamp
- func (x *Task) GetGeneration() int64
- func (x *Task) GetIndex() int32
- func (x *Task) GetJob() string
- func (x *Task) GetLabels() map[string]string
- func (x *Task) GetLastAttemptResult() *TaskAttemptResult
- func (x *Task) GetLogUri() string
- func (x *Task) GetMaxRetries() int32
- func (x *Task) GetName() string
- func (x *Task) GetObservedGeneration() int64
- func (x *Task) GetReconciling() bool
- func (x *Task) GetRetried() int32
- func (x *Task) GetSatisfiesPzs() bool
- func (x *Task) GetScheduledTime() *timestamppb.Timestamp
- func (x *Task) GetServiceAccount() string
- func (x *Task) GetStartTime() *timestamppb.Timestamp
- func (x *Task) GetTimeout() *durationpb.Duration
- func (x *Task) GetUid() string
- func (x *Task) GetUpdateTime() *timestamppb.Timestamp
- func (x *Task) GetVolumes() []*Volume
- func (x *Task) GetVpcAccess() *VpcAccess
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- type TaskAttemptResult
- func (*TaskAttemptResult) Descriptor() ([]byte, []int)deprecated
- func (x *TaskAttemptResult) GetExitCode() int32
- func (x *TaskAttemptResult) GetStatus() *status.Status
- func (*TaskAttemptResult) ProtoMessage()
- func (x *TaskAttemptResult) ProtoReflect() protoreflect.Message
- func (x *TaskAttemptResult) Reset()
- func (x *TaskAttemptResult) String() string
- type TaskTemplate
- func (*TaskTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *TaskTemplate) GetContainers() []*Container
- func (x *TaskTemplate) GetEncryptionKey() string
- func (x *TaskTemplate) GetExecutionEnvironment() ExecutionEnvironment
- func (x *TaskTemplate) GetMaxRetries() int32
- func (m *TaskTemplate) GetRetries() isTaskTemplate_Retries
- func (x *TaskTemplate) GetServiceAccount() string
- func (x *TaskTemplate) GetTimeout() *durationpb.Duration
- func (x *TaskTemplate) GetVolumes() []*Volume
- func (x *TaskTemplate) GetVpcAccess() *VpcAccess
- func (*TaskTemplate) ProtoMessage()
- func (x *TaskTemplate) ProtoReflect() protoreflect.Message
- func (x *TaskTemplate) Reset()
- func (x *TaskTemplate) String() string
- type TaskTemplate_MaxRetries
- type TasksClient
- type TasksServer
- type TrafficTarget
- func (*TrafficTarget) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficTarget) GetPercent() int32
- func (x *TrafficTarget) GetRevision() string
- func (x *TrafficTarget) GetTag() string
- func (x *TrafficTarget) GetType() TrafficTargetAllocationType
- func (*TrafficTarget) ProtoMessage()
- func (x *TrafficTarget) ProtoReflect() protoreflect.Message
- func (x *TrafficTarget) Reset()
- func (x *TrafficTarget) String() string
- type TrafficTargetAllocationType
- func (TrafficTargetAllocationType) Descriptor() protoreflect.EnumDescriptor
- func (x TrafficTargetAllocationType) Enum() *TrafficTargetAllocationType
- func (TrafficTargetAllocationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TrafficTargetAllocationType) Number() protoreflect.EnumNumber
- func (x TrafficTargetAllocationType) String() string
- func (TrafficTargetAllocationType) Type() protoreflect.EnumType
- type TrafficTargetStatus
- func (*TrafficTargetStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TrafficTargetStatus) GetPercent() int32
- func (x *TrafficTargetStatus) GetRevision() string
- func (x *TrafficTargetStatus) GetTag() string
- func (x *TrafficTargetStatus) GetType() TrafficTargetAllocationType
- func (x *TrafficTargetStatus) GetUri() string
- func (*TrafficTargetStatus) ProtoMessage()
- func (x *TrafficTargetStatus) ProtoReflect() protoreflect.Message
- func (x *TrafficTargetStatus) Reset()
- func (x *TrafficTargetStatus) String() string
- type UnimplementedExecutionsServer
- func (*UnimplementedExecutionsServer) CancelExecution(context.Context, *CancelExecutionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedExecutionsServer) DeleteExecution(context.Context, *DeleteExecutionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedExecutionsServer) GetExecution(context.Context, *GetExecutionRequest) (*Execution, error)
- func (*UnimplementedExecutionsServer) ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error)
- type UnimplementedJobsServer
- func (*UnimplementedJobsServer) CreateJob(context.Context, *CreateJobRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedJobsServer) DeleteJob(context.Context, *DeleteJobRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedJobsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedJobsServer) GetJob(context.Context, *GetJobRequest) (*Job, error)
- func (*UnimplementedJobsServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
- func (*UnimplementedJobsServer) RunJob(context.Context, *RunJobRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedJobsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedJobsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (*UnimplementedJobsServer) UpdateJob(context.Context, *UpdateJobRequest) (*longrunningpb.Operation, error)
- type UnimplementedRevisionsServer
- func (*UnimplementedRevisionsServer) DeleteRevision(context.Context, *DeleteRevisionRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedRevisionsServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
- func (*UnimplementedRevisionsServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
- type UnimplementedServicesServer
- func (*UnimplementedServicesServer) CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedServicesServer) DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedServicesServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedServicesServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
- func (*UnimplementedServicesServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
- func (*UnimplementedServicesServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
- func (*UnimplementedServicesServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
- func (*UnimplementedServicesServer) UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
- type UnimplementedTasksServer
- type UpdateJobRequest
- func (*UpdateJobRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateJobRequest) GetAllowMissing() bool
- func (x *UpdateJobRequest) GetJob() *Job
- func (x *UpdateJobRequest) GetValidateOnly() bool
- func (*UpdateJobRequest) ProtoMessage()
- func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateJobRequest) Reset()
- func (x *UpdateJobRequest) String() string
- type UpdateServiceRequest
- func (*UpdateServiceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateServiceRequest) GetAllowMissing() bool
- func (x *UpdateServiceRequest) GetService() *Service
- func (x *UpdateServiceRequest) GetValidateOnly() bool
- func (*UpdateServiceRequest) ProtoMessage()
- func (x *UpdateServiceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateServiceRequest) Reset()
- func (x *UpdateServiceRequest) String() string
- type VersionToPath
- func (*VersionToPath) Descriptor() ([]byte, []int)deprecated
- func (x *VersionToPath) GetMode() int32
- func (x *VersionToPath) GetPath() string
- func (x *VersionToPath) GetVersion() string
- func (*VersionToPath) ProtoMessage()
- func (x *VersionToPath) ProtoReflect() protoreflect.Message
- func (x *VersionToPath) Reset()
- func (x *VersionToPath) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetCloudSqlInstance() *CloudSqlInstance
- func (x *Volume) GetEmptyDir() *EmptyDirVolumeSource
- func (x *Volume) GetGcs() *GCSVolumeSource
- func (x *Volume) GetName() string
- func (x *Volume) GetNfs() *NFSVolumeSource
- func (x *Volume) GetSecret() *SecretVolumeSource
- func (m *Volume) GetVolumeType() isVolume_VolumeType
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetName() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- type Volume_CloudSqlInstance
- type Volume_EmptyDir
- type Volume_Gcs
- type Volume_Nfs
- type Volume_Secret
- type VpcAccess
- func (*VpcAccess) Descriptor() ([]byte, []int)deprecated
- func (x *VpcAccess) GetConnector() string
- func (x *VpcAccess) GetEgress() VpcAccess_VpcEgress
- func (x *VpcAccess) GetNetworkInterfaces() []*VpcAccess_NetworkInterface
- func (*VpcAccess) ProtoMessage()
- func (x *VpcAccess) ProtoReflect() protoreflect.Message
- func (x *VpcAccess) Reset()
- func (x *VpcAccess) String() string
- type VpcAccess_NetworkInterface
- func (*VpcAccess_NetworkInterface) Descriptor() ([]byte, []int)deprecated
- func (x *VpcAccess_NetworkInterface) GetNetwork() string
- func (x *VpcAccess_NetworkInterface) GetSubnetwork() string
- func (x *VpcAccess_NetworkInterface) GetTags() []string
- func (*VpcAccess_NetworkInterface) ProtoMessage()
- func (x *VpcAccess_NetworkInterface) ProtoReflect() protoreflect.Message
- func (x *VpcAccess_NetworkInterface) Reset()
- func (x *VpcAccess_NetworkInterface) String() string
- type VpcAccess_VpcEgress
- func (VpcAccess_VpcEgress) Descriptor() protoreflect.EnumDescriptor
- func (x VpcAccess_VpcEgress) Enum() *VpcAccess_VpcEgress
- func (VpcAccess_VpcEgress) EnumDescriptor() ([]byte, []int)deprecated
- func (x VpcAccess_VpcEgress) Number() protoreflect.EnumNumber
- func (x VpcAccess_VpcEgress) String() string
- func (VpcAccess_VpcEgress) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Condition_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CONDITION_PENDING", 2: "CONDITION_RECONCILING", 3: "CONDITION_FAILED", 4: "CONDITION_SUCCEEDED", } Condition_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CONDITION_PENDING": 1, "CONDITION_RECONCILING": 2, "CONDITION_FAILED": 3, "CONDITION_SUCCEEDED": 4, } )
Enum value maps for Condition_State.
var ( Condition_Severity_name = map[int32]string{ 0: "SEVERITY_UNSPECIFIED", 1: "ERROR", 2: "WARNING", 3: "INFO", } Condition_Severity_value = map[string]int32{ "SEVERITY_UNSPECIFIED": 0, "ERROR": 1, "WARNING": 2, "INFO": 3, } )
Enum value maps for Condition_Severity.
var ( Condition_CommonReason_name = map[int32]string{ 0: "COMMON_REASON_UNDEFINED", 1: "UNKNOWN", 3: "REVISION_FAILED", 4: "PROGRESS_DEADLINE_EXCEEDED", 6: "CONTAINER_MISSING", 7: "CONTAINER_PERMISSION_DENIED", 8: "CONTAINER_IMAGE_UNAUTHORIZED", 9: "CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED", 10: "ENCRYPTION_KEY_PERMISSION_DENIED", 11: "ENCRYPTION_KEY_CHECK_FAILED", 12: "SECRETS_ACCESS_CHECK_FAILED", 13: "WAITING_FOR_OPERATION", 14: "IMMEDIATE_RETRY", 15: "POSTPONED_RETRY", 16: "INTERNAL", } Condition_CommonReason_value = map[string]int32{ "COMMON_REASON_UNDEFINED": 0, "UNKNOWN": 1, "REVISION_FAILED": 3, "PROGRESS_DEADLINE_EXCEEDED": 4, "CONTAINER_MISSING": 6, "CONTAINER_PERMISSION_DENIED": 7, "CONTAINER_IMAGE_UNAUTHORIZED": 8, "CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED": 9, "ENCRYPTION_KEY_PERMISSION_DENIED": 10, "ENCRYPTION_KEY_CHECK_FAILED": 11, "SECRETS_ACCESS_CHECK_FAILED": 12, "WAITING_FOR_OPERATION": 13, "IMMEDIATE_RETRY": 14, "POSTPONED_RETRY": 15, "INTERNAL": 16, } )
Enum value maps for Condition_CommonReason.
var ( Condition_RevisionReason_name = map[int32]string{ 0: "REVISION_REASON_UNDEFINED", 1: "PENDING", 2: "RESERVE", 3: "RETIRED", 4: "RETIRING", 5: "RECREATING", 6: "HEALTH_CHECK_CONTAINER_ERROR", 7: "CUSTOMIZED_PATH_RESPONSE_PENDING", 8: "MIN_INSTANCES_NOT_PROVISIONED", 9: "ACTIVE_REVISION_LIMIT_REACHED", 10: "NO_DEPLOYMENT", 11: "HEALTH_CHECK_SKIPPED", 12: "MIN_INSTANCES_WARMING", } Condition_RevisionReason_value = map[string]int32{ "REVISION_REASON_UNDEFINED": 0, "PENDING": 1, "RESERVE": 2, "RETIRED": 3, "RETIRING": 4, "RECREATING": 5, "HEALTH_CHECK_CONTAINER_ERROR": 6, "CUSTOMIZED_PATH_RESPONSE_PENDING": 7, "MIN_INSTANCES_NOT_PROVISIONED": 8, "ACTIVE_REVISION_LIMIT_REACHED": 9, "NO_DEPLOYMENT": 10, "HEALTH_CHECK_SKIPPED": 11, "MIN_INSTANCES_WARMING": 12, } )
Enum value maps for Condition_RevisionReason.
var ( Condition_ExecutionReason_name = map[int32]string{ 0: "EXECUTION_REASON_UNDEFINED", 1: "JOB_STATUS_SERVICE_POLLING_ERROR", 2: "NON_ZERO_EXIT_CODE", 3: "CANCELLED", 4: "CANCELLING", 5: "DELETED", } Condition_ExecutionReason_value = map[string]int32{ "EXECUTION_REASON_UNDEFINED": 0, "JOB_STATUS_SERVICE_POLLING_ERROR": 1, "NON_ZERO_EXIT_CODE": 2, "CANCELLED": 3, "CANCELLING": 4, "DELETED": 5, } )
Enum value maps for Condition_ExecutionReason.
var ( EmptyDirVolumeSource_Medium_name = map[int32]string{ 0: "MEDIUM_UNSPECIFIED", 1: "MEMORY", } EmptyDirVolumeSource_Medium_value = map[string]int32{ "MEDIUM_UNSPECIFIED": 0, "MEMORY": 1, } )
Enum value maps for EmptyDirVolumeSource_Medium.
var ( TrafficTargetAllocationType_name = map[int32]string{ 0: "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED", 1: "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST", 2: "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION", } TrafficTargetAllocationType_value = map[string]int32{ "TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED": 0, "TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST": 1, "TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION": 2, } )
Enum value maps for TrafficTargetAllocationType.
var ( IngressTraffic_name = map[int32]string{ 0: "INGRESS_TRAFFIC_UNSPECIFIED", 1: "INGRESS_TRAFFIC_ALL", 2: "INGRESS_TRAFFIC_INTERNAL_ONLY", 3: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER", } IngressTraffic_value = map[string]int32{ "INGRESS_TRAFFIC_UNSPECIFIED": 0, "INGRESS_TRAFFIC_ALL": 1, "INGRESS_TRAFFIC_INTERNAL_ONLY": 2, "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER": 3, } )
Enum value maps for IngressTraffic.
var ( ExecutionEnvironment_name = map[int32]string{ 0: "EXECUTION_ENVIRONMENT_UNSPECIFIED", 1: "EXECUTION_ENVIRONMENT_GEN1", 2: "EXECUTION_ENVIRONMENT_GEN2", } ExecutionEnvironment_value = map[string]int32{ "EXECUTION_ENVIRONMENT_UNSPECIFIED": 0, "EXECUTION_ENVIRONMENT_GEN1": 1, "EXECUTION_ENVIRONMENT_GEN2": 2, } )
Enum value maps for ExecutionEnvironment.
var ( EncryptionKeyRevocationAction_name = map[int32]string{ 0: "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED", 1: "PREVENT_NEW", 2: "SHUTDOWN", } EncryptionKeyRevocationAction_value = map[string]int32{ "ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED": 0, "PREVENT_NEW": 1, "SHUTDOWN": 2, } )
Enum value maps for EncryptionKeyRevocationAction.
var ( VpcAccess_VpcEgress_name = map[int32]string{ 0: "VPC_EGRESS_UNSPECIFIED", 1: "ALL_TRAFFIC", 2: "PRIVATE_RANGES_ONLY", } VpcAccess_VpcEgress_value = map[string]int32{ "VPC_EGRESS_UNSPECIFIED": 0, "ALL_TRAFFIC": 1, "PRIVATE_RANGES_ONLY": 2, } )
Enum value maps for VpcAccess_VpcEgress.
var File_google_cloud_run_v2_condition_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_execution_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_execution_template_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_job_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_k8s_min_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_revision_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_revision_template_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_service_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_status_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_task_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_task_template_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_traffic_target_proto protoreflect.FileDescriptor
var File_google_cloud_run_v2_vendor_settings_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExecutionsServer ¶ added in v0.4.0
func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer)
func RegisterJobsServer ¶ added in v0.4.0
func RegisterJobsServer(s *grpc.Server, srv JobsServer)
func RegisterRevisionsServer ¶
func RegisterRevisionsServer(s *grpc.Server, srv RevisionsServer)
func RegisterServicesServer ¶
func RegisterServicesServer(s *grpc.Server, srv ServicesServer)
func RegisterTasksServer ¶ added in v0.4.0
func RegisterTasksServer(s *grpc.Server, srv TasksServer)
Types ¶
type BinaryAuthorization ¶
type BinaryAuthorization struct { // Types that are assignable to BinauthzMethod: // // *BinaryAuthorization_UseDefault BinauthzMethod isBinaryAuthorization_BinauthzMethod `protobuf_oneof:"binauthz_method"` // If present, indicates to use Breakglass using this justification. // If use_default is False, then it must be empty. // For more information on breakglass, see // https://cloud.google.com/binary-authorization/docs/using-breakglass BreakglassJustification string `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
Settings for Binary Authorization feature.
func (*BinaryAuthorization) Descriptor
deprecated
func (*BinaryAuthorization) Descriptor() ([]byte, []int)
Deprecated: Use BinaryAuthorization.ProtoReflect.Descriptor instead.
func (*BinaryAuthorization) GetBinauthzMethod ¶
func (m *BinaryAuthorization) GetBinauthzMethod() isBinaryAuthorization_BinauthzMethod
func (*BinaryAuthorization) GetBreakglassJustification ¶
func (x *BinaryAuthorization) GetBreakglassJustification() string
func (*BinaryAuthorization) GetUseDefault ¶
func (x *BinaryAuthorization) GetUseDefault() bool
func (*BinaryAuthorization) ProtoMessage ¶
func (*BinaryAuthorization) ProtoMessage()
func (*BinaryAuthorization) ProtoReflect ¶
func (x *BinaryAuthorization) ProtoReflect() protoreflect.Message
func (*BinaryAuthorization) Reset ¶
func (x *BinaryAuthorization) Reset()
func (*BinaryAuthorization) String ¶
func (x *BinaryAuthorization) String() string
type BinaryAuthorization_UseDefault ¶
type BinaryAuthorization_UseDefault struct { // If True, indicates to use the default project's binary authorization // policy. If False, binary authorization will be disabled. UseDefault bool `protobuf:"varint,1,opt,name=use_default,json=useDefault,proto3,oneof"` }
type CancelExecutionRequest ¶ added in v1.3.0
type CancelExecutionRequest struct { // Required. The name of the Execution to cancel. // Format: // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, // where `{project}` can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // cancelling any resources. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the resource. // This may be used to detect modification conflict during updates. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message for deleting an Execution.
func (*CancelExecutionRequest) Descriptor
deprecated
added in
v1.3.0
func (*CancelExecutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelExecutionRequest.ProtoReflect.Descriptor instead.
func (*CancelExecutionRequest) GetEtag ¶ added in v1.3.0
func (x *CancelExecutionRequest) GetEtag() string
func (*CancelExecutionRequest) GetName ¶ added in v1.3.0
func (x *CancelExecutionRequest) GetName() string
func (*CancelExecutionRequest) GetValidateOnly ¶ added in v1.3.0
func (x *CancelExecutionRequest) GetValidateOnly() bool
func (*CancelExecutionRequest) ProtoMessage ¶ added in v1.3.0
func (*CancelExecutionRequest) ProtoMessage()
func (*CancelExecutionRequest) ProtoReflect ¶ added in v1.3.0
func (x *CancelExecutionRequest) ProtoReflect() protoreflect.Message
func (*CancelExecutionRequest) Reset ¶ added in v1.3.0
func (x *CancelExecutionRequest) Reset()
func (*CancelExecutionRequest) String ¶ added in v1.3.0
func (x *CancelExecutionRequest) String() string
type CloudSqlInstance ¶
type CloudSqlInstance struct { // The Cloud SQL instance connection names, as can be found in // https://console.cloud.google.com/sql/instances. Visit // https://cloud.google.com/sql/docs/mysql/connect-run for more information on // how to connect Cloud SQL and Cloud Run. Format: // {project}:{location}:{instance} Instances []string `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // contains filtered or unexported fields }
Represents a set of Cloud SQL instances. Each one will be available under /cloudsql/[instance]. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
func (*CloudSqlInstance) Descriptor
deprecated
func (*CloudSqlInstance) Descriptor() ([]byte, []int)
Deprecated: Use CloudSqlInstance.ProtoReflect.Descriptor instead.
func (*CloudSqlInstance) GetInstances ¶
func (x *CloudSqlInstance) GetInstances() []string
func (*CloudSqlInstance) ProtoMessage ¶
func (*CloudSqlInstance) ProtoMessage()
func (*CloudSqlInstance) ProtoReflect ¶
func (x *CloudSqlInstance) ProtoReflect() protoreflect.Message
func (*CloudSqlInstance) Reset ¶
func (x *CloudSqlInstance) Reset()
func (*CloudSqlInstance) String ¶
func (x *CloudSqlInstance) String() string
type Condition ¶
type Condition struct { // type is used to communicate the status of the reconciliation process. // See also: // https://github.com/knative/serving/blob/main/docs/spec/errors.md#error-conditions-and-reporting // Types common to all resources include: // * "Ready": True when the Resource is ready. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // State of the condition. State Condition_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.run.v2.Condition_State" json:"state,omitempty"` // Human readable message indicating details about the current status. Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_transition_time,json=lastTransitionTime,proto3" json:"last_transition_time,omitempty"` // How to interpret failures of this condition, one of Error, Warning, Info Severity Condition_Severity `protobuf:"varint,5,opt,name=severity,proto3,enum=google.cloud.run.v2.Condition_Severity" json:"severity,omitempty"` // The reason for this condition. Depending on the condition type, // it will populate one of these fields. // Successful conditions cannot have a reason. // // Types that are assignable to Reasons: // // *Condition_Reason // *Condition_RevisionReason_ // *Condition_ExecutionReason_ Reasons isCondition_Reasons `protobuf_oneof:"reasons"` // contains filtered or unexported fields }
Defines a status condition for a resource.
func (*Condition) Descriptor
deprecated
func (*Condition) GetExecutionReason ¶
func (x *Condition) GetExecutionReason() Condition_ExecutionReason
func (*Condition) GetLastTransitionTime ¶
func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp
func (*Condition) GetMessage ¶
func (*Condition) GetReason ¶
func (x *Condition) GetReason() Condition_CommonReason
func (*Condition) GetReasons ¶
func (m *Condition) GetReasons() isCondition_Reasons
func (*Condition) GetRevisionReason ¶
func (x *Condition) GetRevisionReason() Condition_RevisionReason
func (*Condition) GetSeverity ¶
func (x *Condition) GetSeverity() Condition_Severity
func (*Condition) GetState ¶
func (x *Condition) GetState() Condition_State
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type Condition_CommonReason ¶
type Condition_CommonReason int32
Reasons common to all types of conditions.
const ( // Default value. Condition_COMMON_REASON_UNDEFINED Condition_CommonReason = 0 // Reason unknown. Further details will be in message. Condition_UNKNOWN Condition_CommonReason = 1 // Revision creation process failed. Condition_REVISION_FAILED Condition_CommonReason = 3 // Timed out waiting for completion. Condition_PROGRESS_DEADLINE_EXCEEDED Condition_CommonReason = 4 // The container image path is incorrect. Condition_CONTAINER_MISSING Condition_CommonReason = 6 // Insufficient permissions on the container image. Condition_CONTAINER_PERMISSION_DENIED Condition_CommonReason = 7 // Container image is not authorized by policy. Condition_CONTAINER_IMAGE_UNAUTHORIZED Condition_CommonReason = 8 // Container image policy authorization check failed. Condition_CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED Condition_CommonReason = 9 // Insufficient permissions on encryption key. Condition_ENCRYPTION_KEY_PERMISSION_DENIED Condition_CommonReason = 10 // Permission check on encryption key failed. Condition_ENCRYPTION_KEY_CHECK_FAILED Condition_CommonReason = 11 // At least one Access check on secrets failed. Condition_SECRETS_ACCESS_CHECK_FAILED Condition_CommonReason = 12 // Waiting for operation to complete. Condition_WAITING_FOR_OPERATION Condition_CommonReason = 13 // System will retry immediately. Condition_IMMEDIATE_RETRY Condition_CommonReason = 14 // System will retry later; current attempt failed. Condition_POSTPONED_RETRY Condition_CommonReason = 15 // An internal error occurred. Further information may be in the message. Condition_INTERNAL Condition_CommonReason = 16 )
func (Condition_CommonReason) Descriptor ¶
func (Condition_CommonReason) Descriptor() protoreflect.EnumDescriptor
func (Condition_CommonReason) Enum ¶
func (x Condition_CommonReason) Enum() *Condition_CommonReason
func (Condition_CommonReason) EnumDescriptor
deprecated
func (Condition_CommonReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Condition_CommonReason.Descriptor instead.
func (Condition_CommonReason) Number ¶
func (x Condition_CommonReason) Number() protoreflect.EnumNumber
func (Condition_CommonReason) String ¶
func (x Condition_CommonReason) String() string
func (Condition_CommonReason) Type ¶
func (Condition_CommonReason) Type() protoreflect.EnumType
type Condition_ExecutionReason ¶
type Condition_ExecutionReason int32
Reasons specific to Execution resource.
const ( // Default value. Condition_EXECUTION_REASON_UNDEFINED Condition_ExecutionReason = 0 // Internal system error getting execution status. System will retry. Condition_JOB_STATUS_SERVICE_POLLING_ERROR Condition_ExecutionReason = 1 // A task reached its retry limit and the last attempt failed due to the // user container exiting with a non-zero exit code. Condition_NON_ZERO_EXIT_CODE Condition_ExecutionReason = 2 // The execution was cancelled by users. Condition_CANCELLED Condition_ExecutionReason = 3 // The execution is in the process of being cancelled. Condition_CANCELLING Condition_ExecutionReason = 4 // The execution was deleted. Condition_DELETED Condition_ExecutionReason = 5 )
func (Condition_ExecutionReason) Descriptor ¶
func (Condition_ExecutionReason) Descriptor() protoreflect.EnumDescriptor
func (Condition_ExecutionReason) Enum ¶
func (x Condition_ExecutionReason) Enum() *Condition_ExecutionReason
func (Condition_ExecutionReason) EnumDescriptor
deprecated
func (Condition_ExecutionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Condition_ExecutionReason.Descriptor instead.
func (Condition_ExecutionReason) Number ¶
func (x Condition_ExecutionReason) Number() protoreflect.EnumNumber
func (Condition_ExecutionReason) String ¶
func (x Condition_ExecutionReason) String() string
func (Condition_ExecutionReason) Type ¶
func (Condition_ExecutionReason) Type() protoreflect.EnumType
type Condition_ExecutionReason_ ¶
type Condition_ExecutionReason_ struct { // A reason for the execution condition. ExecutionReason Condition_ExecutionReason `` /* 131-byte string literal not displayed */ }
type Condition_Reason ¶
type Condition_Reason struct { // A common (service-level) reason for this condition. Reason Condition_CommonReason `protobuf:"varint,6,opt,name=reason,proto3,enum=google.cloud.run.v2.Condition_CommonReason,oneof"` }
type Condition_RevisionReason ¶
type Condition_RevisionReason int32
Reasons specific to Revision resource.
const ( // Default value. Condition_REVISION_REASON_UNDEFINED Condition_RevisionReason = 0 // Revision in Pending state. Condition_PENDING Condition_RevisionReason = 1 // Revision is in Reserve state. Condition_RESERVE Condition_RevisionReason = 2 // Revision is Retired. Condition_RETIRED Condition_RevisionReason = 3 // Revision is being retired. Condition_RETIRING Condition_RevisionReason = 4 // Revision is being recreated. Condition_RECREATING Condition_RevisionReason = 5 // There was a health check error. Condition_HEALTH_CHECK_CONTAINER_ERROR Condition_RevisionReason = 6 // Health check failed due to user error from customized path of the // container. System will retry. Condition_CUSTOMIZED_PATH_RESPONSE_PENDING Condition_RevisionReason = 7 // A revision with min_instance_count > 0 was created and is reserved, but // it was not configured to serve traffic, so it's not live. This can also // happen momentarily during traffic migration. Condition_MIN_INSTANCES_NOT_PROVISIONED Condition_RevisionReason = 8 // The maximum allowed number of active revisions has been reached. Condition_ACTIVE_REVISION_LIMIT_REACHED Condition_RevisionReason = 9 // There was no deployment defined. // This value is no longer used, but Services created in older versions of // the API might contain this value. Condition_NO_DEPLOYMENT Condition_RevisionReason = 10 // A revision's container has no port specified since the revision is of a // manually scaled service with 0 instance count Condition_HEALTH_CHECK_SKIPPED Condition_RevisionReason = 11 // A revision with min_instance_count > 0 was created and is waiting for // enough instances to begin a traffic migration. Condition_MIN_INSTANCES_WARMING Condition_RevisionReason = 12 )
func (Condition_RevisionReason) Descriptor ¶
func (Condition_RevisionReason) Descriptor() protoreflect.EnumDescriptor
func (Condition_RevisionReason) Enum ¶
func (x Condition_RevisionReason) Enum() *Condition_RevisionReason
func (Condition_RevisionReason) EnumDescriptor
deprecated
func (Condition_RevisionReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Condition_RevisionReason.Descriptor instead.
func (Condition_RevisionReason) Number ¶
func (x Condition_RevisionReason) Number() protoreflect.EnumNumber
func (Condition_RevisionReason) String ¶
func (x Condition_RevisionReason) String() string
func (Condition_RevisionReason) Type ¶
func (Condition_RevisionReason) Type() protoreflect.EnumType
type Condition_RevisionReason_ ¶
type Condition_RevisionReason_ struct { // A reason for the revision condition. RevisionReason Condition_RevisionReason `` /* 127-byte string literal not displayed */ }
type Condition_Severity ¶
type Condition_Severity int32
Represents the severity of the condition failures.
const ( // Unspecified severity Condition_SEVERITY_UNSPECIFIED Condition_Severity = 0 // Error severity. Condition_ERROR Condition_Severity = 1 // Warning severity. Condition_WARNING Condition_Severity = 2 // Info severity. Condition_INFO Condition_Severity = 3 )
func (Condition_Severity) Descriptor ¶
func (Condition_Severity) Descriptor() protoreflect.EnumDescriptor
func (Condition_Severity) Enum ¶
func (x Condition_Severity) Enum() *Condition_Severity
func (Condition_Severity) EnumDescriptor
deprecated
func (Condition_Severity) EnumDescriptor() ([]byte, []int)
Deprecated: Use Condition_Severity.Descriptor instead.
func (Condition_Severity) Number ¶
func (x Condition_Severity) Number() protoreflect.EnumNumber
func (Condition_Severity) String ¶
func (x Condition_Severity) String() string
func (Condition_Severity) Type ¶
func (Condition_Severity) Type() protoreflect.EnumType
type Condition_State ¶
type Condition_State int32
Represents the possible Condition states.
const ( // The default value. This value is used if the state is omitted. Condition_STATE_UNSPECIFIED Condition_State = 0 // Transient state: Reconciliation has not started yet. Condition_CONDITION_PENDING Condition_State = 1 // Transient state: reconciliation is still in progress. Condition_CONDITION_RECONCILING Condition_State = 2 // Terminal state: Reconciliation did not succeed. Condition_CONDITION_FAILED Condition_State = 3 // Terminal state: Reconciliation completed successfully. Condition_CONDITION_SUCCEEDED Condition_State = 4 )
func (Condition_State) Descriptor ¶
func (Condition_State) Descriptor() protoreflect.EnumDescriptor
func (Condition_State) Enum ¶
func (x Condition_State) Enum() *Condition_State
func (Condition_State) EnumDescriptor
deprecated
func (Condition_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Condition_State.Descriptor instead.
func (Condition_State) Number ¶
func (x Condition_State) Number() protoreflect.EnumNumber
func (Condition_State) String ¶
func (x Condition_State) String() string
func (Condition_State) Type ¶
func (Condition_State) Type() protoreflect.EnumType
type Container ¶
type Container struct { // Name of the container specified as a DNS_LABEL (RFC 1123). Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Name of the container image in Dockerhub, Google Artifact // Registry, or Google Container Registry. If the host is not provided, // Dockerhub is assumed. Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"` // Entrypoint array. Not executed within a shell. // The docker image's ENTRYPOINT is used if this is not provided. Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"` // Arguments to the entrypoint. // The docker image's CMD is used if this is not provided. Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // List of environment variables to set in the container. Env []*EnvVar `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` // Compute Resource requirements by this container. Resources *ResourceRequirements `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // List of ports to expose from the container. Only a single port can be // specified. The specified ports must be listening on all interfaces // (0.0.0.0) within the container to be accessible. // // If omitted, a port number will be chosen and passed to the container // through the PORT environment variable for the container to listen on. Ports []*ContainerPort `protobuf:"bytes,7,rep,name=ports,proto3" json:"ports,omitempty"` // Volume to mount into the container's filesystem. VolumeMounts []*VolumeMount `protobuf:"bytes,8,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"` // Container's working directory. // If not specified, the container runtime's default will be used, which // might be configured in the container image. WorkingDir string `protobuf:"bytes,9,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. LivenessProbe *Probe `protobuf:"bytes,10,opt,name=liveness_probe,json=livenessProbe,proto3" json:"liveness_probe,omitempty"` // Startup probe of application within the container. // All other probes are disabled if a startup probe is provided, until it // succeeds. Container will not be added to service endpoints if the probe // fails. StartupProbe *Probe `protobuf:"bytes,11,opt,name=startup_probe,json=startupProbe,proto3" json:"startup_probe,omitempty"` // Names of the containers that must start before this container. DependsOn []string `protobuf:"bytes,12,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"` // contains filtered or unexported fields }
A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments can be supplied by the system to the container at runtime.
func (*Container) Descriptor
deprecated
func (*Container) GetCommand ¶
func (*Container) GetDependsOn ¶ added in v1.3.0
func (*Container) GetLivenessProbe ¶
func (*Container) GetPorts ¶
func (x *Container) GetPorts() []*ContainerPort
func (*Container) GetResources ¶
func (x *Container) GetResources() *ResourceRequirements
func (*Container) GetStartupProbe ¶
func (*Container) GetVolumeMounts ¶
func (x *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWorkingDir ¶
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ContainerPort ¶
type ContainerPort struct { // If specified, used to specify which protocol to use. // Allowed values are "http1" and "h2c". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Port number the container listens on. // This must be a valid TCP port number, 0 < container_port < 65536. ContainerPort int32 `protobuf:"varint,3,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"` // contains filtered or unexported fields }
ContainerPort represents a network port in a single container.
func (*ContainerPort) Descriptor
deprecated
func (*ContainerPort) Descriptor() ([]byte, []int)
Deprecated: Use ContainerPort.ProtoReflect.Descriptor instead.
func (*ContainerPort) GetContainerPort ¶
func (x *ContainerPort) GetContainerPort() int32
func (*ContainerPort) GetName ¶
func (x *ContainerPort) GetName() string
func (*ContainerPort) ProtoMessage ¶
func (*ContainerPort) ProtoMessage()
func (*ContainerPort) ProtoReflect ¶
func (x *ContainerPort) ProtoReflect() protoreflect.Message
func (*ContainerPort) Reset ¶
func (x *ContainerPort) Reset()
func (*ContainerPort) String ¶
func (x *ContainerPort) String() string
type CreateJobRequest ¶ added in v0.4.0
type CreateJobRequest struct { // Required. The location and project in which this Job should be created. // Format: projects/{project}/locations/{location}, where {project} can be // project id or number. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The Job instance to create. Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"` // Required. The unique identifier for the Job. The name of the job becomes // {parent}/jobs/{job_id}. JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"` // Indicates that the request should be validated and default values // populated, without persisting the request or creating any resources. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for creating a Job.
func (*CreateJobRequest) Descriptor
deprecated
added in
v0.4.0
func (*CreateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.
func (*CreateJobRequest) GetJob ¶ added in v0.4.0
func (x *CreateJobRequest) GetJob() *Job
func (*CreateJobRequest) GetJobId ¶ added in v0.4.0
func (x *CreateJobRequest) GetJobId() string
func (*CreateJobRequest) GetParent ¶ added in v0.4.0
func (x *CreateJobRequest) GetParent() string
func (*CreateJobRequest) GetValidateOnly ¶ added in v0.4.0
func (x *CreateJobRequest) GetValidateOnly() bool
func (*CreateJobRequest) ProtoMessage ¶ added in v0.4.0
func (*CreateJobRequest) ProtoMessage()
func (*CreateJobRequest) ProtoReflect ¶ added in v0.4.0
func (x *CreateJobRequest) ProtoReflect() protoreflect.Message
func (*CreateJobRequest) Reset ¶ added in v0.4.0
func (x *CreateJobRequest) Reset()
func (*CreateJobRequest) String ¶ added in v0.4.0
func (x *CreateJobRequest) String() string
type CreateServiceRequest ¶
type CreateServiceRequest struct { // Required. The location and project in which this service should be created. // Format: projects/{project}/locations/{location}, where {project} can be // project id or number. Only lowercase characters, digits, and hyphens. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The Service instance to create. Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // Required. The unique identifier for the Service. It must begin with letter, // and cannot end with hyphen; must contain fewer than 50 characters. // The name of the service becomes {parent}/services/{service_id}. ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Indicates that the request should be validated and default values // populated, without persisting the request or creating any resources. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for creating a Service.
func (*CreateServiceRequest) Descriptor
deprecated
func (*CreateServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.
func (*CreateServiceRequest) GetParent ¶
func (x *CreateServiceRequest) GetParent() string
func (*CreateServiceRequest) GetService ¶
func (x *CreateServiceRequest) GetService() *Service
func (*CreateServiceRequest) GetServiceId ¶
func (x *CreateServiceRequest) GetServiceId() string
func (*CreateServiceRequest) GetValidateOnly ¶
func (x *CreateServiceRequest) GetValidateOnly() bool
func (*CreateServiceRequest) ProtoMessage ¶
func (*CreateServiceRequest) ProtoMessage()
func (*CreateServiceRequest) ProtoReflect ¶
func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message
func (*CreateServiceRequest) Reset ¶
func (x *CreateServiceRequest) Reset()
func (*CreateServiceRequest) String ¶
func (x *CreateServiceRequest) String() string
type DeleteExecutionRequest ¶ added in v0.4.0
type DeleteExecutionRequest struct { // Required. The name of the Execution to delete. // Format: // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, // where `{project}` can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // deleting any resources. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the resource. // This may be used to detect modification conflict during updates. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message for deleting an Execution.
func (*DeleteExecutionRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteExecutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteExecutionRequest.ProtoReflect.Descriptor instead.
func (*DeleteExecutionRequest) GetEtag ¶ added in v0.4.0
func (x *DeleteExecutionRequest) GetEtag() string
func (*DeleteExecutionRequest) GetName ¶ added in v0.4.0
func (x *DeleteExecutionRequest) GetName() string
func (*DeleteExecutionRequest) GetValidateOnly ¶ added in v0.4.0
func (x *DeleteExecutionRequest) GetValidateOnly() bool
func (*DeleteExecutionRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteExecutionRequest) ProtoMessage()
func (*DeleteExecutionRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteExecutionRequest) ProtoReflect() protoreflect.Message
func (*DeleteExecutionRequest) Reset ¶ added in v0.4.0
func (x *DeleteExecutionRequest) Reset()
func (*DeleteExecutionRequest) String ¶ added in v0.4.0
func (x *DeleteExecutionRequest) String() string
type DeleteJobRequest ¶ added in v0.4.0
type DeleteJobRequest struct { // Required. The full name of the Job. // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} // can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // deleting any resources. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message to delete a Job by its full name.
func (*DeleteJobRequest) Descriptor
deprecated
added in
v0.4.0
func (*DeleteJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
func (*DeleteJobRequest) GetEtag ¶ added in v0.4.0
func (x *DeleteJobRequest) GetEtag() string
func (*DeleteJobRequest) GetName ¶ added in v0.4.0
func (x *DeleteJobRequest) GetName() string
func (*DeleteJobRequest) GetValidateOnly ¶ added in v0.4.0
func (x *DeleteJobRequest) GetValidateOnly() bool
func (*DeleteJobRequest) ProtoMessage ¶ added in v0.4.0
func (*DeleteJobRequest) ProtoMessage()
func (*DeleteJobRequest) ProtoReflect ¶ added in v0.4.0
func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message
func (*DeleteJobRequest) Reset ¶ added in v0.4.0
func (x *DeleteJobRequest) Reset()
func (*DeleteJobRequest) String ¶ added in v0.4.0
func (x *DeleteJobRequest) String() string
type DeleteRevisionRequest ¶
type DeleteRevisionRequest struct { // Required. The name of the Revision to delete. // Format: // projects/{project}/locations/{location}/services/{service}/revisions/{revision} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // deleting any resources. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the // resource. This may be used to detect modification conflict during updates. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message for deleting a retired Revision. Revision lifecycle is usually managed by making changes to the parent Service. Only retired revisions can be deleted with this API.
func (*DeleteRevisionRequest) Descriptor
deprecated
func (*DeleteRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRevisionRequest.ProtoReflect.Descriptor instead.
func (*DeleteRevisionRequest) GetEtag ¶
func (x *DeleteRevisionRequest) GetEtag() string
func (*DeleteRevisionRequest) GetName ¶
func (x *DeleteRevisionRequest) GetName() string
func (*DeleteRevisionRequest) GetValidateOnly ¶
func (x *DeleteRevisionRequest) GetValidateOnly() bool
func (*DeleteRevisionRequest) ProtoMessage ¶
func (*DeleteRevisionRequest) ProtoMessage()
func (*DeleteRevisionRequest) ProtoReflect ¶
func (x *DeleteRevisionRequest) ProtoReflect() protoreflect.Message
func (*DeleteRevisionRequest) Reset ¶
func (x *DeleteRevisionRequest) Reset()
func (*DeleteRevisionRequest) String ¶
func (x *DeleteRevisionRequest) String() string
type DeleteServiceRequest ¶
type DeleteServiceRequest struct { // Required. The full name of the Service. // Format: projects/{project}/locations/{location}/services/{service}, where // {project} can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // deleting any resources. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Request message to delete a Service by its full name.
func (*DeleteServiceRequest) Descriptor
deprecated
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (*DeleteServiceRequest) GetEtag ¶
func (x *DeleteServiceRequest) GetEtag() string
func (*DeleteServiceRequest) GetName ¶
func (x *DeleteServiceRequest) GetName() string
func (*DeleteServiceRequest) GetValidateOnly ¶
func (x *DeleteServiceRequest) GetValidateOnly() bool
func (*DeleteServiceRequest) ProtoMessage ¶
func (*DeleteServiceRequest) ProtoMessage()
func (*DeleteServiceRequest) ProtoReflect ¶
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
func (*DeleteServiceRequest) Reset ¶
func (x *DeleteServiceRequest) Reset()
func (*DeleteServiceRequest) String ¶
func (x *DeleteServiceRequest) String() string
type EmptyDirVolumeSource ¶ added in v1.3.0
type EmptyDirVolumeSource struct { // The medium on which the data is stored. Acceptable values today is only // MEMORY or none. When none, the default will currently be backed by memory // but could change over time. +optional Medium EmptyDirVolumeSource_Medium `protobuf:"varint,1,opt,name=medium,proto3,enum=google.cloud.run.v2.EmptyDirVolumeSource_Medium" json:"medium,omitempty"` // Limit on the storage usable by this EmptyDir volume. // The size limit is also applicable for memory medium. // The maximum usage on memory medium EmptyDir would be the minimum value // between the SizeLimit specified here and the sum of memory limits of all // containers. The default is nil which means that the limit is undefined. // More info: // https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. // Info in Kubernetes: // https://kubernetes.io/docs/concepts/storage/volumes/#emptydir SizeLimit string `protobuf:"bytes,2,opt,name=size_limit,json=sizeLimit,proto3" json:"size_limit,omitempty"` // contains filtered or unexported fields }
In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
func (*EmptyDirVolumeSource) Descriptor
deprecated
added in
v1.3.0
func (*EmptyDirVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use EmptyDirVolumeSource.ProtoReflect.Descriptor instead.
func (*EmptyDirVolumeSource) GetMedium ¶ added in v1.3.0
func (x *EmptyDirVolumeSource) GetMedium() EmptyDirVolumeSource_Medium
func (*EmptyDirVolumeSource) GetSizeLimit ¶ added in v1.3.0
func (x *EmptyDirVolumeSource) GetSizeLimit() string
func (*EmptyDirVolumeSource) ProtoMessage ¶ added in v1.3.0
func (*EmptyDirVolumeSource) ProtoMessage()
func (*EmptyDirVolumeSource) ProtoReflect ¶ added in v1.3.0
func (x *EmptyDirVolumeSource) ProtoReflect() protoreflect.Message
func (*EmptyDirVolumeSource) Reset ¶ added in v1.3.0
func (x *EmptyDirVolumeSource) Reset()
func (*EmptyDirVolumeSource) String ¶ added in v1.3.0
func (x *EmptyDirVolumeSource) String() string
type EmptyDirVolumeSource_Medium ¶ added in v1.3.0
type EmptyDirVolumeSource_Medium int32
The different types of medium supported for EmptyDir.
const ( // When not specified, falls back to the default implementation which // is currently in memory (this may change over time). EmptyDirVolumeSource_MEDIUM_UNSPECIFIED EmptyDirVolumeSource_Medium = 0 // Explicitly set the EmptyDir to be in memory. Uses tmpfs. EmptyDirVolumeSource_MEMORY EmptyDirVolumeSource_Medium = 1 )
func (EmptyDirVolumeSource_Medium) Descriptor ¶ added in v1.3.0
func (EmptyDirVolumeSource_Medium) Descriptor() protoreflect.EnumDescriptor
func (EmptyDirVolumeSource_Medium) Enum ¶ added in v1.3.0
func (x EmptyDirVolumeSource_Medium) Enum() *EmptyDirVolumeSource_Medium
func (EmptyDirVolumeSource_Medium) EnumDescriptor
deprecated
added in
v1.3.0
func (EmptyDirVolumeSource_Medium) EnumDescriptor() ([]byte, []int)
Deprecated: Use EmptyDirVolumeSource_Medium.Descriptor instead.
func (EmptyDirVolumeSource_Medium) Number ¶ added in v1.3.0
func (x EmptyDirVolumeSource_Medium) Number() protoreflect.EnumNumber
func (EmptyDirVolumeSource_Medium) String ¶ added in v1.3.0
func (x EmptyDirVolumeSource_Medium) String() string
func (EmptyDirVolumeSource_Medium) Type ¶ added in v1.3.0
func (EmptyDirVolumeSource_Medium) Type() protoreflect.EnumType
type EncryptionKeyRevocationAction ¶ added in v0.8.0
type EncryptionKeyRevocationAction int32
Specifies behavior if an encryption key used by a resource is revoked.
const ( // Unspecified EncryptionKeyRevocationAction_ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED EncryptionKeyRevocationAction = 0 // Prevents the creation of new instances. EncryptionKeyRevocationAction_PREVENT_NEW EncryptionKeyRevocationAction = 1 // Shuts down existing instances, and prevents creation of new ones. EncryptionKeyRevocationAction_SHUTDOWN EncryptionKeyRevocationAction = 2 )
func (EncryptionKeyRevocationAction) Descriptor ¶ added in v0.8.0
func (EncryptionKeyRevocationAction) Descriptor() protoreflect.EnumDescriptor
func (EncryptionKeyRevocationAction) Enum ¶ added in v0.8.0
func (x EncryptionKeyRevocationAction) Enum() *EncryptionKeyRevocationAction
func (EncryptionKeyRevocationAction) EnumDescriptor
deprecated
added in
v0.8.0
func (EncryptionKeyRevocationAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionKeyRevocationAction.Descriptor instead.
func (EncryptionKeyRevocationAction) Number ¶ added in v0.8.0
func (x EncryptionKeyRevocationAction) Number() protoreflect.EnumNumber
func (EncryptionKeyRevocationAction) String ¶ added in v0.8.0
func (x EncryptionKeyRevocationAction) String() string
func (EncryptionKeyRevocationAction) Type ¶ added in v0.8.0
func (EncryptionKeyRevocationAction) Type() protoreflect.EnumType
type EnvVar ¶
type EnvVar struct { // Required. Name of the environment variable. Must not exceed 32768 // characters. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to Values: // // *EnvVar_Value // *EnvVar_ValueSource Values isEnvVar_Values `protobuf_oneof:"values"` // contains filtered or unexported fields }
EnvVar represents an environment variable present in a Container.
func (*EnvVar) Descriptor
deprecated
func (*EnvVar) GetValueSource ¶
func (x *EnvVar) GetValueSource() *EnvVarSource
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
type EnvVarSource ¶
type EnvVarSource struct { // Selects a secret and a specific version from Cloud Secret Manager. SecretKeyRef *SecretKeySelector `protobuf:"bytes,1,opt,name=secret_key_ref,json=secretKeyRef,proto3" json:"secret_key_ref,omitempty"` // contains filtered or unexported fields }
EnvVarSource represents a source for the value of an EnvVar.
func (*EnvVarSource) Descriptor
deprecated
func (*EnvVarSource) Descriptor() ([]byte, []int)
Deprecated: Use EnvVarSource.ProtoReflect.Descriptor instead.
func (*EnvVarSource) GetSecretKeyRef ¶
func (x *EnvVarSource) GetSecretKeyRef() *SecretKeySelector
func (*EnvVarSource) ProtoMessage ¶
func (*EnvVarSource) ProtoMessage()
func (*EnvVarSource) ProtoReflect ¶
func (x *EnvVarSource) ProtoReflect() protoreflect.Message
func (*EnvVarSource) Reset ¶
func (x *EnvVarSource) Reset()
func (*EnvVarSource) String ¶
func (x *EnvVarSource) String() string
type EnvVar_Value ¶
type EnvVar_Value struct { // Variable references $(VAR_NAME) are expanded // using the previous defined environment variables in the container and // any route environment variables. If a variable cannot be resolved, // the reference in the input string will be unchanged. The $(VAR_NAME) // syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped // references will never be expanded, regardless of whether the variable // exists or not. // Defaults to "", and the maximum length is 32768 bytes. Value string `protobuf:"bytes,2,opt,name=value,proto3,oneof"` }
type EnvVar_ValueSource ¶
type EnvVar_ValueSource struct { // Source for the environment variable's value. ValueSource *EnvVarSource `protobuf:"bytes,3,opt,name=value_source,json=valueSource,proto3,oneof"` }
type Execution ¶ added in v0.4.0
type Execution struct { // Output only. The unique name of this Execution. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Server assigned unique identifier for the Execution. The value // is a UUID4 string and guaranteed to remain unchanged until the resource is // deleted. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. A number that monotonically increases every time the user // modifies the desired state. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Output only. Unstructured key value map that can be used to organize and // categorize objects. User-provided labels are shared with Google's billing // system, so they can be used to filter, or break down billing charges by // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. Unstructured key value map that may // be set by external tools to store and arbitrary metadata. // They are not queryable and should be preserved // when modifying objects. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Output only. Represents time when the execution was acknowledged by the // execution controller. It is not guaranteed to be set in happens-before // order across separate operations. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Represents time when the execution started to run. // It is not guaranteed to be set in happens-before order across separate // operations. StartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Represents time when the execution was completed. It is not // guaranteed to be set in happens-before order across separate operations. CompletionTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // Output only. The last-modified time. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. For a deleted resource, the deletion time. It is only // populated as a response to a Delete request. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. For a deleted resource, the time after which it will be // permamently deleted. It is only populated as a response to a Delete // request. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // The least stable launch stage needed to create this resource, as defined by // [Google Cloud Platform Launch // Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports // `ALPHA`, `BETA`, and `GA`. // <p>Note that this value might not be what was used // as input. For example, if ALPHA was provided as input in the parent // resource, but only BETA and GA-level features are were, this field will be // BETA. LaunchStage api.LaunchStage `protobuf:"varint,11,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` // Output only. The name of the parent Job. Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"` // Output only. Specifies the maximum desired number of tasks the execution // should run at any given time. Must be <= task_count. The actual number of // tasks running in steady state will be less than this number when // ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when // the work left to do is less than max parallelism. Parallelism int32 `protobuf:"varint,13,opt,name=parallelism,proto3" json:"parallelism,omitempty"` // Output only. Specifies the desired number of tasks the execution should // run. Setting to 1 means that parallelism is limited to 1 and the success of // that task signals the success of the execution. TaskCount int32 `protobuf:"varint,14,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"` // Output only. The template used to create tasks for this execution. Template *TaskTemplate `protobuf:"bytes,15,opt,name=template,proto3" json:"template,omitempty"` // Output only. Indicates whether the resource's reconciliation is still in // progress. See comments in `Job.reconciling` for additional information on // reconciliation process in Cloud Run. Reconciling bool `protobuf:"varint,16,opt,name=reconciling,proto3" json:"reconciling,omitempty"` // Output only. The Condition of this Execution, containing its readiness // status, and detailed error information in case it did not reach the desired // state. Conditions []*Condition `protobuf:"bytes,17,rep,name=conditions,proto3" json:"conditions,omitempty"` // Output only. The generation of this Execution. See comments in // `reconciling` for additional information on reconciliation process in Cloud // Run. ObservedGeneration int64 `protobuf:"varint,18,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Output only. The number of actively running tasks. RunningCount int32 `protobuf:"varint,19,opt,name=running_count,json=runningCount,proto3" json:"running_count,omitempty"` // Output only. The number of tasks which reached phase Succeeded. SucceededCount int32 `protobuf:"varint,20,opt,name=succeeded_count,json=succeededCount,proto3" json:"succeeded_count,omitempty"` // Output only. The number of tasks which reached phase Failed. FailedCount int32 `protobuf:"varint,21,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"` // Output only. The number of tasks which reached phase Cancelled. CancelledCount int32 `protobuf:"varint,24,opt,name=cancelled_count,json=cancelledCount,proto3" json:"cancelled_count,omitempty"` // Output only. The number of tasks which have retried at least once. RetriedCount int32 `protobuf:"varint,25,opt,name=retried_count,json=retriedCount,proto3" json:"retried_count,omitempty"` // Output only. URI where logs for this execution can be found in Cloud // Console. LogUri string `protobuf:"bytes,26,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"` // Output only. Reserved for future use. SatisfiesPzs bool `protobuf:"varint,27,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.
func (*Execution) Descriptor
deprecated
added in
v0.4.0
func (*Execution) GetAnnotations ¶ added in v0.4.0
func (*Execution) GetCancelledCount ¶ added in v0.8.0
func (*Execution) GetCompletionTime ¶ added in v0.4.0
func (x *Execution) GetCompletionTime() *timestamppb.Timestamp
func (*Execution) GetConditions ¶ added in v0.4.0
func (*Execution) GetCreateTime ¶ added in v0.4.0
func (x *Execution) GetCreateTime() *timestamppb.Timestamp
func (*Execution) GetDeleteTime ¶ added in v0.4.0
func (x *Execution) GetDeleteTime() *timestamppb.Timestamp
func (*Execution) GetExpireTime ¶ added in v0.4.0
func (x *Execution) GetExpireTime() *timestamppb.Timestamp
func (*Execution) GetFailedCount ¶ added in v0.4.0
func (*Execution) GetGeneration ¶ added in v0.4.0
func (*Execution) GetLaunchStage ¶ added in v0.4.0
func (x *Execution) GetLaunchStage() api.LaunchStage
func (*Execution) GetObservedGeneration ¶ added in v0.4.0
func (*Execution) GetParallelism ¶ added in v0.4.0
func (*Execution) GetReconciling ¶ added in v0.4.0
func (*Execution) GetRetriedCount ¶ added in v0.8.0
func (*Execution) GetRunningCount ¶ added in v0.4.0
func (*Execution) GetSatisfiesPzs ¶ added in v1.0.1
func (*Execution) GetStartTime ¶ added in v0.4.0
func (x *Execution) GetStartTime() *timestamppb.Timestamp
func (*Execution) GetSucceededCount ¶ added in v0.4.0
func (*Execution) GetTaskCount ¶ added in v0.4.0
func (*Execution) GetTemplate ¶ added in v0.4.0
func (x *Execution) GetTemplate() *TaskTemplate
func (*Execution) GetUpdateTime ¶ added in v0.4.0
func (x *Execution) GetUpdateTime() *timestamppb.Timestamp
func (*Execution) ProtoMessage ¶ added in v0.4.0
func (*Execution) ProtoMessage()
func (*Execution) ProtoReflect ¶ added in v0.4.0
func (x *Execution) ProtoReflect() protoreflect.Message
type ExecutionEnvironment ¶
type ExecutionEnvironment int32
Alternatives for execution environments.
const ( // Unspecified ExecutionEnvironment_EXECUTION_ENVIRONMENT_UNSPECIFIED ExecutionEnvironment = 0 // Uses the First Generation environment. ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN1 ExecutionEnvironment = 1 // Uses Second Generation environment. ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN2 ExecutionEnvironment = 2 )
func (ExecutionEnvironment) Descriptor ¶
func (ExecutionEnvironment) Descriptor() protoreflect.EnumDescriptor
func (ExecutionEnvironment) Enum ¶
func (x ExecutionEnvironment) Enum() *ExecutionEnvironment
func (ExecutionEnvironment) EnumDescriptor
deprecated
func (ExecutionEnvironment) EnumDescriptor() ([]byte, []int)
Deprecated: Use ExecutionEnvironment.Descriptor instead.
func (ExecutionEnvironment) Number ¶
func (x ExecutionEnvironment) Number() protoreflect.EnumNumber
func (ExecutionEnvironment) String ¶
func (x ExecutionEnvironment) String() string
func (ExecutionEnvironment) Type ¶
func (ExecutionEnvironment) Type() protoreflect.EnumType
type ExecutionReference ¶ added in v0.4.0
type ExecutionReference struct { // Name of the execution. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Creation timestamp of the execution. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Creation timestamp of the execution. CompletionTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // contains filtered or unexported fields }
Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.
func (*ExecutionReference) Descriptor
deprecated
added in
v0.4.0
func (*ExecutionReference) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionReference.ProtoReflect.Descriptor instead.
func (*ExecutionReference) GetCompletionTime ¶ added in v0.4.0
func (x *ExecutionReference) GetCompletionTime() *timestamppb.Timestamp
func (*ExecutionReference) GetCreateTime ¶ added in v0.4.0
func (x *ExecutionReference) GetCreateTime() *timestamppb.Timestamp
func (*ExecutionReference) GetName ¶ added in v0.4.0
func (x *ExecutionReference) GetName() string
func (*ExecutionReference) ProtoMessage ¶ added in v0.4.0
func (*ExecutionReference) ProtoMessage()
func (*ExecutionReference) ProtoReflect ¶ added in v0.4.0
func (x *ExecutionReference) ProtoReflect() protoreflect.Message
func (*ExecutionReference) Reset ¶ added in v0.4.0
func (x *ExecutionReference) Reset()
func (*ExecutionReference) String ¶ added in v0.4.0
func (x *ExecutionReference) String() string
type ExecutionTemplate ¶ added in v0.4.0
type ExecutionTemplate struct { // Unstructured key value map that can be used to organize and categorize // objects. // User-provided labels are shared with Google's billing system, so they can // be used to filter, or break down billing charges by team, component, // environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels. // // <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system labels in v1 now have a // corresponding field in v2 ExecutionTemplate. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key value map that may be set by external tools to store and // arbitrary metadata. They are not queryable and should be preserved // when modifying objects. // // <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system annotations in v1 now // have a corresponding field in v2 ExecutionTemplate. // // <p>This field follows Kubernetes annotations' namespacing, limits, and // rules. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Specifies the maximum desired number of tasks the execution should run at // given time. Must be <= task_count. // When the job is run, if this field is 0 or unset, the maximum possible // value will be used for that execution. // The actual number of tasks running in steady state will be less than this // number when there are fewer tasks waiting to be completed remaining, // i.e. when the work left to do is less than max parallelism. Parallelism int32 `protobuf:"varint,3,opt,name=parallelism,proto3" json:"parallelism,omitempty"` // Specifies the desired number of tasks the execution should run. // Setting to 1 means that parallelism is limited to 1 and the success of // that task signals the success of the execution. Defaults to 1. TaskCount int32 `protobuf:"varint,4,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"` // Required. Describes the task(s) that will be created when executing an // execution. Template *TaskTemplate `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"` // contains filtered or unexported fields }
ExecutionTemplate describes the data an execution should have when created from a template.
func (*ExecutionTemplate) Descriptor
deprecated
added in
v0.4.0
func (*ExecutionTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ExecutionTemplate.ProtoReflect.Descriptor instead.
func (*ExecutionTemplate) GetAnnotations ¶ added in v0.4.0
func (x *ExecutionTemplate) GetAnnotations() map[string]string
func (*ExecutionTemplate) GetLabels ¶ added in v0.4.0
func (x *ExecutionTemplate) GetLabels() map[string]string
func (*ExecutionTemplate) GetParallelism ¶ added in v0.4.0
func (x *ExecutionTemplate) GetParallelism() int32
func (*ExecutionTemplate) GetTaskCount ¶ added in v0.4.0
func (x *ExecutionTemplate) GetTaskCount() int32
func (*ExecutionTemplate) GetTemplate ¶ added in v0.4.0
func (x *ExecutionTemplate) GetTemplate() *TaskTemplate
func (*ExecutionTemplate) ProtoMessage ¶ added in v0.4.0
func (*ExecutionTemplate) ProtoMessage()
func (*ExecutionTemplate) ProtoReflect ¶ added in v0.4.0
func (x *ExecutionTemplate) ProtoReflect() protoreflect.Message
func (*ExecutionTemplate) Reset ¶ added in v0.4.0
func (x *ExecutionTemplate) Reset()
func (*ExecutionTemplate) String ¶ added in v0.4.0
func (x *ExecutionTemplate) String() string
type ExecutionsClient ¶ added in v0.4.0
type ExecutionsClient interface { // Gets information about an Execution. GetExecution(ctx context.Context, in *GetExecutionRequest, opts ...grpc.CallOption) (*Execution, error) // Lists Executions from a Job. ListExecutions(ctx context.Context, in *ListExecutionsRequest, opts ...grpc.CallOption) (*ListExecutionsResponse, error) // Deletes an Execution. DeleteExecution(ctx context.Context, in *DeleteExecutionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Cancels an Execution. CancelExecution(ctx context.Context, in *CancelExecutionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
ExecutionsClient is the client API for Executions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExecutionsClient ¶ added in v0.4.0
func NewExecutionsClient(cc grpc.ClientConnInterface) ExecutionsClient
type ExecutionsServer ¶ added in v0.4.0
type ExecutionsServer interface { // Gets information about an Execution. GetExecution(context.Context, *GetExecutionRequest) (*Execution, error) // Lists Executions from a Job. ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error) // Deletes an Execution. DeleteExecution(context.Context, *DeleteExecutionRequest) (*longrunningpb.Operation, error) // Cancels an Execution. CancelExecution(context.Context, *CancelExecutionRequest) (*longrunningpb.Operation, error) }
ExecutionsServer is the server API for Executions service.
type GCSVolumeSource ¶ added in v1.3.5
type GCSVolumeSource struct { // GCS Bucket name Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // If true, mount the GCS bucket as read-only ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // contains filtered or unexported fields }
Represents a GCS Bucket mounted as a volume.
func (*GCSVolumeSource) Descriptor
deprecated
added in
v1.3.5
func (*GCSVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use GCSVolumeSource.ProtoReflect.Descriptor instead.
func (*GCSVolumeSource) GetBucket ¶ added in v1.3.5
func (x *GCSVolumeSource) GetBucket() string
func (*GCSVolumeSource) GetReadOnly ¶ added in v1.3.5
func (x *GCSVolumeSource) GetReadOnly() bool
func (*GCSVolumeSource) ProtoMessage ¶ added in v1.3.5
func (*GCSVolumeSource) ProtoMessage()
func (*GCSVolumeSource) ProtoReflect ¶ added in v1.3.5
func (x *GCSVolumeSource) ProtoReflect() protoreflect.Message
func (*GCSVolumeSource) Reset ¶ added in v1.3.5
func (x *GCSVolumeSource) Reset()
func (*GCSVolumeSource) String ¶ added in v1.3.5
func (x *GCSVolumeSource) String() string
type GRPCAction ¶ added in v0.4.0
type GRPCAction struct { // Port number of the gRPC service. Number must be in the range 1 to 65535. // If not specified, defaults to the exposed port of the container, which is // the value of container.ports[0].containerPort. Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // Service is the name of the service to place in the gRPC HealthCheckRequest // (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If // this is not specified, the default behavior is defined by gRPC. Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` // contains filtered or unexported fields }
GRPCAction describes an action involving a GRPC port.
func (*GRPCAction) Descriptor
deprecated
added in
v0.4.0
func (*GRPCAction) Descriptor() ([]byte, []int)
Deprecated: Use GRPCAction.ProtoReflect.Descriptor instead.
func (*GRPCAction) GetPort ¶ added in v0.4.0
func (x *GRPCAction) GetPort() int32
func (*GRPCAction) GetService ¶ added in v0.4.0
func (x *GRPCAction) GetService() string
func (*GRPCAction) ProtoMessage ¶ added in v0.4.0
func (*GRPCAction) ProtoMessage()
func (*GRPCAction) ProtoReflect ¶ added in v0.4.0
func (x *GRPCAction) ProtoReflect() protoreflect.Message
func (*GRPCAction) Reset ¶ added in v0.4.0
func (x *GRPCAction) Reset()
func (*GRPCAction) String ¶ added in v0.4.0
func (x *GRPCAction) String() string
type GetExecutionRequest ¶ added in v0.4.0
type GetExecutionRequest struct { // Required. The full name of the Execution. // Format: // `projects/{project}/locations/{location}/jobs/{job}/executions/{execution}`, // where `{project}` can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for obtaining a Execution by its full name.
func (*GetExecutionRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetExecutionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetExecutionRequest.ProtoReflect.Descriptor instead.
func (*GetExecutionRequest) GetName ¶ added in v0.4.0
func (x *GetExecutionRequest) GetName() string
func (*GetExecutionRequest) ProtoMessage ¶ added in v0.4.0
func (*GetExecutionRequest) ProtoMessage()
func (*GetExecutionRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetExecutionRequest) ProtoReflect() protoreflect.Message
func (*GetExecutionRequest) Reset ¶ added in v0.4.0
func (x *GetExecutionRequest) Reset()
func (*GetExecutionRequest) String ¶ added in v0.4.0
func (x *GetExecutionRequest) String() string
type GetJobRequest ¶ added in v0.4.0
type GetJobRequest struct { // Required. The full name of the Job. // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} // can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for obtaining a Job by its full name.
func (*GetJobRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
func (*GetJobRequest) GetName ¶ added in v0.4.0
func (x *GetJobRequest) GetName() string
func (*GetJobRequest) ProtoMessage ¶ added in v0.4.0
func (*GetJobRequest) ProtoMessage()
func (*GetJobRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetJobRequest) ProtoReflect() protoreflect.Message
func (*GetJobRequest) Reset ¶ added in v0.4.0
func (x *GetJobRequest) Reset()
func (*GetJobRequest) String ¶ added in v0.4.0
func (x *GetJobRequest) String() string
type GetRevisionRequest ¶
type GetRevisionRequest struct { // Required. The full name of the Revision. // Format: // projects/{project}/locations/{location}/services/{service}/revisions/{revision} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for obtaining a Revision by its full name.
func (*GetRevisionRequest) Descriptor
deprecated
func (*GetRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetRevisionRequest) GetName ¶
func (x *GetRevisionRequest) GetName() string
func (*GetRevisionRequest) ProtoMessage ¶
func (*GetRevisionRequest) ProtoMessage()
func (*GetRevisionRequest) ProtoReflect ¶
func (x *GetRevisionRequest) ProtoReflect() protoreflect.Message
func (*GetRevisionRequest) Reset ¶
func (x *GetRevisionRequest) Reset()
func (*GetRevisionRequest) String ¶
func (x *GetRevisionRequest) String() string
type GetServiceRequest ¶
type GetServiceRequest struct { // Required. The full name of the Service. // Format: projects/{project}/locations/{location}/services/{service}, where // {project} can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for obtaining a Service by its full name.
func (*GetServiceRequest) Descriptor
deprecated
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (*GetServiceRequest) GetName ¶
func (x *GetServiceRequest) GetName() string
func (*GetServiceRequest) ProtoMessage ¶
func (*GetServiceRequest) ProtoMessage()
func (*GetServiceRequest) ProtoReflect ¶
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (*GetServiceRequest) Reset ¶
func (x *GetServiceRequest) Reset()
func (*GetServiceRequest) String ¶
func (x *GetServiceRequest) String() string
type GetTaskRequest ¶ added in v0.4.0
type GetTaskRequest struct { // Required. The full name of the Task. // Format: // projects/{project}/locations/{location}/jobs/{job}/executions/{execution}/tasks/{task} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for obtaining a Task by its full name.
func (*GetTaskRequest) Descriptor
deprecated
added in
v0.4.0
func (*GetTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
func (*GetTaskRequest) GetName ¶ added in v0.4.0
func (x *GetTaskRequest) GetName() string
func (*GetTaskRequest) ProtoMessage ¶ added in v0.4.0
func (*GetTaskRequest) ProtoMessage()
func (*GetTaskRequest) ProtoReflect ¶ added in v0.4.0
func (x *GetTaskRequest) ProtoReflect() protoreflect.Message
func (*GetTaskRequest) Reset ¶ added in v0.4.0
func (x *GetTaskRequest) Reset()
func (*GetTaskRequest) String ¶ added in v0.4.0
func (x *GetTaskRequest) String() string
type HTTPGetAction ¶
type HTTPGetAction struct { // Path to access on the HTTP server. Defaults to '/'. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Custom headers to set in the request. HTTP allows repeated headers. HttpHeaders []*HTTPHeader `protobuf:"bytes,4,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty"` // Port number to access on the container. Must be in the range 1 to 65535. // If not specified, defaults to the exposed port of the container, which is // the value of container.ports[0].containerPort. Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
HTTPGetAction describes an action based on HTTP Get requests.
func (*HTTPGetAction) Descriptor
deprecated
func (*HTTPGetAction) Descriptor() ([]byte, []int)
Deprecated: Use HTTPGetAction.ProtoReflect.Descriptor instead.
func (*HTTPGetAction) GetHttpHeaders ¶
func (x *HTTPGetAction) GetHttpHeaders() []*HTTPHeader
func (*HTTPGetAction) GetPath ¶
func (x *HTTPGetAction) GetPath() string
func (*HTTPGetAction) GetPort ¶ added in v1.0.1
func (x *HTTPGetAction) GetPort() int32
func (*HTTPGetAction) ProtoMessage ¶
func (*HTTPGetAction) ProtoMessage()
func (*HTTPGetAction) ProtoReflect ¶
func (x *HTTPGetAction) ProtoReflect() protoreflect.Message
func (*HTTPGetAction) Reset ¶
func (x *HTTPGetAction) Reset()
func (*HTTPGetAction) String ¶
func (x *HTTPGetAction) String() string
type HTTPHeader ¶
type HTTPHeader struct { // Required. The header field name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The header field value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
HTTPHeader describes a custom header to be used in HTTP probes
func (*HTTPHeader) Descriptor
deprecated
func (*HTTPHeader) Descriptor() ([]byte, []int)
Deprecated: Use HTTPHeader.ProtoReflect.Descriptor instead.
func (*HTTPHeader) GetName ¶
func (x *HTTPHeader) GetName() string
func (*HTTPHeader) GetValue ¶
func (x *HTTPHeader) GetValue() string
func (*HTTPHeader) ProtoMessage ¶
func (*HTTPHeader) ProtoMessage()
func (*HTTPHeader) ProtoReflect ¶
func (x *HTTPHeader) ProtoReflect() protoreflect.Message
func (*HTTPHeader) Reset ¶
func (x *HTTPHeader) Reset()
func (*HTTPHeader) String ¶
func (x *HTTPHeader) String() string
type IngressTraffic ¶
type IngressTraffic int32
Allowed ingress traffic for the Container.
const ( // Unspecified IngressTraffic_INGRESS_TRAFFIC_UNSPECIFIED IngressTraffic = 0 // All inbound traffic is allowed. IngressTraffic_INGRESS_TRAFFIC_ALL IngressTraffic = 1 // Only internal traffic is allowed. IngressTraffic_INGRESS_TRAFFIC_INTERNAL_ONLY IngressTraffic = 2 // Both internal and Google Cloud Load Balancer traffic is allowed. IngressTraffic_INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER IngressTraffic = 3 )
func (IngressTraffic) Descriptor ¶
func (IngressTraffic) Descriptor() protoreflect.EnumDescriptor
func (IngressTraffic) Enum ¶
func (x IngressTraffic) Enum() *IngressTraffic
func (IngressTraffic) EnumDescriptor
deprecated
func (IngressTraffic) EnumDescriptor() ([]byte, []int)
Deprecated: Use IngressTraffic.Descriptor instead.
func (IngressTraffic) Number ¶
func (x IngressTraffic) Number() protoreflect.EnumNumber
func (IngressTraffic) String ¶
func (x IngressTraffic) String() string
func (IngressTraffic) Type ¶
func (IngressTraffic) Type() protoreflect.EnumType
type Job ¶ added in v0.4.0
type Job struct { // The fully qualified name of this Job. // // Format: // projects/{project}/locations/{location}/jobs/{job} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Server assigned unique identifier for the Execution. The value // is a UUID4 string and guaranteed to remain unchanged until the resource is // deleted. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. A number that monotonically increases every time the user // modifies the desired state. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Unstructured key value map that can be used to organize and categorize // objects. // User-provided labels are shared with Google's billing system, so they can // be used to filter, or break down billing charges by team, component, // environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels. // // <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system labels in v1 now have a // corresponding field in v2 Job. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key value map that may // be set by external tools to store and arbitrary metadata. // They are not queryable and should be preserved // when modifying objects. // // <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected on new resources. All system // annotations in v1 now have a corresponding field in v2 Job. // // <p>This field follows Kubernetes annotations' namespacing, limits, and // rules. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Output only. The creation time. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The deletion time. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. For a deleted resource, the time after which it will be // permamently deleted. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Output only. Email address of the authenticated creator. Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"` // Output only. Email address of the last authenticated modifier. LastModifier string `protobuf:"bytes,11,opt,name=last_modifier,json=lastModifier,proto3" json:"last_modifier,omitempty"` // Arbitrary identifier for the API client. Client string `protobuf:"bytes,12,opt,name=client,proto3" json:"client,omitempty"` // Arbitrary version identifier for the API client. ClientVersion string `protobuf:"bytes,13,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` // The launch stage as defined by [Google Cloud Platform // Launch Stages](https://cloud.google.com/terms/launch-stages). // Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA // is assumed. // Set the launch stage to a preview stage on input to allow use of preview // features in that stage. On read (or output), describes whether the resource // uses preview features. // <p> // For example, if ALPHA is provided as input, but only BETA and GA-level // features are used, this field will be BETA on output. LaunchStage api.LaunchStage `protobuf:"varint,14,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` // Settings for the Binary Authorization feature. BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,15,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"` // Required. The template used to create executions for this Job. Template *ExecutionTemplate `protobuf:"bytes,16,opt,name=template,proto3" json:"template,omitempty"` // Output only. The generation of this Job. See comments in `reconciling` for // additional information on reconciliation process in Cloud Run. ObservedGeneration int64 `protobuf:"varint,17,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Output only. The Condition of this Job, containing its readiness status, // and detailed error information in case it did not reach the desired state. TerminalCondition *Condition `protobuf:"bytes,18,opt,name=terminal_condition,json=terminalCondition,proto3" json:"terminal_condition,omitempty"` // Output only. The Conditions of all other associated sub-resources. They // contain additional diagnostics information in case the Job does not reach // its desired state. See comments in `reconciling` for additional information // on reconciliation process in Cloud Run. Conditions []*Condition `protobuf:"bytes,19,rep,name=conditions,proto3" json:"conditions,omitempty"` // Output only. Number of executions created for this job. ExecutionCount int32 `protobuf:"varint,20,opt,name=execution_count,json=executionCount,proto3" json:"execution_count,omitempty"` // Output only. Name of the last created execution. LatestCreatedExecution *ExecutionReference `` /* 130-byte string literal not displayed */ // Output only. Returns true if the Job is currently being acted upon by the // system to bring it into the desired state. // // When a new Job is created, or an existing one is updated, Cloud Run // will asynchronously perform all necessary steps to bring the Job to the // desired state. This process is called reconciliation. // While reconciliation is in process, `observed_generation` and // `latest_succeeded_execution`, will have transient values that might // mismatch the intended state: Once reconciliation is over (and this field is // false), there are two possible outcomes: reconciliation succeeded and the // state matches the Job, or there was an error, and reconciliation failed. // This state can be found in `terminal_condition.state`. // // If reconciliation succeeded, the following fields will match: // `observed_generation` and `generation`, `latest_succeeded_execution` and // `latest_created_execution`. // // If reconciliation failed, `observed_generation` and // `latest_succeeded_execution` will have the state of the last succeeded // execution or empty for newly created Job. Additional information on the // failure can be found in `terminal_condition` and `conditions`. Reconciling bool `protobuf:"varint,23,opt,name=reconciling,proto3" json:"reconciling,omitempty"` // Output only. Reserved for future use. SatisfiesPzs bool `protobuf:"varint,25,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Job represents the configuration of a single job, which references a container image that is run to completion.
func (*Job) Descriptor
deprecated
added in
v0.4.0
func (*Job) GetAnnotations ¶ added in v0.4.0
func (*Job) GetBinaryAuthorization ¶ added in v0.4.0
func (x *Job) GetBinaryAuthorization() *BinaryAuthorization
func (*Job) GetClientVersion ¶ added in v0.4.0
func (*Job) GetConditions ¶ added in v0.4.0
func (*Job) GetCreateTime ¶ added in v0.4.0
func (x *Job) GetCreateTime() *timestamppb.Timestamp
func (*Job) GetCreator ¶ added in v0.4.0
func (*Job) GetDeleteTime ¶ added in v0.4.0
func (x *Job) GetDeleteTime() *timestamppb.Timestamp
func (*Job) GetExecutionCount ¶ added in v0.4.0
func (*Job) GetExpireTime ¶ added in v0.4.0
func (x *Job) GetExpireTime() *timestamppb.Timestamp
func (*Job) GetGeneration ¶ added in v0.4.0
func (*Job) GetLastModifier ¶ added in v0.4.0
func (*Job) GetLatestCreatedExecution ¶ added in v0.4.0
func (x *Job) GetLatestCreatedExecution() *ExecutionReference
func (*Job) GetLaunchStage ¶ added in v0.4.0
func (x *Job) GetLaunchStage() api.LaunchStage
func (*Job) GetObservedGeneration ¶ added in v0.4.0
func (*Job) GetReconciling ¶ added in v0.4.0
func (*Job) GetSatisfiesPzs ¶ added in v1.0.1
func (*Job) GetTemplate ¶ added in v0.4.0
func (x *Job) GetTemplate() *ExecutionTemplate
func (*Job) GetTerminalCondition ¶ added in v0.4.0
func (*Job) GetUpdateTime ¶ added in v0.4.0
func (x *Job) GetUpdateTime() *timestamppb.Timestamp
func (*Job) ProtoMessage ¶ added in v0.4.0
func (*Job) ProtoMessage()
func (*Job) ProtoReflect ¶ added in v0.4.0
func (x *Job) ProtoReflect() protoreflect.Message
type JobsClient ¶ added in v0.4.0
type JobsClient interface { // Creates a Job. CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets information about a Job. GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) // Lists Jobs. ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) // Updates a Job. UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a Job. DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Triggers creation of a new Execution of this Job. RunJob(ctx context.Context, in *RunJobRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets the IAM Access Control policy currently in effect for the given Job. // This result does not include any inherited policies. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the IAM Access control policy for the specified Job. Overwrites // any existing policy. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified Project. // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
JobsClient is the client API for Jobs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewJobsClient ¶ added in v0.4.0
func NewJobsClient(cc grpc.ClientConnInterface) JobsClient
type JobsServer ¶ added in v0.4.0
type JobsServer interface { // Creates a Job. CreateJob(context.Context, *CreateJobRequest) (*longrunningpb.Operation, error) // Gets information about a Job. GetJob(context.Context, *GetJobRequest) (*Job, error) // Lists Jobs. ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) // Updates a Job. UpdateJob(context.Context, *UpdateJobRequest) (*longrunningpb.Operation, error) // Deletes a Job. DeleteJob(context.Context, *DeleteJobRequest) (*longrunningpb.Operation, error) // Triggers creation of a new Execution of this Job. RunJob(context.Context, *RunJobRequest) (*longrunningpb.Operation, error) // Gets the IAM Access Control policy currently in effect for the given Job. // This result does not include any inherited policies. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the IAM Access control policy for the specified Job. Overwrites // any existing policy. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified Project. // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) }
JobsServer is the server API for Jobs service.
type ListExecutionsRequest ¶ added in v0.4.0
type ListExecutionsRequest struct { // Required. The Execution from which the Executions should be listed. // To list all Executions across Jobs, use "-" instead of Job name. // Format: `projects/{project}/locations/{location}/jobs/{job}`, where // `{project}` can be project id or number. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum number of Executions to return in this call. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token received from a previous call to ListExecutions. // All other parameters must match. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If true, returns deleted (but unexpired) resources along with active ones. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
Request message for retrieving a list of Executions.
func (*ListExecutionsRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListExecutionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListExecutionsRequest.ProtoReflect.Descriptor instead.
func (*ListExecutionsRequest) GetPageSize ¶ added in v0.4.0
func (x *ListExecutionsRequest) GetPageSize() int32
func (*ListExecutionsRequest) GetPageToken ¶ added in v0.4.0
func (x *ListExecutionsRequest) GetPageToken() string
func (*ListExecutionsRequest) GetParent ¶ added in v0.4.0
func (x *ListExecutionsRequest) GetParent() string
func (*ListExecutionsRequest) GetShowDeleted ¶ added in v0.4.0
func (x *ListExecutionsRequest) GetShowDeleted() bool
func (*ListExecutionsRequest) ProtoMessage ¶ added in v0.4.0
func (*ListExecutionsRequest) ProtoMessage()
func (*ListExecutionsRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListExecutionsRequest) ProtoReflect() protoreflect.Message
func (*ListExecutionsRequest) Reset ¶ added in v0.4.0
func (x *ListExecutionsRequest) Reset()
func (*ListExecutionsRequest) String ¶ added in v0.4.0
func (x *ListExecutionsRequest) String() string
type ListExecutionsResponse ¶ added in v0.4.0
type ListExecutionsResponse struct { // The resulting list of Executions. Executions []*Execution `protobuf:"bytes,1,rep,name=executions,proto3" json:"executions,omitempty"` // A token indicating there are more items than page_size. Use it in the next // ListExecutions request to continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing a list of Executions.
func (*ListExecutionsResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListExecutionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListExecutionsResponse.ProtoReflect.Descriptor instead.
func (*ListExecutionsResponse) GetExecutions ¶ added in v0.4.0
func (x *ListExecutionsResponse) GetExecutions() []*Execution
func (*ListExecutionsResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListExecutionsResponse) GetNextPageToken() string
func (*ListExecutionsResponse) ProtoMessage ¶ added in v0.4.0
func (*ListExecutionsResponse) ProtoMessage()
func (*ListExecutionsResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListExecutionsResponse) ProtoReflect() protoreflect.Message
func (*ListExecutionsResponse) Reset ¶ added in v0.4.0
func (x *ListExecutionsResponse) Reset()
func (*ListExecutionsResponse) String ¶ added in v0.4.0
func (x *ListExecutionsResponse) String() string
type ListJobsRequest ¶ added in v0.4.0
type ListJobsRequest struct { // Required. The location and project to list resources on. // Format: projects/{project}/locations/{location}, where {project} can be // project id or number. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum number of Jobs to return in this call. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token received from a previous call to ListJobs. // All other parameters must match. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If true, returns deleted (but unexpired) resources along with active ones. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
Request message for retrieving a list of Jobs.
func (*ListJobsRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListJobsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.
func (*ListJobsRequest) GetPageSize ¶ added in v0.4.0
func (x *ListJobsRequest) GetPageSize() int32
func (*ListJobsRequest) GetPageToken ¶ added in v0.4.0
func (x *ListJobsRequest) GetPageToken() string
func (*ListJobsRequest) GetParent ¶ added in v0.4.0
func (x *ListJobsRequest) GetParent() string
func (*ListJobsRequest) GetShowDeleted ¶ added in v0.4.0
func (x *ListJobsRequest) GetShowDeleted() bool
func (*ListJobsRequest) ProtoMessage ¶ added in v0.4.0
func (*ListJobsRequest) ProtoMessage()
func (*ListJobsRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListJobsRequest) ProtoReflect() protoreflect.Message
func (*ListJobsRequest) Reset ¶ added in v0.4.0
func (x *ListJobsRequest) Reset()
func (*ListJobsRequest) String ¶ added in v0.4.0
func (x *ListJobsRequest) String() string
type ListJobsResponse ¶ added in v0.4.0
type ListJobsResponse struct { // The resulting list of Jobs. Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"` // A token indicating there are more items than page_size. Use it in the next // ListJobs request to continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing a list of Jobs.
func (*ListJobsResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListJobsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.
func (*ListJobsResponse) GetJobs ¶ added in v0.4.0
func (x *ListJobsResponse) GetJobs() []*Job
func (*ListJobsResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListJobsResponse) GetNextPageToken() string
func (*ListJobsResponse) ProtoMessage ¶ added in v0.4.0
func (*ListJobsResponse) ProtoMessage()
func (*ListJobsResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListJobsResponse) ProtoReflect() protoreflect.Message
func (*ListJobsResponse) Reset ¶ added in v0.4.0
func (x *ListJobsResponse) Reset()
func (*ListJobsResponse) String ¶ added in v0.4.0
func (x *ListJobsResponse) String() string
type ListRevisionsRequest ¶
type ListRevisionsRequest struct { // Required. The Service from which the Revisions should be listed. // To list all Revisions across Services, use "-" instead of Service name. // Format: // projects/{project}/locations/{location}/services/{service} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum number of revisions to return in this call. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token received from a previous call to ListRevisions. // All other parameters must match. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If true, returns deleted (but unexpired) resources along with active ones. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
Request message for retrieving a list of Revisions.
func (*ListRevisionsRequest) Descriptor
deprecated
func (*ListRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListRevisionsRequest) GetPageSize ¶
func (x *ListRevisionsRequest) GetPageSize() int32
func (*ListRevisionsRequest) GetPageToken ¶
func (x *ListRevisionsRequest) GetPageToken() string
func (*ListRevisionsRequest) GetParent ¶
func (x *ListRevisionsRequest) GetParent() string
func (*ListRevisionsRequest) GetShowDeleted ¶
func (x *ListRevisionsRequest) GetShowDeleted() bool
func (*ListRevisionsRequest) ProtoMessage ¶
func (*ListRevisionsRequest) ProtoMessage()
func (*ListRevisionsRequest) ProtoReflect ¶
func (x *ListRevisionsRequest) ProtoReflect() protoreflect.Message
func (*ListRevisionsRequest) Reset ¶
func (x *ListRevisionsRequest) Reset()
func (*ListRevisionsRequest) String ¶
func (x *ListRevisionsRequest) String() string
type ListRevisionsResponse ¶
type ListRevisionsResponse struct { // The resulting list of Revisions. Revisions []*Revision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` // A token indicating there are more items than page_size. Use it in the next // ListRevisions request to continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing a list of Revisions.
func (*ListRevisionsResponse) Descriptor
deprecated
func (*ListRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListRevisionsResponse) GetNextPageToken ¶
func (x *ListRevisionsResponse) GetNextPageToken() string
func (*ListRevisionsResponse) GetRevisions ¶
func (x *ListRevisionsResponse) GetRevisions() []*Revision
func (*ListRevisionsResponse) ProtoMessage ¶
func (*ListRevisionsResponse) ProtoMessage()
func (*ListRevisionsResponse) ProtoReflect ¶
func (x *ListRevisionsResponse) ProtoReflect() protoreflect.Message
func (*ListRevisionsResponse) Reset ¶
func (x *ListRevisionsResponse) Reset()
func (*ListRevisionsResponse) String ¶
func (x *ListRevisionsResponse) String() string
type ListServicesRequest ¶
type ListServicesRequest struct { // Required. The location and project to list resources on. // Location must be a valid Google Cloud region, and cannot be the "-" // wildcard. Format: projects/{project}/locations/{location}, where {project} // can be project id or number. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum number of Services to return in this call. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token received from a previous call to ListServices. // All other parameters must match. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If true, returns deleted (but unexpired) resources along with active ones. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
Request message for retrieving a list of Services.
func (*ListServicesRequest) Descriptor
deprecated
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (*ListServicesRequest) GetPageSize ¶
func (x *ListServicesRequest) GetPageSize() int32
func (*ListServicesRequest) GetPageToken ¶
func (x *ListServicesRequest) GetPageToken() string
func (*ListServicesRequest) GetParent ¶
func (x *ListServicesRequest) GetParent() string
func (*ListServicesRequest) GetShowDeleted ¶
func (x *ListServicesRequest) GetShowDeleted() bool
func (*ListServicesRequest) ProtoMessage ¶
func (*ListServicesRequest) ProtoMessage()
func (*ListServicesRequest) ProtoReflect ¶
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (*ListServicesRequest) Reset ¶
func (x *ListServicesRequest) Reset()
func (*ListServicesRequest) String ¶
func (x *ListServicesRequest) String() string
type ListServicesResponse ¶
type ListServicesResponse struct { // The resulting list of Services. Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // A token indicating there are more items than page_size. Use it in the next // ListServices request to continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing a list of Services.
func (*ListServicesResponse) Descriptor
deprecated
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (*ListServicesResponse) GetNextPageToken ¶
func (x *ListServicesResponse) GetNextPageToken() string
func (*ListServicesResponse) GetServices ¶
func (x *ListServicesResponse) GetServices() []*Service
func (*ListServicesResponse) ProtoMessage ¶
func (*ListServicesResponse) ProtoMessage()
func (*ListServicesResponse) ProtoReflect ¶
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (*ListServicesResponse) Reset ¶
func (x *ListServicesResponse) Reset()
func (*ListServicesResponse) String ¶
func (x *ListServicesResponse) String() string
type ListTasksRequest ¶ added in v0.4.0
type ListTasksRequest struct { // Required. The Execution from which the Tasks should be listed. // To list all Tasks across Executions of a Job, use "-" instead of Execution // name. To list all Tasks across Jobs, use "-" instead of Job name. Format: // projects/{project}/locations/{location}/jobs/{job}/executions/{execution} Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum number of Tasks to return in this call. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A page token received from a previous call to ListTasks. // All other parameters must match. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // If true, returns deleted (but unexpired) resources along with active ones. ShowDeleted bool `protobuf:"varint,4,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"` // contains filtered or unexported fields }
Request message for retrieving a list of Tasks.
func (*ListTasksRequest) Descriptor
deprecated
added in
v0.4.0
func (*ListTasksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
func (*ListTasksRequest) GetPageSize ¶ added in v0.4.0
func (x *ListTasksRequest) GetPageSize() int32
func (*ListTasksRequest) GetPageToken ¶ added in v0.4.0
func (x *ListTasksRequest) GetPageToken() string
func (*ListTasksRequest) GetParent ¶ added in v0.4.0
func (x *ListTasksRequest) GetParent() string
func (*ListTasksRequest) GetShowDeleted ¶ added in v0.4.0
func (x *ListTasksRequest) GetShowDeleted() bool
func (*ListTasksRequest) ProtoMessage ¶ added in v0.4.0
func (*ListTasksRequest) ProtoMessage()
func (*ListTasksRequest) ProtoReflect ¶ added in v0.4.0
func (x *ListTasksRequest) ProtoReflect() protoreflect.Message
func (*ListTasksRequest) Reset ¶ added in v0.4.0
func (x *ListTasksRequest) Reset()
func (*ListTasksRequest) String ¶ added in v0.4.0
func (x *ListTasksRequest) String() string
type ListTasksResponse ¶ added in v0.4.0
type ListTasksResponse struct { // The resulting list of Tasks. Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` // A token indicating there are more items than page_size. Use it in the next // ListTasks request to continue. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message containing a list of Tasks.
func (*ListTasksResponse) Descriptor
deprecated
added in
v0.4.0
func (*ListTasksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
func (*ListTasksResponse) GetNextPageToken ¶ added in v0.4.0
func (x *ListTasksResponse) GetNextPageToken() string
func (*ListTasksResponse) GetTasks ¶ added in v0.4.0
func (x *ListTasksResponse) GetTasks() []*Task
func (*ListTasksResponse) ProtoMessage ¶ added in v0.4.0
func (*ListTasksResponse) ProtoMessage()
func (*ListTasksResponse) ProtoReflect ¶ added in v0.4.0
func (x *ListTasksResponse) ProtoReflect() protoreflect.Message
func (*ListTasksResponse) Reset ¶ added in v0.4.0
func (x *ListTasksResponse) Reset()
func (*ListTasksResponse) String ¶ added in v0.4.0
func (x *ListTasksResponse) String() string
type NFSVolumeSource ¶ added in v1.3.5
type NFSVolumeSource struct { // Hostname or IP address of the NFS server Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` // Path that is exported by the NFS server. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // If true, mount the NFS volume as read only ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // contains filtered or unexported fields }
Represents an NFS mount.
func (*NFSVolumeSource) Descriptor
deprecated
added in
v1.3.5
func (*NFSVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use NFSVolumeSource.ProtoReflect.Descriptor instead.
func (*NFSVolumeSource) GetPath ¶ added in v1.3.5
func (x *NFSVolumeSource) GetPath() string
func (*NFSVolumeSource) GetReadOnly ¶ added in v1.3.5
func (x *NFSVolumeSource) GetReadOnly() bool
func (*NFSVolumeSource) GetServer ¶ added in v1.3.5
func (x *NFSVolumeSource) GetServer() string
func (*NFSVolumeSource) ProtoMessage ¶ added in v1.3.5
func (*NFSVolumeSource) ProtoMessage()
func (*NFSVolumeSource) ProtoReflect ¶ added in v1.3.5
func (x *NFSVolumeSource) ProtoReflect() protoreflect.Message
func (*NFSVolumeSource) Reset ¶ added in v1.3.5
func (x *NFSVolumeSource) Reset()
func (*NFSVolumeSource) String ¶ added in v1.3.5
func (x *NFSVolumeSource) String() string
type Probe ¶
type Probe struct { // Number of seconds after the container has started before the probe is // initiated. // Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe // is 3600. Maximum value for startup probe is 240. InitialDelaySeconds int32 `protobuf:"varint,1,opt,name=initial_delay_seconds,json=initialDelaySeconds,proto3" json:"initial_delay_seconds,omitempty"` // Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. Maximum value is 3600. // Must be smaller than period_seconds. TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"` // How often (in seconds) to perform the probe. // Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe // is 3600. Maximum value for startup probe is 240. // Must be greater or equal than timeout_seconds. PeriodSeconds int32 `protobuf:"varint,3,opt,name=period_seconds,json=periodSeconds,proto3" json:"period_seconds,omitempty"` // Minimum consecutive failures for the probe to be considered failed after // having succeeded. Defaults to 3. Minimum value is 1. FailureThreshold int32 `protobuf:"varint,4,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"` // Types that are assignable to ProbeType: // // *Probe_HttpGet // *Probe_TcpSocket // *Probe_Grpc ProbeType isProbe_ProbeType `protobuf_oneof:"probe_type"` // contains filtered or unexported fields }
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
func (*Probe) Descriptor
deprecated
func (*Probe) GetFailureThreshold ¶
func (*Probe) GetGrpc ¶ added in v0.4.0
func (x *Probe) GetGrpc() *GRPCAction
func (*Probe) GetHttpGet ¶
func (x *Probe) GetHttpGet() *HTTPGetAction
func (*Probe) GetInitialDelaySeconds ¶
func (*Probe) GetPeriodSeconds ¶
func (*Probe) GetProbeType ¶
func (m *Probe) GetProbeType() isProbe_ProbeType
func (*Probe) GetTcpSocket ¶
func (x *Probe) GetTcpSocket() *TCPSocketAction
func (*Probe) GetTimeoutSeconds ¶
func (*Probe) ProtoMessage ¶
func (*Probe) ProtoMessage()
func (*Probe) ProtoReflect ¶
func (x *Probe) ProtoReflect() protoreflect.Message
type Probe_Grpc ¶ added in v0.4.0
type Probe_Grpc struct { // GRPC specifies an action involving a gRPC port. // Exactly one of httpGet, tcpSocket, or grpc must be specified. Grpc *GRPCAction `protobuf:"bytes,7,opt,name=grpc,proto3,oneof"` }
type Probe_HttpGet ¶
type Probe_HttpGet struct { // HTTPGet specifies the http request to perform. // Exactly one of httpGet, tcpSocket, or grpc must be specified. HttpGet *HTTPGetAction `protobuf:"bytes,5,opt,name=http_get,json=httpGet,proto3,oneof"` }
type Probe_TcpSocket ¶
type Probe_TcpSocket struct { // TCPSocket specifies an action involving a TCP port. // Exactly one of httpGet, tcpSocket, or grpc must be specified. TcpSocket *TCPSocketAction `protobuf:"bytes,6,opt,name=tcp_socket,json=tcpSocket,proto3,oneof"` }
type ResourceRequirements ¶
type ResourceRequirements struct { // Only `memory` and `cpu` keys in the map are supported. // // <p>Notes: // - The only supported values for CPU are '1', '2', '4', and '8'. Setting 4 // // CPU requires at least 2Gi of memory. For more information, go to // https://cloud.google.com/run/docs/configuring/cpu. // - For supported 'memory' values and syntax, go to // https://cloud.google.com/run/docs/configuring/memory-limits Limits map[string]string `` /* 153-byte string literal not displayed */ // Determines whether CPU is only allocated during requests (true by default). // However, if ResourceRequirements is set, the caller must explicitly // set this field to true to preserve the default behavior. CpuIdle bool `protobuf:"varint,2,opt,name=cpu_idle,json=cpuIdle,proto3" json:"cpu_idle,omitempty"` // Determines whether CPU should be boosted on startup of a new container // instance above the requested CPU threshold, this can help reduce cold-start // latency. StartupCpuBoost bool `protobuf:"varint,3,opt,name=startup_cpu_boost,json=startupCpuBoost,proto3" json:"startup_cpu_boost,omitempty"` // contains filtered or unexported fields }
ResourceRequirements describes the compute resource requirements.
func (*ResourceRequirements) Descriptor
deprecated
func (*ResourceRequirements) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead.
func (*ResourceRequirements) GetCpuIdle ¶
func (x *ResourceRequirements) GetCpuIdle() bool
func (*ResourceRequirements) GetLimits ¶
func (x *ResourceRequirements) GetLimits() map[string]string
func (*ResourceRequirements) GetStartupCpuBoost ¶ added in v1.0.1
func (x *ResourceRequirements) GetStartupCpuBoost() bool
func (*ResourceRequirements) ProtoMessage ¶
func (*ResourceRequirements) ProtoMessage()
func (*ResourceRequirements) ProtoReflect ¶
func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
func (*ResourceRequirements) Reset ¶
func (x *ResourceRequirements) Reset()
func (*ResourceRequirements) String ¶
func (x *ResourceRequirements) String() string
type Revision ¶
type Revision struct { // Output only. The unique name of this Revision. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Server assigned unique identifier for the Revision. The value // is a UUID4 string and guaranteed to remain unchanged until the resource is // deleted. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. A number that monotonically increases every time the user // modifies the desired state. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Output only. Unstructured key value map that can be used to organize and // categorize objects. User-provided labels are shared with Google's billing // system, so they can be used to filter, or break down billing charges by // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels. Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. Unstructured key value map that may // be set by external tools to store and arbitrary metadata. // They are not queryable and should be preserved // when modifying objects. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Output only. The creation time. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. For a deleted resource, the deletion time. It is only // populated as a response to a Delete request. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. For a deleted resource, the time after which it will be // permamently deleted. It is only populated as a response to a Delete // request. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // The least stable launch stage needed to create this resource, as defined by // [Google Cloud Platform Launch // Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports // `ALPHA`, `BETA`, and `GA`. // <p>Note that this value might not be what was used // as input. For example, if ALPHA was provided as input in the parent // resource, but only BETA and GA-level features are were, this field will be // BETA. LaunchStage api.LaunchStage `protobuf:"varint,10,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` // Output only. The name of the parent service. Service string `protobuf:"bytes,11,opt,name=service,proto3" json:"service,omitempty"` // Scaling settings for this revision. Scaling *RevisionScaling `protobuf:"bytes,12,opt,name=scaling,proto3" json:"scaling,omitempty"` // VPC Access configuration for this Revision. For more information, visit // https://cloud.google.com/run/docs/configuring/connecting-vpc. VpcAccess *VpcAccess `protobuf:"bytes,13,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"` // Sets the maximum number of requests that each serving instance can receive. MaxInstanceRequestConcurrency int32 `` /* 154-byte string literal not displayed */ // Max allowed time for an instance to respond to a request. Timeout *durationpb.Duration `protobuf:"bytes,15,opt,name=timeout,proto3" json:"timeout,omitempty"` // Email address of the IAM service account associated with the revision of // the service. The service account represents the identity of the running // revision, and determines what permissions the revision has. ServiceAccount string `protobuf:"bytes,16,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Holds the single container that defines the unit of execution for this // Revision. Containers []*Container `protobuf:"bytes,17,rep,name=containers,proto3" json:"containers,omitempty"` // A list of Volumes to make available to containers. Volumes []*Volume `protobuf:"bytes,18,rep,name=volumes,proto3" json:"volumes,omitempty"` // The execution environment being used to host this Revision. ExecutionEnvironment ExecutionEnvironment `` /* 169-byte string literal not displayed */ // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to // https://cloud.google.com/run/docs/securing/using-cmek EncryptionKey string `protobuf:"bytes,21,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // The action to take if the encryption key is revoked. EncryptionKeyRevocationAction EncryptionKeyRevocationAction `` /* 209-byte string literal not displayed */ // If encryption_key_revocation_action is SHUTDOWN, the duration before // shutting down all instances. The minimum increment is 1 hour. EncryptionKeyShutdownDuration *durationpb.Duration `` /* 153-byte string literal not displayed */ // Output only. Indicates whether the resource's reconciliation is still in // progress. See comments in `Service.reconciling` for additional information // on reconciliation process in Cloud Run. Reconciling bool `protobuf:"varint,30,opt,name=reconciling,proto3" json:"reconciling,omitempty"` // Output only. The Condition of this Revision, containing its readiness // status, and detailed error information in case it did not reach a serving // state. Conditions []*Condition `protobuf:"bytes,31,rep,name=conditions,proto3" json:"conditions,omitempty"` // Output only. The generation of this Revision currently serving traffic. See // comments in `reconciling` for additional information on reconciliation // process in Cloud Run. ObservedGeneration int64 `protobuf:"varint,32,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Output only. The Google Console URI to obtain logs for the Revision. LogUri string `protobuf:"bytes,33,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"` // Output only. Reserved for future use. SatisfiesPzs bool `protobuf:"varint,37,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Enable session affinity. SessionAffinity bool `protobuf:"varint,38,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"` // Output only. The current effective scaling settings for the revision. ScalingStatus *RevisionScalingStatus `protobuf:"bytes,39,opt,name=scaling_status,json=scalingStatus,proto3" json:"scaling_status,omitempty"` // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
A Revision is an immutable snapshot of code and configuration. A Revision references a container image. Revisions are only created by updates to its parent Service.
func (*Revision) Descriptor
deprecated
func (*Revision) GetAnnotations ¶
func (*Revision) GetConditions ¶
func (*Revision) GetContainers ¶
func (*Revision) GetCreateTime ¶
func (x *Revision) GetCreateTime() *timestamppb.Timestamp
func (*Revision) GetDeleteTime ¶
func (x *Revision) GetDeleteTime() *timestamppb.Timestamp
func (*Revision) GetEncryptionKey ¶
func (*Revision) GetEncryptionKeyRevocationAction ¶ added in v0.8.0
func (x *Revision) GetEncryptionKeyRevocationAction() EncryptionKeyRevocationAction
func (*Revision) GetEncryptionKeyShutdownDuration ¶ added in v0.8.0
func (x *Revision) GetEncryptionKeyShutdownDuration() *durationpb.Duration
func (*Revision) GetExecutionEnvironment ¶
func (x *Revision) GetExecutionEnvironment() ExecutionEnvironment
func (*Revision) GetExpireTime ¶
func (x *Revision) GetExpireTime() *timestamppb.Timestamp
func (*Revision) GetGeneration ¶
func (*Revision) GetLaunchStage ¶
func (x *Revision) GetLaunchStage() api.LaunchStage
func (*Revision) GetMaxInstanceRequestConcurrency ¶
func (*Revision) GetObservedGeneration ¶
func (*Revision) GetReconciling ¶
func (*Revision) GetSatisfiesPzs ¶ added in v1.0.1
func (*Revision) GetScaling ¶
func (x *Revision) GetScaling() *RevisionScaling
func (*Revision) GetScalingStatus ¶ added in v1.3.5
func (x *Revision) GetScalingStatus() *RevisionScalingStatus
func (*Revision) GetService ¶
func (*Revision) GetServiceAccount ¶
func (*Revision) GetSessionAffinity ¶ added in v1.0.1
func (*Revision) GetTimeout ¶
func (x *Revision) GetTimeout() *durationpb.Duration
func (*Revision) GetUpdateTime ¶
func (x *Revision) GetUpdateTime() *timestamppb.Timestamp
func (*Revision) GetVolumes ¶
func (*Revision) GetVpcAccess ¶
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶
func (x *Revision) ProtoReflect() protoreflect.Message
type RevisionScaling ¶
type RevisionScaling struct { // Minimum number of serving instances that this resource should have. MinInstanceCount int32 `protobuf:"varint,1,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"` // Maximum number of serving instances that this resource should have. MaxInstanceCount int32 `protobuf:"varint,2,opt,name=max_instance_count,json=maxInstanceCount,proto3" json:"max_instance_count,omitempty"` // contains filtered or unexported fields }
Settings for revision-level scaling settings.
func (*RevisionScaling) Descriptor
deprecated
func (*RevisionScaling) Descriptor() ([]byte, []int)
Deprecated: Use RevisionScaling.ProtoReflect.Descriptor instead.
func (*RevisionScaling) GetMaxInstanceCount ¶
func (x *RevisionScaling) GetMaxInstanceCount() int32
func (*RevisionScaling) GetMinInstanceCount ¶
func (x *RevisionScaling) GetMinInstanceCount() int32
func (*RevisionScaling) ProtoMessage ¶
func (*RevisionScaling) ProtoMessage()
func (*RevisionScaling) ProtoReflect ¶
func (x *RevisionScaling) ProtoReflect() protoreflect.Message
func (*RevisionScaling) Reset ¶
func (x *RevisionScaling) Reset()
func (*RevisionScaling) String ¶
func (x *RevisionScaling) String() string
type RevisionScalingStatus ¶ added in v1.3.5
type RevisionScalingStatus struct { // The current number of min instances provisioned for this revision. DesiredMinInstanceCount int32 `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Effective settings for the current revision
func (*RevisionScalingStatus) Descriptor
deprecated
added in
v1.3.5
func (*RevisionScalingStatus) Descriptor() ([]byte, []int)
Deprecated: Use RevisionScalingStatus.ProtoReflect.Descriptor instead.
func (*RevisionScalingStatus) GetDesiredMinInstanceCount ¶ added in v1.3.5
func (x *RevisionScalingStatus) GetDesiredMinInstanceCount() int32
func (*RevisionScalingStatus) ProtoMessage ¶ added in v1.3.5
func (*RevisionScalingStatus) ProtoMessage()
func (*RevisionScalingStatus) ProtoReflect ¶ added in v1.3.5
func (x *RevisionScalingStatus) ProtoReflect() protoreflect.Message
func (*RevisionScalingStatus) Reset ¶ added in v1.3.5
func (x *RevisionScalingStatus) Reset()
func (*RevisionScalingStatus) String ¶ added in v1.3.5
func (x *RevisionScalingStatus) String() string
type RevisionTemplate ¶
type RevisionTemplate struct { // The unique name for the revision. If this field is omitted, it will be // automatically generated based on the Service name. Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"` // Unstructured key value map that can be used to organize and categorize // objects. // User-provided labels are shared with Google's billing system, so they can // be used to filter, or break down billing charges by team, component, // environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels. // // <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system labels in v1 now have a // corresponding field in v2 RevisionTemplate. Labels map[string]string `` /* 153-byte string literal not displayed */ // Unstructured key value map that may be set by external tools to store and // arbitrary metadata. They are not queryable and should be preserved // when modifying objects. // // <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system annotations in v1 now // have a corresponding field in v2 RevisionTemplate. // // <p>This field follows Kubernetes annotations' namespacing, limits, and // rules. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Scaling settings for this Revision. Scaling *RevisionScaling `protobuf:"bytes,4,opt,name=scaling,proto3" json:"scaling,omitempty"` // VPC Access configuration to use for this Revision. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. VpcAccess *VpcAccess `protobuf:"bytes,6,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"` // Max allowed time for an instance to respond to a request. Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"` // Email address of the IAM service account associated with the revision of // the service. The service account represents the identity of the running // revision, and determines what permissions the revision has. If not // provided, the revision will use the project's default service account. ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Holds the single container that defines the unit of execution for this // Revision. Containers []*Container `protobuf:"bytes,10,rep,name=containers,proto3" json:"containers,omitempty"` // A list of Volumes to make available to containers. Volumes []*Volume `protobuf:"bytes,11,rep,name=volumes,proto3" json:"volumes,omitempty"` // The sandbox environment to host this Revision. ExecutionEnvironment ExecutionEnvironment `` /* 169-byte string literal not displayed */ // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to // https://cloud.google.com/run/docs/securing/using-cmek EncryptionKey string `protobuf:"bytes,14,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // Sets the maximum number of requests that each serving instance can receive. MaxInstanceRequestConcurrency int32 `` /* 154-byte string literal not displayed */ // Optional. Enable session affinity. SessionAffinity bool `protobuf:"varint,19,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"` // Optional. Disables health checking containers during deployment. HealthCheckDisabled bool `protobuf:"varint,20,opt,name=health_check_disabled,json=healthCheckDisabled,proto3" json:"health_check_disabled,omitempty"` // contains filtered or unexported fields }
RevisionTemplate describes the data a revision should have when created from a template.
func (*RevisionTemplate) Descriptor
deprecated
func (*RevisionTemplate) Descriptor() ([]byte, []int)
Deprecated: Use RevisionTemplate.ProtoReflect.Descriptor instead.
func (*RevisionTemplate) GetAnnotations ¶
func (x *RevisionTemplate) GetAnnotations() map[string]string
func (*RevisionTemplate) GetContainers ¶
func (x *RevisionTemplate) GetContainers() []*Container
func (*RevisionTemplate) GetEncryptionKey ¶
func (x *RevisionTemplate) GetEncryptionKey() string
func (*RevisionTemplate) GetExecutionEnvironment ¶
func (x *RevisionTemplate) GetExecutionEnvironment() ExecutionEnvironment
func (*RevisionTemplate) GetHealthCheckDisabled ¶ added in v1.3.5
func (x *RevisionTemplate) GetHealthCheckDisabled() bool
func (*RevisionTemplate) GetLabels ¶
func (x *RevisionTemplate) GetLabels() map[string]string
func (*RevisionTemplate) GetMaxInstanceRequestConcurrency ¶
func (x *RevisionTemplate) GetMaxInstanceRequestConcurrency() int32
func (*RevisionTemplate) GetRevision ¶
func (x *RevisionTemplate) GetRevision() string
func (*RevisionTemplate) GetScaling ¶
func (x *RevisionTemplate) GetScaling() *RevisionScaling
func (*RevisionTemplate) GetServiceAccount ¶
func (x *RevisionTemplate) GetServiceAccount() string
func (*RevisionTemplate) GetSessionAffinity ¶ added in v1.0.1
func (x *RevisionTemplate) GetSessionAffinity() bool
func (*RevisionTemplate) GetTimeout ¶
func (x *RevisionTemplate) GetTimeout() *durationpb.Duration
func (*RevisionTemplate) GetVolumes ¶
func (x *RevisionTemplate) GetVolumes() []*Volume
func (*RevisionTemplate) GetVpcAccess ¶
func (x *RevisionTemplate) GetVpcAccess() *VpcAccess
func (*RevisionTemplate) ProtoMessage ¶
func (*RevisionTemplate) ProtoMessage()
func (*RevisionTemplate) ProtoReflect ¶
func (x *RevisionTemplate) ProtoReflect() protoreflect.Message
func (*RevisionTemplate) Reset ¶
func (x *RevisionTemplate) Reset()
func (*RevisionTemplate) String ¶
func (x *RevisionTemplate) String() string
type RevisionsClient ¶
type RevisionsClient interface { // Gets information about a Revision. GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error) // Lists Revisions from a given Service, or from a given location. ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error) // Deletes a Revision. DeleteRevision(ctx context.Context, in *DeleteRevisionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
RevisionsClient is the client API for Revisions service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRevisionsClient ¶
func NewRevisionsClient(cc grpc.ClientConnInterface) RevisionsClient
type RevisionsServer ¶
type RevisionsServer interface { // Gets information about a Revision. GetRevision(context.Context, *GetRevisionRequest) (*Revision, error) // Lists Revisions from a given Service, or from a given location. ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error) // Deletes a Revision. DeleteRevision(context.Context, *DeleteRevisionRequest) (*longrunningpb.Operation, error) }
RevisionsServer is the server API for Revisions service.
type RunJobRequest ¶ added in v0.4.0
type RunJobRequest struct { // Required. The full name of the Job. // Format: projects/{project}/locations/{location}/jobs/{job}, where {project} // can be project id or number. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Indicates that the request should be validated without actually // deleting any resources. ValidateOnly bool `protobuf:"varint,2,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"` // Overrides specification for a given execution of a job. If provided, // overrides will be applied to update the execution or task spec. Overrides *RunJobRequest_Overrides `protobuf:"bytes,4,opt,name=overrides,proto3" json:"overrides,omitempty"` // contains filtered or unexported fields }
Request message to create a new Execution of a Job.
func (*RunJobRequest) Descriptor
deprecated
added in
v0.4.0
func (*RunJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunJobRequest.ProtoReflect.Descriptor instead.
func (*RunJobRequest) GetEtag ¶ added in v0.4.0
func (x *RunJobRequest) GetEtag() string
func (*RunJobRequest) GetName ¶ added in v0.4.0
func (x *RunJobRequest) GetName() string
func (*RunJobRequest) GetOverrides ¶ added in v1.3.0
func (x *RunJobRequest) GetOverrides() *RunJobRequest_Overrides
func (*RunJobRequest) GetValidateOnly ¶ added in v0.4.0
func (x *RunJobRequest) GetValidateOnly() bool
func (*RunJobRequest) ProtoMessage ¶ added in v0.4.0
func (*RunJobRequest) ProtoMessage()
func (*RunJobRequest) ProtoReflect ¶ added in v0.4.0
func (x *RunJobRequest) ProtoReflect() protoreflect.Message
func (*RunJobRequest) Reset ¶ added in v0.4.0
func (x *RunJobRequest) Reset()
func (*RunJobRequest) String ¶ added in v0.4.0
func (x *RunJobRequest) String() string
type RunJobRequest_Overrides ¶ added in v1.3.0
type RunJobRequest_Overrides struct { // Per container override specification. ContainerOverrides []*RunJobRequest_Overrides_ContainerOverride `protobuf:"bytes,1,rep,name=container_overrides,json=containerOverrides,proto3" json:"container_overrides,omitempty"` // Optional. The desired number of tasks the execution should run. Will // replace existing task_count value. TaskCount int32 `protobuf:"varint,2,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"` // Duration in seconds the task may be active before the system will // actively try to mark it failed and kill associated containers. Will // replace existing timeout_seconds value. Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
RunJob Overrides that contains Execution fields to be overridden.
func (*RunJobRequest_Overrides) Descriptor
deprecated
added in
v1.3.0
func (*RunJobRequest_Overrides) Descriptor() ([]byte, []int)
Deprecated: Use RunJobRequest_Overrides.ProtoReflect.Descriptor instead.
func (*RunJobRequest_Overrides) GetContainerOverrides ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) GetContainerOverrides() []*RunJobRequest_Overrides_ContainerOverride
func (*RunJobRequest_Overrides) GetTaskCount ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) GetTaskCount() int32
func (*RunJobRequest_Overrides) GetTimeout ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) GetTimeout() *durationpb.Duration
func (*RunJobRequest_Overrides) ProtoMessage ¶ added in v1.3.0
func (*RunJobRequest_Overrides) ProtoMessage()
func (*RunJobRequest_Overrides) ProtoReflect ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) ProtoReflect() protoreflect.Message
func (*RunJobRequest_Overrides) Reset ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) Reset()
func (*RunJobRequest_Overrides) String ¶ added in v1.3.0
func (x *RunJobRequest_Overrides) String() string
type RunJobRequest_Overrides_ContainerOverride ¶ added in v1.3.0
type RunJobRequest_Overrides_ContainerOverride struct { // The name of the container specified as a DNS_LABEL. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. Arguments to the entrypoint. Will replace existing args for // override. Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // List of environment variables to set in the container. Will be merged // with existing env for override. Env []*EnvVar `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"` // Optional. True if the intention is to clear out existing args list. ClearArgs bool `protobuf:"varint,4,opt,name=clear_args,json=clearArgs,proto3" json:"clear_args,omitempty"` // contains filtered or unexported fields }
Per-container override specification.
func (*RunJobRequest_Overrides_ContainerOverride) Descriptor
deprecated
added in
v1.3.0
func (*RunJobRequest_Overrides_ContainerOverride) Descriptor() ([]byte, []int)
Deprecated: Use RunJobRequest_Overrides_ContainerOverride.ProtoReflect.Descriptor instead.
func (*RunJobRequest_Overrides_ContainerOverride) GetArgs ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) GetArgs() []string
func (*RunJobRequest_Overrides_ContainerOverride) GetClearArgs ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) GetClearArgs() bool
func (*RunJobRequest_Overrides_ContainerOverride) GetEnv ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) GetEnv() []*EnvVar
func (*RunJobRequest_Overrides_ContainerOverride) GetName ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) GetName() string
func (*RunJobRequest_Overrides_ContainerOverride) ProtoMessage ¶ added in v1.3.0
func (*RunJobRequest_Overrides_ContainerOverride) ProtoMessage()
func (*RunJobRequest_Overrides_ContainerOverride) ProtoReflect ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) ProtoReflect() protoreflect.Message
func (*RunJobRequest_Overrides_ContainerOverride) Reset ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) Reset()
func (*RunJobRequest_Overrides_ContainerOverride) String ¶ added in v1.3.0
func (x *RunJobRequest_Overrides_ContainerOverride) String() string
type SecretKeySelector ¶
type SecretKeySelector struct { // Required. The name of the secret in Cloud Secret Manager. // Format: {secret_name} if the secret is in the same project. // projects/{project}/secrets/{secret_name} if the secret is // in a different project. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // The Cloud Secret Manager secret version. // Can be 'latest' for the latest version, an integer for a specific version, // or a version alias. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
SecretEnvVarSource represents a source for the value of an EnvVar.
func (*SecretKeySelector) Descriptor
deprecated
func (*SecretKeySelector) Descriptor() ([]byte, []int)
Deprecated: Use SecretKeySelector.ProtoReflect.Descriptor instead.
func (*SecretKeySelector) GetSecret ¶
func (x *SecretKeySelector) GetSecret() string
func (*SecretKeySelector) GetVersion ¶
func (x *SecretKeySelector) GetVersion() string
func (*SecretKeySelector) ProtoMessage ¶
func (*SecretKeySelector) ProtoMessage()
func (*SecretKeySelector) ProtoReflect ¶
func (x *SecretKeySelector) ProtoReflect() protoreflect.Message
func (*SecretKeySelector) Reset ¶
func (x *SecretKeySelector) Reset()
func (*SecretKeySelector) String ¶
func (x *SecretKeySelector) String() string
type SecretVolumeSource ¶
type SecretVolumeSource struct { // Required. The name of the secret in Cloud Secret Manager. // Format: {secret} if the secret is in the same project. // projects/{project}/secrets/{secret} if the secret is // in a different project. Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // If unspecified, the volume will expose a file whose name is the // secret, relative to VolumeMount.mount_path. // If specified, the key will be used as the version to fetch from Cloud // Secret Manager and the path will be the name of the file exposed in the // volume. When items are defined, they must specify a path and a version. Items []*VersionToPath `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // Integer representation of mode bits to use on created files by default. // Must be a value between 0000 and 0777 (octal), defaulting to 0444. // Directories within the path are not affected by this setting. // // # Notes // // * Internally, a umask of 0222 will be applied to any non-zero value. // * This is an integer representation of the mode bits. So, the octal // integer value should look exactly as the chmod numeric notation with a // leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or // 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or // 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 // (base-10). // * This might be in conflict with other options that affect the // file mode, like fsGroup, and the result can be other mode bits set. // // This might be in conflict with other options that affect the // file mode, like fsGroup, and as a result, other mode bits could be set. DefaultMode int32 `protobuf:"varint,3,opt,name=default_mode,json=defaultMode,proto3" json:"default_mode,omitempty"` // contains filtered or unexported fields }
The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret.
func (*SecretVolumeSource) Descriptor
deprecated
func (*SecretVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use SecretVolumeSource.ProtoReflect.Descriptor instead.
func (*SecretVolumeSource) GetDefaultMode ¶
func (x *SecretVolumeSource) GetDefaultMode() int32
func (*SecretVolumeSource) GetItems ¶
func (x *SecretVolumeSource) GetItems() []*VersionToPath
func (*SecretVolumeSource) GetSecret ¶
func (x *SecretVolumeSource) GetSecret() string
func (*SecretVolumeSource) ProtoMessage ¶
func (*SecretVolumeSource) ProtoMessage()
func (*SecretVolumeSource) ProtoReflect ¶
func (x *SecretVolumeSource) ProtoReflect() protoreflect.Message
func (*SecretVolumeSource) Reset ¶
func (x *SecretVolumeSource) Reset()
func (*SecretVolumeSource) String ¶
func (x *SecretVolumeSource) String() string
type Service ¶
type Service struct { // The fully qualified name of this Service. In CreateServiceRequest, this // field is ignored, and instead composed from CreateServiceRequest.parent and // CreateServiceRequest.service_id. // // Format: // projects/{project}/locations/{location}/services/{service_id} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // User-provided description of the Service. This field currently has a // 512-character limit. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. Server assigned unique identifier for the trigger. The value // is a UUID4 string and guaranteed to remain unchanged until the resource is // deleted. Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. A number that monotonically increases every time the user // modifies the desired state. // Please note that unlike v1, this is an int64 value. As with most Google // APIs, its JSON representation will be a `string` instead of an `integer`. Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // Optional. Unstructured key value map that can be used to organize and // categorize objects. User-provided labels are shared with Google's billing // system, so they can be used to filter, or break down billing charges by // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels. // // <p>Cloud Run API v2 does not support labels with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected. All system labels in v1 now have a // corresponding field in v2 Service. Labels map[string]string `` /* 153-byte string literal not displayed */ // Optional. Unstructured key value map that may be set by external tools to // store and arbitrary metadata. They are not queryable and should be // preserved when modifying objects. // // <p>Cloud Run API v2 does not support annotations with `run.googleapis.com`, // `cloud.googleapis.com`, `serving.knative.dev`, or `autoscaling.knative.dev` // namespaces, and they will be rejected in new resources. All system // annotations in v1 now have a corresponding field in v2 Service. // // <p>This field follows Kubernetes // annotations' namespacing, limits, and rules. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Output only. The creation time. CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The last-modified time. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The deletion time. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. For a deleted resource, the time after which it will be // permamently deleted. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Output only. Email address of the authenticated creator. Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"` // Output only. Email address of the last authenticated modifier. LastModifier string `protobuf:"bytes,12,opt,name=last_modifier,json=lastModifier,proto3" json:"last_modifier,omitempty"` // Arbitrary identifier for the API client. Client string `protobuf:"bytes,13,opt,name=client,proto3" json:"client,omitempty"` // Arbitrary version identifier for the API client. ClientVersion string `protobuf:"bytes,14,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"` // Provides the ingress settings for this Service. On output, returns the // currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no // revision is active. Ingress IngressTraffic `protobuf:"varint,15,opt,name=ingress,proto3,enum=google.cloud.run.v2.IngressTraffic" json:"ingress,omitempty"` // The launch stage as defined by [Google Cloud Platform // Launch Stages](https://cloud.google.com/terms/launch-stages). // Cloud Run supports `ALPHA`, `BETA`, and `GA`. If no value is specified, GA // is assumed. // Set the launch stage to a preview stage on input to allow use of preview // features in that stage. On read (or output), describes whether the resource // uses preview features. // <p> // For example, if ALPHA is provided as input, but only BETA and GA-level // features are used, this field will be BETA on output. LaunchStage api.LaunchStage `protobuf:"varint,16,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"` // Settings for the Binary Authorization feature. BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,17,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"` // Required. The template used to create revisions for this Service. Template *RevisionTemplate `protobuf:"bytes,18,opt,name=template,proto3" json:"template,omitempty"` // Specifies how to distribute traffic over a collection of Revisions // belonging to the Service. If traffic is empty or not provided, defaults to // 100% traffic to the latest `Ready` Revision. Traffic []*TrafficTarget `protobuf:"bytes,19,rep,name=traffic,proto3" json:"traffic,omitempty"` // Optional. Specifies service-level scaling settings Scaling *ServiceScaling `protobuf:"bytes,20,opt,name=scaling,proto3" json:"scaling,omitempty"` // Optional. Disables public resolution of the default URI of this service. DefaultUriDisabled bool `protobuf:"varint,22,opt,name=default_uri_disabled,json=defaultUriDisabled,proto3" json:"default_uri_disabled,omitempty"` // Output only. The generation of this Service currently serving traffic. See // comments in `reconciling` for additional information on reconciliation // process in Cloud Run. Please note that unlike v1, this is an int64 value. // As with most Google APIs, its JSON representation will be a `string` // instead of an `integer`. ObservedGeneration int64 `protobuf:"varint,30,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Output only. The Condition of this Service, containing its readiness // status, and detailed error information in case it did not reach a serving // state. See comments in `reconciling` for additional information on // reconciliation process in Cloud Run. TerminalCondition *Condition `protobuf:"bytes,31,opt,name=terminal_condition,json=terminalCondition,proto3" json:"terminal_condition,omitempty"` // Output only. The Conditions of all other associated sub-resources. They // contain additional diagnostics information in case the Service does not // reach its Serving state. See comments in `reconciling` for additional // information on reconciliation process in Cloud Run. Conditions []*Condition `protobuf:"bytes,32,rep,name=conditions,proto3" json:"conditions,omitempty"` // Output only. Name of the latest revision that is serving traffic. See // comments in `reconciling` for additional information on reconciliation // process in Cloud Run. LatestReadyRevision string `protobuf:"bytes,33,opt,name=latest_ready_revision,json=latestReadyRevision,proto3" json:"latest_ready_revision,omitempty"` // Output only. Name of the last created revision. See comments in // `reconciling` for additional information on reconciliation process in Cloud // Run. LatestCreatedRevision string `` /* 127-byte string literal not displayed */ // Output only. Detailed status information for corresponding traffic targets. // See comments in `reconciling` for additional information on reconciliation // process in Cloud Run. TrafficStatuses []*TrafficTargetStatus `protobuf:"bytes,35,rep,name=traffic_statuses,json=trafficStatuses,proto3" json:"traffic_statuses,omitempty"` // Output only. The main URI in which this Service is serving traffic. Uri string `protobuf:"bytes,36,opt,name=uri,proto3" json:"uri,omitempty"` // One or more custom audiences that you want this service to support. Specify // each custom audience as the full URL in a string. The custom audiences are // encoded in the token and used to authenticate requests. For more // information, see // https://cloud.google.com/run/docs/configuring/custom-audiences. CustomAudiences []string `protobuf:"bytes,37,rep,name=custom_audiences,json=customAudiences,proto3" json:"custom_audiences,omitempty"` // Output only. Reserved for future use. SatisfiesPzs bool `protobuf:"varint,38,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Output only. Returns true if the Service is currently being acted upon by // the system to bring it into the desired state. // // When a new Service is created, or an existing one is updated, Cloud Run // will asynchronously perform all necessary steps to bring the Service to the // desired serving state. This process is called reconciliation. // While reconciliation is in process, `observed_generation`, // `latest_ready_revison`, `traffic_statuses`, and `uri` will have transient // values that might mismatch the intended state: Once reconciliation is over // (and this field is false), there are two possible outcomes: reconciliation // succeeded and the serving state matches the Service, or there was an error, // and reconciliation failed. This state can be found in // `terminal_condition.state`. // // If reconciliation succeeded, the following fields will match: `traffic` and // `traffic_statuses`, `observed_generation` and `generation`, // `latest_ready_revision` and `latest_created_revision`. // // If reconciliation failed, `traffic_statuses`, `observed_generation`, and // `latest_ready_revision` will have the state of the last serving revision, // or empty for newly created Services. Additional information on the failure // can be found in `terminal_condition` and `conditions`. Reconciling bool `protobuf:"varint,98,opt,name=reconciling,proto3" json:"reconciling,omitempty"` // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Service acts as a top-level container that manages a set of configurations and revision templates which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership.
func (*Service) Descriptor
deprecated
func (*Service) GetAnnotations ¶
func (*Service) GetBinaryAuthorization ¶
func (x *Service) GetBinaryAuthorization() *BinaryAuthorization
func (*Service) GetClientVersion ¶
func (*Service) GetConditions ¶
func (*Service) GetCreateTime ¶
func (x *Service) GetCreateTime() *timestamppb.Timestamp
func (*Service) GetCreator ¶
func (*Service) GetCustomAudiences ¶ added in v1.2.0
func (*Service) GetDefaultUriDisabled ¶ added in v1.3.5
func (*Service) GetDeleteTime ¶
func (x *Service) GetDeleteTime() *timestamppb.Timestamp
func (*Service) GetDescription ¶
func (*Service) GetExpireTime ¶
func (x *Service) GetExpireTime() *timestamppb.Timestamp
func (*Service) GetGeneration ¶
func (*Service) GetIngress ¶
func (x *Service) GetIngress() IngressTraffic
func (*Service) GetLastModifier ¶
func (*Service) GetLatestCreatedRevision ¶
func (*Service) GetLatestReadyRevision ¶
func (*Service) GetLaunchStage ¶
func (x *Service) GetLaunchStage() api.LaunchStage
func (*Service) GetObservedGeneration ¶
func (*Service) GetReconciling ¶
func (*Service) GetSatisfiesPzs ¶ added in v1.0.1
func (*Service) GetScaling ¶ added in v1.3.5
func (x *Service) GetScaling() *ServiceScaling
func (*Service) GetTemplate ¶
func (x *Service) GetTemplate() *RevisionTemplate
func (*Service) GetTerminalCondition ¶
func (*Service) GetTraffic ¶
func (x *Service) GetTraffic() []*TrafficTarget
func (*Service) GetTrafficStatuses ¶
func (x *Service) GetTrafficStatuses() []*TrafficTargetStatus
func (*Service) GetUpdateTime ¶
func (x *Service) GetUpdateTime() *timestamppb.Timestamp
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceScaling ¶ added in v1.3.5
type ServiceScaling struct { // total min instances for the service. This number of instances is // divided among all revisions with specified traffic based on the percent // of traffic they are receiving. (BETA) MinInstanceCount int32 `protobuf:"varint,1,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"` // contains filtered or unexported fields }
Scaling settings applied at the service level rather than at the revision level.
func (*ServiceScaling) Descriptor
deprecated
added in
v1.3.5
func (*ServiceScaling) Descriptor() ([]byte, []int)
Deprecated: Use ServiceScaling.ProtoReflect.Descriptor instead.
func (*ServiceScaling) GetMinInstanceCount ¶ added in v1.3.5
func (x *ServiceScaling) GetMinInstanceCount() int32
func (*ServiceScaling) ProtoMessage ¶ added in v1.3.5
func (*ServiceScaling) ProtoMessage()
func (*ServiceScaling) ProtoReflect ¶ added in v1.3.5
func (x *ServiceScaling) ProtoReflect() protoreflect.Message
func (*ServiceScaling) Reset ¶ added in v1.3.5
func (x *ServiceScaling) Reset()
func (*ServiceScaling) String ¶ added in v1.3.5
func (x *ServiceScaling) String() string
type ServicesClient ¶
type ServicesClient interface { // Creates a new Service in a given project and location. CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets information about a Service. GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error) // Lists Services. ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) // Updates a Service. UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a Service. // This will cause the Service to stop serving traffic and will delete all // revisions. DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Gets the IAM Access Control policy currently in effect for the given // Cloud Run Service. This result does not include any inherited policies. GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Sets the IAM Access control policy for the specified Service. Overwrites // any existing policy. SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) // Returns permissions that a caller has on the specified Project. // // There are no permissions required for making this API call. TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) }
ServicesClient is the client API for Services service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServicesClient ¶
func NewServicesClient(cc grpc.ClientConnInterface) ServicesClient
type ServicesServer ¶
type ServicesServer interface { // Creates a new Service in a given project and location. CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error) // Gets information about a Service. GetService(context.Context, *GetServiceRequest) (*Service, error) // Lists Services. ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error) // Updates a Service. UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error) // Deletes a Service. // This will cause the Service to stop serving traffic and will delete all // revisions. DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error) // Gets the IAM Access Control policy currently in effect for the given // Cloud Run Service. This result does not include any inherited policies. GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) // Sets the IAM Access control policy for the specified Service. Overwrites // any existing policy. SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) // Returns permissions that a caller has on the specified Project. // // There are no permissions required for making this API call. TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) }
ServicesServer is the server API for Services service.
type TCPSocketAction ¶
type TCPSocketAction struct { // Port number to access on the container. Must be in the range 1 to 65535. // If not specified, defaults to the exposed port of the container, which is // the value of container.ports[0].containerPort. Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
TCPSocketAction describes an action based on opening a socket
func (*TCPSocketAction) Descriptor
deprecated
func (*TCPSocketAction) Descriptor() ([]byte, []int)
Deprecated: Use TCPSocketAction.ProtoReflect.Descriptor instead.
func (*TCPSocketAction) GetPort ¶
func (x *TCPSocketAction) GetPort() int32
func (*TCPSocketAction) ProtoMessage ¶
func (*TCPSocketAction) ProtoMessage()
func (*TCPSocketAction) ProtoReflect ¶
func (x *TCPSocketAction) ProtoReflect() protoreflect.Message
func (*TCPSocketAction) Reset ¶
func (x *TCPSocketAction) Reset()
func (*TCPSocketAction) String ¶
func (x *TCPSocketAction) String() string
type Task ¶ added in v0.4.0
type Task struct { // Output only. The unique name of this Task. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Server assigned unique identifier for the Task. The value is a // UUID4 string and guaranteed to remain unchanged until the resource is // deleted. Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. A number that monotonically increases every time the user // modifies the desired state. Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Output only. Unstructured key value map that can be used to organize and // categorize objects. User-provided labels are shared with Google's billing // system, so they can be used to filter, or break down billing charges by // team, component, environment, state, etc. For more information, visit // https://cloud.google.com/resource-manager/docs/creating-managing-labels or // https://cloud.google.com/run/docs/configuring/labels Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. Unstructured key value map that may // be set by external tools to store and arbitrary metadata. // They are not queryable and should be preserved // when modifying objects. Annotations map[string]string `` /* 163-byte string literal not displayed */ // Output only. Represents time when the task was created by the system. // It is not guaranteed to be set in happens-before order across separate // operations. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Represents time when the task was scheduled to run by the // system. It is not guaranteed to be set in happens-before order across // separate operations. ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,34,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"` // Output only. Represents time when the task started to run. // It is not guaranteed to be set in happens-before order across separate // operations. StartTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Represents time when the Task was completed. It is not // guaranteed to be set in happens-before order across separate operations. CompletionTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"` // Output only. The last-modified time. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. For a deleted resource, the deletion time. It is only // populated as a response to a Delete request. DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"` // Output only. For a deleted resource, the time after which it will be // permamently deleted. It is only populated as a response to a Delete // request. ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // Output only. The name of the parent Job. Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"` // Output only. The name of the parent Execution. Execution string `protobuf:"bytes,13,opt,name=execution,proto3" json:"execution,omitempty"` // Holds the single container that defines the unit of execution for this // task. Containers []*Container `protobuf:"bytes,14,rep,name=containers,proto3" json:"containers,omitempty"` // A list of Volumes to make available to containers. Volumes []*Volume `protobuf:"bytes,15,rep,name=volumes,proto3" json:"volumes,omitempty"` // Number of retries allowed per Task, before marking this Task failed. MaxRetries int32 `protobuf:"varint,16,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` // Max allowed time duration the Task may be active before the system will // actively try to mark it failed and kill associated containers. This applies // per attempt of a task, meaning each retry can run for the full timeout. Timeout *durationpb.Duration `protobuf:"bytes,17,opt,name=timeout,proto3" json:"timeout,omitempty"` // Email address of the IAM service account associated with the Task of a // Job. The service account represents the identity of the // running task, and determines what permissions the task has. If // not provided, the task will use the project's default service account. ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The execution environment being used to host this Task. ExecutionEnvironment ExecutionEnvironment `` /* 169-byte string literal not displayed */ // Output only. Indicates whether the resource's reconciliation is still in // progress. See comments in `Job.reconciling` for additional information on // reconciliation process in Cloud Run. Reconciling bool `protobuf:"varint,21,opt,name=reconciling,proto3" json:"reconciling,omitempty"` // Output only. The Condition of this Task, containing its readiness status, // and detailed error information in case it did not reach the desired state. Conditions []*Condition `protobuf:"bytes,22,rep,name=conditions,proto3" json:"conditions,omitempty"` // Output only. The generation of this Task. See comments in `Job.reconciling` // for additional information on reconciliation process in Cloud Run. ObservedGeneration int64 `protobuf:"varint,23,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"` // Output only. Index of the Task, unique per execution, and beginning at 0. Index int32 `protobuf:"varint,24,opt,name=index,proto3" json:"index,omitempty"` // Output only. The number of times this Task was retried. // Tasks are retried when they fail up to the maxRetries limit. Retried int32 `protobuf:"varint,25,opt,name=retried,proto3" json:"retried,omitempty"` // Output only. Result of the last attempt of this Task. LastAttemptResult *TaskAttemptResult `protobuf:"bytes,26,opt,name=last_attempt_result,json=lastAttemptResult,proto3" json:"last_attempt_result,omitempty"` // Output only. A reference to a customer managed encryption key (CMEK) to use // to encrypt this container image. For more information, go to // https://cloud.google.com/run/docs/securing/using-cmek EncryptionKey string `protobuf:"bytes,28,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // Output only. VPC Access configuration to use for this Task. For more // information, visit // https://cloud.google.com/run/docs/configuring/connecting-vpc. VpcAccess *VpcAccess `protobuf:"bytes,29,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"` // Output only. URI where logs for this execution can be found in Cloud // Console. LogUri string `protobuf:"bytes,32,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"` // Output only. Reserved for future use. SatisfiesPzs bool `protobuf:"varint,33,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Output only. A system-generated fingerprint for this version of the // resource. May be used to detect modification conflict during updates. Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"` // contains filtered or unexported fields }
Task represents a single run of a container to completion.
func (*Task) Descriptor
deprecated
added in
v0.4.0
func (*Task) GetAnnotations ¶ added in v0.4.0
func (*Task) GetCompletionTime ¶ added in v0.4.0
func (x *Task) GetCompletionTime() *timestamppb.Timestamp
func (*Task) GetConditions ¶ added in v0.4.0
func (*Task) GetContainers ¶ added in v0.4.0
func (*Task) GetCreateTime ¶ added in v0.4.0
func (x *Task) GetCreateTime() *timestamppb.Timestamp
func (*Task) GetDeleteTime ¶ added in v0.4.0
func (x *Task) GetDeleteTime() *timestamppb.Timestamp
func (*Task) GetEncryptionKey ¶ added in v0.4.0
func (*Task) GetExecution ¶ added in v0.4.0
func (*Task) GetExecutionEnvironment ¶ added in v0.4.0
func (x *Task) GetExecutionEnvironment() ExecutionEnvironment
func (*Task) GetExpireTime ¶ added in v0.4.0
func (x *Task) GetExpireTime() *timestamppb.Timestamp
func (*Task) GetGeneration ¶ added in v0.4.0
func (*Task) GetLastAttemptResult ¶ added in v0.4.0
func (x *Task) GetLastAttemptResult() *TaskAttemptResult
func (*Task) GetMaxRetries ¶ added in v0.4.0
func (*Task) GetObservedGeneration ¶ added in v0.4.0
func (*Task) GetReconciling ¶ added in v0.4.0
func (*Task) GetRetried ¶ added in v0.4.0
func (*Task) GetSatisfiesPzs ¶ added in v1.0.1
func (*Task) GetScheduledTime ¶ added in v1.3.0
func (x *Task) GetScheduledTime() *timestamppb.Timestamp
func (*Task) GetServiceAccount ¶ added in v0.4.0
func (*Task) GetStartTime ¶ added in v0.4.0
func (x *Task) GetStartTime() *timestamppb.Timestamp
func (*Task) GetTimeout ¶ added in v0.4.0
func (x *Task) GetTimeout() *durationpb.Duration
func (*Task) GetUpdateTime ¶ added in v0.4.0
func (x *Task) GetUpdateTime() *timestamppb.Timestamp
func (*Task) GetVolumes ¶ added in v0.4.0
func (*Task) GetVpcAccess ¶ added in v0.4.0
func (*Task) ProtoMessage ¶ added in v0.4.0
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶ added in v0.4.0
func (x *Task) ProtoReflect() protoreflect.Message
type TaskAttemptResult ¶ added in v0.4.0
type TaskAttemptResult struct { // Output only. The status of this attempt. // If the status code is OK, then the attempt succeeded. Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // Output only. The exit code of this attempt. // This may be unset if the container was unable to exit cleanly with a code // due to some other failure. // See status field for possible failure details. ExitCode int32 `protobuf:"varint,2,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // contains filtered or unexported fields }
Result of a task attempt.
func (*TaskAttemptResult) Descriptor
deprecated
added in
v0.4.0
func (*TaskAttemptResult) Descriptor() ([]byte, []int)
Deprecated: Use TaskAttemptResult.ProtoReflect.Descriptor instead.
func (*TaskAttemptResult) GetExitCode ¶ added in v0.4.0
func (x *TaskAttemptResult) GetExitCode() int32
func (*TaskAttemptResult) GetStatus ¶ added in v0.4.0
func (x *TaskAttemptResult) GetStatus() *status.Status
func (*TaskAttemptResult) ProtoMessage ¶ added in v0.4.0
func (*TaskAttemptResult) ProtoMessage()
func (*TaskAttemptResult) ProtoReflect ¶ added in v0.4.0
func (x *TaskAttemptResult) ProtoReflect() protoreflect.Message
func (*TaskAttemptResult) Reset ¶ added in v0.4.0
func (x *TaskAttemptResult) Reset()
func (*TaskAttemptResult) String ¶ added in v0.4.0
func (x *TaskAttemptResult) String() string
type TaskTemplate ¶ added in v0.4.0
type TaskTemplate struct { // Holds the single container that defines the unit of execution for this // task. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` // A list of Volumes to make available to containers. Volumes []*Volume `protobuf:"bytes,2,rep,name=volumes,proto3" json:"volumes,omitempty"` // Types that are assignable to Retries: // // *TaskTemplate_MaxRetries Retries isTaskTemplate_Retries `protobuf_oneof:"retries"` // Max allowed time duration the Task may be active before the system will // actively try to mark it failed and kill associated containers. This applies // per attempt of a task, meaning each retry can run for the full timeout. // Defaults to 600 seconds. Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // Email address of the IAM service account associated with the Task of a // Job. The service account represents the identity of the // running task, and determines what permissions the task has. If // not provided, the task will use the project's default service account. ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The execution environment being used to host this Task. ExecutionEnvironment ExecutionEnvironment `` /* 168-byte string literal not displayed */ // A reference to a customer managed encryption key (CMEK) to use to encrypt // this container image. For more information, go to // https://cloud.google.com/run/docs/securing/using-cmek EncryptionKey string `protobuf:"bytes,7,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // VPC Access configuration to use for this Task. For more information, // visit https://cloud.google.com/run/docs/configuring/connecting-vpc. VpcAccess *VpcAccess `protobuf:"bytes,8,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"` // contains filtered or unexported fields }
TaskTemplate describes the data a task should have when created from a template.
func (*TaskTemplate) Descriptor
deprecated
added in
v0.4.0
func (*TaskTemplate) Descriptor() ([]byte, []int)
Deprecated: Use TaskTemplate.ProtoReflect.Descriptor instead.
func (*TaskTemplate) GetContainers ¶ added in v0.4.0
func (x *TaskTemplate) GetContainers() []*Container
func (*TaskTemplate) GetEncryptionKey ¶ added in v0.4.0
func (x *TaskTemplate) GetEncryptionKey() string
func (*TaskTemplate) GetExecutionEnvironment ¶ added in v0.4.0
func (x *TaskTemplate) GetExecutionEnvironment() ExecutionEnvironment
func (*TaskTemplate) GetMaxRetries ¶ added in v0.4.0
func (x *TaskTemplate) GetMaxRetries() int32
func (*TaskTemplate) GetRetries ¶ added in v0.4.0
func (m *TaskTemplate) GetRetries() isTaskTemplate_Retries
func (*TaskTemplate) GetServiceAccount ¶ added in v0.4.0
func (x *TaskTemplate) GetServiceAccount() string
func (*TaskTemplate) GetTimeout ¶ added in v0.4.0
func (x *TaskTemplate) GetTimeout() *durationpb.Duration
func (*TaskTemplate) GetVolumes ¶ added in v0.4.0
func (x *TaskTemplate) GetVolumes() []*Volume
func (*TaskTemplate) GetVpcAccess ¶ added in v0.4.0
func (x *TaskTemplate) GetVpcAccess() *VpcAccess
func (*TaskTemplate) ProtoMessage ¶ added in v0.4.0
func (*TaskTemplate) ProtoMessage()
func (*TaskTemplate) ProtoReflect ¶ added in v0.4.0
func (x *TaskTemplate) ProtoReflect() protoreflect.Message
func (*TaskTemplate) Reset ¶ added in v0.4.0
func (x *TaskTemplate) Reset()
func (*TaskTemplate) String ¶ added in v0.4.0
func (x *TaskTemplate) String() string
type TaskTemplate_MaxRetries ¶ added in v0.4.0
type TaskTemplate_MaxRetries struct { // Number of retries allowed per Task, before marking this Task failed. // Defaults to 3. MaxRetries int32 `protobuf:"varint,3,opt,name=max_retries,json=maxRetries,proto3,oneof"` }
type TasksClient ¶ added in v0.4.0
type TasksClient interface { // Gets information about a Task. GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) // Lists Tasks from an Execution of a Job. ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) }
TasksClient is the client API for Tasks service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTasksClient ¶ added in v0.4.0
func NewTasksClient(cc grpc.ClientConnInterface) TasksClient
type TasksServer ¶ added in v0.4.0
type TasksServer interface { // Gets information about a Task. GetTask(context.Context, *GetTaskRequest) (*Task, error) // Lists Tasks from an Execution of a Job. ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) }
TasksServer is the server API for Tasks service.
type TrafficTarget ¶
type TrafficTarget struct { // The allocation type for this traffic target. Type TrafficTargetAllocationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.run.v2.TrafficTargetAllocationType" json:"type,omitempty"` // Revision to which to send this portion of traffic, if traffic allocation is // by revision. Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // Specifies percent of the traffic to this Revision. // This defaults to zero if unspecified. Percent int32 `protobuf:"varint,3,opt,name=percent,proto3" json:"percent,omitempty"` // Indicates a string to be part of the URI to exclusively reference this // target. Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // contains filtered or unexported fields }
Holds a single traffic routing entry for the Service. Allocations can be done to a specific Revision name, or pointing to the latest Ready Revision.
func (*TrafficTarget) Descriptor
deprecated
func (*TrafficTarget) Descriptor() ([]byte, []int)
Deprecated: Use TrafficTarget.ProtoReflect.Descriptor instead.
func (*TrafficTarget) GetPercent ¶
func (x *TrafficTarget) GetPercent() int32
func (*TrafficTarget) GetRevision ¶
func (x *TrafficTarget) GetRevision() string
func (*TrafficTarget) GetTag ¶
func (x *TrafficTarget) GetTag() string
func (*TrafficTarget) GetType ¶
func (x *TrafficTarget) GetType() TrafficTargetAllocationType
func (*TrafficTarget) ProtoMessage ¶
func (*TrafficTarget) ProtoMessage()
func (*TrafficTarget) ProtoReflect ¶
func (x *TrafficTarget) ProtoReflect() protoreflect.Message
func (*TrafficTarget) Reset ¶
func (x *TrafficTarget) Reset()
func (*TrafficTarget) String ¶
func (x *TrafficTarget) String() string
type TrafficTargetAllocationType ¶
type TrafficTargetAllocationType int32
The type of instance allocation.
const ( // Unspecified instance allocation type. TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED TrafficTargetAllocationType = 0 // Allocates instances to the Service's latest ready Revision. TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST TrafficTargetAllocationType = 1 // Allocates instances to a Revision by name. TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION TrafficTargetAllocationType = 2 )
func (TrafficTargetAllocationType) Descriptor ¶
func (TrafficTargetAllocationType) Descriptor() protoreflect.EnumDescriptor
func (TrafficTargetAllocationType) Enum ¶
func (x TrafficTargetAllocationType) Enum() *TrafficTargetAllocationType
func (TrafficTargetAllocationType) EnumDescriptor
deprecated
func (TrafficTargetAllocationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TrafficTargetAllocationType.Descriptor instead.
func (TrafficTargetAllocationType) Number ¶
func (x TrafficTargetAllocationType) Number() protoreflect.EnumNumber
func (TrafficTargetAllocationType) String ¶
func (x TrafficTargetAllocationType) String() string
func (TrafficTargetAllocationType) Type ¶
func (TrafficTargetAllocationType) Type() protoreflect.EnumType
type TrafficTargetStatus ¶
type TrafficTargetStatus struct { // The allocation type for this traffic target. Type TrafficTargetAllocationType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.run.v2.TrafficTargetAllocationType" json:"type,omitempty"` // Revision to which this traffic is sent. Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"` // Specifies percent of the traffic to this Revision. Percent int32 `protobuf:"varint,3,opt,name=percent,proto3" json:"percent,omitempty"` // Indicates the string used in the URI to exclusively reference this target. Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"` // Displays the target URI. Uri string `protobuf:"bytes,5,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
Represents the observed state of a single `TrafficTarget` entry.
func (*TrafficTargetStatus) Descriptor
deprecated
func (*TrafficTargetStatus) Descriptor() ([]byte, []int)
Deprecated: Use TrafficTargetStatus.ProtoReflect.Descriptor instead.
func (*TrafficTargetStatus) GetPercent ¶
func (x *TrafficTargetStatus) GetPercent() int32
func (*TrafficTargetStatus) GetRevision ¶
func (x *TrafficTargetStatus) GetRevision() string
func (*TrafficTargetStatus) GetTag ¶
func (x *TrafficTargetStatus) GetTag() string
func (*TrafficTargetStatus) GetType ¶
func (x *TrafficTargetStatus) GetType() TrafficTargetAllocationType
func (*TrafficTargetStatus) GetUri ¶
func (x *TrafficTargetStatus) GetUri() string
func (*TrafficTargetStatus) ProtoMessage ¶
func (*TrafficTargetStatus) ProtoMessage()
func (*TrafficTargetStatus) ProtoReflect ¶
func (x *TrafficTargetStatus) ProtoReflect() protoreflect.Message
func (*TrafficTargetStatus) Reset ¶
func (x *TrafficTargetStatus) Reset()
func (*TrafficTargetStatus) String ¶
func (x *TrafficTargetStatus) String() string
type UnimplementedExecutionsServer ¶ added in v0.4.0
type UnimplementedExecutionsServer struct { }
UnimplementedExecutionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedExecutionsServer) CancelExecution ¶ added in v1.3.0
func (*UnimplementedExecutionsServer) CancelExecution(context.Context, *CancelExecutionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedExecutionsServer) DeleteExecution ¶ added in v0.4.0
func (*UnimplementedExecutionsServer) DeleteExecution(context.Context, *DeleteExecutionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedExecutionsServer) GetExecution ¶ added in v0.4.0
func (*UnimplementedExecutionsServer) GetExecution(context.Context, *GetExecutionRequest) (*Execution, error)
func (*UnimplementedExecutionsServer) ListExecutions ¶ added in v0.4.0
func (*UnimplementedExecutionsServer) ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error)
type UnimplementedJobsServer ¶ added in v0.4.0
type UnimplementedJobsServer struct { }
UnimplementedJobsServer can be embedded to have forward compatible implementations.
func (*UnimplementedJobsServer) CreateJob ¶ added in v0.4.0
func (*UnimplementedJobsServer) CreateJob(context.Context, *CreateJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedJobsServer) DeleteJob ¶ added in v0.4.0
func (*UnimplementedJobsServer) DeleteJob(context.Context, *DeleteJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedJobsServer) GetIamPolicy ¶ added in v0.4.0
func (*UnimplementedJobsServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedJobsServer) GetJob ¶ added in v0.4.0
func (*UnimplementedJobsServer) GetJob(context.Context, *GetJobRequest) (*Job, error)
func (*UnimplementedJobsServer) ListJobs ¶ added in v0.4.0
func (*UnimplementedJobsServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
func (*UnimplementedJobsServer) RunJob ¶ added in v0.4.0
func (*UnimplementedJobsServer) RunJob(context.Context, *RunJobRequest) (*longrunningpb.Operation, error)
func (*UnimplementedJobsServer) SetIamPolicy ¶ added in v0.4.0
func (*UnimplementedJobsServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedJobsServer) TestIamPermissions ¶ added in v0.4.0
func (*UnimplementedJobsServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedJobsServer) UpdateJob ¶ added in v0.4.0
func (*UnimplementedJobsServer) UpdateJob(context.Context, *UpdateJobRequest) (*longrunningpb.Operation, error)
type UnimplementedRevisionsServer ¶
type UnimplementedRevisionsServer struct { }
UnimplementedRevisionsServer can be embedded to have forward compatible implementations.
func (*UnimplementedRevisionsServer) DeleteRevision ¶
func (*UnimplementedRevisionsServer) DeleteRevision(context.Context, *DeleteRevisionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedRevisionsServer) GetRevision ¶
func (*UnimplementedRevisionsServer) GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
func (*UnimplementedRevisionsServer) ListRevisions ¶
func (*UnimplementedRevisionsServer) ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
type UnimplementedServicesServer ¶
type UnimplementedServicesServer struct { }
UnimplementedServicesServer can be embedded to have forward compatible implementations.
func (*UnimplementedServicesServer) CreateService ¶
func (*UnimplementedServicesServer) CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedServicesServer) DeleteService ¶
func (*UnimplementedServicesServer) DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedServicesServer) GetIamPolicy ¶
func (*UnimplementedServicesServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedServicesServer) GetService ¶
func (*UnimplementedServicesServer) GetService(context.Context, *GetServiceRequest) (*Service, error)
func (*UnimplementedServicesServer) ListServices ¶
func (*UnimplementedServicesServer) ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
func (*UnimplementedServicesServer) SetIamPolicy ¶
func (*UnimplementedServicesServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedServicesServer) TestIamPermissions ¶
func (*UnimplementedServicesServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedServicesServer) UpdateService ¶
func (*UnimplementedServicesServer) UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
type UnimplementedTasksServer ¶ added in v0.4.0
type UnimplementedTasksServer struct { }
UnimplementedTasksServer can be embedded to have forward compatible implementations.
func (*UnimplementedTasksServer) GetTask ¶ added in v0.4.0
func (*UnimplementedTasksServer) GetTask(context.Context, *GetTaskRequest) (*Task, error)
func (*UnimplementedTasksServer) ListTasks ¶ added in v0.4.0
func (*UnimplementedTasksServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
type UpdateJobRequest ¶ added in v0.4.0
type UpdateJobRequest struct { // Required. The Job to be updated. Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"` // Indicates that the request should be validated and default values // populated, without persisting the request or updating any resources. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // If set to true, and if the Job does not exist, it will create a new // one. Caller must have both create and update permissions for this call if // this is set to true. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
Request message for updating a Job.
func (*UpdateJobRequest) Descriptor
deprecated
added in
v0.4.0
func (*UpdateJobRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
func (*UpdateJobRequest) GetAllowMissing ¶ added in v0.4.0
func (x *UpdateJobRequest) GetAllowMissing() bool
func (*UpdateJobRequest) GetJob ¶ added in v0.4.0
func (x *UpdateJobRequest) GetJob() *Job
func (*UpdateJobRequest) GetValidateOnly ¶ added in v0.4.0
func (x *UpdateJobRequest) GetValidateOnly() bool
func (*UpdateJobRequest) ProtoMessage ¶ added in v0.4.0
func (*UpdateJobRequest) ProtoMessage()
func (*UpdateJobRequest) ProtoReflect ¶ added in v0.4.0
func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message
func (*UpdateJobRequest) Reset ¶ added in v0.4.0
func (x *UpdateJobRequest) Reset()
func (*UpdateJobRequest) String ¶ added in v0.4.0
func (x *UpdateJobRequest) String() string
type UpdateServiceRequest ¶
type UpdateServiceRequest struct { // Required. The Service to be updated. Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` // Indicates that the request should be validated and default values // populated, without persisting the request or updating any resources. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // If set to true, and if the Service does not exist, it will create a new // one. The caller must have 'run.services.create' permissions if this is set // to true and the Service does not exist. AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // contains filtered or unexported fields }
Request message for updating a service.
func (*UpdateServiceRequest) Descriptor
deprecated
func (*UpdateServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.
func (*UpdateServiceRequest) GetAllowMissing ¶
func (x *UpdateServiceRequest) GetAllowMissing() bool
func (*UpdateServiceRequest) GetService ¶
func (x *UpdateServiceRequest) GetService() *Service
func (*UpdateServiceRequest) GetValidateOnly ¶
func (x *UpdateServiceRequest) GetValidateOnly() bool
func (*UpdateServiceRequest) ProtoMessage ¶
func (*UpdateServiceRequest) ProtoMessage()
func (*UpdateServiceRequest) ProtoReflect ¶
func (x *UpdateServiceRequest) ProtoReflect() protoreflect.Message
func (*UpdateServiceRequest) Reset ¶
func (x *UpdateServiceRequest) Reset()
func (*UpdateServiceRequest) String ¶
func (x *UpdateServiceRequest) String() string
type VersionToPath ¶
type VersionToPath struct { // Required. The relative path of the secret in the container. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The Cloud Secret Manager secret version. // Can be 'latest' for the latest value, or an integer or a secret alias for a // specific version. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // Integer octal mode bits to use on this file, must be a value between // 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be // used. // // # Notes // // * Internally, a umask of 0222 will be applied to any non-zero value. // * This is an integer representation of the mode bits. So, the octal // integer value should look exactly as the chmod numeric notation with a // leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or // 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or // 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 // (base-10). // * This might be in conflict with other options that affect the // file mode, like fsGroup, and the result can be other mode bits set. Mode int32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount's mount_path.
func (*VersionToPath) Descriptor
deprecated
func (*VersionToPath) Descriptor() ([]byte, []int)
Deprecated: Use VersionToPath.ProtoReflect.Descriptor instead.
func (*VersionToPath) GetMode ¶
func (x *VersionToPath) GetMode() int32
func (*VersionToPath) GetPath ¶
func (x *VersionToPath) GetPath() string
func (*VersionToPath) GetVersion ¶
func (x *VersionToPath) GetVersion() string
func (*VersionToPath) ProtoMessage ¶
func (*VersionToPath) ProtoMessage()
func (*VersionToPath) ProtoReflect ¶
func (x *VersionToPath) ProtoReflect() protoreflect.Message
func (*VersionToPath) Reset ¶
func (x *VersionToPath) Reset()
func (*VersionToPath) String ¶
func (x *VersionToPath) String() string
type Volume ¶
type Volume struct { // Required. Volume's name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Types that are assignable to VolumeType: // // *Volume_Secret // *Volume_CloudSqlInstance // *Volume_EmptyDir // *Volume_Nfs // *Volume_Gcs VolumeType isVolume_VolumeType `protobuf_oneof:"volume_type"` // contains filtered or unexported fields }
Volume represents a named volume in a container.
func (*Volume) Descriptor
deprecated
func (*Volume) GetCloudSqlInstance ¶
func (x *Volume) GetCloudSqlInstance() *CloudSqlInstance
func (*Volume) GetEmptyDir ¶ added in v1.3.0
func (x *Volume) GetEmptyDir() *EmptyDirVolumeSource
func (*Volume) GetGcs ¶ added in v1.3.5
func (x *Volume) GetGcs() *GCSVolumeSource
func (*Volume) GetNfs ¶ added in v1.3.5
func (x *Volume) GetNfs() *NFSVolumeSource
func (*Volume) GetSecret ¶
func (x *Volume) GetSecret() *SecretVolumeSource
func (*Volume) GetVolumeType ¶
func (m *Volume) GetVolumeType() isVolume_VolumeType
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeMount ¶
type VolumeMount struct { // Required. This must match the Name of a Volume. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Required. Path within the container at which the volume should be mounted. // Must not contain ':'. For Cloud SQL volumes, it can be left empty, or must // otherwise be `/cloudsql`. All instances defined in the Volume will be // available as `/cloudsql/[instance]`. For more information on Cloud SQL // volumes, visit https://cloud.google.com/sql/docs/mysql/connect-run MountPath string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"` // contains filtered or unexported fields }
VolumeMount describes a mounting of a Volume within a container.
func (*VolumeMount) Descriptor
deprecated
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetMountPath ¶
func (x *VolumeMount) GetMountPath() string
func (*VolumeMount) GetName ¶
func (x *VolumeMount) GetName() string
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (x *VolumeMount) String() string
type Volume_CloudSqlInstance ¶
type Volume_CloudSqlInstance struct { // For Cloud SQL volumes, contains the specific instances that should be // mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for // more information on how to connect Cloud SQL and Cloud Run. CloudSqlInstance *CloudSqlInstance `protobuf:"bytes,3,opt,name=cloud_sql_instance,json=cloudSqlInstance,proto3,oneof"` }
type Volume_EmptyDir ¶ added in v1.3.0
type Volume_EmptyDir struct { // Ephemeral storage used as a shared volume. EmptyDir *EmptyDirVolumeSource `protobuf:"bytes,4,opt,name=empty_dir,json=emptyDir,proto3,oneof"` }
type Volume_Gcs ¶ added in v1.3.5
type Volume_Gcs struct { // Persistent storage backed by a Google Cloud Storage bucket. Gcs *GCSVolumeSource `protobuf:"bytes,6,opt,name=gcs,proto3,oneof"` }
type Volume_Nfs ¶ added in v1.3.5
type Volume_Nfs struct { // For NFS Voumes, contains the path to the nfs Volume Nfs *NFSVolumeSource `protobuf:"bytes,5,opt,name=nfs,proto3,oneof"` }
type Volume_Secret ¶
type Volume_Secret struct { // Secret represents a secret that should populate this volume. Secret *SecretVolumeSource `protobuf:"bytes,2,opt,name=secret,proto3,oneof"` }
type VpcAccess ¶
type VpcAccess struct { // VPC Access connector name. // Format: projects/{project}/locations/{location}/connectors/{connector}, // where {project} can be project id or number. // For more information on sending traffic to a VPC network via a connector, // visit https://cloud.google.com/run/docs/configuring/vpc-connectors. Connector string `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"` // Traffic VPC egress settings. If not provided, it defaults to // PRIVATE_RANGES_ONLY. Egress VpcAccess_VpcEgress `protobuf:"varint,2,opt,name=egress,proto3,enum=google.cloud.run.v2.VpcAccess_VpcEgress" json:"egress,omitempty"` // Direct VPC egress settings. Currently only single network interface is // supported. NetworkInterfaces []*VpcAccess_NetworkInterface `protobuf:"bytes,3,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"` // contains filtered or unexported fields }
VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
func (*VpcAccess) Descriptor
deprecated
func (*VpcAccess) GetConnector ¶
func (*VpcAccess) GetEgress ¶
func (x *VpcAccess) GetEgress() VpcAccess_VpcEgress
func (*VpcAccess) GetNetworkInterfaces ¶ added in v1.3.0
func (x *VpcAccess) GetNetworkInterfaces() []*VpcAccess_NetworkInterface
func (*VpcAccess) ProtoMessage ¶
func (*VpcAccess) ProtoMessage()
func (*VpcAccess) ProtoReflect ¶
func (x *VpcAccess) ProtoReflect() protoreflect.Message
type VpcAccess_NetworkInterface ¶ added in v1.3.0
type VpcAccess_NetworkInterface struct { // The VPC network that the Cloud Run resource will be able to send traffic // to. At least one of network or subnetwork must be specified. If both // network and subnetwork are specified, the given VPC subnetwork must // belong to the given VPC network. If network is not specified, it will be // looked up from the subnetwork. Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // The VPC subnetwork that the Cloud Run resource will get IPs from. At // least one of network or subnetwork must be specified. If both // network and subnetwork are specified, the given VPC subnetwork must // belong to the given VPC network. If subnetwork is not specified, the // subnetwork with the same name with the network will be used. Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"` // Network tags applied to this Cloud Run resource. Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
Direct VPC egress settings.
func (*VpcAccess_NetworkInterface) Descriptor
deprecated
added in
v1.3.0
func (*VpcAccess_NetworkInterface) Descriptor() ([]byte, []int)
Deprecated: Use VpcAccess_NetworkInterface.ProtoReflect.Descriptor instead.
func (*VpcAccess_NetworkInterface) GetNetwork ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) GetNetwork() string
func (*VpcAccess_NetworkInterface) GetSubnetwork ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) GetSubnetwork() string
func (*VpcAccess_NetworkInterface) GetTags ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) GetTags() []string
func (*VpcAccess_NetworkInterface) ProtoMessage ¶ added in v1.3.0
func (*VpcAccess_NetworkInterface) ProtoMessage()
func (*VpcAccess_NetworkInterface) ProtoReflect ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) ProtoReflect() protoreflect.Message
func (*VpcAccess_NetworkInterface) Reset ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) Reset()
func (*VpcAccess_NetworkInterface) String ¶ added in v1.3.0
func (x *VpcAccess_NetworkInterface) String() string
type VpcAccess_VpcEgress ¶
type VpcAccess_VpcEgress int32
Egress options for VPC access.
const ( // Unspecified VpcAccess_VPC_EGRESS_UNSPECIFIED VpcAccess_VpcEgress = 0 // All outbound traffic is routed through the VPC connector. VpcAccess_ALL_TRAFFIC VpcAccess_VpcEgress = 1 // Only private IP ranges are routed through the VPC connector. VpcAccess_PRIVATE_RANGES_ONLY VpcAccess_VpcEgress = 2 )
func (VpcAccess_VpcEgress) Descriptor ¶
func (VpcAccess_VpcEgress) Descriptor() protoreflect.EnumDescriptor
func (VpcAccess_VpcEgress) Enum ¶
func (x VpcAccess_VpcEgress) Enum() *VpcAccess_VpcEgress
func (VpcAccess_VpcEgress) EnumDescriptor
deprecated
func (VpcAccess_VpcEgress) EnumDescriptor() ([]byte, []int)
Deprecated: Use VpcAccess_VpcEgress.Descriptor instead.
func (VpcAccess_VpcEgress) Number ¶
func (x VpcAccess_VpcEgress) Number() protoreflect.EnumNumber
func (VpcAccess_VpcEgress) String ¶
func (x VpcAccess_VpcEgress) String() string
func (VpcAccess_VpcEgress) Type ¶
func (VpcAccess_VpcEgress) Type() protoreflect.EnumType