package runpb

import "cloud.google.com/go/run/apiv2/runpb"

Index

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 (
	ExecutionReference_CompletionStatus_name = map[int32]string{
		0: "COMPLETION_STATUS_UNSPECIFIED",
		1: "EXECUTION_SUCCEEDED",
		2: "EXECUTION_FAILED",
		3: "EXECUTION_RUNNING",
		4: "EXECUTION_PENDING",
		5: "EXECUTION_CANCELLED",
	}
	ExecutionReference_CompletionStatus_value = map[string]int32{
		"COMPLETION_STATUS_UNSPECIFIED": 0,
		"EXECUTION_SUCCEEDED":           1,
		"EXECUTION_FAILED":              2,
		"EXECUTION_RUNNING":             3,
		"EXECUTION_PENDING":             4,
		"EXECUTION_CANCELLED":           5,
	}
)

Enum value maps for ExecutionReference_CompletionStatus.

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",
		4: "INGRESS_TRAFFIC_NONE",
	}
	IngressTraffic_value = map[string]int32{
		"INGRESS_TRAFFIC_UNSPECIFIED":            0,
		"INGRESS_TRAFFIC_ALL":                    1,
		"INGRESS_TRAFFIC_INTERNAL_ONLY":          2,
		"INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER": 3,
		"INGRESS_TRAFFIC_NONE":                   4,
	}
)

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 (
	ServiceScaling_ScalingMode_name = map[int32]string{
		0: "SCALING_MODE_UNSPECIFIED",
		1: "AUTOMATIC",
		2: "MANUAL",
	}
	ServiceScaling_ScalingMode_value = map[string]int32{
		"SCALING_MODE_UNSPECIFIED": 0,
		"AUTOMATIC":                1,
		"MANUAL":                   2,
	}
)

Enum value maps for ServiceScaling_ScalingMode.

var File_google_cloud_run_v2_build_proto protoreflect.FileDescriptor
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 RegisterBuildsServer

func RegisterBuildsServer(s *grpc.Server, srv BuildsServer)

func RegisterExecutionsServer

func RegisterExecutionsServer(s *grpc.Server, srv ExecutionsServer)

func RegisterJobsServer

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

func RegisterTasksServer(s *grpc.Server, srv TasksServer)

Types

type BinaryAuthorization

type BinaryAuthorization struct {

	// Types that are assignable to BinauthzMethod:
	//
	//	*BinaryAuthorization_UseDefault
	//	*BinaryAuthorization_Policy
	BinauthzMethod isBinaryAuthorization_BinauthzMethod `protobuf_oneof:"binauthz_method"`
	// Optional. 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 `protobuf:"bytes,2,opt,name=breakglass_justification,json=breakglassJustification,proto3" json:"breakglass_justification,omitempty"`
	// contains filtered or unexported fields
}

Settings for Binary Authorization feature.

func (*BinaryAuthorization) Descriptor

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) GetPolicy

func (x *BinaryAuthorization) GetPolicy() 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_Policy

type BinaryAuthorization_Policy struct {
	// Optional. The path to a binary authorization policy.
	// Format: `projects/{project}/platforms/cloudRun/{policy-name}`
	Policy string `protobuf:"bytes,3,opt,name=policy,proto3,oneof"`
}

type BinaryAuthorization_UseDefault

type BinaryAuthorization_UseDefault struct {
	// Optional. 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 BuildConfig

type BuildConfig struct {

	// Output only. The Cloud Build name of the latest successful deployment of
	// the function.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The Cloud Storage bucket URI where the function source code is located.
	SourceLocation string `protobuf:"bytes,2,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	// Optional. The name of the function (as defined in source code) that will be
	// executed. Defaults to the resource name suffix, if not specified. For
	// backward compatibility, if function with given name is not found, then the
	// system will try to use function named "function".
	FunctionTarget string `protobuf:"bytes,3,opt,name=function_target,json=functionTarget,proto3" json:"function_target,omitempty"`
	// Optional. Artifact Registry URI to store the built image.
	ImageUri string `protobuf:"bytes,4,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// Optional. The base image used to build the function.
	BaseImage string `protobuf:"bytes,5,opt,name=base_image,json=baseImage,proto3" json:"base_image,omitempty"`
	// Optional. Sets whether the function will receive automatic base image
	// updates.
	EnableAutomaticUpdates bool `protobuf:"varint,6,opt,name=enable_automatic_updates,json=enableAutomaticUpdates,proto3" json:"enable_automatic_updates,omitempty"`
	// Optional. Name of the Cloud Build Custom Worker Pool that should be used to
	// build the Cloud Run function. The format of this field is
	// `projects/{project}/locations/{region}/workerPools/{workerPool}` where
	// `{project}` and `{region}` are the project id and region respectively where
	// the worker pool is defined and `{workerPool}` is the short name of the
	// worker pool.
	WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
	// Optional. User-provided build-time environment variables for the function
	EnvironmentVariables map[string]string `protobuf:"bytes,8,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. Service account to be used for building the container. The format
	// of this field is
	// `projects/{projectId}/serviceAccounts/{serviceAccountEmail}`.
	ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// contains filtered or unexported fields
}

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

func (*BuildConfig) Descriptor

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

Deprecated: Use BuildConfig.ProtoReflect.Descriptor instead.

func (*BuildConfig) GetBaseImage

func (x *BuildConfig) GetBaseImage() string

func (*BuildConfig) GetEnableAutomaticUpdates

func (x *BuildConfig) GetEnableAutomaticUpdates() bool

func (*BuildConfig) GetEnvironmentVariables

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

func (*BuildConfig) GetFunctionTarget

func (x *BuildConfig) GetFunctionTarget() string

func (*BuildConfig) GetImageUri

func (x *BuildConfig) GetImageUri() string

func (*BuildConfig) GetName

func (x *BuildConfig) GetName() string

func (*BuildConfig) GetServiceAccount

func (x *BuildConfig) GetServiceAccount() string

func (*BuildConfig) GetSourceLocation

func (x *BuildConfig) GetSourceLocation() string

func (*BuildConfig) GetWorkerPool

func (x *BuildConfig) GetWorkerPool() string

func (*BuildConfig) ProtoMessage

func (*BuildConfig) ProtoMessage()

func (*BuildConfig) ProtoReflect

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

func (*BuildConfig) Reset

func (x *BuildConfig) Reset()

func (*BuildConfig) String

func (x *BuildConfig) String() string

type BuildInfo

type BuildInfo struct {

	// Output only. Entry point of the function when the image is a Cloud Run
	// function.
	FunctionTarget string `protobuf:"bytes,1,opt,name=function_target,json=functionTarget,proto3" json:"function_target,omitempty"`
	// Output only. Source code location of the image.
	SourceLocation string `protobuf:"bytes,2,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
	// contains filtered or unexported fields
}

Build information of the image.

func (*BuildInfo) Descriptor

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

Deprecated: Use BuildInfo.ProtoReflect.Descriptor instead.

func (*BuildInfo) GetFunctionTarget

func (x *BuildInfo) GetFunctionTarget() string

func (*BuildInfo) GetSourceLocation

func (x *BuildInfo) GetSourceLocation() string

func (*BuildInfo) ProtoMessage

func (*BuildInfo) ProtoMessage()

func (*BuildInfo) ProtoReflect

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

func (*BuildInfo) Reset

func (x *BuildInfo) Reset()

func (*BuildInfo) String

func (x *BuildInfo) String() string

type BuildsClient

type BuildsClient interface {
	// Submits a build in a given project.
	SubmitBuild(ctx context.Context, in *SubmitBuildRequest, opts ...grpc.CallOption) (*SubmitBuildResponse, error)
}

BuildsClient is the client API for Builds service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewBuildsClient

func NewBuildsClient(cc grpc.ClientConnInterface) BuildsClient

type BuildsServer

type BuildsServer interface {
	// Submits a build in a given project.
	SubmitBuild(context.Context, *SubmitBuildRequest) (*SubmitBuildResponse, error)
}

BuildsServer is the server API for Builds service.

type CancelExecutionRequest

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

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

Deprecated: Use CancelExecutionRequest.ProtoReflect.Descriptor instead.

func (*CancelExecutionRequest) GetEtag

func (x *CancelExecutionRequest) GetEtag() string

func (*CancelExecutionRequest) GetName

func (x *CancelExecutionRequest) GetName() string

func (*CancelExecutionRequest) GetValidateOnly

func (x *CancelExecutionRequest) GetValidateOnly() bool

func (*CancelExecutionRequest) ProtoMessage

func (*CancelExecutionRequest) ProtoMessage()

func (*CancelExecutionRequest) ProtoReflect

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

func (*CancelExecutionRequest) Reset

func (x *CancelExecutionRequest) Reset()

func (*CancelExecutionRequest) String

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

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

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetExecutionReason

func (x *Condition) GetExecutionReason() Condition_ExecutionReason

func (*Condition) GetLastTransitionTime

func (x *Condition) GetLastTransitionTime() *timestamppb.Timestamp

func (*Condition) GetMessage

func (x *Condition) GetMessage() string

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) GetType

func (x *Condition) GetType() string

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

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) Enum

func (Condition_CommonReason) EnumDescriptor

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

Deprecated: Use Condition_CommonReason.Descriptor instead.

func (Condition_CommonReason) Number

func (Condition_CommonReason) String

func (x Condition_CommonReason) String() string

func (Condition_CommonReason) Type

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) Enum

func (Condition_ExecutionReason) EnumDescriptor

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

Deprecated: Use Condition_ExecutionReason.Descriptor instead.

func (Condition_ExecutionReason) Number

func (Condition_ExecutionReason) String

func (x Condition_ExecutionReason) String() string

func (Condition_ExecutionReason) Type

type Condition_ExecutionReason_

type Condition_ExecutionReason_ struct {
	// Output only. A reason for the execution condition.
	ExecutionReason Condition_ExecutionReason `protobuf:"varint,11,opt,name=execution_reason,json=executionReason,proto3,enum=google.cloud.run.v2.Condition_ExecutionReason,oneof"`
}

type Condition_Reason

type Condition_Reason struct {
	// Output only. 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) Enum

func (Condition_RevisionReason) EnumDescriptor

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

Deprecated: Use Condition_RevisionReason.Descriptor instead.

func (Condition_RevisionReason) Number

func (Condition_RevisionReason) String

func (x Condition_RevisionReason) String() string

func (Condition_RevisionReason) Type

type Condition_RevisionReason_

type Condition_RevisionReason_ struct {
	// Output only. A reason for the revision condition.
	RevisionReason Condition_RevisionReason `protobuf:"varint,9,opt,name=revision_reason,json=revisionReason,proto3,enum=google.cloud.run.v2.Condition_RevisionReason,oneof"`
}

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) Enum

func (Condition_Severity) EnumDescriptor

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

Deprecated: Use Condition_Severity.Descriptor instead.

func (Condition_Severity) Number

func (Condition_Severity) String

func (x Condition_Severity) String() string

func (Condition_Severity) Type

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) Enum

func (x Condition_State) Enum() *Condition_State

func (Condition_State) EnumDescriptor

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

Deprecated: Use Condition_State.Descriptor instead.

func (Condition_State) Number

func (Condition_State) String

func (x Condition_State) String() string

func (Condition_State) Type

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"`
	// Base image for this container. Only supported for services. If set, it
	// indicates that the service is enrolled into automatic base image update.
	BaseImageUri string `protobuf:"bytes,13,opt,name=base_image_uri,json=baseImageUri,proto3" json:"base_image_uri,omitempty"`
	// Output only. The build info of the container image.
	BuildInfo *BuildInfo `protobuf:"bytes,15,opt,name=build_info,json=buildInfo,proto3" json:"build_info,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

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs

func (x *Container) GetArgs() []string

func (*Container) GetBaseImageUri

func (x *Container) GetBaseImageUri() string

func (*Container) GetBuildInfo

func (x *Container) GetBuildInfo() *BuildInfo

func (*Container) GetCommand

func (x *Container) GetCommand() []string

func (*Container) GetDependsOn

func (x *Container) GetDependsOn() []string

func (*Container) GetEnv

func (x *Container) GetEnv() []*EnvVar

func (*Container) GetImage

func (x *Container) GetImage() string

func (*Container) GetLivenessProbe

func (x *Container) GetLivenessProbe() *Probe

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetPorts

func (x *Container) GetPorts() []*ContainerPort

func (*Container) GetResources

func (x *Container) GetResources() *ResourceRequirements

func (*Container) GetStartupProbe

func (x *Container) GetStartupProbe() *Probe

func (*Container) GetVolumeMounts

func (x *Container) GetVolumeMounts() []*VolumeMount

func (*Container) GetWorkingDir

func (x *Container) GetWorkingDir() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) String

func (x *Container) String() string

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

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

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

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

Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.

func (*CreateJobRequest) GetJob

func (x *CreateJobRequest) GetJob() *Job

func (*CreateJobRequest) GetJobId

func (x *CreateJobRequest) GetJobId() string

func (*CreateJobRequest) GetParent

func (x *CreateJobRequest) GetParent() string

func (*CreateJobRequest) GetValidateOnly

func (x *CreateJobRequest) GetValidateOnly() bool

func (*CreateJobRequest) ProtoMessage

func (*CreateJobRequest) ProtoMessage()

func (*CreateJobRequest) ProtoReflect

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

func (*CreateJobRequest) Reset

func (x *CreateJobRequest) Reset()

func (*CreateJobRequest) String

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

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

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

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

Deprecated: Use DeleteExecutionRequest.ProtoReflect.Descriptor instead.

func (*DeleteExecutionRequest) GetEtag

func (x *DeleteExecutionRequest) GetEtag() string

func (*DeleteExecutionRequest) GetName

func (x *DeleteExecutionRequest) GetName() string

func (*DeleteExecutionRequest) GetValidateOnly

func (x *DeleteExecutionRequest) GetValidateOnly() bool

func (*DeleteExecutionRequest) ProtoMessage

func (*DeleteExecutionRequest) ProtoMessage()

func (*DeleteExecutionRequest) ProtoReflect

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

func (*DeleteExecutionRequest) Reset

func (x *DeleteExecutionRequest) Reset()

func (*DeleteExecutionRequest) String

func (x *DeleteExecutionRequest) String() string

type DeleteJobRequest

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

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

Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.

func (*DeleteJobRequest) GetEtag

func (x *DeleteJobRequest) GetEtag() string

func (*DeleteJobRequest) GetName

func (x *DeleteJobRequest) GetName() string

func (*DeleteJobRequest) GetValidateOnly

func (x *DeleteJobRequest) GetValidateOnly() bool

func (*DeleteJobRequest) ProtoMessage

func (*DeleteJobRequest) ProtoMessage()

func (*DeleteJobRequest) ProtoReflect

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

func (*DeleteJobRequest) Reset

func (x *DeleteJobRequest) Reset()

func (*DeleteJobRequest) String

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

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

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

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

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

Deprecated: Use EmptyDirVolumeSource.ProtoReflect.Descriptor instead.

func (*EmptyDirVolumeSource) GetMedium

func (*EmptyDirVolumeSource) GetSizeLimit

func (x *EmptyDirVolumeSource) GetSizeLimit() string

func (*EmptyDirVolumeSource) ProtoMessage

func (*EmptyDirVolumeSource) ProtoMessage()

func (*EmptyDirVolumeSource) ProtoReflect

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

func (*EmptyDirVolumeSource) Reset

func (x *EmptyDirVolumeSource) Reset()

func (*EmptyDirVolumeSource) String

func (x *EmptyDirVolumeSource) String() string

type EmptyDirVolumeSource_Medium

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

func (EmptyDirVolumeSource_Medium) Enum

func (EmptyDirVolumeSource_Medium) EnumDescriptor

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

Deprecated: Use EmptyDirVolumeSource_Medium.Descriptor instead.

func (EmptyDirVolumeSource_Medium) Number

func (EmptyDirVolumeSource_Medium) String

func (EmptyDirVolumeSource_Medium) Type

type EncryptionKeyRevocationAction

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

func (EncryptionKeyRevocationAction) Enum

func (EncryptionKeyRevocationAction) EnumDescriptor

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

Deprecated: Use EncryptionKeyRevocationAction.Descriptor instead.

func (EncryptionKeyRevocationAction) Number

func (EncryptionKeyRevocationAction) String

func (EncryptionKeyRevocationAction) Type

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

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

Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.

func (*EnvVar) GetName

func (x *EnvVar) GetName() string

func (*EnvVar) GetValue

func (x *EnvVar) GetValue() string

func (*EnvVar) GetValueSource

func (x *EnvVar) GetValueSource() *EnvVarSource

func (*EnvVar) GetValues

func (m *EnvVar) GetValues() isEnvVar_Values

func (*EnvVar) ProtoMessage

func (*EnvVar) ProtoMessage()

func (*EnvVar) ProtoReflect

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

func (*EnvVar) Reset

func (x *EnvVar) Reset()

func (*EnvVar) String

func (x *EnvVar) String() string

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

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 {
	// Literal value of the environment variable.
	// Defaults to "", and the maximum length is 32768 bytes.
	// Variable references are not supported in Cloud Run.
	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

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. Email address of the authenticated creator.
	Creator string `protobuf:"bytes,32,opt,name=creator,proto3" json:"creator,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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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`.
	//
	// 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

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

Deprecated: Use Execution.ProtoReflect.Descriptor instead.

func (*Execution) GetAnnotations

func (x *Execution) GetAnnotations() map[string]string

func (*Execution) GetCancelledCount

func (x *Execution) GetCancelledCount() int32

func (*Execution) GetCompletionTime

func (x *Execution) GetCompletionTime() *timestamppb.Timestamp

func (*Execution) GetConditions

func (x *Execution) GetConditions() []*Condition

func (*Execution) GetCreateTime

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

func (*Execution) GetCreator

func (x *Execution) GetCreator() string

func (*Execution) GetDeleteTime

func (x *Execution) GetDeleteTime() *timestamppb.Timestamp

func (*Execution) GetEtag

func (x *Execution) GetEtag() string

func (*Execution) GetExpireTime

func (x *Execution) GetExpireTime() *timestamppb.Timestamp

func (*Execution) GetFailedCount

func (x *Execution) GetFailedCount() int32

func (*Execution) GetGeneration

func (x *Execution) GetGeneration() int64

func (*Execution) GetJob

func (x *Execution) GetJob() string

func (*Execution) GetLabels

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

func (*Execution) GetLaunchStage

func (x *Execution) GetLaunchStage() api.LaunchStage

func (*Execution) GetLogUri

func (x *Execution) GetLogUri() string

func (*Execution) GetName

func (x *Execution) GetName() string

func (*Execution) GetObservedGeneration

func (x *Execution) GetObservedGeneration() int64

func (*Execution) GetParallelism

func (x *Execution) GetParallelism() int32

func (*Execution) GetReconciling

func (x *Execution) GetReconciling() bool

func (*Execution) GetRetriedCount

func (x *Execution) GetRetriedCount() int32

func (*Execution) GetRunningCount

func (x *Execution) GetRunningCount() int32

func (*Execution) GetSatisfiesPzs

func (x *Execution) GetSatisfiesPzs() bool

func (*Execution) GetStartTime

func (x *Execution) GetStartTime() *timestamppb.Timestamp

func (*Execution) GetSucceededCount

func (x *Execution) GetSucceededCount() int32

func (*Execution) GetTaskCount

func (x *Execution) GetTaskCount() int32

func (*Execution) GetTemplate

func (x *Execution) GetTemplate() *TaskTemplate

func (*Execution) GetUid

func (x *Execution) GetUid() string

func (*Execution) GetUpdateTime

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

func (*Execution) ProtoMessage

func (*Execution) ProtoMessage()

func (*Execution) ProtoReflect

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

func (*Execution) Reset

func (x *Execution) Reset()

func (*Execution) String

func (x *Execution) String() string

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) Enum

func (ExecutionEnvironment) EnumDescriptor

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

Deprecated: Use ExecutionEnvironment.Descriptor instead.

func (ExecutionEnvironment) Number

func (ExecutionEnvironment) String

func (x ExecutionEnvironment) String() string

func (ExecutionEnvironment) Type

type ExecutionReference

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"`
	// The deletion time of the execution. It is only
	// populated as a response to a Delete request.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// Status for the execution completion.
	CompletionStatus ExecutionReference_CompletionStatus `protobuf:"varint,4,opt,name=completion_status,json=completionStatus,proto3,enum=google.cloud.run.v2.ExecutionReference_CompletionStatus" json:"completion_status,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

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

Deprecated: Use ExecutionReference.ProtoReflect.Descriptor instead.

func (*ExecutionReference) GetCompletionStatus

func (*ExecutionReference) GetCompletionTime

func (x *ExecutionReference) GetCompletionTime() *timestamppb.Timestamp

func (*ExecutionReference) GetCreateTime

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

func (*ExecutionReference) GetDeleteTime

func (x *ExecutionReference) GetDeleteTime() *timestamppb.Timestamp

func (*ExecutionReference) GetName

func (x *ExecutionReference) GetName() string

func (*ExecutionReference) ProtoMessage

func (*ExecutionReference) ProtoMessage()

func (*ExecutionReference) ProtoReflect

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

func (*ExecutionReference) Reset

func (x *ExecutionReference) Reset()

func (*ExecutionReference) String

func (x *ExecutionReference) String() string

type ExecutionReference_CompletionStatus

type ExecutionReference_CompletionStatus int32

Possible execution completion status.

const (
	// The default value. This value is used if the state is omitted.
	ExecutionReference_COMPLETION_STATUS_UNSPECIFIED ExecutionReference_CompletionStatus = 0
	// Job execution has succeeded.
	ExecutionReference_EXECUTION_SUCCEEDED ExecutionReference_CompletionStatus = 1
	// Job execution has failed.
	ExecutionReference_EXECUTION_FAILED ExecutionReference_CompletionStatus = 2
	// Job execution is running normally.
	ExecutionReference_EXECUTION_RUNNING ExecutionReference_CompletionStatus = 3
	// Waiting for backing resources to be provisioned.
	ExecutionReference_EXECUTION_PENDING ExecutionReference_CompletionStatus = 4
	// Job execution has been cancelled by the user.
	ExecutionReference_EXECUTION_CANCELLED ExecutionReference_CompletionStatus = 5
)

func (ExecutionReference_CompletionStatus) Descriptor

func (ExecutionReference_CompletionStatus) Enum

func (ExecutionReference_CompletionStatus) EnumDescriptor

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

Deprecated: Use ExecutionReference_CompletionStatus.Descriptor instead.

func (ExecutionReference_CompletionStatus) Number

func (ExecutionReference_CompletionStatus) String

func (ExecutionReference_CompletionStatus) Type

type ExecutionTemplate

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 `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,2,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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

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

Deprecated: Use ExecutionTemplate.ProtoReflect.Descriptor instead.

func (*ExecutionTemplate) GetAnnotations

func (x *ExecutionTemplate) GetAnnotations() map[string]string

func (*ExecutionTemplate) GetLabels

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

func (*ExecutionTemplate) GetParallelism

func (x *ExecutionTemplate) GetParallelism() int32

func (*ExecutionTemplate) GetTaskCount

func (x *ExecutionTemplate) GetTaskCount() int32

func (*ExecutionTemplate) GetTemplate

func (x *ExecutionTemplate) GetTemplate() *TaskTemplate

func (*ExecutionTemplate) ProtoMessage

func (*ExecutionTemplate) ProtoMessage()

func (*ExecutionTemplate) ProtoReflect

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

func (*ExecutionTemplate) Reset

func (x *ExecutionTemplate) Reset()

func (*ExecutionTemplate) String

func (x *ExecutionTemplate) String() string

type ExecutionsClient

type ExecutionsClient interface {
	// Gets information about an Execution.
	GetExecution(ctx context.Context, in *GetExecutionRequest, opts ...grpc.CallOption) (*Execution, error)
	// Lists Executions from a Job. Results are sorted by creation time,
	// descending.
	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

func NewExecutionsClient(cc grpc.ClientConnInterface) ExecutionsClient

type ExecutionsServer

type ExecutionsServer interface {
	// Gets information about an Execution.
	GetExecution(context.Context, *GetExecutionRequest) (*Execution, error)
	// Lists Executions from a Job. Results are sorted by creation time,
	// descending.
	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

type GCSVolumeSource struct {

	// Cloud Storage Bucket name.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If true, the volume will be mounted as read only for all mounts.
	ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// A list of additional flags to pass to the gcsfuse CLI.
	// Options should be specified without the leading "--".
	MountOptions []string `protobuf:"bytes,3,rep,name=mount_options,json=mountOptions,proto3" json:"mount_options,omitempty"`
	// contains filtered or unexported fields
}

Represents a volume backed by a Cloud Storage bucket using Cloud Storage FUSE.

func (*GCSVolumeSource) Descriptor

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

Deprecated: Use GCSVolumeSource.ProtoReflect.Descriptor instead.

func (*GCSVolumeSource) GetBucket

func (x *GCSVolumeSource) GetBucket() string

func (*GCSVolumeSource) GetMountOptions

func (x *GCSVolumeSource) GetMountOptions() []string

func (*GCSVolumeSource) GetReadOnly

func (x *GCSVolumeSource) GetReadOnly() bool

func (*GCSVolumeSource) ProtoMessage

func (*GCSVolumeSource) ProtoMessage()

func (*GCSVolumeSource) ProtoReflect

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

func (*GCSVolumeSource) Reset

func (x *GCSVolumeSource) Reset()

func (*GCSVolumeSource) String

func (x *GCSVolumeSource) String() string

type GRPCAction

type GRPCAction struct {

	// Optional. 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"`
	// Optional. 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

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

Deprecated: Use GRPCAction.ProtoReflect.Descriptor instead.

func (*GRPCAction) GetPort

func (x *GRPCAction) GetPort() int32

func (*GRPCAction) GetService

func (x *GRPCAction) GetService() string

func (*GRPCAction) ProtoMessage

func (*GRPCAction) ProtoMessage()

func (*GRPCAction) ProtoReflect

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

func (*GRPCAction) Reset

func (x *GRPCAction) Reset()

func (*GRPCAction) String

func (x *GRPCAction) String() string

type GetExecutionRequest

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

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

Deprecated: Use GetExecutionRequest.ProtoReflect.Descriptor instead.

func (*GetExecutionRequest) GetName

func (x *GetExecutionRequest) GetName() string

func (*GetExecutionRequest) ProtoMessage

func (*GetExecutionRequest) ProtoMessage()

func (*GetExecutionRequest) ProtoReflect

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

func (*GetExecutionRequest) Reset

func (x *GetExecutionRequest) Reset()

func (*GetExecutionRequest) String

func (x *GetExecutionRequest) String() string

type GetJobRequest

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

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

Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.

func (*GetJobRequest) GetName

func (x *GetJobRequest) GetName() string

func (*GetJobRequest) ProtoMessage

func (*GetJobRequest) ProtoMessage()

func (*GetJobRequest) ProtoReflect

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

func (*GetJobRequest) Reset

func (x *GetJobRequest) Reset()

func (*GetJobRequest) String

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

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

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

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

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

Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.

func (*GetTaskRequest) GetName

func (x *GetTaskRequest) GetName() string

func (*GetTaskRequest) ProtoMessage

func (*GetTaskRequest) ProtoMessage()

func (*GetTaskRequest) ProtoReflect

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

func (*GetTaskRequest) Reset

func (x *GetTaskRequest) Reset()

func (*GetTaskRequest) String

func (x *GetTaskRequest) String() string

type HTTPGetAction

type HTTPGetAction struct {

	// Optional. Path to access on the HTTP server. Defaults to '/'.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Optional. 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"`
	// Optional. 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

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

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"`
	// Optional. 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

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
	// No ingress traffic is allowed.
	IngressTraffic_INGRESS_TRAFFIC_NONE IngressTraffic = 4
)

func (IngressTraffic) Descriptor

func (IngressTraffic) Enum

func (x IngressTraffic) Enum() *IngressTraffic

func (IngressTraffic) EnumDescriptor

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

Deprecated: Use IngressTraffic.Descriptor instead.

func (IngressTraffic) Number

func (IngressTraffic) String

func (x IngressTraffic) String() string

func (IngressTraffic) Type

type Job

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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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. 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.
	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.
	//
	// 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 `protobuf:"bytes,22,opt,name=latest_created_execution,json=latestCreatedExecution,proto3" json:"latest_created_execution,omitempty"`
	// 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"`
	// Types that are assignable to CreateExecution:
	//
	//	*Job_StartExecutionToken
	//	*Job_RunExecutionToken
	CreateExecution isJob_CreateExecution `protobuf_oneof:"create_execution"`
	// 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

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

Deprecated: Use Job.ProtoReflect.Descriptor instead.

func (*Job) GetAnnotations

func (x *Job) GetAnnotations() map[string]string

func (*Job) GetBinaryAuthorization

func (x *Job) GetBinaryAuthorization() *BinaryAuthorization

func (*Job) GetClient

func (x *Job) GetClient() string

func (*Job) GetClientVersion

func (x *Job) GetClientVersion() string

func (*Job) GetConditions

func (x *Job) GetConditions() []*Condition

func (*Job) GetCreateExecution

func (m *Job) GetCreateExecution() isJob_CreateExecution

func (*Job) GetCreateTime

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

func (*Job) GetCreator

func (x *Job) GetCreator() string

func (*Job) GetDeleteTime

func (x *Job) GetDeleteTime() *timestamppb.Timestamp

func (*Job) GetEtag

func (x *Job) GetEtag() string

func (*Job) GetExecutionCount

func (x *Job) GetExecutionCount() int32

func (*Job) GetExpireTime

func (x *Job) GetExpireTime() *timestamppb.Timestamp

func (*Job) GetGeneration

func (x *Job) GetGeneration() int64

func (*Job) GetLabels

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

func (*Job) GetLastModifier

func (x *Job) GetLastModifier() string

func (*Job) GetLatestCreatedExecution

func (x *Job) GetLatestCreatedExecution() *ExecutionReference

func (*Job) GetLaunchStage

func (x *Job) GetLaunchStage() api.LaunchStage

func (*Job) GetName

func (x *Job) GetName() string

func (*Job) GetObservedGeneration

func (x *Job) GetObservedGeneration() int64

func (*Job) GetReconciling

func (x *Job) GetReconciling() bool

func (*Job) GetRunExecutionToken

func (x *Job) GetRunExecutionToken() string

func (*Job) GetSatisfiesPzs

func (x *Job) GetSatisfiesPzs() bool

func (*Job) GetStartExecutionToken

func (x *Job) GetStartExecutionToken() string

func (*Job) GetTemplate

func (x *Job) GetTemplate() *ExecutionTemplate

func (*Job) GetTerminalCondition

func (x *Job) GetTerminalCondition() *Condition

func (*Job) GetUid

func (x *Job) GetUid() string

func (*Job) GetUpdateTime

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

func (*Job) ProtoMessage

func (*Job) ProtoMessage()

func (*Job) ProtoReflect

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

func (*Job) Reset

func (x *Job) Reset()

func (*Job) String

func (x *Job) String() string

type Job_RunExecutionToken

type Job_RunExecutionToken struct {
	// A unique string used as a suffix for creating a new execution. The Job
	// will become ready when the execution is successfully completed.
	// The sum of job name and token length must be fewer than 63 characters.
	RunExecutionToken string `protobuf:"bytes,27,opt,name=run_execution_token,json=runExecutionToken,proto3,oneof"`
}

type Job_StartExecutionToken

type Job_StartExecutionToken struct {
	// A unique string used as a suffix creating a new execution. The Job will
	// become ready when the execution is successfully started.
	// The sum of job name and token length must be fewer than 63 characters.
	StartExecutionToken string `protobuf:"bytes,26,opt,name=start_execution_token,json=startExecutionToken,proto3,oneof"`
}

type JobsClient

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. Results are sorted by creation time, descending.
	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

func NewJobsClient(cc grpc.ClientConnInterface) JobsClient

type JobsServer

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. Results are sorted by creation time, descending.
	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

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

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

Deprecated: Use ListExecutionsRequest.ProtoReflect.Descriptor instead.

func (*ListExecutionsRequest) GetPageSize

func (x *ListExecutionsRequest) GetPageSize() int32

func (*ListExecutionsRequest) GetPageToken

func (x *ListExecutionsRequest) GetPageToken() string

func (*ListExecutionsRequest) GetParent

func (x *ListExecutionsRequest) GetParent() string

func (*ListExecutionsRequest) GetShowDeleted

func (x *ListExecutionsRequest) GetShowDeleted() bool

func (*ListExecutionsRequest) ProtoMessage

func (*ListExecutionsRequest) ProtoMessage()

func (*ListExecutionsRequest) ProtoReflect

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

func (*ListExecutionsRequest) Reset

func (x *ListExecutionsRequest) Reset()

func (*ListExecutionsRequest) String

func (x *ListExecutionsRequest) String() string

type ListExecutionsResponse

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

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

Deprecated: Use ListExecutionsResponse.ProtoReflect.Descriptor instead.

func (*ListExecutionsResponse) GetExecutions

func (x *ListExecutionsResponse) GetExecutions() []*Execution

func (*ListExecutionsResponse) GetNextPageToken

func (x *ListExecutionsResponse) GetNextPageToken() string

func (*ListExecutionsResponse) ProtoMessage

func (*ListExecutionsResponse) ProtoMessage()

func (*ListExecutionsResponse) ProtoReflect

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

func (*ListExecutionsResponse) Reset

func (x *ListExecutionsResponse) Reset()

func (*ListExecutionsResponse) String

func (x *ListExecutionsResponse) String() string

type ListJobsRequest

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

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

Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.

func (*ListJobsRequest) GetPageSize

func (x *ListJobsRequest) GetPageSize() int32

func (*ListJobsRequest) GetPageToken

func (x *ListJobsRequest) GetPageToken() string

func (*ListJobsRequest) GetParent

func (x *ListJobsRequest) GetParent() string

func (*ListJobsRequest) GetShowDeleted

func (x *ListJobsRequest) GetShowDeleted() bool

func (*ListJobsRequest) ProtoMessage

func (*ListJobsRequest) ProtoMessage()

func (*ListJobsRequest) ProtoReflect

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

func (*ListJobsRequest) Reset

func (x *ListJobsRequest) Reset()

func (*ListJobsRequest) String

func (x *ListJobsRequest) String() string

type ListJobsResponse

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

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

Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.

func (*ListJobsResponse) GetJobs

func (x *ListJobsResponse) GetJobs() []*Job

func (*ListJobsResponse) GetNextPageToken

func (x *ListJobsResponse) GetNextPageToken() string

func (*ListJobsResponse) ProtoMessage

func (*ListJobsResponse) ProtoMessage()

func (*ListJobsResponse) ProtoReflect

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

func (*ListJobsResponse) Reset

func (x *ListJobsResponse) Reset()

func (*ListJobsResponse) String

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

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

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

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

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

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

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

Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.

func (*ListTasksRequest) GetPageSize

func (x *ListTasksRequest) GetPageSize() int32

func (*ListTasksRequest) GetPageToken

func (x *ListTasksRequest) GetPageToken() string

func (*ListTasksRequest) GetParent

func (x *ListTasksRequest) GetParent() string

func (*ListTasksRequest) GetShowDeleted

func (x *ListTasksRequest) GetShowDeleted() bool

func (*ListTasksRequest) ProtoMessage

func (*ListTasksRequest) ProtoMessage()

func (*ListTasksRequest) ProtoReflect

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

func (*ListTasksRequest) Reset

func (x *ListTasksRequest) Reset()

func (*ListTasksRequest) String

func (x *ListTasksRequest) String() string

type ListTasksResponse

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

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

Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.

func (*ListTasksResponse) GetNextPageToken

func (x *ListTasksResponse) GetNextPageToken() string

func (*ListTasksResponse) GetTasks

func (x *ListTasksResponse) GetTasks() []*Task

func (*ListTasksResponse) ProtoMessage

func (*ListTasksResponse) ProtoMessage()

func (*ListTasksResponse) ProtoReflect

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

func (*ListTasksResponse) Reset

func (x *ListTasksResponse) Reset()

func (*ListTasksResponse) String

func (x *ListTasksResponse) String() string

type NFSVolumeSource

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, the volume will be mounted as read only for all mounts.
	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

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

Deprecated: Use NFSVolumeSource.ProtoReflect.Descriptor instead.

func (*NFSVolumeSource) GetPath

func (x *NFSVolumeSource) GetPath() string

func (*NFSVolumeSource) GetReadOnly

func (x *NFSVolumeSource) GetReadOnly() bool

func (*NFSVolumeSource) GetServer

func (x *NFSVolumeSource) GetServer() string

func (*NFSVolumeSource) ProtoMessage

func (*NFSVolumeSource) ProtoMessage()

func (*NFSVolumeSource) ProtoReflect

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

func (*NFSVolumeSource) Reset

func (x *NFSVolumeSource) Reset()

func (*NFSVolumeSource) String

func (x *NFSVolumeSource) String() string

type NodeSelector

type NodeSelector struct {

	// Required. GPU accelerator type to attach to an instance.
	Accelerator string `protobuf:"bytes,1,opt,name=accelerator,proto3" json:"accelerator,omitempty"`
	// contains filtered or unexported fields
}

Hardware constraints configuration.

func (*NodeSelector) Descriptor

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

Deprecated: Use NodeSelector.ProtoReflect.Descriptor instead.

func (*NodeSelector) GetAccelerator

func (x *NodeSelector) GetAccelerator() string

func (*NodeSelector) ProtoMessage

func (*NodeSelector) ProtoMessage()

func (*NodeSelector) ProtoReflect

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

func (*NodeSelector) Reset

func (x *NodeSelector) Reset()

func (*NodeSelector) String

func (x *NodeSelector) String() string

type Probe

type Probe struct {

	// Optional. 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"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. 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

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

Deprecated: Use Probe.ProtoReflect.Descriptor instead.

func (*Probe) GetFailureThreshold

func (x *Probe) GetFailureThreshold() int32

func (*Probe) GetGrpc

func (x *Probe) GetGrpc() *GRPCAction

func (*Probe) GetHttpGet

func (x *Probe) GetHttpGet() *HTTPGetAction

func (*Probe) GetInitialDelaySeconds

func (x *Probe) GetInitialDelaySeconds() int32

func (*Probe) GetPeriodSeconds

func (x *Probe) GetPeriodSeconds() int32

func (*Probe) GetProbeType

func (m *Probe) GetProbeType() isProbe_ProbeType

func (*Probe) GetTcpSocket

func (x *Probe) GetTcpSocket() *TCPSocketAction

func (*Probe) GetTimeoutSeconds

func (x *Probe) GetTimeoutSeconds() int32

func (*Probe) ProtoMessage

func (*Probe) ProtoMessage()

func (*Probe) ProtoReflect

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

func (*Probe) Reset

func (x *Probe) Reset()

func (*Probe) String

func (x *Probe) String() string

type Probe_Grpc

type Probe_Grpc struct {
	// Optional. 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 {
	// Optional. 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 {
	// Optional. 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 `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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

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

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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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`.
	//
	// 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 `protobuf:"varint,34,opt,name=max_instance_request_concurrency,json=maxInstanceRequestConcurrency,proto3" json:"max_instance_request_concurrency,omitempty"`
	// 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 `protobuf:"varint,20,opt,name=execution_environment,json=executionEnvironment,proto3,enum=google.cloud.run.v2.ExecutionEnvironment" json:"execution_environment,omitempty"`
	// 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"`
	// Enables service mesh connectivity.
	ServiceMesh *ServiceMesh `protobuf:"bytes,22,opt,name=service_mesh,json=serviceMesh,proto3" json:"service_mesh,omitempty"`
	// The action to take if the encryption key is revoked.
	EncryptionKeyRevocationAction EncryptionKeyRevocationAction `protobuf:"varint,23,opt,name=encryption_key_revocation_action,json=encryptionKeyRevocationAction,proto3,enum=google.cloud.run.v2.EncryptionKeyRevocationAction" json:"encryption_key_revocation_action,omitempty"`
	// If encryption_key_revocation_action is SHUTDOWN, the duration before
	// shutting down all instances. The minimum increment is 1 hour.
	EncryptionKeyShutdownDuration *durationpb.Duration `protobuf:"bytes,24,opt,name=encryption_key_shutdown_duration,json=encryptionKeyShutdownDuration,proto3" json:"encryption_key_shutdown_duration,omitempty"`
	// 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"`
	// The node selector for the revision.
	NodeSelector *NodeSelector `protobuf:"bytes,40,opt,name=node_selector,json=nodeSelector,proto3" json:"node_selector,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

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

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetAnnotations

func (x *Revision) GetAnnotations() map[string]string

func (*Revision) GetConditions

func (x *Revision) GetConditions() []*Condition

func (*Revision) GetContainers

func (x *Revision) GetContainers() []*Container

func (*Revision) GetCreateTime

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

func (*Revision) GetDeleteTime

func (x *Revision) GetDeleteTime() *timestamppb.Timestamp

func (*Revision) GetEncryptionKey

func (x *Revision) GetEncryptionKey() string

func (*Revision) GetEncryptionKeyRevocationAction

func (x *Revision) GetEncryptionKeyRevocationAction() EncryptionKeyRevocationAction

func (*Revision) GetEncryptionKeyShutdownDuration

func (x *Revision) GetEncryptionKeyShutdownDuration() *durationpb.Duration

func (*Revision) GetEtag

func (x *Revision) GetEtag() string

func (*Revision) GetExecutionEnvironment

func (x *Revision) GetExecutionEnvironment() ExecutionEnvironment

func (*Revision) GetExpireTime

func (x *Revision) GetExpireTime() *timestamppb.Timestamp

func (*Revision) GetGeneration

func (x *Revision) GetGeneration() int64

func (*Revision) GetLabels

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

func (*Revision) GetLaunchStage

func (x *Revision) GetLaunchStage() api.LaunchStage

func (*Revision) GetLogUri

func (x *Revision) GetLogUri() string

func (*Revision) GetMaxInstanceRequestConcurrency

func (x *Revision) GetMaxInstanceRequestConcurrency() int32

func (*Revision) GetName

func (x *Revision) GetName() string

func (*Revision) GetNodeSelector

func (x *Revision) GetNodeSelector() *NodeSelector

func (*Revision) GetObservedGeneration

func (x *Revision) GetObservedGeneration() int64

func (*Revision) GetReconciling

func (x *Revision) GetReconciling() bool

func (*Revision) GetSatisfiesPzs

func (x *Revision) GetSatisfiesPzs() bool

func (*Revision) GetScaling

func (x *Revision) GetScaling() *RevisionScaling

func (*Revision) GetScalingStatus

func (x *Revision) GetScalingStatus() *RevisionScalingStatus

func (*Revision) GetService

func (x *Revision) GetService() string

func (*Revision) GetServiceAccount

func (x *Revision) GetServiceAccount() string

func (*Revision) GetServiceMesh

func (x *Revision) GetServiceMesh() *ServiceMesh

func (*Revision) GetSessionAffinity

func (x *Revision) GetSessionAffinity() bool

func (*Revision) GetTimeout

func (x *Revision) GetTimeout() *durationpb.Duration

func (*Revision) GetUid

func (x *Revision) GetUid() string

func (*Revision) GetUpdateTime

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

func (*Revision) GetVolumes

func (x *Revision) GetVolumes() []*Volume

func (*Revision) GetVpcAccess

func (x *Revision) GetVpcAccess() *VpcAccess

func (*Revision) ProtoMessage

func (*Revision) ProtoMessage()

func (*Revision) ProtoReflect

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

func (*Revision) Reset

func (x *Revision) Reset()

func (*Revision) String

func (x *Revision) String() string

type RevisionScaling

type RevisionScaling struct {

	// Optional. 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"`
	// Optional. Maximum number of serving instances that this resource should
	// have. When unspecified, the field is set to the server default value of
	// 100. For more information see
	// https://cloud.google.com/run/docs/configuring/max-instances
	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

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

type RevisionScalingStatus struct {

	// The current number of min instances provisioned for this revision.
	DesiredMinInstanceCount int32 `protobuf:"varint,1,opt,name=desired_min_instance_count,json=desiredMinInstanceCount,proto3" json:"desired_min_instance_count,omitempty"`
	// contains filtered or unexported fields
}

Effective settings for the current revision

func (*RevisionScalingStatus) Descriptor

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

Deprecated: Use RevisionScalingStatus.ProtoReflect.Descriptor instead.

func (*RevisionScalingStatus) GetDesiredMinInstanceCount

func (x *RevisionScalingStatus) GetDesiredMinInstanceCount() int32

func (*RevisionScalingStatus) ProtoMessage

func (*RevisionScalingStatus) ProtoMessage()

func (*RevisionScalingStatus) ProtoReflect

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

func (*RevisionScalingStatus) Reset

func (x *RevisionScalingStatus) Reset()

func (*RevisionScalingStatus) String

func (x *RevisionScalingStatus) String() string

type RevisionTemplate

type RevisionTemplate struct {

	// Optional. 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"`
	// 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 RevisionTemplate.
	Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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. 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 `protobuf:"bytes,3,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. Scaling settings for this Revision.
	Scaling *RevisionScaling `protobuf:"bytes,4,opt,name=scaling,proto3" json:"scaling,omitempty"`
	// Optional. 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"`
	// Optional. Max allowed time for an instance to respond to a request.
	Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Optional. 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"`
	// Optional. A list of Volumes to make available to containers.
	Volumes []*Volume `protobuf:"bytes,11,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// Optional. The sandbox environment to host this Revision.
	ExecutionEnvironment ExecutionEnvironment `protobuf:"varint,13,opt,name=execution_environment,json=executionEnvironment,proto3,enum=google.cloud.run.v2.ExecutionEnvironment" json:"execution_environment,omitempty"`
	// 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"`
	// Optional. Sets the maximum number of requests that each serving instance
	// can receive. If not specified or 0, concurrency defaults to 80 when
	// requested `CPU >= 1` and defaults to 1 when requested `CPU < 1`.
	MaxInstanceRequestConcurrency int32 `protobuf:"varint,15,opt,name=max_instance_request_concurrency,json=maxInstanceRequestConcurrency,proto3" json:"max_instance_request_concurrency,omitempty"`
	// Optional. Enables service mesh connectivity.
	ServiceMesh *ServiceMesh `protobuf:"bytes,16,opt,name=service_mesh,json=serviceMesh,proto3" json:"service_mesh,omitempty"`
	// Optional. The action to take if the encryption key is revoked.
	EncryptionKeyRevocationAction EncryptionKeyRevocationAction `protobuf:"varint,17,opt,name=encryption_key_revocation_action,json=encryptionKeyRevocationAction,proto3,enum=google.cloud.run.v2.EncryptionKeyRevocationAction" json:"encryption_key_revocation_action,omitempty"`
	// Optional. If encryption_key_revocation_action is SHUTDOWN, the duration
	// before shutting down all instances. The minimum increment is 1 hour.
	EncryptionKeyShutdownDuration *durationpb.Duration `protobuf:"bytes,18,opt,name=encryption_key_shutdown_duration,json=encryptionKeyShutdownDuration,proto3" json:"encryption_key_shutdown_duration,omitempty"`
	// 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"`
	// Optional. The node selector for the revision template.
	NodeSelector *NodeSelector `protobuf:"bytes,21,opt,name=node_selector,json=nodeSelector,proto3" json:"node_selector,omitempty"`
	// contains filtered or unexported fields
}

RevisionTemplate describes the data a revision should have when created from a template.

func (*RevisionTemplate) Descriptor

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) GetEncryptionKeyRevocationAction

func (x *RevisionTemplate) GetEncryptionKeyRevocationAction() EncryptionKeyRevocationAction

func (*RevisionTemplate) GetEncryptionKeyShutdownDuration

func (x *RevisionTemplate) GetEncryptionKeyShutdownDuration() *durationpb.Duration

func (*RevisionTemplate) GetExecutionEnvironment

func (x *RevisionTemplate) GetExecutionEnvironment() ExecutionEnvironment

func (*RevisionTemplate) GetHealthCheckDisabled

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) GetNodeSelector

func (x *RevisionTemplate) GetNodeSelector() *NodeSelector

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) GetServiceMesh

func (x *RevisionTemplate) GetServiceMesh() *ServiceMesh

func (*RevisionTemplate) GetSessionAffinity

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.  Results
	// are sorted by creation time, descending.
	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.  Results
	// are sorted by creation time, descending.
	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

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

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

Deprecated: Use RunJobRequest.ProtoReflect.Descriptor instead.

func (*RunJobRequest) GetEtag

func (x *RunJobRequest) GetEtag() string

func (*RunJobRequest) GetName

func (x *RunJobRequest) GetName() string

func (*RunJobRequest) GetOverrides

func (x *RunJobRequest) GetOverrides() *RunJobRequest_Overrides

func (*RunJobRequest) GetValidateOnly

func (x *RunJobRequest) GetValidateOnly() bool

func (*RunJobRequest) ProtoMessage

func (*RunJobRequest) ProtoMessage()

func (*RunJobRequest) ProtoReflect

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

func (*RunJobRequest) Reset

func (x *RunJobRequest) Reset()

func (*RunJobRequest) String

func (x *RunJobRequest) String() string

type RunJobRequest_Overrides

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

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

Deprecated: Use RunJobRequest_Overrides.ProtoReflect.Descriptor instead.

func (*RunJobRequest_Overrides) GetContainerOverrides

func (*RunJobRequest_Overrides) GetTaskCount

func (x *RunJobRequest_Overrides) GetTaskCount() int32

func (*RunJobRequest_Overrides) GetTimeout

func (x *RunJobRequest_Overrides) GetTimeout() *durationpb.Duration

func (*RunJobRequest_Overrides) ProtoMessage

func (*RunJobRequest_Overrides) ProtoMessage()

func (*RunJobRequest_Overrides) ProtoReflect

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

func (*RunJobRequest_Overrides) Reset

func (x *RunJobRequest_Overrides) Reset()

func (*RunJobRequest_Overrides) String

func (x *RunJobRequest_Overrides) String() string

type RunJobRequest_Overrides_ContainerOverride

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

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

Deprecated: Use RunJobRequest_Overrides_ContainerOverride.ProtoReflect.Descriptor instead.

func (*RunJobRequest_Overrides_ContainerOverride) GetArgs

func (*RunJobRequest_Overrides_ContainerOverride) GetClearArgs

func (*RunJobRequest_Overrides_ContainerOverride) GetEnv

func (*RunJobRequest_Overrides_ContainerOverride) GetName

func (*RunJobRequest_Overrides_ContainerOverride) ProtoMessage

func (*RunJobRequest_Overrides_ContainerOverride) ProtoReflect

func (*RunJobRequest_Overrides_ContainerOverride) Reset

func (*RunJobRequest_Overrides_ContainerOverride) 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

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 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

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 `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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. 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
	// permanently 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"`
	// Optional. 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"`
	// Optional. 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.
	//
	// 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"`
	// Optional. 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"`
	// Optional. 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 IAM permission check for run.routes.invoke for callers
	// of this service. This feature is available by invitation only. For more
	// information, visit
	// https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
	InvokerIamDisabled bool `protobuf:"varint,21,opt,name=invoker_iam_disabled,json=invokerIamDisabled,proto3" json:"invoker_iam_disabled,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. All URLs serving traffic for this Service.
	Urls []string `protobuf:"bytes,24,rep,name=urls,proto3" json:"urls,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. 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 `protobuf:"bytes,34,opt,name=latest_created_revision,json=latestCreatedRevision,proto3" json:"latest_created_revision,omitempty"`
	// 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"`
	// Output only. Reserved for future use.
	SatisfiesPzs bool `protobuf:"varint,38,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// Optional. Configuration for building a Cloud Run function.
	BuildConfig *BuildConfig `protobuf:"bytes,41,opt,name=build_config,json=buildConfig,proto3" json:"build_config,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_revision`, `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

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetAnnotations

func (x *Service) GetAnnotations() map[string]string

func (*Service) GetBinaryAuthorization

func (x *Service) GetBinaryAuthorization() *BinaryAuthorization

func (*Service) GetBuildConfig

func (x *Service) GetBuildConfig() *BuildConfig

func (*Service) GetClient

func (x *Service) GetClient() string

func (*Service) GetClientVersion

func (x *Service) GetClientVersion() string

func (*Service) GetConditions

func (x *Service) GetConditions() []*Condition

func (*Service) GetCreateTime

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

func (*Service) GetCreator

func (x *Service) GetCreator() string

func (*Service) GetCustomAudiences

func (x *Service) GetCustomAudiences() []string

func (*Service) GetDefaultUriDisabled

func (x *Service) GetDefaultUriDisabled() bool

func (*Service) GetDeleteTime

func (x *Service) GetDeleteTime() *timestamppb.Timestamp

func (*Service) GetDescription

func (x *Service) GetDescription() string

func (*Service) GetEtag

func (x *Service) GetEtag() string

func (*Service) GetExpireTime

func (x *Service) GetExpireTime() *timestamppb.Timestamp

func (*Service) GetGeneration

func (x *Service) GetGeneration() int64

func (*Service) GetIngress

func (x *Service) GetIngress() IngressTraffic

func (*Service) GetInvokerIamDisabled

func (x *Service) GetInvokerIamDisabled() bool

func (*Service) GetLabels

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

func (*Service) GetLastModifier

func (x *Service) GetLastModifier() string

func (*Service) GetLatestCreatedRevision

func (x *Service) GetLatestCreatedRevision() string

func (*Service) GetLatestReadyRevision

func (x *Service) GetLatestReadyRevision() string

func (*Service) GetLaunchStage

func (x *Service) GetLaunchStage() api.LaunchStage

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetObservedGeneration

func (x *Service) GetObservedGeneration() int64

func (*Service) GetReconciling

func (x *Service) GetReconciling() bool

func (*Service) GetSatisfiesPzs

func (x *Service) GetSatisfiesPzs() bool

func (*Service) GetScaling

func (x *Service) GetScaling() *ServiceScaling

func (*Service) GetTemplate

func (x *Service) GetTemplate() *RevisionTemplate

func (*Service) GetTerminalCondition

func (x *Service) GetTerminalCondition() *Condition

func (*Service) GetTraffic

func (x *Service) GetTraffic() []*TrafficTarget

func (*Service) GetTrafficStatuses

func (x *Service) GetTrafficStatuses() []*TrafficTargetStatus

func (*Service) GetUid

func (x *Service) GetUid() string

func (*Service) GetUpdateTime

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

func (*Service) GetUri

func (x *Service) GetUri() string

func (*Service) GetUrls

func (x *Service) GetUrls() []string

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type ServiceMesh

type ServiceMesh struct {

	// The Mesh resource name. Format:
	// `projects/{project}/locations/global/meshes/{mesh}`, where `{project}` can
	// be project id or number.
	Mesh string `protobuf:"bytes,1,opt,name=mesh,proto3" json:"mesh,omitempty"`
	// contains filtered or unexported fields
}

Settings for Cloud Service Mesh. For more information see https://cloud.google.com/service-mesh/docs/overview.

func (*ServiceMesh) Descriptor

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

Deprecated: Use ServiceMesh.ProtoReflect.Descriptor instead.

func (*ServiceMesh) GetMesh

func (x *ServiceMesh) GetMesh() string

func (*ServiceMesh) ProtoMessage

func (*ServiceMesh) ProtoMessage()

func (*ServiceMesh) ProtoReflect

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

func (*ServiceMesh) Reset

func (x *ServiceMesh) Reset()

func (*ServiceMesh) String

func (x *ServiceMesh) String() string

type ServiceScaling

type ServiceScaling struct {

	// Optional. 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.
	MinInstanceCount int32 `protobuf:"varint,1,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"`
	// Optional. The scaling mode for the service.
	ScalingMode ServiceScaling_ScalingMode `protobuf:"varint,3,opt,name=scaling_mode,json=scalingMode,proto3,enum=google.cloud.run.v2.ServiceScaling_ScalingMode" json:"scaling_mode,omitempty"`
	// Optional. total instance count for the service in manual scaling mode. This
	// number of instances is divided among all revisions with specified traffic
	// based on the percent of traffic they are receiving.
	ManualInstanceCount *int32 `protobuf:"varint,6,opt,name=manual_instance_count,json=manualInstanceCount,proto3,oneof" json:"manual_instance_count,omitempty"`
	// contains filtered or unexported fields
}

Scaling settings applied at the service level rather than at the revision level.

func (*ServiceScaling) Descriptor

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

Deprecated: Use ServiceScaling.ProtoReflect.Descriptor instead.

func (*ServiceScaling) GetManualInstanceCount

func (x *ServiceScaling) GetManualInstanceCount() int32

func (*ServiceScaling) GetMinInstanceCount

func (x *ServiceScaling) GetMinInstanceCount() int32

func (*ServiceScaling) GetScalingMode

func (x *ServiceScaling) GetScalingMode() ServiceScaling_ScalingMode

func (*ServiceScaling) ProtoMessage

func (*ServiceScaling) ProtoMessage()

func (*ServiceScaling) ProtoReflect

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

func (*ServiceScaling) Reset

func (x *ServiceScaling) Reset()

func (*ServiceScaling) String

func (x *ServiceScaling) String() string

type ServiceScaling_ScalingMode

type ServiceScaling_ScalingMode int32

The scaling mode for the service. If not provided, it defaults to AUTOMATIC.

const (
	// Unspecified.
	ServiceScaling_SCALING_MODE_UNSPECIFIED ServiceScaling_ScalingMode = 0
	// Scale based on traffic between min and max instances.
	ServiceScaling_AUTOMATIC ServiceScaling_ScalingMode = 1
	// Scale to exactly min instances and ignore max instances.
	ServiceScaling_MANUAL ServiceScaling_ScalingMode = 2
)

func (ServiceScaling_ScalingMode) Descriptor

func (ServiceScaling_ScalingMode) Enum

func (ServiceScaling_ScalingMode) EnumDescriptor

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

Deprecated: Use ServiceScaling_ScalingMode.Descriptor instead.

func (ServiceScaling_ScalingMode) Number

func (ServiceScaling_ScalingMode) String

func (ServiceScaling_ScalingMode) Type

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. Results are sorted by creation time, descending.
	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. Results are sorted by creation time, descending.
	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 StorageSource

type StorageSource struct {

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

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

func (*StorageSource) Descriptor

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

Deprecated: Use StorageSource.ProtoReflect.Descriptor instead.

func (*StorageSource) GetBucket

func (x *StorageSource) GetBucket() string

func (*StorageSource) GetGeneration

func (x *StorageSource) GetGeneration() int64

func (*StorageSource) GetObject

func (x *StorageSource) GetObject() string

func (*StorageSource) ProtoMessage

func (*StorageSource) ProtoMessage()

func (*StorageSource) ProtoReflect

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

func (*StorageSource) Reset

func (x *StorageSource) Reset()

func (*StorageSource) String

func (x *StorageSource) String() string

type SubmitBuildRequest

type SubmitBuildRequest struct {

	// Required. The project and location to build in. Location must be a region,
	// e.g., 'us-central1' or 'global' if the global builder is to be used.
	// Format:
	// `projects/{project}/locations/{location}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Location of source.
	//
	// Types that are assignable to Source:
	//
	//	*SubmitBuildRequest_StorageSource
	Source isSubmitBuildRequest_Source `protobuf_oneof:"source"`
	// Required. Artifact Registry URI to store the built image.
	ImageUri string `protobuf:"bytes,3,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// Build type must be one of the following.
	//
	// Types that are assignable to BuildType:
	//
	//	*SubmitBuildRequest_BuildpackBuild
	//	*SubmitBuildRequest_DockerBuild_
	BuildType isSubmitBuildRequest_BuildType `protobuf_oneof:"build_type"`
	// Optional. The service account to use for the build. If not set, the default
	// Cloud Build service account for the project will be used.
	ServiceAccount string `protobuf:"bytes,6,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Optional. Name of the Cloud Build Custom Worker Pool that should be used to
	// build the function. The format of this field is
	// `projects/{project}/locations/{region}/workerPools/{workerPool}` where
	// `{project}` and `{region}` are the project id and region respectively where
	// the worker pool is defined and `{workerPool}` is the short name of the
	// worker pool.
	WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
	// Optional. Additional tags to annotate the build.
	Tags []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

Request message for submitting a Build.

func (*SubmitBuildRequest) Descriptor

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

Deprecated: Use SubmitBuildRequest.ProtoReflect.Descriptor instead.

func (*SubmitBuildRequest) GetBuildType

func (m *SubmitBuildRequest) GetBuildType() isSubmitBuildRequest_BuildType

func (*SubmitBuildRequest) GetBuildpackBuild

func (*SubmitBuildRequest) GetDockerBuild

func (*SubmitBuildRequest) GetImageUri

func (x *SubmitBuildRequest) GetImageUri() string

func (*SubmitBuildRequest) GetParent

func (x *SubmitBuildRequest) GetParent() string

func (*SubmitBuildRequest) GetServiceAccount

func (x *SubmitBuildRequest) GetServiceAccount() string

func (*SubmitBuildRequest) GetSource

func (m *SubmitBuildRequest) GetSource() isSubmitBuildRequest_Source

func (*SubmitBuildRequest) GetStorageSource

func (x *SubmitBuildRequest) GetStorageSource() *StorageSource

func (*SubmitBuildRequest) GetTags

func (x *SubmitBuildRequest) GetTags() []string

func (*SubmitBuildRequest) GetWorkerPool

func (x *SubmitBuildRequest) GetWorkerPool() string

func (*SubmitBuildRequest) ProtoMessage

func (*SubmitBuildRequest) ProtoMessage()

func (*SubmitBuildRequest) ProtoReflect

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

func (*SubmitBuildRequest) Reset

func (x *SubmitBuildRequest) Reset()

func (*SubmitBuildRequest) String

func (x *SubmitBuildRequest) String() string

type SubmitBuildRequest_BuildpackBuild

type SubmitBuildRequest_BuildpackBuild struct {
	// Build the source using Buildpacks.
	BuildpackBuild *SubmitBuildRequest_BuildpacksBuild `protobuf:"bytes,4,opt,name=buildpack_build,json=buildpackBuild,proto3,oneof"`
}

type SubmitBuildRequest_BuildpacksBuild

type SubmitBuildRequest_BuildpacksBuild struct {

	// The runtime name, e.g. 'go113'. Leave blank for generic builds.
	//
	// Deprecated: Marked as deprecated in google/cloud/run/v2/build.proto.
	Runtime string `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"`
	// Optional. Name of the function target if the source is a function source.
	// Required for function builds.
	FunctionTarget string `protobuf:"bytes,2,opt,name=function_target,json=functionTarget,proto3" json:"function_target,omitempty"`
	// Optional. cache_image_uri is the GCR/AR URL where the cache image will be
	// stored. cache_image_uri is optional and omitting it will disable caching.
	// This URL must be stable across builds. It is used to derive a
	// build-specific temporary URL by substituting the tag with the build ID.
	// The build will clean up the temporary image on a best-effort basis.
	CacheImageUri string `protobuf:"bytes,3,opt,name=cache_image_uri,json=cacheImageUri,proto3" json:"cache_image_uri,omitempty"`
	// Optional. The base image to use for the build.
	BaseImage string `protobuf:"bytes,4,opt,name=base_image,json=baseImage,proto3" json:"base_image,omitempty"`
	// Optional. User-provided build-time environment variables.
	EnvironmentVariables map[string]string `protobuf:"bytes,5,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// Optional. Whether or not the application container will be enrolled in
	// automatic base image updates. When true, the application will be built on
	// a scratch base image, so the base layers can be appended at run time.
	EnableAutomaticUpdates bool `protobuf:"varint,6,opt,name=enable_automatic_updates,json=enableAutomaticUpdates,proto3" json:"enable_automatic_updates,omitempty"`
	// Optional. project_descriptor stores the path to the project descriptor
	// file. When empty, it means that there is no project descriptor file in
	// the source.
	ProjectDescriptor string `protobuf:"bytes,7,opt,name=project_descriptor,json=projectDescriptor,proto3" json:"project_descriptor,omitempty"`
	// contains filtered or unexported fields
}

Build the source using Buildpacks.

func (*SubmitBuildRequest_BuildpacksBuild) Descriptor

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

Deprecated: Use SubmitBuildRequest_BuildpacksBuild.ProtoReflect.Descriptor instead.

func (*SubmitBuildRequest_BuildpacksBuild) GetBaseImage

func (x *SubmitBuildRequest_BuildpacksBuild) GetBaseImage() string

func (*SubmitBuildRequest_BuildpacksBuild) GetCacheImageUri

func (x *SubmitBuildRequest_BuildpacksBuild) GetCacheImageUri() string

func (*SubmitBuildRequest_BuildpacksBuild) GetEnableAutomaticUpdates

func (x *SubmitBuildRequest_BuildpacksBuild) GetEnableAutomaticUpdates() bool

func (*SubmitBuildRequest_BuildpacksBuild) GetEnvironmentVariables

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

func (*SubmitBuildRequest_BuildpacksBuild) GetFunctionTarget

func (x *SubmitBuildRequest_BuildpacksBuild) GetFunctionTarget() string

func (*SubmitBuildRequest_BuildpacksBuild) GetProjectDescriptor

func (x *SubmitBuildRequest_BuildpacksBuild) GetProjectDescriptor() string

func (*SubmitBuildRequest_BuildpacksBuild) GetRuntime

Deprecated: Marked as deprecated in google/cloud/run/v2/build.proto.

func (*SubmitBuildRequest_BuildpacksBuild) ProtoMessage

func (*SubmitBuildRequest_BuildpacksBuild) ProtoMessage()

func (*SubmitBuildRequest_BuildpacksBuild) ProtoReflect

func (*SubmitBuildRequest_BuildpacksBuild) Reset

func (*SubmitBuildRequest_BuildpacksBuild) String

type SubmitBuildRequest_DockerBuild

type SubmitBuildRequest_DockerBuild struct {
	// contains filtered or unexported fields
}

Build the source using Docker. This means the source has a Dockerfile.

func (*SubmitBuildRequest_DockerBuild) Descriptor

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

Deprecated: Use SubmitBuildRequest_DockerBuild.ProtoReflect.Descriptor instead.

func (*SubmitBuildRequest_DockerBuild) ProtoMessage

func (*SubmitBuildRequest_DockerBuild) ProtoMessage()

func (*SubmitBuildRequest_DockerBuild) ProtoReflect

func (*SubmitBuildRequest_DockerBuild) Reset

func (x *SubmitBuildRequest_DockerBuild) Reset()

func (*SubmitBuildRequest_DockerBuild) String

type SubmitBuildRequest_DockerBuild_

type SubmitBuildRequest_DockerBuild_ struct {
	// Build the source using Docker. This means the source has a Dockerfile.
	DockerBuild *SubmitBuildRequest_DockerBuild `protobuf:"bytes,5,opt,name=docker_build,json=dockerBuild,proto3,oneof"`
}

type SubmitBuildRequest_StorageSource

type SubmitBuildRequest_StorageSource struct {
	// Required. Source for the build.
	StorageSource *StorageSource `protobuf:"bytes,2,opt,name=storage_source,json=storageSource,proto3,oneof"`
}

type SubmitBuildResponse

type SubmitBuildResponse struct {

	// Cloud Build operation to be polled via CloudBuild API.
	BuildOperation *longrunningpb.Operation `protobuf:"bytes,1,opt,name=build_operation,json=buildOperation,proto3" json:"build_operation,omitempty"`
	// URI of the base builder image in Artifact Registry being used in the build.
	// Used to opt into automatic base image updates.
	BaseImageUri string `protobuf:"bytes,2,opt,name=base_image_uri,json=baseImageUri,proto3" json:"base_image_uri,omitempty"`
	// Warning message for the base image.
	BaseImageWarning string `protobuf:"bytes,3,opt,name=base_image_warning,json=baseImageWarning,proto3" json:"base_image_warning,omitempty"`
	// contains filtered or unexported fields
}

Response message for submitting a Build.

func (*SubmitBuildResponse) Descriptor

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

Deprecated: Use SubmitBuildResponse.ProtoReflect.Descriptor instead.

func (*SubmitBuildResponse) GetBaseImageUri

func (x *SubmitBuildResponse) GetBaseImageUri() string

func (*SubmitBuildResponse) GetBaseImageWarning

func (x *SubmitBuildResponse) GetBaseImageWarning() string

func (*SubmitBuildResponse) GetBuildOperation

func (x *SubmitBuildResponse) GetBuildOperation() *longrunningpb.Operation

func (*SubmitBuildResponse) ProtoMessage

func (*SubmitBuildResponse) ProtoMessage()

func (*SubmitBuildResponse) ProtoReflect

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

func (*SubmitBuildResponse) Reset

func (x *SubmitBuildResponse) Reset()

func (*SubmitBuildResponse) String

func (x *SubmitBuildResponse) String() string

type TCPSocketAction

type TCPSocketAction struct {

	// Optional. 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

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

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 `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	// 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 `protobuf:"varint,20,opt,name=execution_environment,json=executionEnvironment,proto3,enum=google.cloud.run.v2.ExecutionEnvironment" json:"execution_environment,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,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

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

Deprecated: Use Task.ProtoReflect.Descriptor instead.

func (*Task) GetAnnotations

func (x *Task) GetAnnotations() map[string]string

func (*Task) GetCompletionTime

func (x *Task) GetCompletionTime() *timestamppb.Timestamp

func (*Task) GetConditions

func (x *Task) GetConditions() []*Condition

func (*Task) GetContainers

func (x *Task) GetContainers() []*Container

func (*Task) GetCreateTime

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

func (*Task) GetDeleteTime

func (x *Task) GetDeleteTime() *timestamppb.Timestamp

func (*Task) GetEncryptionKey

func (x *Task) GetEncryptionKey() string

func (*Task) GetEtag

func (x *Task) GetEtag() string

func (*Task) GetExecution

func (x *Task) GetExecution() string

func (*Task) GetExecutionEnvironment

func (x *Task) GetExecutionEnvironment() ExecutionEnvironment

func (*Task) GetExpireTime

func (x *Task) GetExpireTime() *timestamppb.Timestamp

func (*Task) GetGeneration

func (x *Task) GetGeneration() int64

func (*Task) GetIndex

func (x *Task) GetIndex() int32

func (*Task) GetJob

func (x *Task) GetJob() string

func (*Task) GetLabels

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

func (*Task) GetLastAttemptResult

func (x *Task) GetLastAttemptResult() *TaskAttemptResult

func (*Task) GetLogUri

func (x *Task) GetLogUri() string

func (*Task) GetMaxRetries

func (x *Task) GetMaxRetries() int32

func (*Task) GetName

func (x *Task) GetName() string

func (*Task) GetObservedGeneration

func (x *Task) GetObservedGeneration() int64

func (*Task) GetReconciling

func (x *Task) GetReconciling() bool

func (*Task) GetRetried

func (x *Task) GetRetried() int32

func (*Task) GetSatisfiesPzs

func (x *Task) GetSatisfiesPzs() bool

func (*Task) GetScheduledTime

func (x *Task) GetScheduledTime() *timestamppb.Timestamp

func (*Task) GetServiceAccount

func (x *Task) GetServiceAccount() string

func (*Task) GetStartTime

func (x *Task) GetStartTime() *timestamppb.Timestamp

func (*Task) GetTimeout

func (x *Task) GetTimeout() *durationpb.Duration

func (*Task) GetUid

func (x *Task) GetUid() string

func (*Task) GetUpdateTime

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

func (*Task) GetVolumes

func (x *Task) GetVolumes() []*Volume

func (*Task) GetVpcAccess

func (x *Task) GetVpcAccess() *VpcAccess

func (*Task) ProtoMessage

func (*Task) ProtoMessage()

func (*Task) ProtoReflect

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

func (*Task) Reset

func (x *Task) Reset()

func (*Task) String

func (x *Task) String() string

type TaskAttemptResult

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

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

Deprecated: Use TaskAttemptResult.ProtoReflect.Descriptor instead.

func (*TaskAttemptResult) GetExitCode

func (x *TaskAttemptResult) GetExitCode() int32

func (*TaskAttemptResult) GetStatus

func (x *TaskAttemptResult) GetStatus() *status.Status

func (*TaskAttemptResult) ProtoMessage

func (*TaskAttemptResult) ProtoMessage()

func (*TaskAttemptResult) ProtoReflect

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

func (*TaskAttemptResult) Reset

func (x *TaskAttemptResult) Reset()

func (*TaskAttemptResult) String

func (x *TaskAttemptResult) String() string

type TaskTemplate

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"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. 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"`
	// Optional. The execution environment being used to host this Task.
	ExecutionEnvironment ExecutionEnvironment `protobuf:"varint,6,opt,name=execution_environment,json=executionEnvironment,proto3,enum=google.cloud.run.v2.ExecutionEnvironment" json:"execution_environment,omitempty"`
	// 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"`
	// Optional. 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

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

Deprecated: Use TaskTemplate.ProtoReflect.Descriptor instead.

func (*TaskTemplate) GetContainers

func (x *TaskTemplate) GetContainers() []*Container

func (*TaskTemplate) GetEncryptionKey

func (x *TaskTemplate) GetEncryptionKey() string

func (*TaskTemplate) GetExecutionEnvironment

func (x *TaskTemplate) GetExecutionEnvironment() ExecutionEnvironment

func (*TaskTemplate) GetMaxRetries

func (x *TaskTemplate) GetMaxRetries() int32

func (*TaskTemplate) GetRetries

func (m *TaskTemplate) GetRetries() isTaskTemplate_Retries

func (*TaskTemplate) GetServiceAccount

func (x *TaskTemplate) GetServiceAccount() string

func (*TaskTemplate) GetTimeout

func (x *TaskTemplate) GetTimeout() *durationpb.Duration

func (*TaskTemplate) GetVolumes

func (x *TaskTemplate) GetVolumes() []*Volume

func (*TaskTemplate) GetVpcAccess

func (x *TaskTemplate) GetVpcAccess() *VpcAccess

func (*TaskTemplate) ProtoMessage

func (*TaskTemplate) ProtoMessage()

func (*TaskTemplate) ProtoReflect

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

func (*TaskTemplate) Reset

func (x *TaskTemplate) Reset()

func (*TaskTemplate) String

func (x *TaskTemplate) String() string

type TaskTemplate_MaxRetries

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

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

func NewTasksClient(cc grpc.ClientConnInterface) TasksClient

type TasksServer

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

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 (*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) Enum

func (TrafficTargetAllocationType) EnumDescriptor

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

Deprecated: Use TrafficTargetAllocationType.Descriptor instead.

func (TrafficTargetAllocationType) Number

func (TrafficTargetAllocationType) String

func (TrafficTargetAllocationType) Type

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

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 (*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 UnimplementedBuildsServer

type UnimplementedBuildsServer struct {
}

UnimplementedBuildsServer can be embedded to have forward compatible implementations.

func (*UnimplementedBuildsServer) SubmitBuild

type UnimplementedExecutionsServer

type UnimplementedExecutionsServer struct {
}

UnimplementedExecutionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedExecutionsServer) CancelExecution

func (*UnimplementedExecutionsServer) DeleteExecution

func (*UnimplementedExecutionsServer) GetExecution

func (*UnimplementedExecutionsServer) ListExecutions

type UnimplementedJobsServer

type UnimplementedJobsServer struct {
}

UnimplementedJobsServer can be embedded to have forward compatible implementations.

func (*UnimplementedJobsServer) CreateJob

func (*UnimplementedJobsServer) DeleteJob

func (*UnimplementedJobsServer) GetIamPolicy

func (*UnimplementedJobsServer) GetJob

func (*UnimplementedJobsServer) ListJobs

func (*UnimplementedJobsServer) RunJob

func (*UnimplementedJobsServer) SetIamPolicy

func (*UnimplementedJobsServer) TestIamPermissions

func (*UnimplementedJobsServer) UpdateJob

type UnimplementedRevisionsServer

type UnimplementedRevisionsServer struct {
}

UnimplementedRevisionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedRevisionsServer) DeleteRevision

func (*UnimplementedRevisionsServer) GetRevision

func (*UnimplementedRevisionsServer) ListRevisions

type UnimplementedServicesServer

type UnimplementedServicesServer struct {
}

UnimplementedServicesServer can be embedded to have forward compatible implementations.

func (*UnimplementedServicesServer) CreateService

func (*UnimplementedServicesServer) DeleteService

func (*UnimplementedServicesServer) GetIamPolicy

func (*UnimplementedServicesServer) GetService

func (*UnimplementedServicesServer) ListServices

func (*UnimplementedServicesServer) SetIamPolicy

func (*UnimplementedServicesServer) TestIamPermissions

func (*UnimplementedServicesServer) UpdateService

type UnimplementedTasksServer

type UnimplementedTasksServer struct {
}

UnimplementedTasksServer can be embedded to have forward compatible implementations.

func (*UnimplementedTasksServer) GetTask

func (*UnimplementedTasksServer) ListTasks

type UpdateJobRequest

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"`
	// Optional. 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

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

Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.

func (*UpdateJobRequest) GetAllowMissing

func (x *UpdateJobRequest) GetAllowMissing() bool

func (*UpdateJobRequest) GetJob

func (x *UpdateJobRequest) GetJob() *Job

func (*UpdateJobRequest) GetValidateOnly

func (x *UpdateJobRequest) GetValidateOnly() bool

func (*UpdateJobRequest) ProtoMessage

func (*UpdateJobRequest) ProtoMessage()

func (*UpdateJobRequest) ProtoReflect

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

func (*UpdateJobRequest) Reset

func (x *UpdateJobRequest) Reset()

func (*UpdateJobRequest) String

func (x *UpdateJobRequest) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// Optional. The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// 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"`
	// Optional. 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

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) GetUpdateMask

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

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 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

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

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

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetCloudSqlInstance

func (x *Volume) GetCloudSqlInstance() *CloudSqlInstance

func (*Volume) GetEmptyDir

func (x *Volume) GetEmptyDir() *EmptyDirVolumeSource

func (*Volume) GetGcs

func (x *Volume) GetGcs() *GCSVolumeSource

func (*Volume) GetName

func (x *Volume) GetName() string

func (*Volume) GetNfs

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

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

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

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

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

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

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"`
	// Optional. 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"`
	// Optional. 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

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

Deprecated: Use VpcAccess.ProtoReflect.Descriptor instead.

func (*VpcAccess) GetConnector

func (x *VpcAccess) GetConnector() string

func (*VpcAccess) GetEgress

func (x *VpcAccess) GetEgress() VpcAccess_VpcEgress

func (*VpcAccess) GetNetworkInterfaces

func (x *VpcAccess) GetNetworkInterfaces() []*VpcAccess_NetworkInterface

func (*VpcAccess) ProtoMessage

func (*VpcAccess) ProtoMessage()

func (*VpcAccess) ProtoReflect

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

func (*VpcAccess) Reset

func (x *VpcAccess) Reset()

func (*VpcAccess) String

func (x *VpcAccess) String() string

type VpcAccess_NetworkInterface

type VpcAccess_NetworkInterface struct {

	// Optional. 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"`
	// Optional. 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"`
	// Optional. 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

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

Deprecated: Use VpcAccess_NetworkInterface.ProtoReflect.Descriptor instead.

func (*VpcAccess_NetworkInterface) GetNetwork

func (x *VpcAccess_NetworkInterface) GetNetwork() string

func (*VpcAccess_NetworkInterface) GetSubnetwork

func (x *VpcAccess_NetworkInterface) GetSubnetwork() string

func (*VpcAccess_NetworkInterface) GetTags

func (x *VpcAccess_NetworkInterface) GetTags() []string

func (*VpcAccess_NetworkInterface) ProtoMessage

func (*VpcAccess_NetworkInterface) ProtoMessage()

func (*VpcAccess_NetworkInterface) ProtoReflect

func (*VpcAccess_NetworkInterface) Reset

func (x *VpcAccess_NetworkInterface) Reset()

func (*VpcAccess_NetworkInterface) String

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) Enum

func (VpcAccess_VpcEgress) EnumDescriptor

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

Deprecated: Use VpcAccess_VpcEgress.Descriptor instead.

func (VpcAccess_VpcEgress) Number

func (VpcAccess_VpcEgress) String

func (x VpcAccess_VpcEgress) String() string

func (VpcAccess_VpcEgress) Type

Source Files

build.pb.go condition.pb.go execution.pb.go execution_template.pb.go job.pb.go k8s.min.pb.go revision.pb.go revision_template.pb.go service.pb.go status.pb.go task.pb.go task_template.pb.go traffic_target.pb.go vendor_settings.pb.go

Version
v1.9.0 (latest)
Published
Feb 5, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
6 days ago

Tools for package owners.