deploypb

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 15 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SkaffoldSupportState_name = map[int32]string{
		0: "SKAFFOLD_SUPPORT_STATE_UNSPECIFIED",
		1: "SKAFFOLD_SUPPORT_STATE_SUPPORTED",
		2: "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE",
		3: "SKAFFOLD_SUPPORT_STATE_UNSUPPORTED",
	}
	SkaffoldSupportState_value = map[string]int32{
		"SKAFFOLD_SUPPORT_STATE_UNSPECIFIED":      0,
		"SKAFFOLD_SUPPORT_STATE_SUPPORTED":        1,
		"SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE": 2,
		"SKAFFOLD_SUPPORT_STATE_UNSUPPORTED":      3,
	}
)

Enum value maps for SkaffoldSupportState.

View Source
var (
	BackoffMode_name = map[int32]string{
		0: "BACKOFF_MODE_UNSPECIFIED",
		1: "BACKOFF_MODE_LINEAR",
		2: "BACKOFF_MODE_EXPONENTIAL",
	}
	BackoffMode_value = map[string]int32{
		"BACKOFF_MODE_UNSPECIFIED": 0,
		"BACKOFF_MODE_LINEAR":      1,
		"BACKOFF_MODE_EXPONENTIAL": 2,
	}
)

Enum value maps for BackoffMode.

View Source
var (
	RepairState_name = map[int32]string{
		0: "REPAIR_STATE_UNSPECIFIED",
		1: "REPAIR_STATE_SUCCEEDED",
		2: "REPAIR_STATE_CANCELLED",
		3: "REPAIR_STATE_FAILED",
		4: "REPAIR_STATE_IN_PROGRESS",
		5: "REPAIR_STATE_PENDING",
		7: "REPAIR_STATE_ABORTED",
	}
	RepairState_value = map[string]int32{
		"REPAIR_STATE_UNSPECIFIED": 0,
		"REPAIR_STATE_SUCCEEDED":   1,
		"REPAIR_STATE_CANCELLED":   2,
		"REPAIR_STATE_FAILED":      3,
		"REPAIR_STATE_IN_PROGRESS": 4,
		"REPAIR_STATE_PENDING":     5,
		"REPAIR_STATE_ABORTED":     7,
	}
)

Enum value maps for RepairState.

View Source
var (
	ExecutionConfig_ExecutionEnvironmentUsage_name = map[int32]string{
		0: "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED",
		1: "RENDER",
		2: "DEPLOY",
		3: "VERIFY",
		4: "PREDEPLOY",
		5: "POSTDEPLOY",
	}
	ExecutionConfig_ExecutionEnvironmentUsage_value = map[string]int32{
		"EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED": 0,
		"RENDER":     1,
		"DEPLOY":     2,
		"VERIFY":     3,
		"PREDEPLOY":  4,
		"POSTDEPLOY": 5,
	}
)

Enum value maps for ExecutionConfig_ExecutionEnvironmentUsage.

View Source
var (
	Release_RenderState_name = map[int32]string{
		0: "RENDER_STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "IN_PROGRESS",
	}
	Release_RenderState_value = map[string]int32{
		"RENDER_STATE_UNSPECIFIED": 0,
		"SUCCEEDED":                1,
		"FAILED":                   2,
		"IN_PROGRESS":              3,
	}
)

Enum value maps for Release_RenderState.

View Source
var (
	Release_TargetRender_TargetRenderState_name = map[int32]string{
		0: "TARGET_RENDER_STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "FAILED",
		3: "IN_PROGRESS",
	}
	Release_TargetRender_TargetRenderState_value = map[string]int32{
		"TARGET_RENDER_STATE_UNSPECIFIED": 0,
		"SUCCEEDED":                       1,
		"FAILED":                          2,
		"IN_PROGRESS":                     3,
	}
)

Enum value maps for Release_TargetRender_TargetRenderState.

View Source
var (
	Release_TargetRender_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "CLOUD_BUILD_REQUEST_FAILED",
		4: "VERIFICATION_CONFIG_NOT_FOUND",
		5: "CUSTOM_ACTION_NOT_FOUND",
		6: "DEPLOYMENT_STRATEGY_NOT_SUPPORTED",
		7: "RENDER_FEATURE_NOT_SUPPORTED",
	}
	Release_TargetRender_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":         0,
		"CLOUD_BUILD_UNAVAILABLE":           1,
		"EXECUTION_FAILED":                  2,
		"CLOUD_BUILD_REQUEST_FAILED":        3,
		"VERIFICATION_CONFIG_NOT_FOUND":     4,
		"CUSTOM_ACTION_NOT_FOUND":           5,
		"DEPLOYMENT_STRATEGY_NOT_SUPPORTED": 6,
		"RENDER_FEATURE_NOT_SUPPORTED":      7,
	}
)

Enum value maps for Release_TargetRender_FailureCause.

View Source
var (
	Rollout_ApprovalState_name = map[int32]string{
		0: "APPROVAL_STATE_UNSPECIFIED",
		1: "NEEDS_APPROVAL",
		2: "DOES_NOT_NEED_APPROVAL",
		3: "APPROVED",
		4: "REJECTED",
	}
	Rollout_ApprovalState_value = map[string]int32{
		"APPROVAL_STATE_UNSPECIFIED": 0,
		"NEEDS_APPROVAL":             1,
		"DOES_NOT_NEED_APPROVAL":     2,
		"APPROVED":                   3,
		"REJECTED":                   4,
	}
)

Enum value maps for Rollout_ApprovalState.

View Source
var (
	Rollout_State_name = map[int32]string{
		0:  "STATE_UNSPECIFIED",
		1:  "SUCCEEDED",
		2:  "FAILED",
		3:  "IN_PROGRESS",
		4:  "PENDING_APPROVAL",
		5:  "APPROVAL_REJECTED",
		6:  "PENDING",
		7:  "PENDING_RELEASE",
		8:  "CANCELLING",
		9:  "CANCELLED",
		10: "HALTED",
	}
	Rollout_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"SUCCEEDED":         1,
		"FAILED":            2,
		"IN_PROGRESS":       3,
		"PENDING_APPROVAL":  4,
		"APPROVAL_REJECTED": 5,
		"PENDING":           6,
		"PENDING_RELEASE":   7,
		"CANCELLING":        8,
		"CANCELLED":         9,
		"HALTED":            10,
	}
)

Enum value maps for Rollout_State.

View Source
var (
	Rollout_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "RELEASE_FAILED",
		5: "RELEASE_ABANDONED",
		6: "VERIFICATION_CONFIG_NOT_FOUND",
		7: "CLOUD_BUILD_REQUEST_FAILED",
		8: "OPERATION_FEATURE_NOT_SUPPORTED",
	}
	Rollout_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":       0,
		"CLOUD_BUILD_UNAVAILABLE":         1,
		"EXECUTION_FAILED":                2,
		"DEADLINE_EXCEEDED":               3,
		"RELEASE_FAILED":                  4,
		"RELEASE_ABANDONED":               5,
		"VERIFICATION_CONFIG_NOT_FOUND":   6,
		"CLOUD_BUILD_REQUEST_FAILED":      7,
		"OPERATION_FEATURE_NOT_SUPPORTED": 8,
	}
)

Enum value maps for Rollout_FailureCause.

View Source
var (
	Phase_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "IN_PROGRESS",
		3: "SUCCEEDED",
		4: "FAILED",
		5: "ABORTED",
		6: "SKIPPED",
	}
	Phase_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"IN_PROGRESS":       2,
		"SUCCEEDED":         3,
		"FAILED":            4,
		"ABORTED":           5,
		"SKIPPED":           6,
	}
)

Enum value maps for Phase_State.

View Source
var (
	Job_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING",
		2: "DISABLED",
		3: "IN_PROGRESS",
		4: "SUCCEEDED",
		5: "FAILED",
		6: "ABORTED",
		7: "SKIPPED",
		8: "IGNORED",
	}
	Job_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING":           1,
		"DISABLED":          2,
		"IN_PROGRESS":       3,
		"SUCCEEDED":         4,
		"FAILED":            5,
		"ABORTED":           6,
		"SKIPPED":           7,
		"IGNORED":           8,
	}
)

Enum value maps for Job_State.

View Source
var (
	JobRun_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "IN_PROGRESS",
		2: "SUCCEEDED",
		3: "FAILED",
		4: "TERMINATING",
		5: "TERMINATED",
	}
	JobRun_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"IN_PROGRESS":       1,
		"SUCCEEDED":         2,
		"FAILED":            3,
		"TERMINATING":       4,
		"TERMINATED":        5,
	}
)

Enum value maps for JobRun_State.

View Source
var (
	DeployJobRun_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "MISSING_RESOURCES_FOR_CANARY",
		5: "CLOUD_BUILD_REQUEST_FAILED",
		6: "DEPLOY_FEATURE_NOT_SUPPORTED",
	}
	DeployJobRun_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":    0,
		"CLOUD_BUILD_UNAVAILABLE":      1,
		"EXECUTION_FAILED":             2,
		"DEADLINE_EXCEEDED":            3,
		"MISSING_RESOURCES_FOR_CANARY": 4,
		"CLOUD_BUILD_REQUEST_FAILED":   5,
		"DEPLOY_FEATURE_NOT_SUPPORTED": 6,
	}
)

Enum value maps for DeployJobRun_FailureCause.

View Source
var (
	VerifyJobRun_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "VERIFICATION_CONFIG_NOT_FOUND",
		5: "CLOUD_BUILD_REQUEST_FAILED",
	}
	VerifyJobRun_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":     0,
		"CLOUD_BUILD_UNAVAILABLE":       1,
		"EXECUTION_FAILED":              2,
		"DEADLINE_EXCEEDED":             3,
		"VERIFICATION_CONFIG_NOT_FOUND": 4,
		"CLOUD_BUILD_REQUEST_FAILED":    5,
	}
)

Enum value maps for VerifyJobRun_FailureCause.

View Source
var (
	PredeployJobRun_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "CLOUD_BUILD_REQUEST_FAILED",
	}
	PredeployJobRun_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":  0,
		"CLOUD_BUILD_UNAVAILABLE":    1,
		"EXECUTION_FAILED":           2,
		"DEADLINE_EXCEEDED":          3,
		"CLOUD_BUILD_REQUEST_FAILED": 4,
	}
)

Enum value maps for PredeployJobRun_FailureCause.

View Source
var (
	PostdeployJobRun_FailureCause_name = map[int32]string{
		0: "FAILURE_CAUSE_UNSPECIFIED",
		1: "CLOUD_BUILD_UNAVAILABLE",
		2: "EXECUTION_FAILED",
		3: "DEADLINE_EXCEEDED",
		4: "CLOUD_BUILD_REQUEST_FAILED",
	}
	PostdeployJobRun_FailureCause_value = map[string]int32{
		"FAILURE_CAUSE_UNSPECIFIED":  0,
		"CLOUD_BUILD_UNAVAILABLE":    1,
		"EXECUTION_FAILED":           2,
		"DEADLINE_EXCEEDED":          3,
		"CLOUD_BUILD_REQUEST_FAILED": 4,
	}
)

Enum value maps for PostdeployJobRun_FailureCause.

View Source
var (
	AutomationRun_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "SUCCEEDED",
		2: "CANCELLED",
		3: "FAILED",
		4: "IN_PROGRESS",
		5: "PENDING",
		6: "ABORTED",
	}
	AutomationRun_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"SUCCEEDED":         1,
		"CANCELLED":         2,
		"FAILED":            3,
		"IN_PROGRESS":       4,
		"PENDING":           5,
		"ABORTED":           6,
	}
)

Enum value maps for AutomationRun_State.

View Source
var (
	Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_PUBSUB_NOTIFICATION_FAILURE",
		3: "TYPE_RESOURCE_STATE_CHANGE",
		4: "TYPE_PROCESS_ABORTED",
		5: "TYPE_RESTRICTION_VIOLATED",
		6: "TYPE_RESOURCE_DELETED",
		7: "TYPE_ROLLOUT_UPDATE",
		2: "TYPE_RENDER_STATUES_CHANGE",
	}
	Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":                 0,
		"TYPE_PUBSUB_NOTIFICATION_FAILURE": 1,
		"TYPE_RESOURCE_STATE_CHANGE":       3,
		"TYPE_PROCESS_ABORTED":             4,
		"TYPE_RESTRICTION_VIOLATED":        5,
		"TYPE_RESOURCE_DELETED":            6,
		"TYPE_ROLLOUT_UPDATE":              7,
		"TYPE_RENDER_STATUES_CHANGE":       2,
	}
)

Enum value maps for Type.

View Source
var (
	RolloutUpdateEvent_RolloutUpdateType_name = map[int32]string{
		0:  "ROLLOUT_UPDATE_TYPE_UNSPECIFIED",
		1:  "PENDING",
		2:  "PENDING_RELEASE",
		3:  "IN_PROGRESS",
		4:  "CANCELLING",
		5:  "CANCELLED",
		6:  "HALTED",
		7:  "SUCCEEDED",
		8:  "FAILED",
		9:  "APPROVAL_REQUIRED",
		10: "APPROVED",
		11: "REJECTED",
		12: "ADVANCE_REQUIRED",
		13: "ADVANCED",
	}
	RolloutUpdateEvent_RolloutUpdateType_value = map[string]int32{
		"ROLLOUT_UPDATE_TYPE_UNSPECIFIED": 0,
		"PENDING":                         1,
		"PENDING_RELEASE":                 2,
		"IN_PROGRESS":                     3,
		"CANCELLING":                      4,
		"CANCELLED":                       5,
		"HALTED":                          6,
		"SUCCEEDED":                       7,
		"FAILED":                          8,
		"APPROVAL_REQUIRED":               9,
		"APPROVED":                        10,
		"REJECTED":                        11,
		"ADVANCE_REQUIRED":                12,
		"ADVANCED":                        13,
	}
)

Enum value maps for RolloutUpdateEvent_RolloutUpdateType.

View Source
var File_google_cloud_deploy_v1_automation_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_automationrun_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_cloud_deploy_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_customtargettype_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_deliverypipeline_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_deploypolicy_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_jobrun_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_log_enums_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_release_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_release_render_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_rollout_notification_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_rollout_update_payload_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_deploy_v1_target_notification_payload_proto protoreflect.FileDescriptor

Functions

func RegisterCloudDeployServer

func RegisterCloudDeployServer(s *grpc.Server, srv CloudDeployServer)

Types

type AbandonReleaseRequest

type AbandonReleaseRequest struct {

	// Required. Name of the Release. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request object used by `AbandonRelease`.

func (*AbandonReleaseRequest) Descriptor deprecated

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

Deprecated: Use AbandonReleaseRequest.ProtoReflect.Descriptor instead.

func (*AbandonReleaseRequest) GetName

func (x *AbandonReleaseRequest) GetName() string

func (*AbandonReleaseRequest) ProtoMessage

func (*AbandonReleaseRequest) ProtoMessage()

func (*AbandonReleaseRequest) ProtoReflect

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

func (*AbandonReleaseRequest) Reset

func (x *AbandonReleaseRequest) Reset()

func (*AbandonReleaseRequest) String

func (x *AbandonReleaseRequest) String() string

type AbandonReleaseResponse

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

The response object for `AbandonRelease`.

func (*AbandonReleaseResponse) Descriptor deprecated

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

Deprecated: Use AbandonReleaseResponse.ProtoReflect.Descriptor instead.

func (*AbandonReleaseResponse) ProtoMessage

func (*AbandonReleaseResponse) ProtoMessage()

func (*AbandonReleaseResponse) ProtoReflect

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

func (*AbandonReleaseResponse) Reset

func (x *AbandonReleaseResponse) Reset()

func (*AbandonReleaseResponse) String

func (x *AbandonReleaseResponse) String() string

type AdvanceChildRolloutJob added in v1.8.0

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

An advanceChildRollout Job.

func (*AdvanceChildRolloutJob) Descriptor deprecated added in v1.8.0

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

Deprecated: Use AdvanceChildRolloutJob.ProtoReflect.Descriptor instead.

func (*AdvanceChildRolloutJob) ProtoMessage added in v1.8.0

func (*AdvanceChildRolloutJob) ProtoMessage()

func (*AdvanceChildRolloutJob) ProtoReflect added in v1.8.0

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

func (*AdvanceChildRolloutJob) Reset added in v1.8.0

func (x *AdvanceChildRolloutJob) Reset()

func (*AdvanceChildRolloutJob) String added in v1.8.0

func (x *AdvanceChildRolloutJob) String() string

type AdvanceChildRolloutJobRun added in v1.8.0

type AdvanceChildRolloutJobRun struct {

	// Output only. Name of the `ChildRollout`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
	Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// Output only. the ID of the ChildRollout's Phase.
	RolloutPhaseId string `protobuf:"bytes,2,opt,name=rollout_phase_id,json=rolloutPhaseId,proto3" json:"rollout_phase_id,omitempty"`
	// contains filtered or unexported fields
}

AdvanceChildRolloutJobRun contains information specific to a advanceChildRollout `JobRun`.

func (*AdvanceChildRolloutJobRun) Descriptor deprecated added in v1.8.0

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

Deprecated: Use AdvanceChildRolloutJobRun.ProtoReflect.Descriptor instead.

func (*AdvanceChildRolloutJobRun) GetRollout added in v1.8.0

func (x *AdvanceChildRolloutJobRun) GetRollout() string

func (*AdvanceChildRolloutJobRun) GetRolloutPhaseId added in v1.8.0

func (x *AdvanceChildRolloutJobRun) GetRolloutPhaseId() string

func (*AdvanceChildRolloutJobRun) ProtoMessage added in v1.8.0

func (*AdvanceChildRolloutJobRun) ProtoMessage()

func (*AdvanceChildRolloutJobRun) ProtoReflect added in v1.8.0

func (*AdvanceChildRolloutJobRun) Reset added in v1.8.0

func (x *AdvanceChildRolloutJobRun) Reset()

func (*AdvanceChildRolloutJobRun) String added in v1.8.0

func (x *AdvanceChildRolloutJobRun) String() string

type AdvanceRolloutOperation added in v1.15.0

type AdvanceRolloutOperation struct {

	// Output only. The phase of a deployment that initiated the operation.
	SourcePhase string `protobuf:"bytes,5,opt,name=source_phase,json=sourcePhase,proto3" json:"source_phase,omitempty"`
	// Output only. How long the operation will be paused.
	Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
	// Output only. The name of the rollout that initiates the `AutomationRun`.
	Rollout string `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
	// Output only. The phase the rollout will be advanced to.
	DestinationPhase string `protobuf:"bytes,4,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
	// contains filtered or unexported fields
}

Contains the information of an automated advance-rollout operation.

func (*AdvanceRolloutOperation) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AdvanceRolloutOperation.ProtoReflect.Descriptor instead.

func (*AdvanceRolloutOperation) GetDestinationPhase added in v1.15.0

func (x *AdvanceRolloutOperation) GetDestinationPhase() string

func (*AdvanceRolloutOperation) GetRollout added in v1.15.0

func (x *AdvanceRolloutOperation) GetRollout() string

func (*AdvanceRolloutOperation) GetSourcePhase added in v1.15.0

func (x *AdvanceRolloutOperation) GetSourcePhase() string

func (*AdvanceRolloutOperation) GetWait added in v1.15.0

func (*AdvanceRolloutOperation) ProtoMessage added in v1.15.0

func (*AdvanceRolloutOperation) ProtoMessage()

func (*AdvanceRolloutOperation) ProtoReflect added in v1.15.0

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

func (*AdvanceRolloutOperation) Reset added in v1.15.0

func (x *AdvanceRolloutOperation) Reset()

func (*AdvanceRolloutOperation) String added in v1.15.0

func (x *AdvanceRolloutOperation) String() string

type AdvanceRolloutRequest added in v1.8.0

type AdvanceRolloutRequest struct {

	// Required. Name of the Rollout. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The phase ID to advance the `Rollout` to.
	PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
	// contains filtered or unexported fields
}

The request object used by `AdvanceRollout`.

func (*AdvanceRolloutRequest) Descriptor deprecated added in v1.8.0

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

Deprecated: Use AdvanceRolloutRequest.ProtoReflect.Descriptor instead.

func (*AdvanceRolloutRequest) GetName added in v1.8.0

func (x *AdvanceRolloutRequest) GetName() string

func (*AdvanceRolloutRequest) GetPhaseId added in v1.8.0

func (x *AdvanceRolloutRequest) GetPhaseId() string

func (*AdvanceRolloutRequest) ProtoMessage added in v1.8.0

func (*AdvanceRolloutRequest) ProtoMessage()

func (*AdvanceRolloutRequest) ProtoReflect added in v1.8.0

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

func (*AdvanceRolloutRequest) Reset added in v1.8.0

func (x *AdvanceRolloutRequest) Reset()

func (*AdvanceRolloutRequest) String added in v1.8.0

func (x *AdvanceRolloutRequest) String() string

type AdvanceRolloutResponse added in v1.8.0

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

The response object from `AdvanceRollout`.

func (*AdvanceRolloutResponse) Descriptor deprecated added in v1.8.0

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

Deprecated: Use AdvanceRolloutResponse.ProtoReflect.Descriptor instead.

func (*AdvanceRolloutResponse) ProtoMessage added in v1.8.0

func (*AdvanceRolloutResponse) ProtoMessage()

func (*AdvanceRolloutResponse) ProtoReflect added in v1.8.0

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

func (*AdvanceRolloutResponse) Reset added in v1.8.0

func (x *AdvanceRolloutResponse) Reset()

func (*AdvanceRolloutResponse) String added in v1.8.0

func (x *AdvanceRolloutResponse) String() string

type AdvanceRolloutRule added in v1.15.0

type AdvanceRolloutRule struct {

	// Required. ID of the rule. This id must be unique in the `Automation`
	// resource to which this rule belongs. The format is
	// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Proceeds only after phase name matched any one in the list.
	// This value must consist of lower-case letters, numbers, and hyphens,
	// start with a letter and end with a letter or a number, and have a max
	// length of 63 characters. In other words, it must match the following
	// regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
	SourcePhases []string `protobuf:"bytes,6,rep,name=source_phases,json=sourcePhases,proto3" json:"source_phases,omitempty"`
	// Optional. How long to wait after a rollout is finished.
	Wait *durationpb.Duration `protobuf:"bytes,3,opt,name=wait,proto3" json:"wait,omitempty"`
	// Output only. Information around the state of the Automation rule.
	Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

The `AdvanceRollout` automation rule will automatically advance a successful Rollout to the next phase.

func (*AdvanceRolloutRule) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AdvanceRolloutRule.ProtoReflect.Descriptor instead.

func (*AdvanceRolloutRule) GetCondition added in v1.15.0

func (x *AdvanceRolloutRule) GetCondition() *AutomationRuleCondition

func (*AdvanceRolloutRule) GetId added in v1.15.0

func (x *AdvanceRolloutRule) GetId() string

func (*AdvanceRolloutRule) GetSourcePhases added in v1.15.0

func (x *AdvanceRolloutRule) GetSourcePhases() []string

func (*AdvanceRolloutRule) GetWait added in v1.15.0

func (x *AdvanceRolloutRule) GetWait() *durationpb.Duration

func (*AdvanceRolloutRule) ProtoMessage added in v1.15.0

func (*AdvanceRolloutRule) ProtoMessage()

func (*AdvanceRolloutRule) ProtoReflect added in v1.15.0

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

func (*AdvanceRolloutRule) Reset added in v1.15.0

func (x *AdvanceRolloutRule) Reset()

func (*AdvanceRolloutRule) String added in v1.15.0

func (x *AdvanceRolloutRule) String() string

type AnthosCluster

type AnthosCluster struct {

	// Optional. Membership of the GKE Hub-registered cluster to which to apply
	// the Skaffold configuration. Format is
	// `projects/{project}/locations/{location}/memberships/{membership_name}`.
	Membership string `protobuf:"bytes,1,opt,name=membership,proto3" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

Information specifying an Anthos Cluster.

func (*AnthosCluster) Descriptor deprecated

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

Deprecated: Use AnthosCluster.ProtoReflect.Descriptor instead.

func (*AnthosCluster) GetMembership

func (x *AnthosCluster) GetMembership() string

func (*AnthosCluster) ProtoMessage

func (*AnthosCluster) ProtoMessage()

func (*AnthosCluster) ProtoReflect

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

func (*AnthosCluster) Reset

func (x *AnthosCluster) Reset()

func (*AnthosCluster) String

func (x *AnthosCluster) String() string

type ApproveRolloutRequest

type ApproveRolloutRequest struct {

	// Required. Name of the Rollout. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. True = approve; false = reject
	Approved bool `protobuf:"varint,2,opt,name=approved,proto3" json:"approved,omitempty"`
	// contains filtered or unexported fields
}

The request object used by `ApproveRollout`.

func (*ApproveRolloutRequest) Descriptor deprecated

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

Deprecated: Use ApproveRolloutRequest.ProtoReflect.Descriptor instead.

func (*ApproveRolloutRequest) GetApproved

func (x *ApproveRolloutRequest) GetApproved() bool

func (*ApproveRolloutRequest) GetName

func (x *ApproveRolloutRequest) GetName() string

func (*ApproveRolloutRequest) ProtoMessage

func (*ApproveRolloutRequest) ProtoMessage()

func (*ApproveRolloutRequest) ProtoReflect

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

func (*ApproveRolloutRequest) Reset

func (x *ApproveRolloutRequest) Reset()

func (*ApproveRolloutRequest) String

func (x *ApproveRolloutRequest) String() string

type ApproveRolloutResponse

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

The response object from `ApproveRollout`.

func (*ApproveRolloutResponse) Descriptor deprecated

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

Deprecated: Use ApproveRolloutResponse.ProtoReflect.Descriptor instead.

func (*ApproveRolloutResponse) ProtoMessage

func (*ApproveRolloutResponse) ProtoMessage()

func (*ApproveRolloutResponse) ProtoReflect

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

func (*ApproveRolloutResponse) Reset

func (x *ApproveRolloutResponse) Reset()

func (*ApproveRolloutResponse) String

func (x *ApproveRolloutResponse) String() string

type Automation added in v1.15.0

type Automation struct {

	// Output only. Name of the `Automation`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Unique identifier of the `Automation`.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. Description of the `Automation`. Max length is 255 characters.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Time at which the automation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time at which the automation was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. User annotations. These attributes can only be set and used by
	// the user, and not by Cloud Deploy. Annotations must meet the following
	// constraints:
	//
	// * Annotations are key/value pairs.
	// * Valid annotation keys have two segments: an optional prefix and name,
	// separated by a slash (`/`).
	// * The name segment is required and must be 63 characters or less,
	// beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with
	// dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between.
	// * The prefix is optional. If specified, the prefix must be a DNS subdomain:
	// a series of DNS labels separated by dots(`.`), not longer than 253
	// characters in total, followed by a slash (`/`).
	//
	// See
	// https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
	// for more details.
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// Optional. Labels are attributes that can be set and used by both the
	// user and by Cloud Deploy. Labels must meet the following constraints:
	//
	// * Keys and values can contain only lowercase letters, numeric characters,
	// underscores, and dashes.
	// * All characters must use UTF-8 encoding, and international characters are
	// allowed.
	// * Keys must start with a lowercase letter or international character.
	// * Each resource is limited to a maximum of 64 labels.
	//
	// Both keys and values are additionally constrained to be <= 63 characters.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Optional. The weak etag of the `Automation` resource.
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. When Suspended, automation is deactivated from execution.
	Suspended bool `protobuf:"varint,9,opt,name=suspended,proto3" json:"suspended,omitempty"`
	// Required. Email address of the user-managed IAM service account that
	// creates Cloud Deploy release and rollout resources.
	ServiceAccount string `protobuf:"bytes,10,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Required. Selected resources to which the automation will be applied.
	Selector *AutomationResourceSelector `protobuf:"bytes,11,opt,name=selector,proto3" json:"selector,omitempty"`
	// Required. List of Automation rules associated with the Automation resource.
	// Must have at least one rule and limited to 250 rules per Delivery Pipeline.
	// Note: the order of the rules here is not the same as the order of
	// execution.
	Rules []*AutomationRule `protobuf:"bytes,14,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

An `Automation` resource in the Cloud Deploy API.

An `Automation` enables the automation of manually driven actions for a Delivery Pipeline, which includes Release promotion among Targets, Rollout repair and Rollout deployment strategy advancement. The intention of Automation is to reduce manual intervention in the continuous delivery process.

func (*Automation) Descriptor deprecated added in v1.15.0

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

Deprecated: Use Automation.ProtoReflect.Descriptor instead.

func (*Automation) GetAnnotations added in v1.15.0

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

func (*Automation) GetCreateTime added in v1.15.0

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

func (*Automation) GetDescription added in v1.15.0

func (x *Automation) GetDescription() string

func (*Automation) GetEtag added in v1.15.0

func (x *Automation) GetEtag() string

func (*Automation) GetLabels added in v1.15.0

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

func (*Automation) GetName added in v1.15.0

func (x *Automation) GetName() string

func (*Automation) GetRules added in v1.15.0

func (x *Automation) GetRules() []*AutomationRule

func (*Automation) GetSelector added in v1.15.0

func (x *Automation) GetSelector() *AutomationResourceSelector

func (*Automation) GetServiceAccount added in v1.15.0

func (x *Automation) GetServiceAccount() string

func (*Automation) GetSuspended added in v1.15.0

func (x *Automation) GetSuspended() bool

func (*Automation) GetUid added in v1.15.0

func (x *Automation) GetUid() string

func (*Automation) GetUpdateTime added in v1.15.0

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

func (*Automation) ProtoMessage added in v1.15.0

func (*Automation) ProtoMessage()

func (*Automation) ProtoReflect added in v1.15.0

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

func (*Automation) Reset added in v1.15.0

func (x *Automation) Reset()

func (*Automation) String added in v1.15.0

func (x *Automation) String() string

type AutomationEvent added in v1.15.0

type AutomationEvent struct {

	// Debug message for when there is an update on the AutomationRun.
	// Provides further details about the resource creation or state change.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// The name of the `AutomationRun`.
	Automation string `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
	// Unique identifier of the `DeliveryPipeline`.
	PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
	// Type of this notification, e.g. for a Pub/Sub failure.
	Type Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.

func (*AutomationEvent) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationEvent.ProtoReflect.Descriptor instead.

func (*AutomationEvent) GetAutomation added in v1.15.0

func (x *AutomationEvent) GetAutomation() string

func (*AutomationEvent) GetMessage added in v1.15.0

func (x *AutomationEvent) GetMessage() string

func (*AutomationEvent) GetPipelineUid added in v1.15.0

func (x *AutomationEvent) GetPipelineUid() string

func (*AutomationEvent) GetType added in v1.15.0

func (x *AutomationEvent) GetType() Type

func (*AutomationEvent) ProtoMessage added in v1.15.0

func (*AutomationEvent) ProtoMessage()

func (*AutomationEvent) ProtoReflect added in v1.15.0

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

func (*AutomationEvent) Reset added in v1.15.0

func (x *AutomationEvent) Reset()

func (*AutomationEvent) String added in v1.15.0

func (x *AutomationEvent) String() string

type AutomationResourceSelector added in v1.15.0

type AutomationResourceSelector struct {

	// Contains attributes about a target.
	Targets []*TargetAttribute `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
	// contains filtered or unexported fields
}

AutomationResourceSelector contains the information to select the resources to which an Automation is going to be applied.

func (*AutomationResourceSelector) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationResourceSelector.ProtoReflect.Descriptor instead.

func (*AutomationResourceSelector) GetTargets added in v1.15.0

func (x *AutomationResourceSelector) GetTargets() []*TargetAttribute

func (*AutomationResourceSelector) ProtoMessage added in v1.15.0

func (*AutomationResourceSelector) ProtoMessage()

func (*AutomationResourceSelector) ProtoReflect added in v1.15.0

func (*AutomationResourceSelector) Reset added in v1.15.0

func (x *AutomationResourceSelector) Reset()

func (*AutomationResourceSelector) String added in v1.15.0

func (x *AutomationResourceSelector) String() string

type AutomationRolloutMetadata added in v1.15.0

type AutomationRolloutMetadata struct {

	// Output only. The name of the AutomationRun initiated by a promote release
	// rule.
	PromoteAutomationRun string `protobuf:"bytes,1,opt,name=promote_automation_run,json=promoteAutomationRun,proto3" json:"promote_automation_run,omitempty"`
	// Output only. The names of the AutomationRuns initiated by an advance
	// rollout rule.
	AdvanceAutomationRuns []string `` /* 126-byte string literal not displayed */
	// Output only. The names of the AutomationRuns initiated by a repair rollout
	// rule.
	RepairAutomationRuns []string `protobuf:"bytes,3,rep,name=repair_automation_runs,json=repairAutomationRuns,proto3" json:"repair_automation_runs,omitempty"`
	// contains filtered or unexported fields
}

AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.

func (*AutomationRolloutMetadata) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRolloutMetadata.ProtoReflect.Descriptor instead.

func (*AutomationRolloutMetadata) GetAdvanceAutomationRuns added in v1.15.0

func (x *AutomationRolloutMetadata) GetAdvanceAutomationRuns() []string

func (*AutomationRolloutMetadata) GetPromoteAutomationRun added in v1.15.0

func (x *AutomationRolloutMetadata) GetPromoteAutomationRun() string

func (*AutomationRolloutMetadata) GetRepairAutomationRuns added in v1.15.0

func (x *AutomationRolloutMetadata) GetRepairAutomationRuns() []string

func (*AutomationRolloutMetadata) ProtoMessage added in v1.15.0

func (*AutomationRolloutMetadata) ProtoMessage()

func (*AutomationRolloutMetadata) ProtoReflect added in v1.15.0

func (*AutomationRolloutMetadata) Reset added in v1.15.0

func (x *AutomationRolloutMetadata) Reset()

func (*AutomationRolloutMetadata) String added in v1.15.0

func (x *AutomationRolloutMetadata) String() string

type AutomationRule added in v1.15.0

type AutomationRule struct {

	// The configuration of the Automation rule.
	//
	// Types that are assignable to Rule:
	//
	//	*AutomationRule_PromoteReleaseRule
	//	*AutomationRule_AdvanceRolloutRule
	//	*AutomationRule_RepairRolloutRule
	Rule isAutomationRule_Rule `protobuf_oneof:"rule"`
	// contains filtered or unexported fields
}

`AutomationRule` defines the automation activities.

func (*AutomationRule) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRule.ProtoReflect.Descriptor instead.

func (*AutomationRule) GetAdvanceRolloutRule added in v1.15.0

func (x *AutomationRule) GetAdvanceRolloutRule() *AdvanceRolloutRule

func (*AutomationRule) GetPromoteReleaseRule added in v1.15.0

func (x *AutomationRule) GetPromoteReleaseRule() *PromoteReleaseRule

func (*AutomationRule) GetRepairRolloutRule added in v1.15.0

func (x *AutomationRule) GetRepairRolloutRule() *RepairRolloutRule

func (*AutomationRule) GetRule added in v1.15.0

func (m *AutomationRule) GetRule() isAutomationRule_Rule

func (*AutomationRule) ProtoMessage added in v1.15.0

func (*AutomationRule) ProtoMessage()

func (*AutomationRule) ProtoReflect added in v1.15.0

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

func (*AutomationRule) Reset added in v1.15.0

func (x *AutomationRule) Reset()

func (*AutomationRule) String added in v1.15.0

func (x *AutomationRule) String() string

type AutomationRuleCondition added in v1.15.0

type AutomationRuleCondition struct {

	// Optional. Details around targets enumerated in the rule.
	TargetsPresentCondition *TargetsPresentCondition `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

`AutomationRuleCondition` contains conditions relevant to an `Automation` rule.

func (*AutomationRuleCondition) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRuleCondition.ProtoReflect.Descriptor instead.

func (*AutomationRuleCondition) GetTargetsPresentCondition added in v1.15.0

func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentCondition

func (*AutomationRuleCondition) ProtoMessage added in v1.15.0

func (*AutomationRuleCondition) ProtoMessage()

func (*AutomationRuleCondition) ProtoReflect added in v1.15.0

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

func (*AutomationRuleCondition) Reset added in v1.15.0

func (x *AutomationRuleCondition) Reset()

func (*AutomationRuleCondition) String added in v1.15.0

func (x *AutomationRuleCondition) String() string

type AutomationRule_AdvanceRolloutRule added in v1.15.0

type AutomationRule_AdvanceRolloutRule struct {
	// Optional. The `AdvanceRolloutRule` will automatically advance a
	// successful Rollout.
	AdvanceRolloutRule *AdvanceRolloutRule `protobuf:"bytes,2,opt,name=advance_rollout_rule,json=advanceRolloutRule,proto3,oneof"`
}

type AutomationRule_PromoteReleaseRule added in v1.15.0

type AutomationRule_PromoteReleaseRule struct {
	// Optional. `PromoteReleaseRule` will automatically promote a release from
	// the current target to a specified target.
	PromoteReleaseRule *PromoteReleaseRule `protobuf:"bytes,1,opt,name=promote_release_rule,json=promoteReleaseRule,proto3,oneof"`
}

type AutomationRule_RepairRolloutRule added in v1.15.0

type AutomationRule_RepairRolloutRule struct {
	// Optional. The `RepairRolloutRule` will automatically repair a failed
	// rollout.
	RepairRolloutRule *RepairRolloutRule `protobuf:"bytes,3,opt,name=repair_rollout_rule,json=repairRolloutRule,proto3,oneof"`
}

type AutomationRun added in v1.15.0

type AutomationRun struct {

	// Output only. Name of the `AutomationRun`. Format is
	// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Time at which the `AutomationRun` was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time at which the automationRun was updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The weak etag of the `AutomationRun` resource.
	// This checksum is computed by the server based on the value of other
	// fields, and may be sent on update and delete requests to ensure the
	// client has an up-to-date value before proceeding.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// Output only. Email address of the user-managed IAM service account that
	// performs the operations against Cloud Deploy resources.
	ServiceAccount string `protobuf:"bytes,5,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// Output only. Snapshot of the Automation taken at AutomationRun creation
	// time.
	AutomationSnapshot *Automation `protobuf:"bytes,6,opt,name=automation_snapshot,json=automationSnapshot,proto3" json:"automation_snapshot,omitempty"`
	// Output only. The ID of the target that represents the promotion stage that
	// initiates the `AutomationRun`. The value of this field is the last segment
	// of a target name.
	TargetId string `protobuf:"bytes,7,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
	// Output only. Current state of the `AutomationRun`.
	State AutomationRun_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.deploy.v1.AutomationRun_State" json:"state,omitempty"`
	// Output only. Explains the current state of the `AutomationRun`. Present
	// only when an explanation is needed.
	StateDescription string `protobuf:"bytes,9,opt,name=state_description,json=stateDescription,proto3" json:"state_description,omitempty"`
	// Output only. Time the `AutomationRun` expires. An `AutomationRun` expires
	// after 14 days from its creation date.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// Output only. The ID of the automation rule that initiated the operation.
	RuleId string `protobuf:"bytes,12,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// Output only. The ID of the automation that initiated the operation.
	AutomationId string `protobuf:"bytes,15,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
	// The operation that the `AutomationRun` will perform.
	//
	// Types that are assignable to Operation:
	//
	//	*AutomationRun_PromoteReleaseOperation
	//	*AutomationRun_AdvanceRolloutOperation
	//	*AutomationRun_RepairRolloutOperation
	Operation isAutomationRun_Operation `protobuf_oneof:"operation"`
	// Output only. Earliest time the `AutomationRun` will attempt to resume.
	// Wait-time is configured by `wait` in automation rule.
	WaitUntilTime *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=wait_until_time,json=waitUntilTime,proto3" json:"wait_until_time,omitempty"`
	// contains filtered or unexported fields
}

An `AutomationRun` resource in the Cloud Deploy API.

An `AutomationRun` represents an execution instance of an automation rule.

func (*AutomationRun) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRun.ProtoReflect.Descriptor instead.

func (*AutomationRun) GetAdvanceRolloutOperation added in v1.15.0

func (x *AutomationRun) GetAdvanceRolloutOperation() *AdvanceRolloutOperation

func (*AutomationRun) GetAutomationId added in v1.15.0

func (x *AutomationRun) GetAutomationId() string

func (*AutomationRun) GetAutomationSnapshot added in v1.15.0

func (x *AutomationRun) GetAutomationSnapshot() *Automation

func (*AutomationRun) GetCreateTime added in v1.15.0

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

func (*AutomationRun) GetEtag added in v1.15.0

func (x *AutomationRun) GetEtag() string

func (*AutomationRun) GetExpireTime added in v1.15.0

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

func (*AutomationRun) GetName added in v1.15.0

func (x *AutomationRun) GetName() string

func (*AutomationRun) GetOperation added in v1.15.0

func (m *AutomationRun) GetOperation() isAutomationRun_Operation

func (*AutomationRun) GetPromoteReleaseOperation added in v1.15.0

func (x *AutomationRun) GetPromoteReleaseOperation() *PromoteReleaseOperation

func (*AutomationRun) GetRepairRolloutOperation added in v1.15.0

func (x *AutomationRun) GetRepairRolloutOperation() *RepairRolloutOperation

func (*AutomationRun) GetRuleId added in v1.15.0

func (x *AutomationRun) GetRuleId() string

func (*AutomationRun) GetServiceAccount added in v1.15.0

func (x *AutomationRun) GetServiceAccount() string

func (*AutomationRun) GetState added in v1.15.0

func (x *AutomationRun) GetState() AutomationRun_State

func (*AutomationRun) GetStateDescription added in v1.15.0

func (x *AutomationRun) GetStateDescription() string

func (*AutomationRun) GetTargetId added in v1.15.0

func (x *AutomationRun) GetTargetId() string

func (*AutomationRun) GetUpdateTime added in v1.15.0

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

func (*AutomationRun) GetWaitUntilTime added in v1.15.0

func (x *AutomationRun) GetWaitUntilTime() *timestamppb.Timestamp

func (*AutomationRun) ProtoMessage added in v1.15.0

func (*AutomationRun) ProtoMessage()

func (*AutomationRun) ProtoReflect added in v1.15.0

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

func (*AutomationRun) Reset added in v1.15.0

func (x *AutomationRun) Reset()

func (*AutomationRun) String added in v1.15.0

func (x *AutomationRun) String() string

type AutomationRunEvent added in v1.15.0

type AutomationRunEvent struct {

	// Debug message for when there is an update on the AutomationRun.
	// Provides further details about the resource creation or state change.
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// The name of the `AutomationRun`.
	AutomationRun string `protobuf:"bytes,2,opt,name=automation_run,json=automationRun,proto3" json:"automation_run,omitempty"`
	// Unique identifier of the `DeliveryPipeline`.
	PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
	// Identifier of the `Automation`.
	AutomationId string `protobuf:"bytes,4,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
	// Identifier of the `Automation` rule.
	RuleId string `protobuf:"bytes,5,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
	// ID of the `Target` to which the `AutomationRun` is created.
	DestinationTargetId string `protobuf:"bytes,6,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
	// Type of this notification, e.g. for a Pub/Sub failure.
	Type Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Payload proto for "clouddeploy.googleapis.com/automation_run" Platform Log event that describes the AutomationRun related events.

func (*AutomationRunEvent) Descriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRunEvent.ProtoReflect.Descriptor instead.

func (*AutomationRunEvent) GetAutomationId added in v1.15.0

func (x *AutomationRunEvent) GetAutomationId() string

func (*AutomationRunEvent) GetAutomationRun added in v1.15.0

func (x *AutomationRunEvent) GetAutomationRun() string

func (*AutomationRunEvent) GetDestinationTargetId added in v1.15.0

func (x *AutomationRunEvent) GetDestinationTargetId() string

func (*AutomationRunEvent) GetMessage added in v1.15.0

func (x *AutomationRunEvent) GetMessage() string

func (*AutomationRunEvent) GetPipelineUid added in v1.15.0

func (x *AutomationRunEvent) GetPipelineUid() string

func (*AutomationRunEvent) GetRuleId added in v1.15.0

func (x *AutomationRunEvent) GetRuleId() string

func (*AutomationRunEvent) GetType added in v1.15.0

func (x *AutomationRunEvent) GetType() Type

func (*AutomationRunEvent) ProtoMessage added in v1.15.0

func (*AutomationRunEvent) ProtoMessage()

func (*AutomationRunEvent) ProtoReflect added in v1.15.0

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

func (*AutomationRunEvent) Reset added in v1.15.0

func (x *AutomationRunEvent) Reset()

func (*AutomationRunEvent) String added in v1.15.0

func (x *AutomationRunEvent) String() string

type AutomationRun_AdvanceRolloutOperation added in v1.15.0

type AutomationRun_AdvanceRolloutOperation struct {
	// Output only. Advances a rollout to the next phase.
	AdvanceRolloutOperation *AdvanceRolloutOperation `protobuf:"bytes,14,opt,name=advance_rollout_operation,json=advanceRolloutOperation,proto3,oneof"`
}

type AutomationRun_PromoteReleaseOperation added in v1.15.0

type AutomationRun_PromoteReleaseOperation struct {
	// Output only. Promotes a release to a specified 'Target'.
	PromoteReleaseOperation *PromoteReleaseOperation `protobuf:"bytes,13,opt,name=promote_release_operation,json=promoteReleaseOperation,proto3,oneof"`
}

type AutomationRun_RepairRolloutOperation added in v1.15.0

type AutomationRun_RepairRolloutOperation struct {
	// Output only. Repairs a failed 'Rollout'.
	RepairRolloutOperation *RepairRolloutOperation `protobuf:"bytes,17,opt,name=repair_rollout_operation,json=repairRolloutOperation,proto3,oneof"`
}

type AutomationRun_State added in v1.15.0

type AutomationRun_State int32

Valid state of an `AutomationRun`.

const (
	// The `AutomationRun` has an unspecified state.
	AutomationRun_STATE_UNSPECIFIED AutomationRun_State = 0
	// The `AutomationRun` has succeeded.
	AutomationRun_SUCCEEDED AutomationRun_State = 1
	// The `AutomationRun` was cancelled.
	AutomationRun_CANCELLED AutomationRun_State = 2
	// The `AutomationRun` has failed.
	AutomationRun_FAILED AutomationRun_State = 3
	// The `AutomationRun` is in progress.
	AutomationRun_IN_PROGRESS AutomationRun_State = 4
	// The `AutomationRun` is pending.
	AutomationRun_PENDING AutomationRun_State = 5
	// The `AutomationRun` was aborted.
	AutomationRun_ABORTED AutomationRun_State = 6
)

func (AutomationRun_State) Descriptor added in v1.15.0

func (AutomationRun_State) Enum added in v1.15.0

func (AutomationRun_State) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use AutomationRun_State.Descriptor instead.

func (AutomationRun_State) Number added in v1.15.0

func (AutomationRun_State) String added in v1.15.0

func (x AutomationRun_State) String() string

func (AutomationRun_State) Type added in v1.15.0

type BackoffMode added in v1.15.0

type BackoffMode int32

The pattern of how wait time is increased.

const (
	// No WaitMode is specified.
	BackoffMode_BACKOFF_MODE_UNSPECIFIED BackoffMode = 0
	// Increases the wait time linearly.
	BackoffMode_BACKOFF_MODE_LINEAR BackoffMode = 1
	// Increases the wait time exponentially.
	BackoffMode_BACKOFF_MODE_EXPONENTIAL BackoffMode = 2
)

func (BackoffMode) Descriptor added in v1.15.0

func (BackoffMode) Enum added in v1.15.0

func (x BackoffMode) Enum() *BackoffMode

func (BackoffMode) EnumDescriptor deprecated added in v1.15.0

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

Deprecated: Use BackoffMode.Descriptor instead.

func (BackoffMode) Number added in v1.15.0

func (x BackoffMode) Number() protoreflect.EnumNumber

func (BackoffMode) String added in v1.15.0

func (x BackoffMode) String() string

func (BackoffMode) Type added in v1.15.0

type BuildArtifact

type BuildArtifact struct {

	// Image name in Skaffold configuration.
	Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
	// Image tag to use. This will generally be the full path to an image, such
	// as "gcr.io/my-project/busybox:1.2.3" or
	// "gcr.io/my-project/busybox@sha256:abc123".
	Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
	// contains filtered or unexported fields
}

Description of an a image to use during Skaffold rendering.

func (*BuildArtifact) Descriptor deprecated

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

Deprecated: Use BuildArtifact.ProtoReflect.Descriptor instead.

func (*BuildArtifact) GetImage

func (x *BuildArtifact) GetImage() string

func (*BuildArtifact) GetTag

func (x *BuildArtifact) GetTag() string

func (*BuildArtifact) ProtoMessage

func (*BuildArtifact) ProtoMessage()

func (*BuildArtifact) ProtoReflect

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

func (*BuildArtifact) Reset

func (x *BuildArtifact) Reset()

func (*BuildArtifact) String

func (x *BuildArtifact) String() string

type Canary added in v1.8.0

type Canary struct {

	// Optional. Runtime specific configurations for the deployment strategy. The
	// runtime configuration is used to determine how Cloud Deploy will split
	// traffic to enable a progressive deployment.
	RuntimeConfig *RuntimeConfig `protobuf:"bytes,1,opt,name=runtime_config,json=runtimeConfig,proto3" json:"runtime_config,omitempty"`
	// The mode to use for the canary deployment strategy.
	//
	// Types that are assignable to Mode:
	//
	//	*Canary_CanaryDeployment
	//	*Canary_CustomCanaryDeployment
	Mode isCanary_Mode `protobuf_oneof:"mode"`
	// contains filtered or unexported fields
}

Canary represents the canary deployment strategy.

func (*Canary) Descriptor deprecated added in v1.8.0

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

Deprecated: Use Canary.ProtoReflect.Descriptor instead.

func (*Canary) GetCanaryDeployment added in v1.8.0

func (x *Canary) GetCanaryDeployment() *CanaryDeployment

func (*Canary) GetCustomCanaryDeployment added in v1.8.0

func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeployment

func (*Canary) GetMode added in v1.8.0

func (m *Canary) GetMode() isCanary_Mode

func (*Canary) GetRuntimeConfig added in v1.8.0

func (x *Canary) GetRuntimeConfig() *RuntimeConfig

func (*Canary) ProtoMessage added in v1.8.0

func (*Canary) ProtoMessage()

func (*Canary) ProtoReflect added in v1.8.0

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

func (*Canary) Reset added in v1.8.0

func (x *Canary) Reset()

func (*Canary) String added in v1.8.0

func (x *Canary) String() string

type CanaryDeployment added in v1.8.0

type CanaryDeployment struct {

	// Required. The percentage based deployments that will occur as a part of a
	// `Rollout`. List is expected in ascending order and each integer n is
	// 0 <= n < 100.
	// If the GatewayServiceMesh is configured for Kubernetes, then the range for
	// n is 0 <= n <= 100.
	Percentages []int32 `protobuf:"varint,1,rep,packed,name=percentages,proto3" json:"percentages,omitempty"`
	// Whether to run verify tests after each percentage deployment.
	Verify bool `protobuf:"varint,2,opt,name=verify,proto3" json:"verify,omitempty"`
	// Optional. Configuration for the predeploy job of the first phase. If this
	// is not configured, there will be no predeploy job for this phase.
	Predeploy *Predeploy `protobuf:"bytes,3,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
	// Optional. Configuration for the postdeploy job of the last phase. If this
	// is not configured, there will be no postdeploy job for this phase.
	Postdeploy *Postdeploy `protobuf:"bytes,4,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
	// contains filtered or unexported fields
}

CanaryDeployment represents the canary deployment configuration

func (*CanaryDeployment) Descriptor deprecated added in v1.8.0

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

Deprecated: Use CanaryDeployment.ProtoReflect.Descriptor instead.

func (*CanaryDeployment) GetPercentages added in v1.8.0

func (x *CanaryDeployment) GetPercentages() []int32

func (*CanaryDeployment) GetPostdeploy added in v1.13.0

func (x *CanaryDeployment) GetPostdeploy() *Postdeploy

func (*CanaryDeployment) GetPredeploy