Package cloud.google.com/go/run/apiv2/runpb (v1.3.6)

Variables

Condition_State_name, Condition_State_value

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.

Condition_Severity_name, Condition_Severity_value

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.

Condition_CommonReason_name, Condition_CommonReason_value

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.

Condition_RevisionReason_name, Condition_RevisionReason_value

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.

Condition_ExecutionReason_name, Condition_ExecutionReason_value

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.

EmptyDirVolumeSource_Medium_name, EmptyDirVolumeSource_Medium_value

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.

TrafficTargetAllocationType_name, TrafficTargetAllocationType_value

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.

IngressTraffic_name, IngressTraffic_value

var (
	IngressTraffic_name = map[int32]string{
		0: "INGRESS_TRAFFIC_UNSPECIFIED",
		1: "INGRESS_TRAFFIC_ALL",
		2: "INGRESS_TRAFFIC_INTERNAL_ONLY",
		3: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER",
	}
	IngressTraffic_value = map[string]int32{
		"INGRESS_TRAFFIC_UNSPECIFIED":            0,
		"INGRESS_TRAFFIC_ALL":                    1,
		"INGRESS_TRAFFIC_INTERNAL_ONLY":          2,
		"INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER": 3,
	}
)

Enum value maps for IngressTraffic.

ExecutionEnvironment_name, ExecutionEnvironment_value

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.

EncryptionKeyRevocationAction_name, EncryptionKeyRevocationAction_value

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.

VpcAccess_VpcEgress_name, VpcAccess_VpcEgress_value

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.

File_google_cloud_run_v2_condition_proto

var File_google_cloud_run_v2_condition_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_execution_proto

var File_google_cloud_run_v2_execution_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_execution_template_proto

var File_google_cloud_run_v2_execution_template_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_job_proto

var File_google_cloud_run_v2_job_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_k8s_min_proto

var File_google_cloud_run_v2_k8s_min_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_revision_proto

var File_google_cloud_run_v2_revision_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_revision_template_proto

var File_google_cloud_run_v2_revision_template_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_service_proto

var File_google_cloud_run_v2_service_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_status_proto

var File_google_cloud_run_v2_status_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_task_proto

var File_google_cloud_run_v2_task_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_task_template_proto

var File_google_cloud_run_v2_task_template_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_traffic_target_proto

var File_google_cloud_run_v2_traffic_target_proto protoreflect.FileDescriptor

File_google_cloud_run_v2_vendor_settings_proto

var File_google_cloud_run_v2_vendor_settings_proto protoreflect.FileDescriptor

Functions

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)

BinaryAuthorization

type BinaryAuthorization struct {
	BinauthzMethod isBinaryAuthorization_BinauthzMethod `protobuf_oneof:"binauthz_method"`

	BreakglassJustification string "" /* 130 byte string literal not displayed */

}

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

BinaryAuthorization_UseDefault

type BinaryAuthorization_UseDefault struct {
	// If True, indicates to use the default project's binary authorization
	// policy. If False, binary authorization will be disabled.
	UseDefault bool `protobuf:"varint,1,opt,name=use_default,json=useDefault,proto3,oneof"`
}

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

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

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

Condition_CommonReason

type Condition_CommonReason int32

Reasons common to all types of conditions.

Condition_COMMON_REASON_UNDEFINED, Condition_UNKNOWN, Condition_REVISION_FAILED, Condition_PROGRESS_DEADLINE_EXCEEDED, Condition_CONTAINER_MISSING, Condition_CONTAINER_PERMISSION_DENIED, Condition_CONTAINER_IMAGE_UNAUTHORIZED, Condition_CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED, Condition_ENCRYPTION_KEY_PERMISSION_DENIED, Condition_ENCRYPTION_KEY_CHECK_FAILED, Condition_SECRETS_ACCESS_CHECK_FAILED, Condition_WAITING_FOR_OPERATION, Condition_IMMEDIATE_RETRY, Condition_POSTPONED_RETRY, Condition_INTERNAL

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

Condition_ExecutionReason

type Condition_ExecutionReason int32

Reasons specific to Execution resource.

Condition_EXECUTION_REASON_UNDEFINED, Condition_JOB_STATUS_SERVICE_POLLING_ERROR, Condition_NON_ZERO_EXIT_CODE, Condition_CANCELLED, Condition_CANCELLING, Condition_DELETED

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

Condition_ExecutionReason_

type Condition_ExecutionReason_ struct {
	ExecutionReason Condition_ExecutionReason "" /* 131 byte string literal not displayed */
}

Condition_Reason

type Condition_Reason struct {
	// A common (service-level) reason for this condition.
	Reason Condition_CommonReason `protobuf:"varint,6,opt,name=reason,proto3,enum=google.cloud.run.v2.Condition_CommonReason,oneof"`
}

Condition_RevisionReason

type Condition_RevisionReason int32

Reasons specific to Revision resource.

Condition_REVISION_REASON_UNDEFINED, Condition_PENDING, Condition_RESERVE, Condition_RETIRED, Condition_RETIRING, Condition_RECREATING, Condition_HEALTH_CHECK_CONTAINER_ERROR, Condition_CUSTOMIZED_PATH_RESPONSE_PENDING, Condition_MIN_INSTANCES_NOT_PROVISIONED, Condition_ACTIVE_REVISION_LIMIT_REACHED, Condition_NO_DEPLOYMENT, Condition_HEALTH_CHECK_SKIPPED, Condition_MIN_INSTANCES_WARMING

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

Condition_RevisionReason_

type Condition_RevisionReason_ struct {
	RevisionReason Condition_RevisionReason "" /* 127 byte string literal not displayed */
}

Condition_Severity

type Condition_Severity int32

Represents the severity of the condition failures.

Condition_SEVERITY_UNSPECIFIED, Condition_ERROR, Condition_WARNING, Condition_INFO

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

Condition_State

type Condition_State int32

Represents the possible Condition states.

Condition_STATE_UNSPECIFIED, Condition_CONDITION_PENDING, Condition_CONDITION_RECONCILING, Condition_CONDITION_FAILED, Condition_CONDITION_SUCCEEDED

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

Container

type Container struct {

	// Name of the container specified as a DNS_LABEL (RFC 1123).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Name of the container image in Dockerhub, Google Artifact
	// Registry, or Google Container Registry. If the host is not provided,
	// Dockerhub is assumed.
	Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
	// Entrypoint array. Not executed within a shell.
	// The docker image's ENTRYPOINT is used if this is not provided.
	Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
	// Arguments to the entrypoint.
	// The docker image's CMD is used if this is not provided.
	Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	// List of environment variables to set in the container.
	Env []*EnvVar `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
	// Compute Resource requirements by this container.
	Resources *ResourceRequirements `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
	// List of ports to expose from the container. Only a single port can be
	// specified. The specified ports must be listening on all interfaces
	// (0.0.0.0) within the container to be accessible.
	//
	// If omitted, a port number will be chosen and passed to the container
	// through the PORT environment variable for the container to listen on.
	Ports []*ContainerPort `protobuf:"bytes,7,rep,name=ports,proto3" json:"ports,omitempty"`
	// Volume to mount into the container's filesystem.
	VolumeMounts []*VolumeMount `protobuf:"bytes,8,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"`
	// Container's working directory.
	// If not specified, the container runtime's default will be used, which
	// might be configured in the container image.
	WorkingDir string `protobuf:"bytes,9,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
	// Periodic probe of container liveness.
	// Container will be restarted if the probe fails.
	LivenessProbe *Probe `protobuf:"bytes,10,opt,name=liveness_probe,json=livenessProbe,proto3" json:"liveness_probe,omitempty"`
	// Startup probe of application within the container.
	// All other probes are disabled if a startup probe is provided, until it
	// succeeds. Container will not be added to service endpoints if the probe
	// fails.
	StartupProbe *Probe `protobuf:"bytes,11,opt,name=startup_probe,json=startupProbe,proto3" json:"startup_probe,omitempty"`
	// Names of the containers that must start before this container.
	DependsOn []string `protobuf:"bytes,12,rep,name=depends_on,json=dependsOn,proto3" json:"depends_on,omitempty"`
	// contains filtered or unexported fields
}

A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments can be supplied by the system to the container at runtime.

func (*Container) Descriptor

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs

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

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

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

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

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

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

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

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

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

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

EmptyDirVolumeSource_Medium

type EmptyDirVolumeSource_Medium int32

The different types of medium supported for EmptyDir.

EmptyDirVolumeSource_MEDIUM_UNSPECIFIED, EmptyDirVolumeSource_MEMORY

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

EncryptionKeyRevocationAction

type EncryptionKeyRevocationAction int32

Specifies behavior if an encryption key used by a resource is revoked.

EncryptionKeyRevocationAction_ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED, EncryptionKeyRevocationAction_PREVENT_NEW, EncryptionKeyRevocationAction_SHUTDOWN

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

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

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

EnvVar_Value

type EnvVar_Value struct {
	// Variable references $(VAR_NAME) are expanded
	// using the previous defined environment variables in the container and
	// any route environment variables. If a variable cannot be resolved,
	// the reference in the input string will be unchanged. The $(VAR_NAME)
	// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped
	// references will never be expanded, regardless of whether the variable
	// exists or not.
	// Defaults to "", and the maximum length is 32768 bytes.
	Value string `protobuf:"bytes,2,opt,name=value,proto3,oneof"`
}

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"`
}

Execution

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

	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`

	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,22,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CompletionTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`

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

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	LaunchStage api.LaunchStage `protobuf:"varint,11,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"`

	Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"`

	Parallelism int32 `protobuf:"varint,13,opt,name=parallelism,proto3" json:"parallelism,omitempty"`

	TaskCount int32 `protobuf:"varint,14,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`

	Template *TaskTemplate `protobuf:"bytes,15,opt,name=template,proto3" json:"template,omitempty"`

	Reconciling bool `protobuf:"varint,16,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Conditions []*Condition `protobuf:"bytes,17,rep,name=conditions,proto3" json:"conditions,omitempty"`

	ObservedGeneration int64 `protobuf:"varint,18,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`

	RunningCount int32 `protobuf:"varint,19,opt,name=running_count,json=runningCount,proto3" json:"running_count,omitempty"`

	SucceededCount int32 `protobuf:"varint,20,opt,name=succeeded_count,json=succeededCount,proto3" json:"succeeded_count,omitempty"`

	FailedCount int32 `protobuf:"varint,21,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`

	CancelledCount int32 `protobuf:"varint,24,opt,name=cancelled_count,json=cancelledCount,proto3" json:"cancelled_count,omitempty"`

	RetriedCount int32 `protobuf:"varint,25,opt,name=retried_count,json=retriedCount,proto3" json:"retried_count,omitempty"`

	LogUri string `protobuf:"bytes,26,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"`

	SatisfiesPzs bool `protobuf:"varint,27,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`

	Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"`

}

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

ExecutionEnvironment

type ExecutionEnvironment int32

Alternatives for execution environments.

ExecutionEnvironment_EXECUTION_ENVIRONMENT_UNSPECIFIED, ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN1, ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN2

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

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"`
	// 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) GetCompletionTime

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

func (*ExecutionReference) GetCreateTime

func (x *ExecutionReference) GetCreateTime() *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

ExecutionTemplate

type ExecutionTemplate struct {
	Labels map[string]string "" /* 153 byte string literal not displayed */

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	Parallelism int32 `protobuf:"varint,3,opt,name=parallelism,proto3" json:"parallelism,omitempty"`

	TaskCount int32 `protobuf:"varint,4,opt,name=task_count,json=taskCount,proto3" json:"task_count,omitempty"`

	Template *TaskTemplate `protobuf:"bytes,5,opt,name=template,proto3" json:"template,omitempty"`

}

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

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

ExecutionsServer

type ExecutionsServer interface {
	// Gets information about an Execution.
	GetExecution(context.Context, *GetExecutionRequest) (*Execution, error)
	// Lists Executions from a Job.
	ListExecutions(context.Context, *ListExecutionsRequest) (*ListExecutionsResponse, error)
	// Deletes an Execution.
	DeleteExecution(context.Context, *DeleteExecutionRequest) (*longrunningpb.Operation, error)
	// Cancels an Execution.
	CancelExecution(context.Context, *CancelExecutionRequest) (*longrunningpb.Operation, error)
}

ExecutionsServer is the server API for Executions service.

GCSVolumeSource

type GCSVolumeSource struct {

	// GCS Bucket name
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If true, mount the GCS bucket as read-only
	ReadOnly bool `protobuf:"varint,2,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

Represents a GCS Bucket mounted as a volume.

func (*GCSVolumeSource) Descriptor

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

Deprecated: Use GCSVolumeSource.ProtoReflect.Descriptor instead.

func (*GCSVolumeSource) GetBucket

func (x *GCSVolumeSource) GetBucket() 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

GRPCAction

type GRPCAction struct {

	// Port number of the gRPC service. Number must be in the range 1 to 65535.
	// If not specified, defaults to the exposed port of the container, which is
	// the value of container.ports[0].containerPort.
	Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// Service is the name of the service to place in the gRPC HealthCheckRequest
	// (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md ). If
	// this is not specified, the default behavior is defined by gRPC.
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

GRPCAction describes an action involving a GRPC port.

func (*GRPCAction) Descriptor

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

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

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

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

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

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

HTTPGetAction

type HTTPGetAction struct {

	// Path to access on the HTTP server. Defaults to '/'.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// Custom headers to set in the request. HTTP allows repeated headers.
	HttpHeaders []*HTTPHeader `protobuf:"bytes,4,rep,name=http_headers,json=httpHeaders,proto3" json:"http_headers,omitempty"`
	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the exposed port of the container, which is
	// the value of container.ports[0].containerPort.
	Port int32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

HTTPGetAction describes an action based on HTTP Get requests.

func (*HTTPGetAction) Descriptor

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

HTTPHeader

type HTTPHeader struct {

	// Required. The header field name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The header field value
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

HTTPHeader describes a custom header to be used in HTTP probes

func (*HTTPHeader) Descriptor

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

IngressTraffic

type IngressTraffic int32

Allowed ingress traffic for the Container.

IngressTraffic_INGRESS_TRAFFIC_UNSPECIFIED, IngressTraffic_INGRESS_TRAFFIC_ALL, IngressTraffic_INGRESS_TRAFFIC_INTERNAL_ONLY, IngressTraffic_INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER

const (
	// Unspecified
	IngressTraffic_INGRESS_TRAFFIC_UNSPECIFIED IngressTraffic = 0
	// All inbound traffic is allowed.
	IngressTraffic_INGRESS_TRAFFIC_ALL IngressTraffic = 1
	// Only internal traffic is allowed.
	IngressTraffic_INGRESS_TRAFFIC_INTERNAL_ONLY IngressTraffic = 2
	// Both internal and Google Cloud Load Balancer traffic is allowed.
	IngressTraffic_INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER IngressTraffic = 3
)

func (IngressTraffic) Descriptor

func (IngressTraffic) 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

Job

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

	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`

	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

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

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	Creator string `protobuf:"bytes,10,opt,name=creator,proto3" json:"creator,omitempty"`

	LastModifier string `protobuf:"bytes,11,opt,name=last_modifier,json=lastModifier,proto3" json:"last_modifier,omitempty"`

	Client string `protobuf:"bytes,12,opt,name=client,proto3" json:"client,omitempty"`

	ClientVersion string `protobuf:"bytes,13,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`

	LaunchStage api.LaunchStage `protobuf:"varint,14,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"`

	BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,15,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`

	Template *ExecutionTemplate `protobuf:"bytes,16,opt,name=template,proto3" json:"template,omitempty"`

	ObservedGeneration int64 `protobuf:"varint,17,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`

	TerminalCondition *Condition `protobuf:"bytes,18,opt,name=terminal_condition,json=terminalCondition,proto3" json:"terminal_condition,omitempty"`

	Conditions []*Condition `protobuf:"bytes,19,rep,name=conditions,proto3" json:"conditions,omitempty"`

	ExecutionCount int32 `protobuf:"varint,20,opt,name=execution_count,json=executionCount,proto3" json:"execution_count,omitempty"`

	LatestCreatedExecution *ExecutionReference "" /* 130 byte string literal not displayed */

	Reconciling bool `protobuf:"varint,23,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	SatisfiesPzs bool `protobuf:"varint,25,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`

	Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"`

}

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

func (x *Job) GetSatisfiesPzs() bool

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

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

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

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

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

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

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

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

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

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

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

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

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

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, mount the NFS volume as read only
	ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
	// contains filtered or unexported fields
}

Represents an NFS mount.

func (*NFSVolumeSource) Descriptor

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

Probe

type Probe struct {

	// Number of seconds after the container has started before the probe is
	// initiated.
	// Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe
	// is 3600. Maximum value for startup probe is 240.
	InitialDelaySeconds int32 `protobuf:"varint,1,opt,name=initial_delay_seconds,json=initialDelaySeconds,proto3" json:"initial_delay_seconds,omitempty"`
	// Number of seconds after which the probe times out.
	// Defaults to 1 second. Minimum value is 1. Maximum value is 3600.
	// Must be smaller than period_seconds.
	TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
	// How often (in seconds) to perform the probe.
	// Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe
	// is 3600. Maximum value for startup probe is 240.
	// Must be greater or equal than timeout_seconds.
	PeriodSeconds int32 `protobuf:"varint,3,opt,name=period_seconds,json=periodSeconds,proto3" json:"period_seconds,omitempty"`
	// Minimum consecutive failures for the probe to be considered failed after
	// having succeeded. Defaults to 3. Minimum value is 1.
	FailureThreshold int32 `protobuf:"varint,4,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"`
	// Types that are assignable to ProbeType:
	//
	//	*Probe_HttpGet
	//	*Probe_TcpSocket
	//	*Probe_Grpc
	ProbeType isProbe_ProbeType `protobuf_oneof:"probe_type"`
	// contains filtered or unexported fields
}

Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.

func (*Probe) Descriptor

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

Probe_Grpc

type Probe_Grpc struct {
	// GRPC specifies an action involving a gRPC port.
	// Exactly one of httpGet, tcpSocket, or grpc must be specified.
	Grpc *GRPCAction `protobuf:"bytes,7,opt,name=grpc,proto3,oneof"`
}

Probe_HttpGet

type Probe_HttpGet struct {
	// HTTPGet specifies the http request to perform.
	// Exactly one of httpGet, tcpSocket, or grpc must be specified.
	HttpGet *HTTPGetAction `protobuf:"bytes,5,opt,name=http_get,json=httpGet,proto3,oneof"`
}

Probe_TcpSocket

type Probe_TcpSocket struct {
	// TCPSocket specifies an action involving a TCP port.
	// Exactly one of httpGet, tcpSocket, or grpc must be specified.
	TcpSocket *TCPSocketAction `protobuf:"bytes,6,opt,name=tcp_socket,json=tcpSocket,proto3,oneof"`
}

ResourceRequirements

type ResourceRequirements struct {
	Limits map[string]string "" /* 153 byte string literal not displayed */

	CpuIdle bool `protobuf:"varint,2,opt,name=cpu_idle,json=cpuIdle,proto3" json:"cpu_idle,omitempty"`

	StartupCpuBoost bool `protobuf:"varint,3,opt,name=startup_cpu_boost,json=startupCpuBoost,proto3" json:"startup_cpu_boost,omitempty"`

}

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

Revision

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

	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`

	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

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

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	LaunchStage api.LaunchStage `protobuf:"varint,10,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"`

	Service string `protobuf:"bytes,11,opt,name=service,proto3" json:"service,omitempty"`

	Scaling *RevisionScaling `protobuf:"bytes,12,opt,name=scaling,proto3" json:"scaling,omitempty"`

	VpcAccess *VpcAccess `protobuf:"bytes,13,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"`

	MaxInstanceRequestConcurrency int32 "" /* 154 byte string literal not displayed */

	Timeout *durationpb.Duration `protobuf:"bytes,15,opt,name=timeout,proto3" json:"timeout,omitempty"`

	ServiceAccount string `protobuf:"bytes,16,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	Containers []*Container `protobuf:"bytes,17,rep,name=containers,proto3" json:"containers,omitempty"`

	Volumes []*Volume `protobuf:"bytes,18,rep,name=volumes,proto3" json:"volumes,omitempty"`

	ExecutionEnvironment ExecutionEnvironment "" /* 169 byte string literal not displayed */

	EncryptionKey string `protobuf:"bytes,21,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`

	EncryptionKeyRevocationAction EncryptionKeyRevocationAction "" /* 209 byte string literal not displayed */

	EncryptionKeyShutdownDuration *durationpb.Duration "" /* 153 byte string literal not displayed */

	Reconciling bool `protobuf:"varint,30,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Conditions []*Condition `protobuf:"bytes,31,rep,name=conditions,proto3" json:"conditions,omitempty"`

	ObservedGeneration int64 `protobuf:"varint,32,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`

	LogUri string `protobuf:"bytes,33,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"`

	SatisfiesPzs bool `protobuf:"varint,37,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`

	SessionAffinity bool `protobuf:"varint,38,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"`

	ScalingStatus *RevisionScalingStatus `protobuf:"bytes,39,opt,name=scaling_status,json=scalingStatus,proto3" json:"scaling_status,omitempty"`

	Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"`

}

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

RevisionScaling

type RevisionScaling struct {

	// Minimum number of serving instances that this resource should have.
	MinInstanceCount int32 `protobuf:"varint,1,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"`
	// Maximum number of serving instances that this resource should have.
	MaxInstanceCount int32 `protobuf:"varint,2,opt,name=max_instance_count,json=maxInstanceCount,proto3" json:"max_instance_count,omitempty"`
	// contains filtered or unexported fields
}

Settings for revision-level scaling settings.

func (*RevisionScaling) Descriptor

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

RevisionScalingStatus

type RevisionScalingStatus struct {
	DesiredMinInstanceCount int32 "" /* 135 byte string literal not displayed */

}

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

RevisionTemplate

type RevisionTemplate struct {
	Revision string `protobuf:"bytes,1,opt,name=revision,proto3" json:"revision,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	Scaling *RevisionScaling `protobuf:"bytes,4,opt,name=scaling,proto3" json:"scaling,omitempty"`

	VpcAccess *VpcAccess `protobuf:"bytes,6,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"`

	Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`

	ServiceAccount string `protobuf:"bytes,9,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	Containers []*Container `protobuf:"bytes,10,rep,name=containers,proto3" json:"containers,omitempty"`

	Volumes []*Volume `protobuf:"bytes,11,rep,name=volumes,proto3" json:"volumes,omitempty"`

	ExecutionEnvironment ExecutionEnvironment "" /* 169 byte string literal not displayed */

	EncryptionKey string `protobuf:"bytes,14,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`

	MaxInstanceRequestConcurrency int32 "" /* 154 byte string literal not displayed */

	SessionAffinity bool `protobuf:"varint,19,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"`

	HealthCheckDisabled bool `protobuf:"varint,20,opt,name=health_check_disabled,json=healthCheckDisabled,proto3" json:"health_check_disabled,omitempty"`

}

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

func (x *RevisionTemplate) GetRevision() string

func (*RevisionTemplate) GetScaling

func (x *RevisionTemplate) GetScaling() *RevisionScaling

func (*RevisionTemplate) GetServiceAccount

func (x *RevisionTemplate) GetServiceAccount() string

func (*RevisionTemplate) GetSessionAffinity

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

RevisionsClient

type RevisionsClient interface {
	// Gets information about a Revision.
	GetRevision(ctx context.Context, in *GetRevisionRequest, opts ...grpc.CallOption) (*Revision, error)
	// Lists Revisions from a given Service, or from a given location.
	ListRevisions(ctx context.Context, in *ListRevisionsRequest, opts ...grpc.CallOption) (*ListRevisionsResponse, error)
	// Deletes a Revision.
	DeleteRevision(ctx context.Context, in *DeleteRevisionRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

RevisionsClient is the client API for Revisions service.

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

func NewRevisionsClient

func NewRevisionsClient(cc grpc.ClientConnInterface) RevisionsClient

RevisionsServer

type RevisionsServer interface {
	// Gets information about a Revision.
	GetRevision(context.Context, *GetRevisionRequest) (*Revision, error)
	// Lists Revisions from a given Service, or from a given location.
	ListRevisions(context.Context, *ListRevisionsRequest) (*ListRevisionsResponse, error)
	// Deletes a Revision.
	DeleteRevision(context.Context, *DeleteRevisionRequest) (*longrunningpb.Operation, error)
}

RevisionsServer is the server API for Revisions service.

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

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

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

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

SecretVolumeSource

type SecretVolumeSource struct {

	// Required. The name of the secret in Cloud Secret Manager.
	// Format: {secret} if the secret is in the same project.
	// projects/{project}/secrets/{secret} if the secret is
	// in a different project.
	Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// If unspecified, the volume will expose a file whose name is the
	// secret, relative to VolumeMount.mount_path.
	// If specified, the key will be used as the version to fetch from Cloud
	// Secret Manager and the path will be the name of the file exposed in the
	// volume. When items are defined, they must specify a path and a version.
	Items []*VersionToPath `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// Integer representation of mode bits to use on created files by default.
	// Must be a value between 0000 and 0777 (octal), defaulting to 0444.
	// Directories within the path are not affected by  this setting.
	//
	// # Notes
	//
	// * Internally, a umask of 0222 will be applied to any non-zero value.
	// * This is an integer representation of the mode bits. So, the octal
	// integer value should look exactly as the chmod numeric notation with a
	// leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
	// 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
	// 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
	// (base-10).
	// * This might be in conflict with other options that affect the
	// file mode, like fsGroup, and the result can be other mode bits set.
	//
	// This might be in conflict with other options that affect the
	// file mode, like fsGroup, and as a result, other mode bits could be set.
	DefaultMode int32 `protobuf:"varint,3,opt,name=default_mode,json=defaultMode,proto3" json:"default_mode,omitempty"`
	// contains filtered or unexported fields
}

The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret.

func (*SecretVolumeSource) Descriptor

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

Service

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

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

	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`

	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

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

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	Creator string `protobuf:"bytes,11,opt,name=creator,proto3" json:"creator,omitempty"`

	LastModifier string `protobuf:"bytes,12,opt,name=last_modifier,json=lastModifier,proto3" json:"last_modifier,omitempty"`

	Client string `protobuf:"bytes,13,opt,name=client,proto3" json:"client,omitempty"`

	ClientVersion string `protobuf:"bytes,14,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`

	Ingress IngressTraffic `protobuf:"varint,15,opt,name=ingress,proto3,enum=google.cloud.run.v2.IngressTraffic" json:"ingress,omitempty"`

	LaunchStage api.LaunchStage `protobuf:"varint,16,opt,name=launch_stage,json=launchStage,proto3,enum=google.api.LaunchStage" json:"launch_stage,omitempty"`

	BinaryAuthorization *BinaryAuthorization `protobuf:"bytes,17,opt,name=binary_authorization,json=binaryAuthorization,proto3" json:"binary_authorization,omitempty"`

	Template *RevisionTemplate `protobuf:"bytes,18,opt,name=template,proto3" json:"template,omitempty"`

	Traffic []*TrafficTarget `protobuf:"bytes,19,rep,name=traffic,proto3" json:"traffic,omitempty"`

	Scaling *ServiceScaling `protobuf:"bytes,20,opt,name=scaling,proto3" json:"scaling,omitempty"`

	DefaultUriDisabled bool `protobuf:"varint,22,opt,name=default_uri_disabled,json=defaultUriDisabled,proto3" json:"default_uri_disabled,omitempty"`

	ObservedGeneration int64 `protobuf:"varint,30,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`

	TerminalCondition *Condition `protobuf:"bytes,31,opt,name=terminal_condition,json=terminalCondition,proto3" json:"terminal_condition,omitempty"`

	Conditions []*Condition `protobuf:"bytes,32,rep,name=conditions,proto3" json:"conditions,omitempty"`

	LatestReadyRevision string `protobuf:"bytes,33,opt,name=latest_ready_revision,json=latestReadyRevision,proto3" json:"latest_ready_revision,omitempty"`

	LatestCreatedRevision string "" /* 127 byte string literal not displayed */

	TrafficStatuses []*TrafficTargetStatus `protobuf:"bytes,35,rep,name=traffic_statuses,json=trafficStatuses,proto3" json:"traffic_statuses,omitempty"`

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

	CustomAudiences []string `protobuf:"bytes,37,rep,name=custom_audiences,json=customAudiences,proto3" json:"custom_audiences,omitempty"`

	SatisfiesPzs bool `protobuf:"varint,38,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`

	Reconciling bool `protobuf:"varint,98,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"`

}

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

ServiceScaling

type ServiceScaling struct {

	// total min instances for the service. This number of instances is
	// divided among all revisions with specified traffic based on the percent
	// of traffic they are receiving. (BETA)
	MinInstanceCount int32 `protobuf:"varint,1,opt,name=min_instance_count,json=minInstanceCount,proto3" json:"min_instance_count,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ServiceScaling) Descriptor

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

Deprecated: Use ServiceScaling.ProtoReflect.Descriptor instead.

func (*ServiceScaling) GetMinInstanceCount

func (x *ServiceScaling) GetMinInstanceCount() int32

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

ServicesClient

type ServicesClient interface {
	// Creates a new Service in a given project and location.
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets information about a Service.
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Lists Services.
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Updates a Service.
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a Service.
	// This will cause the Service to stop serving traffic and will delete all
	// revisions.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets the IAM Access Control policy currently in effect for the given
	// Cloud Run Service. This result does not include any inherited policies.
	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Sets the IAM Access control policy for the specified Service. Overwrites
	// any existing policy.
	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Returns permissions that a caller has on the specified Project.
	//
	// There are no permissions required for making this API call.
	TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}

ServicesClient is the client API for Services service.

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

func NewServicesClient

func NewServicesClient(cc grpc.ClientConnInterface) ServicesClient

ServicesServer

type ServicesServer interface {
	// Creates a new Service in a given project and location.
	CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
	// Gets information about a Service.
	GetService(context.Context, *GetServiceRequest) (*Service, error)
	// Lists Services.
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Updates a Service.
	UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
	// Deletes a Service.
	// This will cause the Service to stop serving traffic and will delete all
	// revisions.
	DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
	// Gets the IAM Access Control policy currently in effect for the given
	// Cloud Run Service. This result does not include any inherited policies.
	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Sets the IAM Access control policy for the specified Service. Overwrites
	// any existing policy.
	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Returns permissions that a caller has on the specified Project.
	//
	// There are no permissions required for making this API call.
	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}

ServicesServer is the server API for Services service.

TCPSocketAction

type TCPSocketAction struct {

	// Port number to access on the container. Must be in the range 1 to 65535.
	// If not specified, defaults to the exposed port of the container, which is
	// the value of container.ports[0].containerPort.
	Port int32 `protobuf:"varint,1,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

TCPSocketAction describes an action based on opening a socket

func (*TCPSocketAction) Descriptor

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

Task

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

	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`

	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`

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

	Annotations map[string]string "" /* 163 byte string literal not displayed */

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	ScheduledTime *timestamppb.Timestamp `protobuf:"bytes,34,opt,name=scheduled_time,json=scheduledTime,proto3" json:"scheduled_time,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,27,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CompletionTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`

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

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	Job string `protobuf:"bytes,12,opt,name=job,proto3" json:"job,omitempty"`

	Execution string `protobuf:"bytes,13,opt,name=execution,proto3" json:"execution,omitempty"`

	Containers []*Container `protobuf:"bytes,14,rep,name=containers,proto3" json:"containers,omitempty"`

	Volumes []*Volume `protobuf:"bytes,15,rep,name=volumes,proto3" json:"volumes,omitempty"`

	MaxRetries int32 `protobuf:"varint,16,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"`

	Timeout *durationpb.Duration `protobuf:"bytes,17,opt,name=timeout,proto3" json:"timeout,omitempty"`

	ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	ExecutionEnvironment ExecutionEnvironment "" /* 169 byte string literal not displayed */

	Reconciling bool `protobuf:"varint,21,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Conditions []*Condition `protobuf:"bytes,22,rep,name=conditions,proto3" json:"conditions,omitempty"`

	ObservedGeneration int64 `protobuf:"varint,23,opt,name=observed_generation,json=observedGeneration,proto3" json:"observed_generation,omitempty"`

	Index int32 `protobuf:"varint,24,opt,name=index,proto3" json:"index,omitempty"`

	Retried int32 `protobuf:"varint,25,opt,name=retried,proto3" json:"retried,omitempty"`

	LastAttemptResult *TaskAttemptResult `protobuf:"bytes,26,opt,name=last_attempt_result,json=lastAttemptResult,proto3" json:"last_attempt_result,omitempty"`

	EncryptionKey string `protobuf:"bytes,28,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`

	VpcAccess *VpcAccess `protobuf:"bytes,29,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"`

	LogUri string `protobuf:"bytes,32,opt,name=log_uri,json=logUri,proto3" json:"log_uri,omitempty"`

	SatisfiesPzs bool `protobuf:"varint,33,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`

	Etag string `protobuf:"bytes,99,opt,name=etag,proto3" json:"etag,omitempty"`

}

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

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

TaskTemplate

type TaskTemplate struct {
	Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`

	Volumes []*Volume `protobuf:"bytes,2,rep,name=volumes,proto3" json:"volumes,omitempty"`

	Retries isTaskTemplate_Retries `protobuf_oneof:"retries"`

	Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"`

	ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`

	ExecutionEnvironment ExecutionEnvironment "" /* 168 byte string literal not displayed */

	EncryptionKey string `protobuf:"bytes,7,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`

	VpcAccess *VpcAccess `protobuf:"bytes,8,opt,name=vpc_access,json=vpcAccess,proto3" json:"vpc_access,omitempty"`

}

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

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"`
}

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

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.

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

TrafficTargetAllocationType

type TrafficTargetAllocationType int32

The type of instance allocation.

TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST, TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION

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

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

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

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

UnimplementedRevisionsServer

type UnimplementedRevisionsServer struct {
}

UnimplementedRevisionsServer can be embedded to have forward compatible implementations.

func (*UnimplementedRevisionsServer) DeleteRevision

func (*UnimplementedRevisionsServer) GetRevision

func (*UnimplementedRevisionsServer) ListRevisions

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

UnimplementedTasksServer

type UnimplementedTasksServer struct {
}

UnimplementedTasksServer can be embedded to have forward compatible implementations.

func (*UnimplementedTasksServer) GetTask

func (*UnimplementedTasksServer) ListTasks

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

UpdateServiceRequest

type UpdateServiceRequest struct {

	// Required. The Service to be updated.
	Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Indicates that the request should be validated and default values
	// populated, without persisting the request or updating any resources.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// If set to true, and if the Service does not exist, it will create a new
	// one. The caller must have 'run.services.create' permissions if this is set
	// to true and the Service does not exist.
	AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Request message for updating a service.

func (*UpdateServiceRequest) Descriptor

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

Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetAllowMissing

func (x *UpdateServiceRequest) GetAllowMissing() bool

func (*UpdateServiceRequest) GetService

func (x *UpdateServiceRequest) GetService() *Service

func (*UpdateServiceRequest) GetValidateOnly

func (x *UpdateServiceRequest) GetValidateOnly() bool

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect

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

func (*UpdateServiceRequest) Reset

func (x *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String

func (x *UpdateServiceRequest) String() string

VersionToPath

type VersionToPath struct {

	// Required. The relative path of the secret in the container.
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// The Cloud Secret Manager secret version.
	// Can be 'latest' for the latest value, or an integer or a secret alias for a
	// specific version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// Integer octal mode bits to use on this file, must be a value between
	// 01 and 0777 (octal). If 0 or not set, the Volume's default mode will be
	// used.
	//
	// # Notes
	//
	// * Internally, a umask of 0222 will be applied to any non-zero value.
	// * This is an integer representation of the mode bits. So, the octal
	// integer value should look exactly as the chmod numeric notation with a
	// leading zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or
	// 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or
	// 416 (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493
	// (base-10).
	// * This might be in conflict with other options that affect the
	// file mode, like fsGroup, and the result can be other mode bits set.
	Mode int32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

VersionToPath maps a specific version of a secret to a relative file to mount to, relative to VolumeMount's mount_path.

func (*VersionToPath) Descriptor

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

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

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

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"`
}

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"`
}

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"`
}

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"`
}

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"`
}

VpcAccess

type VpcAccess struct {

	// VPC Access connector name.
	// Format: projects/{project}/locations/{location}/connectors/{connector},
	// where {project} can be project id or number.
	// For more information on sending traffic to a VPC network via a connector,
	// visit https://cloud.google.com/run/docs/configuring/vpc-connectors.
	Connector string `protobuf:"bytes,1,opt,name=connector,proto3" json:"connector,omitempty"`
	// Traffic VPC egress settings. If not provided, it defaults to
	// PRIVATE_RANGES_ONLY.
	Egress VpcAccess_VpcEgress `protobuf:"varint,2,opt,name=egress,proto3,enum=google.cloud.run.v2.VpcAccess_VpcEgress" json:"egress,omitempty"`
	// Direct VPC egress settings. Currently only single network interface is
	// supported.
	NetworkInterfaces []*VpcAccess_NetworkInterface `protobuf:"bytes,3,rep,name=network_interfaces,json=networkInterfaces,proto3" json:"network_interfaces,omitempty"`
	// contains filtered or unexported fields
}

VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

func (*VpcAccess) Descriptor

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

VpcAccess_NetworkInterface

type VpcAccess_NetworkInterface struct {

	// The VPC network that the Cloud Run resource will be able to send traffic
	// to. At least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must
	// belong to the given VPC network. If network is not specified, it will be
	// looked up from the subnetwork.
	Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	// The VPC subnetwork that the Cloud Run resource will get IPs from. At
	// least one of network or subnetwork must be specified. If both
	// network and subnetwork are specified, the given VPC subnetwork must
	// belong to the given VPC network. If subnetwork is not specified, the
	// subnetwork with the same name with the network will be used.
	Subnetwork string `protobuf:"bytes,2,opt,name=subnetwork,proto3" json:"subnetwork,omitempty"`
	// Network tags applied to this Cloud Run resource.
	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// contains filtered or unexported fields
}

Direct VPC egress settings.

func (*VpcAccess_NetworkInterface) Descriptor

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

VpcAccess_VpcEgress

type VpcAccess_VpcEgress int32

Egress options for VPC access.

VpcAccess_VPC_EGRESS_UNSPECIFIED, VpcAccess_ALL_TRAFFIC, VpcAccess_PRIVATE_RANGES_ONLY

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