Constants
CloudDeploy_ListDeliveryPipelines_FullMethodName, CloudDeploy_GetDeliveryPipeline_FullMethodName, CloudDeploy_CreateDeliveryPipeline_FullMethodName, CloudDeploy_UpdateDeliveryPipeline_FullMethodName, CloudDeploy_DeleteDeliveryPipeline_FullMethodName, CloudDeploy_ListTargets_FullMethodName, CloudDeploy_RollbackTarget_FullMethodName, CloudDeploy_GetTarget_FullMethodName, CloudDeploy_CreateTarget_FullMethodName, CloudDeploy_UpdateTarget_FullMethodName, CloudDeploy_DeleteTarget_FullMethodName, CloudDeploy_ListCustomTargetTypes_FullMethodName, CloudDeploy_GetCustomTargetType_FullMethodName, CloudDeploy_CreateCustomTargetType_FullMethodName, CloudDeploy_UpdateCustomTargetType_FullMethodName, CloudDeploy_DeleteCustomTargetType_FullMethodName, CloudDeploy_ListReleases_FullMethodName, CloudDeploy_GetRelease_FullMethodName, CloudDeploy_CreateRelease_FullMethodName, CloudDeploy_AbandonRelease_FullMethodName, CloudDeploy_CreateDeployPolicy_FullMethodName, CloudDeploy_UpdateDeployPolicy_FullMethodName, CloudDeploy_DeleteDeployPolicy_FullMethodName, CloudDeploy_ListDeployPolicies_FullMethodName, CloudDeploy_GetDeployPolicy_FullMethodName, CloudDeploy_ApproveRollout_FullMethodName, CloudDeploy_AdvanceRollout_FullMethodName, CloudDeploy_CancelRollout_FullMethodName, CloudDeploy_ListRollouts_FullMethodName, CloudDeploy_GetRollout_FullMethodName, CloudDeploy_CreateRollout_FullMethodName, CloudDeploy_IgnoreJob_FullMethodName, CloudDeploy_RetryJob_FullMethodName, CloudDeploy_ListJobRuns_FullMethodName, CloudDeploy_GetJobRun_FullMethodName, CloudDeploy_TerminateJobRun_FullMethodName, CloudDeploy_GetConfig_FullMethodName, CloudDeploy_CreateAutomation_FullMethodName, CloudDeploy_UpdateAutomation_FullMethodName, CloudDeploy_DeleteAutomation_FullMethodName, CloudDeploy_GetAutomation_FullMethodName, CloudDeploy_ListAutomations_FullMethodName, CloudDeploy_GetAutomationRun_FullMethodName, CloudDeploy_ListAutomationRuns_FullMethodName, CloudDeploy_CancelAutomationRun_FullMethodName
const (
CloudDeploy_ListDeliveryPipelines_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListDeliveryPipelines"
CloudDeploy_GetDeliveryPipeline_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetDeliveryPipeline"
CloudDeploy_CreateDeliveryPipeline_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateDeliveryPipeline"
CloudDeploy_UpdateDeliveryPipeline_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/UpdateDeliveryPipeline"
CloudDeploy_DeleteDeliveryPipeline_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/DeleteDeliveryPipeline"
CloudDeploy_ListTargets_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListTargets"
CloudDeploy_RollbackTarget_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/RollbackTarget"
CloudDeploy_GetTarget_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetTarget"
CloudDeploy_CreateTarget_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateTarget"
CloudDeploy_UpdateTarget_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/UpdateTarget"
CloudDeploy_DeleteTarget_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/DeleteTarget"
CloudDeploy_ListCustomTargetTypes_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListCustomTargetTypes"
CloudDeploy_GetCustomTargetType_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetCustomTargetType"
CloudDeploy_CreateCustomTargetType_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateCustomTargetType"
CloudDeploy_UpdateCustomTargetType_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/UpdateCustomTargetType"
CloudDeploy_DeleteCustomTargetType_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/DeleteCustomTargetType"
CloudDeploy_ListReleases_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListReleases"
CloudDeploy_GetRelease_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetRelease"
CloudDeploy_CreateRelease_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateRelease"
CloudDeploy_AbandonRelease_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/AbandonRelease"
CloudDeploy_CreateDeployPolicy_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateDeployPolicy"
CloudDeploy_UpdateDeployPolicy_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/UpdateDeployPolicy"
CloudDeploy_DeleteDeployPolicy_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/DeleteDeployPolicy"
CloudDeploy_ListDeployPolicies_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListDeployPolicies"
CloudDeploy_GetDeployPolicy_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetDeployPolicy"
CloudDeploy_ApproveRollout_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ApproveRollout"
CloudDeploy_AdvanceRollout_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/AdvanceRollout"
CloudDeploy_CancelRollout_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CancelRollout"
CloudDeploy_ListRollouts_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListRollouts"
CloudDeploy_GetRollout_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetRollout"
CloudDeploy_CreateRollout_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateRollout"
CloudDeploy_IgnoreJob_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/IgnoreJob"
CloudDeploy_RetryJob_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/RetryJob"
CloudDeploy_ListJobRuns_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListJobRuns"
CloudDeploy_GetJobRun_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetJobRun"
CloudDeploy_TerminateJobRun_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/TerminateJobRun"
CloudDeploy_GetConfig_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetConfig"
CloudDeploy_CreateAutomation_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CreateAutomation"
CloudDeploy_UpdateAutomation_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/UpdateAutomation"
CloudDeploy_DeleteAutomation_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/DeleteAutomation"
CloudDeploy_GetAutomation_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetAutomation"
CloudDeploy_ListAutomations_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListAutomations"
CloudDeploy_GetAutomationRun_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/GetAutomationRun"
CloudDeploy_ListAutomationRuns_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/ListAutomationRuns"
CloudDeploy_CancelAutomationRun_FullMethodName = "/google.cloud.deploy.v1.CloudDeploy/CancelAutomationRun"
)Variables
SkaffoldSupportState_name, SkaffoldSupportState_value
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.
BackoffMode_name, BackoffMode_value
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.
RepairState_name, RepairState_value
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.
ExecutionConfig_ExecutionEnvironmentUsage_name, ExecutionConfig_ExecutionEnvironmentUsage_value
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.
DeployPolicy_Invoker_name, DeployPolicy_Invoker_value
var (
DeployPolicy_Invoker_name = map[int32]string{
0: "INVOKER_UNSPECIFIED",
1: "USER",
2: "DEPLOY_AUTOMATION",
}
DeployPolicy_Invoker_value = map[string]int32{
"INVOKER_UNSPECIFIED": 0,
"USER": 1,
"DEPLOY_AUTOMATION": 2,
}
)Enum value maps for DeployPolicy_Invoker.
RolloutRestriction_RolloutActions_name, RolloutRestriction_RolloutActions_value
var (
RolloutRestriction_RolloutActions_name = map[int32]string{
0: "ROLLOUT_ACTIONS_UNSPECIFIED",
1: "ADVANCE",
2: "APPROVE",
3: "CANCEL",
4: "CREATE",
5: "IGNORE_JOB",
6: "RETRY_JOB",
7: "ROLLBACK",
8: "TERMINATE_JOBRUN",
}
RolloutRestriction_RolloutActions_value = map[string]int32{
"ROLLOUT_ACTIONS_UNSPECIFIED": 0,
"ADVANCE": 1,
"APPROVE": 2,
"CANCEL": 3,
"CREATE": 4,
"IGNORE_JOB": 5,
"RETRY_JOB": 6,
"ROLLBACK": 7,
"TERMINATE_JOBRUN": 8,
}
)Enum value maps for RolloutRestriction_RolloutActions.
Release_RenderState_name, Release_RenderState_value
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.
Release_TargetRender_TargetRenderState_name, Release_TargetRender_TargetRenderState_value
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.
Release_TargetRender_FailureCause_name, Release_TargetRender_FailureCause_value
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.
Rollout_ApprovalState_name, Rollout_ApprovalState_value
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.
Rollout_State_name, Rollout_State_value
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.
Rollout_FailureCause_name, Rollout_FailureCause_value
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.
Phase_State_name, Phase_State_value
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.
Job_State_name, Job_State_value
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.
JobRun_State_name, JobRun_State_value
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.
DeployJobRun_FailureCause_name, DeployJobRun_FailureCause_value
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.
VerifyJobRun_FailureCause_name, VerifyJobRun_FailureCause_value
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.
PredeployJobRun_FailureCause_name, PredeployJobRun_FailureCause_value
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.
PostdeployJobRun_FailureCause_name, PostdeployJobRun_FailureCause_value
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.
AutomationRun_State_name, AutomationRun_State_value
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.
DeployPolicyEvaluationEvent_PolicyVerdict_name, DeployPolicyEvaluationEvent_PolicyVerdict_value
var (
DeployPolicyEvaluationEvent_PolicyVerdict_name = map[int32]string{
0: "POLICY_VERDICT_UNSPECIFIED",
1: "ALLOWED_BY_POLICY",
2: "DENIED_BY_POLICY",
}
DeployPolicyEvaluationEvent_PolicyVerdict_value = map[string]int32{
"POLICY_VERDICT_UNSPECIFIED": 0,
"ALLOWED_BY_POLICY": 1,
"DENIED_BY_POLICY": 2,
}
)Enum value maps for DeployPolicyEvaluationEvent_PolicyVerdict.
DeployPolicyEvaluationEvent_PolicyVerdictOverride_name, DeployPolicyEvaluationEvent_PolicyVerdictOverride_value
var (
DeployPolicyEvaluationEvent_PolicyVerdictOverride_name = map[int32]string{
0: "POLICY_VERDICT_OVERRIDE_UNSPECIFIED",
1: "POLICY_OVERRIDDEN",
2: "POLICY_SUSPENDED",
}
DeployPolicyEvaluationEvent_PolicyVerdictOverride_value = map[string]int32{
"POLICY_VERDICT_OVERRIDE_UNSPECIFIED": 0,
"POLICY_OVERRIDDEN": 1,
"POLICY_SUSPENDED": 2,
}
)Enum value maps for DeployPolicyEvaluationEvent_PolicyVerdictOverride.
Type_name, Type_value
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",
8: "TYPE_DEPLOY_POLICY_EVALUATION",
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_DEPLOY_POLICY_EVALUATION": 8,
"TYPE_RENDER_STATUES_CHANGE": 2,
}
)Enum value maps for Type.
RolloutUpdateEvent_RolloutUpdateType_name, RolloutUpdateEvent_RolloutUpdateType_value
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.
CloudDeploy_ServiceDesc
var CloudDeploy_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.deploy.v1.CloudDeploy",
HandlerType: (*CloudDeployServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListDeliveryPipelines",
Handler: _CloudDeploy_ListDeliveryPipelines_Handler,
},
{
MethodName: "GetDeliveryPipeline",
Handler: _CloudDeploy_GetDeliveryPipeline_Handler,
},
{
MethodName: "CreateDeliveryPipeline",
Handler: _CloudDeploy_CreateDeliveryPipeline_Handler,
},
{
MethodName: "UpdateDeliveryPipeline",
Handler: _CloudDeploy_UpdateDeliveryPipeline_Handler,
},
{
MethodName: "DeleteDeliveryPipeline",
Handler: _CloudDeploy_DeleteDeliveryPipeline_Handler,
},
{
MethodName: "ListTargets",
Handler: _CloudDeploy_ListTargets_Handler,
},
{
MethodName: "RollbackTarget",
Handler: _CloudDeploy_RollbackTarget_Handler,
},
{
MethodName: "GetTarget",
Handler: _CloudDeploy_GetTarget_Handler,
},
{
MethodName: "CreateTarget",
Handler: _CloudDeploy_CreateTarget_Handler,
},
{
MethodName: "UpdateTarget",
Handler: _CloudDeploy_UpdateTarget_Handler,
},
{
MethodName: "DeleteTarget",
Handler: _CloudDeploy_DeleteTarget_Handler,
},
{
MethodName: "ListCustomTargetTypes",
Handler: _CloudDeploy_ListCustomTargetTypes_Handler,
},
{
MethodName: "GetCustomTargetType",
Handler: _CloudDeploy_GetCustomTargetType_Handler,
},
{
MethodName: "CreateCustomTargetType",
Handler: _CloudDeploy_CreateCustomTargetType_Handler,
},
{
MethodName: "UpdateCustomTargetType",
Handler: _CloudDeploy_UpdateCustomTargetType_Handler,
},
{
MethodName: "DeleteCustomTargetType",
Handler: _CloudDeploy_DeleteCustomTargetType_Handler,
},
{
MethodName: "ListReleases",
Handler: _CloudDeploy_ListReleases_Handler,
},
{
MethodName: "GetRelease",
Handler: _CloudDeploy_GetRelease_Handler,
},
{
MethodName: "CreateRelease",
Handler: _CloudDeploy_CreateRelease_Handler,
},
{
MethodName: "AbandonRelease",
Handler: _CloudDeploy_AbandonRelease_Handler,
},
{
MethodName: "CreateDeployPolicy",
Handler: _CloudDeploy_CreateDeployPolicy_Handler,
},
{
MethodName: "UpdateDeployPolicy",
Handler: _CloudDeploy_UpdateDeployPolicy_Handler,
},
{
MethodName: "DeleteDeployPolicy",
Handler: _CloudDeploy_DeleteDeployPolicy_Handler,
},
{
MethodName: "ListDeployPolicies",
Handler: _CloudDeploy_ListDeployPolicies_Handler,
},
{
MethodName: "GetDeployPolicy",
Handler: _CloudDeploy_GetDeployPolicy_Handler,
},
{
MethodName: "ApproveRollout",
Handler: _CloudDeploy_ApproveRollout_Handler,
},
{
MethodName: "AdvanceRollout",
Handler: _CloudDeploy_AdvanceRollout_Handler,
},
{
MethodName: "CancelRollout",
Handler: _CloudDeploy_CancelRollout_Handler,
},
{
MethodName: "ListRollouts",
Handler: _CloudDeploy_ListRollouts_Handler,
},
{
MethodName: "GetRollout",
Handler: _CloudDeploy_GetRollout_Handler,
},
{
MethodName: "CreateRollout",
Handler: _CloudDeploy_CreateRollout_Handler,
},
{
MethodName: "IgnoreJob",
Handler: _CloudDeploy_IgnoreJob_Handler,
},
{
MethodName: "RetryJob",
Handler: _CloudDeploy_RetryJob_Handler,
},
{
MethodName: "ListJobRuns",
Handler: _CloudDeploy_ListJobRuns_Handler,
},
{
MethodName: "GetJobRun",
Handler: _CloudDeploy_GetJobRun_Handler,
},
{
MethodName: "TerminateJobRun",
Handler: _CloudDeploy_TerminateJobRun_Handler,
},
{
MethodName: "GetConfig",
Handler: _CloudDeploy_GetConfig_Handler,
},
{
MethodName: "CreateAutomation",
Handler: _CloudDeploy_CreateAutomation_Handler,
},
{
MethodName: "UpdateAutomation",
Handler: _CloudDeploy_UpdateAutomation_Handler,
},
{
MethodName: "DeleteAutomation",
Handler: _CloudDeploy_DeleteAutomation_Handler,
},
{
MethodName: "GetAutomation",
Handler: _CloudDeploy_GetAutomation_Handler,
},
{
MethodName: "ListAutomations",
Handler: _CloudDeploy_ListAutomations_Handler,
},
{
MethodName: "GetAutomationRun",
Handler: _CloudDeploy_GetAutomationRun_Handler,
},
{
MethodName: "ListAutomationRuns",
Handler: _CloudDeploy_ListAutomationRuns_Handler,
},
{
MethodName: "CancelAutomationRun",
Handler: _CloudDeploy_CancelAutomationRun_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/deploy/v1/cloud_deploy.proto",
}CloudDeploy_ServiceDesc is the grpc.ServiceDesc for CloudDeploy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_deploy_v1_automation_payload_proto
var File_google_cloud_deploy_v1_automation_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_automationrun_payload_proto
var File_google_cloud_deploy_v1_automationrun_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_cloud_deploy_proto
var File_google_cloud_deploy_v1_cloud_deploy_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_customtargettype_notification_payload_proto
var File_google_cloud_deploy_v1_customtargettype_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_deliverypipeline_notification_payload_proto
var File_google_cloud_deploy_v1_deliverypipeline_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_deploypolicy_evaluation_payload_proto
var File_google_cloud_deploy_v1_deploypolicy_evaluation_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_deploypolicy_notification_payload_proto
var File_google_cloud_deploy_v1_deploypolicy_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_jobrun_notification_payload_proto
var File_google_cloud_deploy_v1_jobrun_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_log_enums_proto
var File_google_cloud_deploy_v1_log_enums_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_release_notification_payload_proto
var File_google_cloud_deploy_v1_release_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_release_render_payload_proto
var File_google_cloud_deploy_v1_release_render_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_rollout_notification_payload_proto
var File_google_cloud_deploy_v1_rollout_notification_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_rollout_update_payload_proto
var File_google_cloud_deploy_v1_rollout_update_payload_proto protoreflect.FileDescriptorFile_google_cloud_deploy_v1_target_notification_payload_proto
var File_google_cloud_deploy_v1_target_notification_payload_proto protoreflect.FileDescriptorFunctions
func RegisterCloudDeployServer
func RegisterCloudDeployServer(s grpc.ServiceRegistrar, srv CloudDeployServer)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
func (*AbandonReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use AbandonReleaseRequest.ProtoReflect.Descriptor instead.
func (*AbandonReleaseRequest) GetName
func (x *AbandonReleaseRequest) GetName() stringfunc (*AbandonReleaseRequest) ProtoMessage
func (*AbandonReleaseRequest) ProtoMessage()func (*AbandonReleaseRequest) ProtoReflect
func (x *AbandonReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*AbandonReleaseRequest) Reset
func (x *AbandonReleaseRequest) Reset()func (*AbandonReleaseRequest) String
func (x *AbandonReleaseRequest) String() stringAbandonReleaseResponse
type AbandonReleaseResponse struct {
// contains filtered or unexported fields
}The response object for AbandonRelease.
func (*AbandonReleaseResponse) Descriptor
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.Messagefunc (*AbandonReleaseResponse) Reset
func (x *AbandonReleaseResponse) Reset()func (*AbandonReleaseResponse) String
func (x *AbandonReleaseResponse) String() stringAdvanceChildRolloutJob
type AdvanceChildRolloutJob struct {
// contains filtered or unexported fields
}An advanceChildRollout Job.
func (*AdvanceChildRolloutJob) Descriptor
func (*AdvanceChildRolloutJob) Descriptor() ([]byte, []int)Deprecated: Use AdvanceChildRolloutJob.ProtoReflect.Descriptor instead.
func (*AdvanceChildRolloutJob) ProtoMessage
func (*AdvanceChildRolloutJob) ProtoMessage()func (*AdvanceChildRolloutJob) ProtoReflect
func (x *AdvanceChildRolloutJob) ProtoReflect() protoreflect.Messagefunc (*AdvanceChildRolloutJob) Reset
func (x *AdvanceChildRolloutJob) Reset()func (*AdvanceChildRolloutJob) String
func (x *AdvanceChildRolloutJob) String() stringAdvanceChildRolloutJobRun
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
func (*AdvanceChildRolloutJobRun) Descriptor() ([]byte, []int)Deprecated: Use AdvanceChildRolloutJobRun.ProtoReflect.Descriptor instead.
func (*AdvanceChildRolloutJobRun) GetRollout
func (x *AdvanceChildRolloutJobRun) GetRollout() stringfunc (*AdvanceChildRolloutJobRun) GetRolloutPhaseId
func (x *AdvanceChildRolloutJobRun) GetRolloutPhaseId() stringfunc (*AdvanceChildRolloutJobRun) ProtoMessage
func (*AdvanceChildRolloutJobRun) ProtoMessage()func (*AdvanceChildRolloutJobRun) ProtoReflect
func (x *AdvanceChildRolloutJobRun) ProtoReflect() protoreflect.Messagefunc (*AdvanceChildRolloutJobRun) Reset
func (x *AdvanceChildRolloutJobRun) Reset()func (*AdvanceChildRolloutJobRun) String
func (x *AdvanceChildRolloutJobRun) String() stringAdvanceRolloutOperation
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
func (*AdvanceRolloutOperation) Descriptor() ([]byte, []int)Deprecated: Use AdvanceRolloutOperation.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutOperation) GetDestinationPhase
func (x *AdvanceRolloutOperation) GetDestinationPhase() stringfunc (*AdvanceRolloutOperation) GetRollout
func (x *AdvanceRolloutOperation) GetRollout() stringfunc (*AdvanceRolloutOperation) GetSourcePhase
func (x *AdvanceRolloutOperation) GetSourcePhase() stringfunc (*AdvanceRolloutOperation) GetWait
func (x *AdvanceRolloutOperation) GetWait() *durationpb.Durationfunc (*AdvanceRolloutOperation) ProtoMessage
func (*AdvanceRolloutOperation) ProtoMessage()func (*AdvanceRolloutOperation) ProtoReflect
func (x *AdvanceRolloutOperation) ProtoReflect() protoreflect.Messagefunc (*AdvanceRolloutOperation) Reset
func (x *AdvanceRolloutOperation) Reset()func (*AdvanceRolloutOperation) String
func (x *AdvanceRolloutOperation) String() stringAdvanceRolloutRequest
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"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,3,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object used by AdvanceRollout.
func (*AdvanceRolloutRequest) Descriptor
func (*AdvanceRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use AdvanceRolloutRequest.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutRequest) GetName
func (x *AdvanceRolloutRequest) GetName() stringfunc (*AdvanceRolloutRequest) GetOverrideDeployPolicy
func (x *AdvanceRolloutRequest) GetOverrideDeployPolicy() []stringfunc (*AdvanceRolloutRequest) GetPhaseId
func (x *AdvanceRolloutRequest) GetPhaseId() stringfunc (*AdvanceRolloutRequest) ProtoMessage
func (*AdvanceRolloutRequest) ProtoMessage()func (*AdvanceRolloutRequest) ProtoReflect
func (x *AdvanceRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*AdvanceRolloutRequest) Reset
func (x *AdvanceRolloutRequest) Reset()func (*AdvanceRolloutRequest) String
func (x *AdvanceRolloutRequest) String() stringAdvanceRolloutResponse
type AdvanceRolloutResponse struct {
// contains filtered or unexported fields
}The response object from AdvanceRollout.
func (*AdvanceRolloutResponse) Descriptor
func (*AdvanceRolloutResponse) Descriptor() ([]byte, []int)Deprecated: Use AdvanceRolloutResponse.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutResponse) ProtoMessage
func (*AdvanceRolloutResponse) ProtoMessage()func (*AdvanceRolloutResponse) ProtoReflect
func (x *AdvanceRolloutResponse) ProtoReflect() protoreflect.Messagefunc (*AdvanceRolloutResponse) Reset
func (x *AdvanceRolloutResponse) Reset()func (*AdvanceRolloutResponse) String
func (x *AdvanceRolloutResponse) String() stringAdvanceRolloutRule
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
func (*AdvanceRolloutRule) Descriptor() ([]byte, []int)Deprecated: Use AdvanceRolloutRule.ProtoReflect.Descriptor instead.
func (*AdvanceRolloutRule) GetCondition
func (x *AdvanceRolloutRule) GetCondition() *AutomationRuleConditionfunc (*AdvanceRolloutRule) GetId
func (x *AdvanceRolloutRule) GetId() stringfunc (*AdvanceRolloutRule) GetSourcePhases
func (x *AdvanceRolloutRule) GetSourcePhases() []stringfunc (*AdvanceRolloutRule) GetWait
func (x *AdvanceRolloutRule) GetWait() *durationpb.Durationfunc (*AdvanceRolloutRule) ProtoMessage
func (*AdvanceRolloutRule) ProtoMessage()func (*AdvanceRolloutRule) ProtoReflect
func (x *AdvanceRolloutRule) ProtoReflect() protoreflect.Messagefunc (*AdvanceRolloutRule) Reset
func (x *AdvanceRolloutRule) Reset()func (*AdvanceRolloutRule) String
func (x *AdvanceRolloutRule) String() stringAnthosCluster
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
func (*AnthosCluster) Descriptor() ([]byte, []int)Deprecated: Use AnthosCluster.ProtoReflect.Descriptor instead.
func (*AnthosCluster) GetMembership
func (x *AnthosCluster) GetMembership() stringfunc (*AnthosCluster) ProtoMessage
func (*AnthosCluster) ProtoMessage()func (*AnthosCluster) ProtoReflect
func (x *AnthosCluster) ProtoReflect() protoreflect.Messagefunc (*AnthosCluster) Reset
func (x *AnthosCluster) Reset()func (*AnthosCluster) String
func (x *AnthosCluster) String() stringApproveRolloutRequest
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"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,3,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object used by ApproveRollout.
func (*ApproveRolloutRequest) Descriptor
func (*ApproveRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use ApproveRolloutRequest.ProtoReflect.Descriptor instead.
func (*ApproveRolloutRequest) GetApproved
func (x *ApproveRolloutRequest) GetApproved() boolfunc (*ApproveRolloutRequest) GetName
func (x *ApproveRolloutRequest) GetName() stringfunc (*ApproveRolloutRequest) GetOverrideDeployPolicy
func (x *ApproveRolloutRequest) GetOverrideDeployPolicy() []stringfunc (*ApproveRolloutRequest) ProtoMessage
func (*ApproveRolloutRequest) ProtoMessage()func (*ApproveRolloutRequest) ProtoReflect
func (x *ApproveRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*ApproveRolloutRequest) Reset
func (x *ApproveRolloutRequest) Reset()func (*ApproveRolloutRequest) String
func (x *ApproveRolloutRequest) String() stringApproveRolloutResponse
type ApproveRolloutResponse struct {
// contains filtered or unexported fields
}The response object from ApproveRollout.
func (*ApproveRolloutResponse) Descriptor
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.Messagefunc (*ApproveRolloutResponse) Reset
func (x *ApproveRolloutResponse) Reset()func (*ApproveRolloutResponse) String
func (x *ApproveRolloutResponse) String() stringAssociatedEntities
type AssociatedEntities struct {
// Optional. Information specifying GKE clusters as associated entities.
GkeClusters []*GkeCluster `protobuf:"bytes,2,rep,name=gke_clusters,json=gkeClusters,proto3" json:"gke_clusters,omitempty"`
// Optional. Information specifying Anthos clusters as associated entities.
AnthosClusters []*AnthosCluster `protobuf:"bytes,3,rep,name=anthos_clusters,json=anthosClusters,proto3" json:"anthos_clusters,omitempty"`
// contains filtered or unexported fields
}Information about entities associated with a Target.
func (*AssociatedEntities) Descriptor
func (*AssociatedEntities) Descriptor() ([]byte, []int)Deprecated: Use AssociatedEntities.ProtoReflect.Descriptor instead.
func (*AssociatedEntities) GetAnthosClusters
func (x *AssociatedEntities) GetAnthosClusters() []*AnthosClusterfunc (*AssociatedEntities) GetGkeClusters
func (x *AssociatedEntities) GetGkeClusters() []*GkeClusterfunc (*AssociatedEntities) ProtoMessage
func (*AssociatedEntities) ProtoMessage()func (*AssociatedEntities) ProtoReflect
func (x *AssociatedEntities) ProtoReflect() protoreflect.Messagefunc (*AssociatedEntities) Reset
func (x *AssociatedEntities) Reset()func (*AssociatedEntities) String
func (x *AssociatedEntities) String() stringAutomation
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 `protobuf:"bytes,6,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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="">string]string `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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
func (*Automation) Descriptor() ([]byte, []int)Deprecated: Use Automation.ProtoReflect.Descriptor instead.
func (*Automation) GetAnnotations
func (x *Automation) GetAnnotations() map[string]stringfunc (*Automation) GetCreateTime
func (x *Automation) GetCreateTime() *timestamppb.Timestampfunc (*Automation) GetDescription
func (x *Automation) GetDescription() stringfunc (*Automation) GetEtag
func (x *Automation) GetEtag() stringfunc (*Automation) GetLabels
func (x *Automation) GetLabels() map[string]stringfunc (*Automation) GetName
func (x *Automation) GetName() stringfunc (*Automation) GetRules
func (x *Automation) GetRules() []*AutomationRulefunc (*Automation) GetSelector
func (x *Automation) GetSelector() *AutomationResourceSelectorfunc (*Automation) GetServiceAccount
func (x *Automation) GetServiceAccount() stringfunc (*Automation) GetSuspended
func (x *Automation) GetSuspended() boolfunc (*Automation) GetUid
func (x *Automation) GetUid() stringfunc (*Automation) GetUpdateTime
func (x *Automation) GetUpdateTime() *timestamppb.Timestampfunc (*Automation) ProtoMessage
func (*Automation) ProtoMessage()func (*Automation) ProtoReflect
func (x *Automation) ProtoReflect() protoreflect.Messagefunc (*Automation) Reset
func (x *Automation) Reset()func (*Automation) String
func (x *Automation) String() stringAutomationEvent
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
func (*AutomationEvent) Descriptor() ([]byte, []int)Deprecated: Use AutomationEvent.ProtoReflect.Descriptor instead.
func (*AutomationEvent) GetAutomation
func (x *AutomationEvent) GetAutomation() stringfunc (*AutomationEvent) GetMessage
func (x *AutomationEvent) GetMessage() stringfunc (*AutomationEvent) GetPipelineUid
func (x *AutomationEvent) GetPipelineUid() stringfunc (*AutomationEvent) GetType
func (x *AutomationEvent) GetType() Typefunc (*AutomationEvent) ProtoMessage
func (*AutomationEvent) ProtoMessage()func (*AutomationEvent) ProtoReflect
func (x *AutomationEvent) ProtoReflect() protoreflect.Messagefunc (*AutomationEvent) Reset
func (x *AutomationEvent) Reset()func (*AutomationEvent) String
func (x *AutomationEvent) String() stringAutomationResourceSelector
type AutomationResourceSelector struct {
// Optional. 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
func (*AutomationResourceSelector) Descriptor() ([]byte, []int)Deprecated: Use AutomationResourceSelector.ProtoReflect.Descriptor instead.
func (*AutomationResourceSelector) GetTargets
func (x *AutomationResourceSelector) GetTargets() []*TargetAttributefunc (*AutomationResourceSelector) ProtoMessage
func (*AutomationResourceSelector) ProtoMessage()func (*AutomationResourceSelector) ProtoReflect
func (x *AutomationResourceSelector) ProtoReflect() protoreflect.Messagefunc (*AutomationResourceSelector) Reset
func (x *AutomationResourceSelector) Reset()func (*AutomationResourceSelector) String
func (x *AutomationResourceSelector) String() stringAutomationRolloutMetadata
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 `protobuf:"bytes,2,rep,name=advance_automation_runs,json=advanceAutomationRuns,proto3" json:"advance_automation_runs,omitempty"`
// 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
func (*AutomationRolloutMetadata) Descriptor() ([]byte, []int)Deprecated: Use AutomationRolloutMetadata.ProtoReflect.Descriptor instead.
func (*AutomationRolloutMetadata) GetAdvanceAutomationRuns
func (x *AutomationRolloutMetadata) GetAdvanceAutomationRuns() []stringfunc (*AutomationRolloutMetadata) GetPromoteAutomationRun
func (x *AutomationRolloutMetadata) GetPromoteAutomationRun() stringfunc (*AutomationRolloutMetadata) GetRepairAutomationRuns
func (x *AutomationRolloutMetadata) GetRepairAutomationRuns() []stringfunc (*AutomationRolloutMetadata) ProtoMessage
func (*AutomationRolloutMetadata) ProtoMessage()func (*AutomationRolloutMetadata) ProtoReflect
func (x *AutomationRolloutMetadata) ProtoReflect() protoreflect.Messagefunc (*AutomationRolloutMetadata) Reset
func (x *AutomationRolloutMetadata) Reset()func (*AutomationRolloutMetadata) String
func (x *AutomationRolloutMetadata) String() stringAutomationRule
type AutomationRule struct {
// The configuration of the Automation rule.
//
// Types that are assignable to Rule:
//
// *AutomationRule_PromoteReleaseRule
// *AutomationRule_AdvanceRolloutRule
// *AutomationRule_RepairRolloutRule
// *AutomationRule_TimedPromoteReleaseRule
Rule isAutomationRule_Rule `protobuf_oneof:"rule"`
// contains filtered or unexported fields
}AutomationRule defines the automation activities.
func (*AutomationRule) Descriptor
func (*AutomationRule) Descriptor() ([]byte, []int)Deprecated: Use AutomationRule.ProtoReflect.Descriptor instead.
func (*AutomationRule) GetAdvanceRolloutRule
func (x *AutomationRule) GetAdvanceRolloutRule() *AdvanceRolloutRulefunc (*AutomationRule) GetPromoteReleaseRule
func (x *AutomationRule) GetPromoteReleaseRule() *PromoteReleaseRulefunc (*AutomationRule) GetRepairRolloutRule
func (x *AutomationRule) GetRepairRolloutRule() *RepairRolloutRulefunc (*AutomationRule) GetRule
func (m *AutomationRule) GetRule() isAutomationRule_Rulefunc (*AutomationRule) GetTimedPromoteReleaseRule
func (x *AutomationRule) GetTimedPromoteReleaseRule() *TimedPromoteReleaseRulefunc (*AutomationRule) ProtoMessage
func (*AutomationRule) ProtoMessage()func (*AutomationRule) ProtoReflect
func (x *AutomationRule) ProtoReflect() protoreflect.Messagefunc (*AutomationRule) Reset
func (x *AutomationRule) Reset()func (*AutomationRule) String
func (x *AutomationRule) String() stringAutomationRuleCondition
type AutomationRuleCondition struct {
// Optional. Details around targets enumerated in the rule.
TargetsPresentCondition *TargetsPresentCondition `protobuf:"bytes,1,opt,name=targets_present_condition,json=targetsPresentCondition,proto3" json:"targets_present_condition,omitempty"`
// Details specific to the automation rule type.
//
// Types that are assignable to RuleTypeCondition:
//
// *AutomationRuleCondition_TimedPromoteReleaseCondition
RuleTypeCondition isAutomationRuleCondition_RuleTypeCondition `protobuf_oneof:"rule_type_condition"`
// contains filtered or unexported fields
}AutomationRuleCondition contains conditions relevant to an
Automation rule.
func (*AutomationRuleCondition) Descriptor
func (*AutomationRuleCondition) Descriptor() ([]byte, []int)Deprecated: Use AutomationRuleCondition.ProtoReflect.Descriptor instead.
func (*AutomationRuleCondition) GetRuleTypeCondition
func (m *AutomationRuleCondition) GetRuleTypeCondition() isAutomationRuleCondition_RuleTypeConditionfunc (*AutomationRuleCondition) GetTargetsPresentCondition
func (x *AutomationRuleCondition) GetTargetsPresentCondition() *TargetsPresentConditionfunc (*AutomationRuleCondition) GetTimedPromoteReleaseCondition
func (x *AutomationRuleCondition) GetTimedPromoteReleaseCondition() *TimedPromoteReleaseConditionfunc (*AutomationRuleCondition) ProtoMessage
func (*AutomationRuleCondition) ProtoMessage()func (*AutomationRuleCondition) ProtoReflect
func (x *AutomationRuleCondition) ProtoReflect() protoreflect.Messagefunc (*AutomationRuleCondition) Reset
func (x *AutomationRuleCondition) Reset()func (*AutomationRuleCondition) String
func (x *AutomationRuleCondition) String() stringAutomationRuleCondition_TimedPromoteReleaseCondition
type AutomationRuleCondition_TimedPromoteReleaseCondition struct {
// Optional. TimedPromoteReleaseCondition contains rule conditions specific
// to a an Automation with a timed promote release rule defined.
TimedPromoteReleaseCondition *TimedPromoteReleaseCondition `protobuf:"bytes,2,opt,name=timed_promote_release_condition,json=timedPromoteReleaseCondition,proto3,oneof"`
}AutomationRule_AdvanceRolloutRule
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"`
}AutomationRule_PromoteReleaseRule
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"`
}AutomationRule_RepairRolloutRule
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"`
}AutomationRule_TimedPromoteReleaseRule
type AutomationRule_TimedPromoteReleaseRule struct {
// Optional. The `TimedPromoteReleaseRule` will automatically promote a
// release from the current target(s) to the specified target(s) on a
// configured schedule.
TimedPromoteReleaseRule *TimedPromoteReleaseRule `protobuf:"bytes,4,opt,name=timed_promote_release_rule,json=timedPromoteReleaseRule,proto3,oneof"`
}AutomationRun
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 source target 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. Contains information about what policies prevented the
// `AutomationRun` from proceeding.
PolicyViolation *PolicyViolation `protobuf:"bytes,10,opt,name=policy_violation,json=policyViolation,proto3" json:"policy_violation,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
// *AutomationRun_TimedPromoteReleaseOperation
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
func (*AutomationRun) Descriptor() ([]byte, []int)Deprecated: Use AutomationRun.ProtoReflect.Descriptor instead.
func (*AutomationRun) GetAdvanceRolloutOperation
func (x *AutomationRun) GetAdvanceRolloutOperation() *AdvanceRolloutOperationfunc (*AutomationRun) GetAutomationId
func (x *AutomationRun) GetAutomationId() stringfunc (*AutomationRun) GetAutomationSnapshot
func (x *AutomationRun) GetAutomationSnapshot() *Automationfunc (*AutomationRun) GetCreateTime
func (x *AutomationRun) GetCreateTime() *timestamppb.Timestampfunc (*AutomationRun) GetEtag
func (x *AutomationRun) GetEtag() stringfunc (*AutomationRun) GetExpireTime
func (x *AutomationRun) GetExpireTime() *timestamppb.Timestampfunc (*AutomationRun) GetName
func (x *AutomationRun) GetName() stringfunc (*AutomationRun) GetOperation
func (m *AutomationRun) GetOperation() isAutomationRun_Operationfunc (*AutomationRun) GetPolicyViolation
func (x *AutomationRun) GetPolicyViolation() *PolicyViolationfunc (*AutomationRun) GetPromoteReleaseOperation
func (x *AutomationRun) GetPromoteReleaseOperation() *PromoteReleaseOperationfunc (*AutomationRun) GetRepairRolloutOperation
func (x *AutomationRun) GetRepairRolloutOperation() *RepairRolloutOperationfunc (*AutomationRun) GetRuleId
func (x *AutomationRun) GetRuleId() stringfunc (*AutomationRun) GetServiceAccount
func (x *AutomationRun) GetServiceAccount() stringfunc (*AutomationRun) GetState
func (x *AutomationRun) GetState() AutomationRun_Statefunc (*AutomationRun) GetStateDescription
func (x *AutomationRun) GetStateDescription() stringfunc (*AutomationRun) GetTargetId
func (x *AutomationRun) GetTargetId() stringfunc (*AutomationRun) GetTimedPromoteReleaseOperation
func (x *AutomationRun) GetTimedPromoteReleaseOperation() *TimedPromoteReleaseOperationfunc (*AutomationRun) GetUpdateTime
func (x *AutomationRun) GetUpdateTime() *timestamppb.Timestampfunc (*AutomationRun) GetWaitUntilTime
func (x *AutomationRun) GetWaitUntilTime() *timestamppb.Timestampfunc (*AutomationRun) ProtoMessage
func (*AutomationRun) ProtoMessage()func (*AutomationRun) ProtoReflect
func (x *AutomationRun) ProtoReflect() protoreflect.Messagefunc (*AutomationRun) Reset
func (x *AutomationRun) Reset()func (*AutomationRun) String
func (x *AutomationRun) String() stringAutomationRunEvent
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
func (*AutomationRunEvent) Descriptor() ([]byte, []int)Deprecated: Use AutomationRunEvent.ProtoReflect.Descriptor instead.
func (*AutomationRunEvent) GetAutomationId
func (x *AutomationRunEvent) GetAutomationId() stringfunc (*AutomationRunEvent) GetAutomationRun
func (x *AutomationRunEvent) GetAutomationRun() stringfunc (*AutomationRunEvent) GetDestinationTargetId
func (x *AutomationRunEvent) GetDestinationTargetId() stringfunc (*AutomationRunEvent) GetMessage
func (x *AutomationRunEvent) GetMessage() stringfunc (*AutomationRunEvent) GetPipelineUid
func (x *AutomationRunEvent) GetPipelineUid() stringfunc (*AutomationRunEvent) GetRuleId
func (x *AutomationRunEvent) GetRuleId() stringfunc (*AutomationRunEvent) GetType
func (x *AutomationRunEvent) GetType() Typefunc (*AutomationRunEvent) ProtoMessage
func (*AutomationRunEvent) ProtoMessage()func (*AutomationRunEvent) ProtoReflect
func (x *AutomationRunEvent) ProtoReflect() protoreflect.Messagefunc (*AutomationRunEvent) Reset
func (x *AutomationRunEvent) Reset()func (*AutomationRunEvent) String
func (x *AutomationRunEvent) String() stringAutomationRun_AdvanceRolloutOperation
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"`
}AutomationRun_PromoteReleaseOperation
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"`
}AutomationRun_RepairRolloutOperation
type AutomationRun_RepairRolloutOperation struct {
// Output only. Repairs a failed 'Rollout'.
RepairRolloutOperation *RepairRolloutOperation `protobuf:"bytes,17,opt,name=repair_rollout_operation,json=repairRolloutOperation,proto3,oneof"`
}AutomationRun_State
type AutomationRun_State int32Valid state of an AutomationRun.
AutomationRun_STATE_UNSPECIFIED, AutomationRun_SUCCEEDED, AutomationRun_CANCELLED, AutomationRun_FAILED, AutomationRun_IN_PROGRESS, AutomationRun_PENDING, AutomationRun_ABORTED
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
func (AutomationRun_State) Descriptor() protoreflect.EnumDescriptorfunc (AutomationRun_State) Enum
func (x AutomationRun_State) Enum() *AutomationRun_Statefunc (AutomationRun_State) EnumDescriptor
func (AutomationRun_State) EnumDescriptor() ([]byte, []int)Deprecated: Use AutomationRun_State.Descriptor instead.
func (AutomationRun_State) Number
func (x AutomationRun_State) Number() protoreflect.EnumNumberfunc (AutomationRun_State) String
func (x AutomationRun_State) String() stringfunc (AutomationRun_State) Type
func (AutomationRun_State) Type() protoreflect.EnumTypeAutomationRun_TimedPromoteReleaseOperation
type AutomationRun_TimedPromoteReleaseOperation struct {
// Output only. Promotes a release to a specified 'Target' as defined in a
// Timed Promote Release rule.
TimedPromoteReleaseOperation *TimedPromoteReleaseOperation `protobuf:"bytes,19,opt,name=timed_promote_release_operation,json=timedPromoteReleaseOperation,proto3,oneof"`
}BackoffMode
type BackoffMode int32The pattern of how wait time is increased.
BackoffMode_BACKOFF_MODE_UNSPECIFIED, BackoffMode_BACKOFF_MODE_LINEAR, BackoffMode_BACKOFF_MODE_EXPONENTIAL
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
func (BackoffMode) Descriptor() protoreflect.EnumDescriptorfunc (BackoffMode) Enum
func (x BackoffMode) Enum() *BackoffModefunc (BackoffMode) EnumDescriptor
func (BackoffMode) EnumDescriptor() ([]byte, []int)Deprecated: Use BackoffMode.Descriptor instead.
func (BackoffMode) Number
func (x BackoffMode) Number() protoreflect.EnumNumberfunc (BackoffMode) String
func (x BackoffMode) String() stringfunc (BackoffMode) Type
func (BackoffMode) Type() protoreflect.EnumTypeBuildArtifact
type BuildArtifact struct {
// Optional. Image name in Skaffold configuration.
Image string `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
// Optional. 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
func (*BuildArtifact) Descriptor() ([]byte, []int)Deprecated: Use BuildArtifact.ProtoReflect.Descriptor instead.
func (*BuildArtifact) GetImage
func (x *BuildArtifact) GetImage() stringfunc (*BuildArtifact) GetTag
func (x *BuildArtifact) GetTag() stringfunc (*BuildArtifact) ProtoMessage
func (*BuildArtifact) ProtoMessage()func (*BuildArtifact) ProtoReflect
func (x *BuildArtifact) ProtoReflect() protoreflect.Messagefunc (*BuildArtifact) Reset
func (x *BuildArtifact) Reset()func (*BuildArtifact) String
func (x *BuildArtifact) String() stringCanary
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: Use Canary.ProtoReflect.Descriptor instead.
func (*Canary) GetCanaryDeployment
func (x *Canary) GetCanaryDeployment() *CanaryDeploymentfunc (*Canary) GetCustomCanaryDeployment
func (x *Canary) GetCustomCanaryDeployment() *CustomCanaryDeploymentfunc (*Canary) GetMode
func (m *Canary) GetMode() isCanary_Modefunc (*Canary) GetRuntimeConfig
func (x *Canary) GetRuntimeConfig() *RuntimeConfigfunc (*Canary) ProtoMessage
func (*Canary) ProtoMessage()func (*Canary) ProtoReflect
func (x *Canary) ProtoReflect() protoreflect.Messagefunc (*Canary) Reset
func (x *Canary) Reset()func (*Canary) String
CanaryDeployment
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"`
// Optional. Whether to run verify tests after each percentage deployment via
// `skaffold verify`.
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
func (*CanaryDeployment) Descriptor() ([]byte, []int)Deprecated: Use CanaryDeployment.ProtoReflect.Descriptor instead.
func (*CanaryDeployment) GetPercentages
func (x *CanaryDeployment) GetPercentages() []int32func (*CanaryDeployment) GetPostdeploy
func (x *CanaryDeployment) GetPostdeploy() *Postdeployfunc (*CanaryDeployment) GetPredeploy
func (x *CanaryDeployment) GetPredeploy() *Predeployfunc (*CanaryDeployment) GetVerify
func (x *CanaryDeployment) GetVerify() boolfunc (*CanaryDeployment) ProtoMessage
func (*CanaryDeployment) ProtoMessage()func (*CanaryDeployment) ProtoReflect
func (x *CanaryDeployment) ProtoReflect() protoreflect.Messagefunc (*CanaryDeployment) Reset
func (x *CanaryDeployment) Reset()func (*CanaryDeployment) String
func (x *CanaryDeployment) String() stringCanary_CanaryDeployment
type Canary_CanaryDeployment struct {
// Optional. Configures the progressive based deployment for a Target.
CanaryDeployment *CanaryDeployment `protobuf:"bytes,2,opt,name=canary_deployment,json=canaryDeployment,proto3,oneof"`
}Canary_CustomCanaryDeployment
type Canary_CustomCanaryDeployment struct {
// Optional. Configures the progressive based deployment for a Target, but
// allows customizing at the phase level where a phase represents each of
// the percentage deployments.
CustomCanaryDeployment *CustomCanaryDeployment `protobuf:"bytes,3,opt,name=custom_canary_deployment,json=customCanaryDeployment,proto3,oneof"`
}CancelAutomationRunRequest
type CancelAutomationRunRequest struct {
// Required. 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"`
// contains filtered or unexported fields
}The request object used by CancelAutomationRun.
func (*CancelAutomationRunRequest) Descriptor
func (*CancelAutomationRunRequest) Descriptor() ([]byte, []int)Deprecated: Use CancelAutomationRunRequest.ProtoReflect.Descriptor instead.
func (*CancelAutomationRunRequest) GetName
func (x *CancelAutomationRunRequest) GetName() stringfunc (*CancelAutomationRunRequest) ProtoMessage
func (*CancelAutomationRunRequest) ProtoMessage()func (*CancelAutomationRunRequest) ProtoReflect
func (x *CancelAutomationRunRequest) ProtoReflect() protoreflect.Messagefunc (*CancelAutomationRunRequest) Reset
func (x *CancelAutomationRunRequest) Reset()func (*CancelAutomationRunRequest) String
func (x *CancelAutomationRunRequest) String() stringCancelAutomationRunResponse
type CancelAutomationRunResponse struct {
// contains filtered or unexported fields
}The response object from CancelAutomationRun.
func (*CancelAutomationRunResponse) Descriptor
func (*CancelAutomationRunResponse) Descriptor() ([]byte, []int)Deprecated: Use CancelAutomationRunResponse.ProtoReflect.Descriptor instead.
func (*CancelAutomationRunResponse) ProtoMessage
func (*CancelAutomationRunResponse) ProtoMessage()func (*CancelAutomationRunResponse) ProtoReflect
func (x *CancelAutomationRunResponse) ProtoReflect() protoreflect.Messagefunc (*CancelAutomationRunResponse) Reset
func (x *CancelAutomationRunResponse) Reset()func (*CancelAutomationRunResponse) String
func (x *CancelAutomationRunResponse) String() stringCancelRolloutRequest
type CancelRolloutRequest 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"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,2,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object used by CancelRollout.
func (*CancelRolloutRequest) Descriptor
func (*CancelRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use CancelRolloutRequest.ProtoReflect.Descriptor instead.
func (*CancelRolloutRequest) GetName
func (x *CancelRolloutRequest) GetName() stringfunc (*CancelRolloutRequest) GetOverrideDeployPolicy
func (x *CancelRolloutRequest) GetOverrideDeployPolicy() []stringfunc (*CancelRolloutRequest) ProtoMessage
func (*CancelRolloutRequest) ProtoMessage()func (*CancelRolloutRequest) ProtoReflect
func (x *CancelRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*CancelRolloutRequest) Reset
func (x *CancelRolloutRequest) Reset()func (*CancelRolloutRequest) String
func (x *CancelRolloutRequest) String() stringCancelRolloutResponse
type CancelRolloutResponse struct {
// contains filtered or unexported fields
}The response object from CancelRollout.
func (*CancelRolloutResponse) Descriptor
func (*CancelRolloutResponse) Descriptor() ([]byte, []int)Deprecated: Use CancelRolloutResponse.ProtoReflect.Descriptor instead.
func (*CancelRolloutResponse) ProtoMessage
func (*CancelRolloutResponse) ProtoMessage()func (*CancelRolloutResponse) ProtoReflect
func (x *CancelRolloutResponse) ProtoReflect() protoreflect.Messagefunc (*CancelRolloutResponse) Reset
func (x *CancelRolloutResponse) Reset()func (*CancelRolloutResponse) String
func (x *CancelRolloutResponse) String() stringChildRolloutJobs
type ChildRolloutJobs struct {
// Output only. List of CreateChildRolloutJobs
CreateRolloutJobs []*Job `protobuf:"bytes,1,rep,name=create_rollout_jobs,json=createRolloutJobs,proto3" json:"create_rollout_jobs,omitempty"`
// Output only. List of AdvanceChildRolloutJobs
AdvanceRolloutJobs []*Job `protobuf:"bytes,2,rep,name=advance_rollout_jobs,json=advanceRolloutJobs,proto3" json:"advance_rollout_jobs,omitempty"`
// contains filtered or unexported fields
}ChildRollouts job composition
func (*ChildRolloutJobs) Descriptor
func (*ChildRolloutJobs) Descriptor() ([]byte, []int)Deprecated: Use ChildRolloutJobs.ProtoReflect.Descriptor instead.
func (*ChildRolloutJobs) GetAdvanceRolloutJobs
func (x *ChildRolloutJobs) GetAdvanceRolloutJobs() []*Jobfunc (*ChildRolloutJobs) GetCreateRolloutJobs
func (x *ChildRolloutJobs) GetCreateRolloutJobs() []*Jobfunc (*ChildRolloutJobs) ProtoMessage
func (*ChildRolloutJobs) ProtoMessage()func (*ChildRolloutJobs) ProtoReflect
func (x *ChildRolloutJobs) ProtoReflect() protoreflect.Messagefunc (*ChildRolloutJobs) Reset
func (x *ChildRolloutJobs) Reset()func (*ChildRolloutJobs) String
func (x *ChildRolloutJobs) String() stringCloudDeployClient
type CloudDeployClient interface {
// Lists DeliveryPipelines in a given project and location.
ListDeliveryPipelines(ctx context.Context, in *ListDeliveryPipelinesRequest, opts ...grpc.CallOption) (*ListDeliveryPipelinesResponse, error)
// Gets details of a single DeliveryPipeline.
GetDeliveryPipeline(ctx context.Context, in *GetDeliveryPipelineRequest, opts ...grpc.CallOption) (*DeliveryPipeline, error)
// Creates a new DeliveryPipeline in a given project and location.
CreateDeliveryPipeline(ctx context.Context, in *CreateDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeliveryPipeline.
UpdateDeliveryPipeline(ctx context.Context, in *UpdateDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single DeliveryPipeline.
DeleteDeliveryPipeline(ctx context.Context, in *DeleteDeliveryPipelineRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Targets in a given project and location.
ListTargets(ctx context.Context, in *ListTargetsRequest, opts ...grpc.CallOption) (*ListTargetsResponse, error)
// Creates a `Rollout` to roll back the specified target.
RollbackTarget(ctx context.Context, in *RollbackTargetRequest, opts ...grpc.CallOption) (*RollbackTargetResponse, error)
// Gets details of a single Target.
GetTarget(ctx context.Context, in *GetTargetRequest, opts ...grpc.CallOption) (*Target, error)
// Creates a new Target in a given project and location.
CreateTarget(ctx context.Context, in *CreateTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Target.
UpdateTarget(ctx context.Context, in *UpdateTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Target.
DeleteTarget(ctx context.Context, in *DeleteTargetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists CustomTargetTypes in a given project and location.
ListCustomTargetTypes(ctx context.Context, in *ListCustomTargetTypesRequest, opts ...grpc.CallOption) (*ListCustomTargetTypesResponse, error)
// Gets details of a single CustomTargetType.
GetCustomTargetType(ctx context.Context, in *GetCustomTargetTypeRequest, opts ...grpc.CallOption) (*CustomTargetType, error)
// Creates a new CustomTargetType in a given project and location.
CreateCustomTargetType(ctx context.Context, in *CreateCustomTargetTypeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a single CustomTargetType.
UpdateCustomTargetType(ctx context.Context, in *UpdateCustomTargetTypeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single CustomTargetType.
DeleteCustomTargetType(ctx context.Context, in *DeleteCustomTargetTypeRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists Releases in a given project and location.
ListReleases(ctx context.Context, in *ListReleasesRequest, opts ...grpc.CallOption) (*ListReleasesResponse, error)
// Gets details of a single Release.
GetRelease(ctx context.Context, in *GetReleaseRequest, opts ...grpc.CallOption) (*Release, error)
// Creates a new Release in a given project and location.
CreateRelease(ctx context.Context, in *CreateReleaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Abandons a Release in the Delivery Pipeline.
AbandonRelease(ctx context.Context, in *AbandonReleaseRequest, opts ...grpc.CallOption) (*AbandonReleaseResponse, error)
// Creates a new DeployPolicy in a given project and location.
CreateDeployPolicy(ctx context.Context, in *CreateDeployPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeployPolicy.
UpdateDeployPolicy(ctx context.Context, in *UpdateDeployPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single DeployPolicy.
DeleteDeployPolicy(ctx context.Context, in *DeleteDeployPolicyRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists DeployPolicies in a given project and location.
ListDeployPolicies(ctx context.Context, in *ListDeployPoliciesRequest, opts ...grpc.CallOption) (*ListDeployPoliciesResponse, error)
// Gets details of a single DeployPolicy.
GetDeployPolicy(ctx context.Context, in *GetDeployPolicyRequest, opts ...grpc.CallOption) (*DeployPolicy, error)
// Approves a Rollout.
ApproveRollout(ctx context.Context, in *ApproveRolloutRequest, opts ...grpc.CallOption) (*ApproveRolloutResponse, error)
// Advances a Rollout in a given project and location.
AdvanceRollout(ctx context.Context, in *AdvanceRolloutRequest, opts ...grpc.CallOption) (*AdvanceRolloutResponse, error)
// Cancels a Rollout in a given project and location.
CancelRollout(ctx context.Context, in *CancelRolloutRequest, opts ...grpc.CallOption) (*CancelRolloutResponse, error)
// Lists Rollouts in a given project and location.
ListRollouts(ctx context.Context, in *ListRolloutsRequest, opts ...grpc.CallOption) (*ListRolloutsResponse, error)
// Gets details of a single Rollout.
GetRollout(ctx context.Context, in *GetRolloutRequest, opts ...grpc.CallOption) (*Rollout, error)
// Creates a new Rollout in a given project and location.
CreateRollout(ctx context.Context, in *CreateRolloutRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Ignores the specified Job in a Rollout.
IgnoreJob(ctx context.Context, in *IgnoreJobRequest, opts ...grpc.CallOption) (*IgnoreJobResponse, error)
// Retries the specified Job in a Rollout.
RetryJob(ctx context.Context, in *RetryJobRequest, opts ...grpc.CallOption) (*RetryJobResponse, error)
// Lists JobRuns in a given project and location.
ListJobRuns(ctx context.Context, in *ListJobRunsRequest, opts ...grpc.CallOption) (*ListJobRunsResponse, error)
// Gets details of a single JobRun.
GetJobRun(ctx context.Context, in *GetJobRunRequest, opts ...grpc.CallOption) (*JobRun, error)
// Terminates a Job Run in a given project and location.
TerminateJobRun(ctx context.Context, in *TerminateJobRunRequest, opts ...grpc.CallOption) (*TerminateJobRunResponse, error)
// Gets the configuration for a location.
GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*Config, error)
// Creates a new Automation in a given project and location.
CreateAutomation(ctx context.Context, in *CreateAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single Automation resource.
UpdateAutomation(ctx context.Context, in *UpdateAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single Automation resource.
DeleteAutomation(ctx context.Context, in *DeleteAutomationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets details of a single Automation.
GetAutomation(ctx context.Context, in *GetAutomationRequest, opts ...grpc.CallOption) (*Automation, error)
// Lists Automations in a given project and location.
ListAutomations(ctx context.Context, in *ListAutomationsRequest, opts ...grpc.CallOption) (*ListAutomationsResponse, error)
// Gets details of a single AutomationRun.
GetAutomationRun(ctx context.Context, in *GetAutomationRunRequest, opts ...grpc.CallOption) (*AutomationRun, error)
// Lists AutomationRuns in a given project and location.
ListAutomationRuns(ctx context.Context, in *ListAutomationRunsRequest, opts ...grpc.CallOption) (*ListAutomationRunsResponse, error)
// Cancels an AutomationRun. The `state` of the `AutomationRun` after
// cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
// AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
// in a different state returns an `FAILED_PRECONDITION` error.
CancelAutomationRun(ctx context.Context, in *CancelAutomationRunRequest, opts ...grpc.CallOption) (*CancelAutomationRunResponse, error)
}CloudDeployClient is the client API for CloudDeploy service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCloudDeployClient
func NewCloudDeployClient(cc grpc.ClientConnInterface) CloudDeployClientCloudDeployServer
type CloudDeployServer interface {
// Lists DeliveryPipelines in a given project and location.
ListDeliveryPipelines(context.Context, *ListDeliveryPipelinesRequest) (*ListDeliveryPipelinesResponse, error)
// Gets details of a single DeliveryPipeline.
GetDeliveryPipeline(context.Context, *GetDeliveryPipelineRequest) (*DeliveryPipeline, error)
// Creates a new DeliveryPipeline in a given project and location.
CreateDeliveryPipeline(context.Context, *CreateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeliveryPipeline.
UpdateDeliveryPipeline(context.Context, *UpdateDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Deletes a single DeliveryPipeline.
DeleteDeliveryPipeline(context.Context, *DeleteDeliveryPipelineRequest) (*longrunningpb.Operation, error)
// Lists Targets in a given project and location.
ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error)
// Creates a `Rollout` to roll back the specified target.
RollbackTarget(context.Context, *RollbackTargetRequest) (*RollbackTargetResponse, error)
// Gets details of a single Target.
GetTarget(context.Context, *GetTargetRequest) (*Target, error)
// Creates a new Target in a given project and location.
CreateTarget(context.Context, *CreateTargetRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Target.
UpdateTarget(context.Context, *UpdateTargetRequest) (*longrunningpb.Operation, error)
// Deletes a single Target.
DeleteTarget(context.Context, *DeleteTargetRequest) (*longrunningpb.Operation, error)
// Lists CustomTargetTypes in a given project and location.
ListCustomTargetTypes(context.Context, *ListCustomTargetTypesRequest) (*ListCustomTargetTypesResponse, error)
// Gets details of a single CustomTargetType.
GetCustomTargetType(context.Context, *GetCustomTargetTypeRequest) (*CustomTargetType, error)
// Creates a new CustomTargetType in a given project and location.
CreateCustomTargetType(context.Context, *CreateCustomTargetTypeRequest) (*longrunningpb.Operation, error)
// Updates a single CustomTargetType.
UpdateCustomTargetType(context.Context, *UpdateCustomTargetTypeRequest) (*longrunningpb.Operation, error)
// Deletes a single CustomTargetType.
DeleteCustomTargetType(context.Context, *DeleteCustomTargetTypeRequest) (*longrunningpb.Operation, error)
// Lists Releases in a given project and location.
ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)
// Gets details of a single Release.
GetRelease(context.Context, *GetReleaseRequest) (*Release, error)
// Creates a new Release in a given project and location.
CreateRelease(context.Context, *CreateReleaseRequest) (*longrunningpb.Operation, error)
// Abandons a Release in the Delivery Pipeline.
AbandonRelease(context.Context, *AbandonReleaseRequest) (*AbandonReleaseResponse, error)
// Creates a new DeployPolicy in a given project and location.
CreateDeployPolicy(context.Context, *CreateDeployPolicyRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single DeployPolicy.
UpdateDeployPolicy(context.Context, *UpdateDeployPolicyRequest) (*longrunningpb.Operation, error)
// Deletes a single DeployPolicy.
DeleteDeployPolicy(context.Context, *DeleteDeployPolicyRequest) (*longrunningpb.Operation, error)
// Lists DeployPolicies in a given project and location.
ListDeployPolicies(context.Context, *ListDeployPoliciesRequest) (*ListDeployPoliciesResponse, error)
// Gets details of a single DeployPolicy.
GetDeployPolicy(context.Context, *GetDeployPolicyRequest) (*DeployPolicy, error)
// Approves a Rollout.
ApproveRollout(context.Context, *ApproveRolloutRequest) (*ApproveRolloutResponse, error)
// Advances a Rollout in a given project and location.
AdvanceRollout(context.Context, *AdvanceRolloutRequest) (*AdvanceRolloutResponse, error)
// Cancels a Rollout in a given project and location.
CancelRollout(context.Context, *CancelRolloutRequest) (*CancelRolloutResponse, error)
// Lists Rollouts in a given project and location.
ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)
// Gets details of a single Rollout.
GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)
// Creates a new Rollout in a given project and location.
CreateRollout(context.Context, *CreateRolloutRequest) (*longrunningpb.Operation, error)
// Ignores the specified Job in a Rollout.
IgnoreJob(context.Context, *IgnoreJobRequest) (*IgnoreJobResponse, error)
// Retries the specified Job in a Rollout.
RetryJob(context.Context, *RetryJobRequest) (*RetryJobResponse, error)
// Lists JobRuns in a given project and location.
ListJobRuns(context.Context, *ListJobRunsRequest) (*ListJobRunsResponse, error)
// Gets details of a single JobRun.
GetJobRun(context.Context, *GetJobRunRequest) (*JobRun, error)
// Terminates a Job Run in a given project and location.
TerminateJobRun(context.Context, *TerminateJobRunRequest) (*TerminateJobRunResponse, error)
// Gets the configuration for a location.
GetConfig(context.Context, *GetConfigRequest) (*Config, error)
// Creates a new Automation in a given project and location.
CreateAutomation(context.Context, *CreateAutomationRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single Automation resource.
UpdateAutomation(context.Context, *UpdateAutomationRequest) (*longrunningpb.Operation, error)
// Deletes a single Automation resource.
DeleteAutomation(context.Context, *DeleteAutomationRequest) (*longrunningpb.Operation, error)
// Gets details of a single Automation.
GetAutomation(context.Context, *GetAutomationRequest) (*Automation, error)
// Lists Automations in a given project and location.
ListAutomations(context.Context, *ListAutomationsRequest) (*ListAutomationsResponse, error)
// Gets details of a single AutomationRun.
GetAutomationRun(context.Context, *GetAutomationRunRequest) (*AutomationRun, error)
// Lists AutomationRuns in a given project and location.
ListAutomationRuns(context.Context, *ListAutomationRunsRequest) (*ListAutomationRunsResponse, error)
// Cancels an AutomationRun. The `state` of the `AutomationRun` after
// cancelling is `CANCELLED`. `CancelAutomationRun` can be called on
// AutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun
// in a different state returns an `FAILED_PRECONDITION` error.
CancelAutomationRun(context.Context, *CancelAutomationRunRequest) (*CancelAutomationRunResponse, error)
}CloudDeployServer is the server API for CloudDeploy service. All implementations should embed UnimplementedCloudDeployServer for forward compatibility
CloudRunConfig
type CloudRunConfig struct {
// Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
// Run Service on the user's behalf to facilitate traffic splitting. This is
// required to be true for CanaryDeployments, but optional for
// CustomCanaryDeployments.
AutomaticTrafficControl bool `protobuf:"varint,1,opt,name=automatic_traffic_control,json=automaticTrafficControl,proto3" json:"automatic_traffic_control,omitempty"`
// Optional. A list of tags that are added to the canary revision while the
// canary phase is in progress.
CanaryRevisionTags []string `protobuf:"bytes,2,rep,name=canary_revision_tags,json=canaryRevisionTags,proto3" json:"canary_revision_tags,omitempty"`
// Optional. A list of tags that are added to the prior revision while the
// canary phase is in progress.
PriorRevisionTags []string `protobuf:"bytes,3,rep,name=prior_revision_tags,json=priorRevisionTags,proto3" json:"prior_revision_tags,omitempty"`
// Optional. A list of tags that are added to the final stable revision when
// the stable phase is applied.
StableRevisionTags []string `protobuf:"bytes,4,rep,name=stable_revision_tags,json=stableRevisionTags,proto3" json:"stable_revision_tags,omitempty"`
// contains filtered or unexported fields
}CloudRunConfig contains the Cloud Run runtime configuration.
func (*CloudRunConfig) Descriptor
func (*CloudRunConfig) Descriptor() ([]byte, []int)Deprecated: Use CloudRunConfig.ProtoReflect.Descriptor instead.
func (*CloudRunConfig) GetAutomaticTrafficControl
func (x *CloudRunConfig) GetAutomaticTrafficControl() boolfunc (*CloudRunConfig) GetCanaryRevisionTags
func (x *CloudRunConfig) GetCanaryRevisionTags() []stringfunc (*CloudRunConfig) GetPriorRevisionTags
func (x *CloudRunConfig) GetPriorRevisionTags() []stringfunc (*CloudRunConfig) GetStableRevisionTags
func (x *CloudRunConfig) GetStableRevisionTags() []stringfunc (*CloudRunConfig) ProtoMessage
func (*CloudRunConfig) ProtoMessage()func (*CloudRunConfig) ProtoReflect
func (x *CloudRunConfig) ProtoReflect() protoreflect.Messagefunc (*CloudRunConfig) Reset
func (x *CloudRunConfig) Reset()func (*CloudRunConfig) String
func (x *CloudRunConfig) String() stringCloudRunLocation
type CloudRunLocation struct {
// Required. The location for the Cloud Run Service. Format must be
// `projects/{project}/locations/{location}`.
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}Information specifying where to deploy a Cloud Run Service.
func (*CloudRunLocation) Descriptor
func (*CloudRunLocation) Descriptor() ([]byte, []int)Deprecated: Use CloudRunLocation.ProtoReflect.Descriptor instead.
func (*CloudRunLocation) GetLocation
func (x *CloudRunLocation) GetLocation() stringfunc (*CloudRunLocation) ProtoMessage
func (*CloudRunLocation) ProtoMessage()func (*CloudRunLocation) ProtoReflect
func (x *CloudRunLocation) ProtoReflect() protoreflect.Messagefunc (*CloudRunLocation) Reset
func (x *CloudRunLocation) Reset()func (*CloudRunLocation) String
func (x *CloudRunLocation) String() stringCloudRunMetadata
type CloudRunMetadata struct {
// Output only. The name of the Cloud Run Service that is associated with a
// `Rollout`. Format is
// `projects/{project}/locations/{location}/services/{service}`.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// Output only. The Cloud Run Service urls that are associated with a
// `Rollout`.
ServiceUrls []string `protobuf:"bytes,2,rep,name=service_urls,json=serviceUrls,proto3" json:"service_urls,omitempty"`
// Output only. The Cloud Run Revision id associated with a `Rollout`.
Revision string `protobuf:"bytes,3,opt,name=revision,proto3" json:"revision,omitempty"`
// Output only. The name of the Cloud Run job that is associated with a
// `Rollout`. Format is
// `projects/{project}/locations/{location}/jobs/{job_name}`.
Job string `protobuf:"bytes,4,opt,name=job,proto3" json:"job,omitempty"`
// contains filtered or unexported fields
}CloudRunMetadata contains information from a Cloud Run deployment.
func (*CloudRunMetadata) Descriptor
func (*CloudRunMetadata) Descriptor() ([]byte, []int)Deprecated: Use CloudRunMetadata.ProtoReflect.Descriptor instead.
func (*CloudRunMetadata) GetJob
func (x *CloudRunMetadata) GetJob() stringfunc (*CloudRunMetadata) GetRevision
func (x *CloudRunMetadata) GetRevision() stringfunc (*CloudRunMetadata) GetService
func (x *CloudRunMetadata) GetService() stringfunc (*CloudRunMetadata) GetServiceUrls
func (x *CloudRunMetadata) GetServiceUrls() []stringfunc (*CloudRunMetadata) ProtoMessage
func (*CloudRunMetadata) ProtoMessage()func (*CloudRunMetadata) ProtoReflect
func (x *CloudRunMetadata) ProtoReflect() protoreflect.Messagefunc (*CloudRunMetadata) Reset
func (x *CloudRunMetadata) Reset()func (*CloudRunMetadata) String
func (x *CloudRunMetadata) String() stringCloudRunRenderMetadata
type CloudRunRenderMetadata struct {
// Output only. The name of the Cloud Run Service in the rendered manifest.
// Format is `projects/{project}/locations/{location}/services/{service}`.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// contains filtered or unexported fields
}CloudRunRenderMetadata contains Cloud Run information associated with a
Release render.
func (*CloudRunRenderMetadata) Descriptor
func (*CloudRunRenderMetadata) Descriptor() ([]byte, []int)Deprecated: Use CloudRunRenderMetadata.ProtoReflect.Descriptor instead.
func (*CloudRunRenderMetadata) GetService
func (x *CloudRunRenderMetadata) GetService() stringfunc (*CloudRunRenderMetadata) ProtoMessage
func (*CloudRunRenderMetadata) ProtoMessage()func (*CloudRunRenderMetadata) ProtoReflect
func (x *CloudRunRenderMetadata) ProtoReflect() protoreflect.Messagefunc (*CloudRunRenderMetadata) Reset
func (x *CloudRunRenderMetadata) Reset()func (*CloudRunRenderMetadata) String
func (x *CloudRunRenderMetadata) String() stringConfig
type Config struct {
// Name of the configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// All supported versions of Skaffold.
SupportedVersions []*SkaffoldVersion `protobuf:"bytes,2,rep,name=supported_versions,json=supportedVersions,proto3" json:"supported_versions,omitempty"`
// Default Skaffold version that is assigned when a Release is created without
// specifying a Skaffold version.
DefaultSkaffoldVersion string `protobuf:"bytes,3,opt,name=default_skaffold_version,json=defaultSkaffoldVersion,proto3" json:"default_skaffold_version,omitempty"`
// contains filtered or unexported fields
}Service-wide configuration.
func (*Config) Descriptor
Deprecated: Use Config.ProtoReflect.Descriptor instead.
func (*Config) GetDefaultSkaffoldVersion
func (*Config) GetName
func (*Config) GetSupportedVersions
func (x *Config) GetSupportedVersions() []*SkaffoldVersionfunc (*Config) ProtoMessage
func (*Config) ProtoMessage()func (*Config) ProtoReflect
func (x *Config) ProtoReflect() protoreflect.Messagefunc (*Config) Reset
func (x *Config) Reset()func (*Config) String
CreateAutomationRequest
type CreateAutomationRequest struct {
// Required. The parent collection in which the `Automation` must be created.
// The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Automation`.
AutomationId string `protobuf:"bytes,2,opt,name=automation_id,json=automationId,proto3" json:"automation_id,omitempty"`
// Required. The `Automation` to create.
Automation *Automation `protobuf:"bytes,3,opt,name=automation,proto3" json:"automation,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for CreateAutomation.
func (*CreateAutomationRequest) Descriptor
func (*CreateAutomationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateAutomationRequest.ProtoReflect.Descriptor instead.
func (*CreateAutomationRequest) GetAutomation
func (x *CreateAutomationRequest) GetAutomation() *Automationfunc (*CreateAutomationRequest) GetAutomationId
func (x *CreateAutomationRequest) GetAutomationId() stringfunc (*CreateAutomationRequest) GetParent
func (x *CreateAutomationRequest) GetParent() stringfunc (*CreateAutomationRequest) GetRequestId
func (x *CreateAutomationRequest) GetRequestId() stringfunc (*CreateAutomationRequest) GetValidateOnly
func (x *CreateAutomationRequest) GetValidateOnly() boolfunc (*CreateAutomationRequest) ProtoMessage
func (*CreateAutomationRequest) ProtoMessage()func (*CreateAutomationRequest) ProtoReflect
func (x *CreateAutomationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateAutomationRequest) Reset
func (x *CreateAutomationRequest) Reset()func (*CreateAutomationRequest) String
func (x *CreateAutomationRequest) String() stringCreateChildRolloutJob
type CreateChildRolloutJob struct {
// contains filtered or unexported fields
}A createChildRollout Job.
func (*CreateChildRolloutJob) Descriptor
func (*CreateChildRolloutJob) Descriptor() ([]byte, []int)Deprecated: Use CreateChildRolloutJob.ProtoReflect.Descriptor instead.
func (*CreateChildRolloutJob) ProtoMessage
func (*CreateChildRolloutJob) ProtoMessage()func (*CreateChildRolloutJob) ProtoReflect
func (x *CreateChildRolloutJob) ProtoReflect() protoreflect.Messagefunc (*CreateChildRolloutJob) Reset
func (x *CreateChildRolloutJob) Reset()func (*CreateChildRolloutJob) String
func (x *CreateChildRolloutJob) String() stringCreateChildRolloutJobRun
type CreateChildRolloutJobRun 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 Phase initiated by this JobRun.
RolloutPhaseId string `protobuf:"bytes,2,opt,name=rollout_phase_id,json=rolloutPhaseId,proto3" json:"rollout_phase_id,omitempty"`
// contains filtered or unexported fields
}CreateChildRolloutJobRun contains information specific to a
createChildRollout JobRun.
func (*CreateChildRolloutJobRun) Descriptor
func (*CreateChildRolloutJobRun) Descriptor() ([]byte, []int)Deprecated: Use CreateChildRolloutJobRun.ProtoReflect.Descriptor instead.
func (*CreateChildRolloutJobRun) GetRollout
func (x *CreateChildRolloutJobRun) GetRollout() stringfunc (*CreateChildRolloutJobRun) GetRolloutPhaseId
func (x *CreateChildRolloutJobRun) GetRolloutPhaseId() stringfunc (*CreateChildRolloutJobRun) ProtoMessage
func (*CreateChildRolloutJobRun) ProtoMessage()func (*CreateChildRolloutJobRun) ProtoReflect
func (x *CreateChildRolloutJobRun) ProtoReflect() protoreflect.Messagefunc (*CreateChildRolloutJobRun) Reset
func (x *CreateChildRolloutJobRun) Reset()func (*CreateChildRolloutJobRun) String
func (x *CreateChildRolloutJobRun) String() stringCreateCustomTargetTypeRequest
type CreateCustomTargetTypeRequest struct {
// Required. The parent collection in which the `CustomTargetType` must be
// created. The format is `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `CustomTargetType`.
CustomTargetTypeId string `protobuf:"bytes,2,opt,name=custom_target_type_id,json=customTargetTypeId,proto3" json:"custom_target_type_id,omitempty"`
// Required. The `CustomTargetType` to create.
CustomTargetType *CustomTargetType `protobuf:"bytes,3,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for CreateCustomTargetType.
func (*CreateCustomTargetTypeRequest) Descriptor
func (*CreateCustomTargetTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*CreateCustomTargetTypeRequest) GetCustomTargetType
func (x *CreateCustomTargetTypeRequest) GetCustomTargetType() *CustomTargetTypefunc (*CreateCustomTargetTypeRequest) GetCustomTargetTypeId
func (x *CreateCustomTargetTypeRequest) GetCustomTargetTypeId() stringfunc (*CreateCustomTargetTypeRequest) GetParent
func (x *CreateCustomTargetTypeRequest) GetParent() stringfunc (*CreateCustomTargetTypeRequest) GetRequestId
func (x *CreateCustomTargetTypeRequest) GetRequestId() stringfunc (*CreateCustomTargetTypeRequest) GetValidateOnly
func (x *CreateCustomTargetTypeRequest) GetValidateOnly() boolfunc (*CreateCustomTargetTypeRequest) ProtoMessage
func (*CreateCustomTargetTypeRequest) ProtoMessage()func (*CreateCustomTargetTypeRequest) ProtoReflect
func (x *CreateCustomTargetTypeRequest) ProtoReflect() protoreflect.Messagefunc (*CreateCustomTargetTypeRequest) Reset
func (x *CreateCustomTargetTypeRequest) Reset()func (*CreateCustomTargetTypeRequest) String
func (x *CreateCustomTargetTypeRequest) String() stringCreateDeliveryPipelineRequest
type CreateDeliveryPipelineRequest struct {
// Required. The parent collection in which the `DeliveryPipeline` must be
// created. The format is `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `DeliveryPipeline`.
DeliveryPipelineId string `protobuf:"bytes,2,opt,name=delivery_pipeline_id,json=deliveryPipelineId,proto3" json:"delivery_pipeline_id,omitempty"`
// Required. The `DeliveryPipeline` to create.
DeliveryPipeline *DeliveryPipeline `protobuf:"bytes,3,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for CreateDeliveryPipeline.
func (*CreateDeliveryPipelineRequest) Descriptor
func (*CreateDeliveryPipelineRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*CreateDeliveryPipelineRequest) GetDeliveryPipeline
func (x *CreateDeliveryPipelineRequest) GetDeliveryPipeline() *DeliveryPipelinefunc (*CreateDeliveryPipelineRequest) GetDeliveryPipelineId
func (x *CreateDeliveryPipelineRequest) GetDeliveryPipelineId() stringfunc (*CreateDeliveryPipelineRequest) GetParent
func (x *CreateDeliveryPipelineRequest) GetParent() stringfunc (*CreateDeliveryPipelineRequest) GetRequestId
func (x *CreateDeliveryPipelineRequest) GetRequestId() stringfunc (*CreateDeliveryPipelineRequest) GetValidateOnly
func (x *CreateDeliveryPipelineRequest) GetValidateOnly() boolfunc (*CreateDeliveryPipelineRequest) ProtoMessage
func (*CreateDeliveryPipelineRequest) ProtoMessage()func (*CreateDeliveryPipelineRequest) ProtoReflect
func (x *CreateDeliveryPipelineRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDeliveryPipelineRequest) Reset
func (x *CreateDeliveryPipelineRequest) Reset()func (*CreateDeliveryPipelineRequest) String
func (x *CreateDeliveryPipelineRequest) String() stringCreateDeployPolicyRequest
type CreateDeployPolicyRequest struct {
// Required. The parent collection in which the `DeployPolicy` must be
// created. The format is `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `DeployPolicy`.
DeployPolicyId string `protobuf:"bytes,2,opt,name=deploy_policy_id,json=deployPolicyId,proto3" json:"deploy_policy_id,omitempty"`
// Required. The `DeployPolicy` to create.
DeployPolicy *DeployPolicy `protobuf:"bytes,3,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for CreateDeployPolicy.
func (*CreateDeployPolicyRequest) Descriptor
func (*CreateDeployPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDeployPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateDeployPolicyRequest) GetDeployPolicy
func (x *CreateDeployPolicyRequest) GetDeployPolicy() *DeployPolicyfunc (*CreateDeployPolicyRequest) GetDeployPolicyId
func (x *CreateDeployPolicyRequest) GetDeployPolicyId() stringfunc (*CreateDeployPolicyRequest) GetParent
func (x *CreateDeployPolicyRequest) GetParent() stringfunc (*CreateDeployPolicyRequest) GetRequestId
func (x *CreateDeployPolicyRequest) GetRequestId() stringfunc (*CreateDeployPolicyRequest) GetValidateOnly
func (x *CreateDeployPolicyRequest) GetValidateOnly() boolfunc (*CreateDeployPolicyRequest) ProtoMessage
func (*CreateDeployPolicyRequest) ProtoMessage()func (*CreateDeployPolicyRequest) ProtoReflect
func (x *CreateDeployPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDeployPolicyRequest) Reset
func (x *CreateDeployPolicyRequest) Reset()func (*CreateDeployPolicyRequest) String
func (x *CreateDeployPolicyRequest) String() stringCreateReleaseRequest
type CreateReleaseRequest struct {
// Required. The parent collection in which the `Release` is created.
// The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Release`.
ReleaseId string `protobuf:"bytes,2,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
// Required. The `Release` to create.
Release *Release `protobuf:"bytes,3,opt,name=release,proto3" json:"release,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,6,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object for CreateRelease,
func (*CreateReleaseRequest) Descriptor
func (*CreateReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateReleaseRequest.ProtoReflect.Descriptor instead.
func (*CreateReleaseRequest) GetOverrideDeployPolicy
func (x *CreateReleaseRequest) GetOverrideDeployPolicy() []stringfunc (*CreateReleaseRequest) GetParent
func (x *CreateReleaseRequest) GetParent() stringfunc (*CreateReleaseRequest) GetRelease
func (x *CreateReleaseRequest) GetRelease() *Releasefunc (*CreateReleaseRequest) GetReleaseId
func (x *CreateReleaseRequest) GetReleaseId() stringfunc (*CreateReleaseRequest) GetRequestId
func (x *CreateReleaseRequest) GetRequestId() stringfunc (*CreateReleaseRequest) GetValidateOnly
func (x *CreateReleaseRequest) GetValidateOnly() boolfunc (*CreateReleaseRequest) ProtoMessage
func (*CreateReleaseRequest) ProtoMessage()func (*CreateReleaseRequest) ProtoReflect
func (x *CreateReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*CreateReleaseRequest) Reset
func (x *CreateReleaseRequest) Reset()func (*CreateReleaseRequest) String
func (x *CreateReleaseRequest) String() stringCreateRolloutRequest
type CreateRolloutRequest struct {
// Required. The parent collection in which the `Rollout` must be created.
// The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Rollout`.
RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Required. The `Rollout` to create.
Rollout *Rollout `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,6,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// Optional. The starting phase ID for the `Rollout`. If empty the `Rollout`
// will start at the first phase.
StartingPhaseId string `protobuf:"bytes,7,opt,name=starting_phase_id,json=startingPhaseId,proto3" json:"starting_phase_id,omitempty"`
// contains filtered or unexported fields
}CreateRolloutRequest is the request object used by CreateRollout.
func (*CreateRolloutRequest) Descriptor
func (*CreateRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateRolloutRequest.ProtoReflect.Descriptor instead.
func (*CreateRolloutRequest) GetOverrideDeployPolicy
func (x *CreateRolloutRequest) GetOverrideDeployPolicy() []stringfunc (*CreateRolloutRequest) GetParent
func (x *CreateRolloutRequest) GetParent() stringfunc (*CreateRolloutRequest) GetRequestId
func (x *CreateRolloutRequest) GetRequestId() stringfunc (*CreateRolloutRequest) GetRollout
func (x *CreateRolloutRequest) GetRollout() *Rolloutfunc (*CreateRolloutRequest) GetRolloutId
func (x *CreateRolloutRequest) GetRolloutId() stringfunc (*CreateRolloutRequest) GetStartingPhaseId
func (x *CreateRolloutRequest) GetStartingPhaseId() stringfunc (*CreateRolloutRequest) GetValidateOnly
func (x *CreateRolloutRequest) GetValidateOnly() boolfunc (*CreateRolloutRequest) ProtoMessage
func (*CreateRolloutRequest) ProtoMessage()func (*CreateRolloutRequest) ProtoReflect
func (x *CreateRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*CreateRolloutRequest) Reset
func (x *CreateRolloutRequest) Reset()func (*CreateRolloutRequest) String
func (x *CreateRolloutRequest) String() stringCreateTargetRequest
type CreateTargetRequest struct {
// Required. The parent collection in which the `Target` must be created.
// The format is
// `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the `Target`.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Required. The `Target` to create.
Target *Target `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for CreateTarget.
func (*CreateTargetRequest) Descriptor
func (*CreateTargetRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateTargetRequest.ProtoReflect.Descriptor instead.
func (*CreateTargetRequest) GetParent
func (x *CreateTargetRequest) GetParent() stringfunc (*CreateTargetRequest) GetRequestId
func (x *CreateTargetRequest) GetRequestId() stringfunc (*CreateTargetRequest) GetTarget
func (x *CreateTargetRequest) GetTarget() *Targetfunc (*CreateTargetRequest) GetTargetId
func (x *CreateTargetRequest) GetTargetId() stringfunc (*CreateTargetRequest) GetValidateOnly
func (x *CreateTargetRequest) GetValidateOnly() boolfunc (*CreateTargetRequest) ProtoMessage
func (*CreateTargetRequest) ProtoMessage()func (*CreateTargetRequest) ProtoReflect
func (x *CreateTargetRequest) ProtoReflect() protoreflect.Messagefunc (*CreateTargetRequest) Reset
func (x *CreateTargetRequest) Reset()func (*CreateTargetRequest) String
func (x *CreateTargetRequest) String() stringCustomCanaryDeployment
type CustomCanaryDeployment struct {
// Required. Configuration for each phase in the canary deployment in the
// order executed.
PhaseConfigs []*CustomCanaryDeployment_PhaseConfig `protobuf:"bytes,1,rep,name=phase_configs,json=phaseConfigs,proto3" json:"phase_configs,omitempty"`
// contains filtered or unexported fields
}CustomCanaryDeployment represents the custom canary deployment configuration.
func (*CustomCanaryDeployment) Descriptor
func (*CustomCanaryDeployment) Descriptor() ([]byte, []int)Deprecated: Use CustomCanaryDeployment.ProtoReflect.Descriptor instead.
func (*CustomCanaryDeployment) GetPhaseConfigs
func (x *CustomCanaryDeployment) GetPhaseConfigs() []*CustomCanaryDeployment_PhaseConfigfunc (*CustomCanaryDeployment) ProtoMessage
func (*CustomCanaryDeployment) ProtoMessage()func (*CustomCanaryDeployment) ProtoReflect
func (x *CustomCanaryDeployment) ProtoReflect() protoreflect.Messagefunc (*CustomCanaryDeployment) Reset
func (x *CustomCanaryDeployment) Reset()func (*CustomCanaryDeployment) String
func (x *CustomCanaryDeployment) String() stringCustomCanaryDeployment_PhaseConfig
type CustomCanaryDeployment_PhaseConfig struct {
// Required. The ID to assign to the `Rollout` phase.
// 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])?$`.
PhaseId string `protobuf:"bytes,1,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Required. Percentage deployment for the phase.
Percentage int32 `protobuf:"varint,2,opt,name=percentage,proto3" json:"percentage,omitempty"`
// Optional. Skaffold profiles to use when rendering the manifest for this
// phase. These are in addition to the profiles list specified in the
// `DeliveryPipeline` stage.
Profiles []string `protobuf:"bytes,3,rep,name=profiles,proto3" json:"profiles,omitempty"`
// Optional. Whether to run verify tests after the deployment via `skaffold
// verify`.
Verify bool `protobuf:"varint,4,opt,name=verify,proto3" json:"verify,omitempty"`
// Optional. Configuration for the predeploy job of this phase. If this is
// not configured, there will be no predeploy job for this phase.
Predeploy *Predeploy `protobuf:"bytes,5,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
// Optional. Configuration for the postdeploy job of this phase. If this is
// not configured, there will be no postdeploy job for this phase.
Postdeploy *Postdeploy `protobuf:"bytes,6,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
// contains filtered or unexported fields
}PhaseConfig represents the configuration for a phase in the custom canary deployment.
func (*CustomCanaryDeployment_PhaseConfig) Descriptor
func (*CustomCanaryDeployment_PhaseConfig) Descriptor() ([]byte, []int)Deprecated: Use CustomCanaryDeployment_PhaseConfig.ProtoReflect.Descriptor instead.
func (*CustomCanaryDeployment_PhaseConfig) GetPercentage
func (x *CustomCanaryDeployment_PhaseConfig) GetPercentage() int32func (*CustomCanaryDeployment_PhaseConfig) GetPhaseId
func (x *CustomCanaryDeployment_PhaseConfig) GetPhaseId() stringfunc (*CustomCanaryDeployment_PhaseConfig) GetPostdeploy
func (x *CustomCanaryDeployment_PhaseConfig) GetPostdeploy() *Postdeployfunc (*CustomCanaryDeployment_PhaseConfig) GetPredeploy
func (x *CustomCanaryDeployment_PhaseConfig) GetPredeploy() *Predeployfunc (*CustomCanaryDeployment_PhaseConfig) GetProfiles
func (x *CustomCanaryDeployment_PhaseConfig) GetProfiles() []stringfunc (*CustomCanaryDeployment_PhaseConfig) GetVerify
func (x *CustomCanaryDeployment_PhaseConfig) GetVerify() boolfunc (*CustomCanaryDeployment_PhaseConfig) ProtoMessage
func (*CustomCanaryDeployment_PhaseConfig) ProtoMessage()func (*CustomCanaryDeployment_PhaseConfig) ProtoReflect
func (x *CustomCanaryDeployment_PhaseConfig) ProtoReflect() protoreflect.Messagefunc (*CustomCanaryDeployment_PhaseConfig) Reset
func (x *CustomCanaryDeployment_PhaseConfig) Reset()func (*CustomCanaryDeployment_PhaseConfig) String
func (x *CustomCanaryDeployment_PhaseConfig) String() stringCustomMetadata
type CustomMetadata struct {
// Output only. Key-value pairs provided by the user-defined operation.
Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}CustomMetadata contains information from a user-defined operation.
func (*CustomMetadata) Descriptor
func (*CustomMetadata) Descriptor() ([]byte, []int)Deprecated: Use CustomMetadata.ProtoReflect.Descriptor instead.
func (*CustomMetadata) GetValues
func (x *CustomMetadata) GetValues() map[string]stringfunc (*CustomMetadata) ProtoMessage
func (*CustomMetadata) ProtoMessage()func (*CustomMetadata) ProtoReflect
func (x *CustomMetadata) ProtoReflect() protoreflect.Messagefunc (*CustomMetadata) Reset
func (x *CustomMetadata) Reset()func (*CustomMetadata) String
func (x *CustomMetadata) String() stringCustomTarget
type CustomTarget struct {
// Required. The name of the CustomTargetType. Format must be
// `projects/{project}/locations/{location}/customTargetTypes/{custom_target_type}`.
CustomTargetType string `protobuf:"bytes,1,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// contains filtered or unexported fields
}Information specifying a Custom Target.
func (*CustomTarget) Descriptor
func (*CustomTarget) Descriptor() ([]byte, []int)Deprecated: Use CustomTarget.ProtoReflect.Descriptor instead.
func (*CustomTarget) GetCustomTargetType
func (x *CustomTarget) GetCustomTargetType() stringfunc (*CustomTarget) ProtoMessage
func (*CustomTarget) ProtoMessage()func (*CustomTarget) ProtoReflect
func (x *CustomTarget) ProtoReflect() protoreflect.Messagefunc (*CustomTarget) Reset
func (x *CustomTarget) Reset()func (*CustomTarget) String
func (x *CustomTarget) String() stringCustomTargetDeployMetadata
type CustomTargetDeployMetadata struct {
// Output only. Skip message provided in the results of a custom deploy
// operation.
SkipMessage string `protobuf:"bytes,1,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
// contains filtered or unexported fields
}CustomTargetDeployMetadata contains information from a Custom Target deploy operation.
func (*CustomTargetDeployMetadata) Descriptor
func (*CustomTargetDeployMetadata) Descriptor() ([]byte, []int)Deprecated: Use CustomTargetDeployMetadata.ProtoReflect.Descriptor instead.
func (*CustomTargetDeployMetadata) GetSkipMessage
func (x *CustomTargetDeployMetadata) GetSkipMessage() stringfunc (*CustomTargetDeployMetadata) ProtoMessage
func (*CustomTargetDeployMetadata) ProtoMessage()func (*CustomTargetDeployMetadata) ProtoReflect
func (x *CustomTargetDeployMetadata) ProtoReflect() protoreflect.Messagefunc (*CustomTargetDeployMetadata) Reset
func (x *CustomTargetDeployMetadata) Reset()func (*CustomTargetDeployMetadata) String
func (x *CustomTargetDeployMetadata) String() stringCustomTargetSkaffoldActions
type CustomTargetSkaffoldActions struct {
// Optional. The Skaffold custom action responsible for render operations. If
// not provided then Cloud Deploy will perform the render operations via
// `skaffold render`.
RenderAction string `protobuf:"bytes,1,opt,name=render_action,json=renderAction,proto3" json:"render_action,omitempty"`
// Required. The Skaffold custom action responsible for deploy operations.
DeployAction string `protobuf:"bytes,2,opt,name=deploy_action,json=deployAction,proto3" json:"deploy_action,omitempty"`
// Optional. List of Skaffold modules Cloud Deploy will include in the
// Skaffold Config as required before performing diagnose.
IncludeSkaffoldModules []*SkaffoldModules `protobuf:"bytes,3,rep,name=include_skaffold_modules,json=includeSkaffoldModules,proto3" json:"include_skaffold_modules,omitempty"`
// contains filtered or unexported fields
}CustomTargetSkaffoldActions represents the CustomTargetType configuration
using Skaffold custom actions.
func (*CustomTargetSkaffoldActions) Descriptor
func (*CustomTargetSkaffoldActions) Descriptor() ([]byte, []int)Deprecated: Use CustomTargetSkaffoldActions.ProtoReflect.Descriptor instead.
func (*CustomTargetSkaffoldActions) GetDeployAction
func (x *CustomTargetSkaffoldActions) GetDeployAction() stringfunc (*CustomTargetSkaffoldActions) GetIncludeSkaffoldModules
func (x *CustomTargetSkaffoldActions) GetIncludeSkaffoldModules() []*SkaffoldModulesfunc (*CustomTargetSkaffoldActions) GetRenderAction
func (x *CustomTargetSkaffoldActions) GetRenderAction() stringfunc (*CustomTargetSkaffoldActions) ProtoMessage
func (*CustomTargetSkaffoldActions) ProtoMessage()func (*CustomTargetSkaffoldActions) ProtoReflect
func (x *CustomTargetSkaffoldActions) ProtoReflect() protoreflect.Messagefunc (*CustomTargetSkaffoldActions) Reset
func (x *CustomTargetSkaffoldActions) Reset()func (*CustomTargetSkaffoldActions) String
func (x *CustomTargetSkaffoldActions) String() stringCustomTargetType
type CustomTargetType struct {
// Identifier. Name of the `CustomTargetType`. Format is
// `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`.
// The `customTargetType` component must match
// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Resource id of the `CustomTargetType`.
CustomTargetTypeId string `protobuf:"bytes,2,opt,name=custom_target_type_id,json=customTargetTypeId,proto3" json:"custom_target_type_id,omitempty"`
// Output only. Unique identifier of the `CustomTargetType`.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `CustomTargetType`. Max length is 255
// characters.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. User annotations. These attributes can only be set and used by
// the user, and not by Cloud Deploy. See
// https://google.aip.dev/128#annotations for more details such as format and
// size limitations.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Time at which the `CustomTargetType` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Most recent time at which the `CustomTargetType` was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. 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,9,opt,name=etag,proto3" json:"etag,omitempty"`
// Defines the `CustomTargetType` renderer and deployer.
//
// Types that are assignable to Definition:
//
// *CustomTargetType_CustomActions
Definition isCustomTargetType_Definition `protobuf_oneof:"definition"`
// contains filtered or unexported fields
}A CustomTargetType resource in the Cloud Deploy API.
A CustomTargetType defines a type of custom target that can be referenced
in a Target in order to facilitate deploying to other systems besides the
supported runtimes.
func (*CustomTargetType) Descriptor
func (*CustomTargetType) Descriptor() ([]byte, []int)Deprecated: Use CustomTargetType.ProtoReflect.Descriptor instead.
func (*CustomTargetType) GetAnnotations
func (x *CustomTargetType) GetAnnotations() map[string]stringfunc (*CustomTargetType) GetCreateTime
func (x *CustomTargetType) GetCreateTime() *timestamppb.Timestampfunc (*CustomTargetType) GetCustomActions
func (x *CustomTargetType) GetCustomActions() *CustomTargetSkaffoldActionsfunc (*CustomTargetType) GetCustomTargetTypeId
func (x *CustomTargetType) GetCustomTargetTypeId() stringfunc (*CustomTargetType) GetDefinition
func (m *CustomTargetType) GetDefinition() isCustomTargetType_Definitionfunc (*CustomTargetType) GetDescription
func (x *CustomTargetType) GetDescription() stringfunc (*CustomTargetType) GetEtag
func (x *CustomTargetType) GetEtag() stringfunc (*CustomTargetType) GetLabels
func (x *CustomTargetType) GetLabels() map[string]stringfunc (*CustomTargetType) GetName
func (x *CustomTargetType) GetName() stringfunc (*CustomTargetType) GetUid
func (x *CustomTargetType) GetUid() stringfunc (*CustomTargetType) GetUpdateTime
func (x *CustomTargetType) GetUpdateTime() *timestamppb.Timestampfunc (*CustomTargetType) ProtoMessage
func (*CustomTargetType) ProtoMessage()func (*CustomTargetType) ProtoReflect
func (x *CustomTargetType) ProtoReflect() protoreflect.Messagefunc (*CustomTargetType) Reset
func (x *CustomTargetType) Reset()func (*CustomTargetType) String
func (x *CustomTargetType) String() stringCustomTargetTypeNotificationEvent
type CustomTargetTypeNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `CustomTargetType`.
CustomTargetTypeUid string `protobuf:"bytes,4,opt,name=custom_target_type_uid,json=customTargetTypeUid,proto3" json:"custom_target_type_uid,omitempty"`
// The name of the `CustomTargetType`.
CustomTargetType string `protobuf:"bytes,2,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/customtargettype_notification" Platform Log event that describes the failure to send a custom target type status change Pub/Sub notification.
func (*CustomTargetTypeNotificationEvent) Descriptor
func (*CustomTargetTypeNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use CustomTargetTypeNotificationEvent.ProtoReflect.Descriptor instead.
func (*CustomTargetTypeNotificationEvent) GetCustomTargetType
func (x *CustomTargetTypeNotificationEvent) GetCustomTargetType() stringfunc (*CustomTargetTypeNotificationEvent) GetCustomTargetTypeUid
func (x *CustomTargetTypeNotificationEvent) GetCustomTargetTypeUid() stringfunc (*CustomTargetTypeNotificationEvent) GetMessage
func (x *CustomTargetTypeNotificationEvent) GetMessage() stringfunc (*CustomTargetTypeNotificationEvent) GetType
func (x *CustomTargetTypeNotificationEvent) GetType() Typefunc (*CustomTargetTypeNotificationEvent) ProtoMessage
func (*CustomTargetTypeNotificationEvent) ProtoMessage()func (*CustomTargetTypeNotificationEvent) ProtoReflect
func (x *CustomTargetTypeNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*CustomTargetTypeNotificationEvent) Reset
func (x *CustomTargetTypeNotificationEvent) Reset()func (*CustomTargetTypeNotificationEvent) String
func (x *CustomTargetTypeNotificationEvent) String() stringCustomTargetType_CustomActions
type CustomTargetType_CustomActions struct {
// Optional. Configures render and deploy for the `CustomTargetType` using
// Skaffold custom actions.
CustomActions *CustomTargetSkaffoldActions `protobuf:"bytes,10,opt,name=custom_actions,json=customActions,proto3,oneof"`
}DefaultPool
type DefaultPool struct {
// Optional. Google service account to use for execution. If unspecified,
// the project execution service account
// (Execution using the default Cloud Build pool.
func (*DefaultPool) Descriptor
func (*DefaultPool) Descriptor() ([]byte, []int)Deprecated: Use DefaultPool.ProtoReflect.Descriptor instead.
func (*DefaultPool) GetArtifactStorage
func (x *DefaultPool) GetArtifactStorage() stringfunc (*DefaultPool) GetServiceAccount
func (x *DefaultPool) GetServiceAccount() stringfunc (*DefaultPool) ProtoMessage
func (*DefaultPool) ProtoMessage()func (*DefaultPool) ProtoReflect
func (x *DefaultPool) ProtoReflect() protoreflect.Messagefunc (*DefaultPool) Reset
func (x *DefaultPool) Reset()func (*DefaultPool) String
func (x *DefaultPool) String() stringDeleteAutomationRequest
type DeleteAutomationRequest struct {
// Required. The name of the `Automation` to delete. The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `Automation` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and verify whether the resource
// exists, but do not actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. The weak etag of the request.
// 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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request object for DeleteAutomation.
func (*DeleteAutomationRequest) Descriptor
func (*DeleteAutomationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteAutomationRequest.ProtoReflect.Descriptor instead.
func (*DeleteAutomationRequest) GetAllowMissing
func (x *DeleteAutomationRequest) GetAllowMissing() boolfunc (*DeleteAutomationRequest) GetEtag
func (x *DeleteAutomationRequest) GetEtag() stringfunc (*DeleteAutomationRequest) GetName
func (x *DeleteAutomationRequest) GetName() stringfunc (*DeleteAutomationRequest) GetRequestId
func (x *DeleteAutomationRequest) GetRequestId() stringfunc (*DeleteAutomationRequest) GetValidateOnly
func (x *DeleteAutomationRequest) GetValidateOnly() boolfunc (*DeleteAutomationRequest) ProtoMessage
func (*DeleteAutomationRequest) ProtoMessage()func (*DeleteAutomationRequest) ProtoReflect
func (x *DeleteAutomationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteAutomationRequest) Reset
func (x *DeleteAutomationRequest) Reset()func (*DeleteAutomationRequest) String
func (x *DeleteAutomationRequest) String() stringDeleteCustomTargetTypeRequest
type DeleteCustomTargetTypeRequest struct {
// Required. The name of the `CustomTargetType` to delete. Format must be
// `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `CustomTargetType` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated but no actual change is
// made.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. 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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request object for DeleteCustomTargetType.
func (*DeleteCustomTargetTypeRequest) Descriptor
func (*DeleteCustomTargetTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*DeleteCustomTargetTypeRequest) GetAllowMissing
func (x *DeleteCustomTargetTypeRequest) GetAllowMissing() boolfunc (*DeleteCustomTargetTypeRequest) GetEtag
func (x *DeleteCustomTargetTypeRequest) GetEtag() stringfunc (*DeleteCustomTargetTypeRequest) GetName
func (x *DeleteCustomTargetTypeRequest) GetName() stringfunc (*DeleteCustomTargetTypeRequest) GetRequestId
func (x *DeleteCustomTargetTypeRequest) GetRequestId() stringfunc (*DeleteCustomTargetTypeRequest) GetValidateOnly
func (x *DeleteCustomTargetTypeRequest) GetValidateOnly() boolfunc (*DeleteCustomTargetTypeRequest) ProtoMessage
func (*DeleteCustomTargetTypeRequest) ProtoMessage()func (*DeleteCustomTargetTypeRequest) ProtoReflect
func (x *DeleteCustomTargetTypeRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteCustomTargetTypeRequest) Reset
func (x *DeleteCustomTargetTypeRequest) Reset()func (*DeleteCustomTargetTypeRequest) String
func (x *DeleteCustomTargetTypeRequest) String() stringDeleteDeliveryPipelineRequest
type DeleteDeliveryPipelineRequest struct {
// Required. The name of the `DeliveryPipeline` to delete. The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `DeliveryPipeline` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and preview the review, but do not
// actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. If set to true, all child resources under this pipeline will also
// be deleted. Otherwise, the request will only work if the pipeline has no
// child resources.
Force bool `protobuf:"varint,6,opt,name=force,proto3" json:"force,omitempty"`
// Optional. 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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request object for DeleteDeliveryPipeline.
func (*DeleteDeliveryPipelineRequest) Descriptor
func (*DeleteDeliveryPipelineRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeliveryPipelineRequest) GetAllowMissing
func (x *DeleteDeliveryPipelineRequest) GetAllowMissing() boolfunc (*DeleteDeliveryPipelineRequest) GetEtag
func (x *DeleteDeliveryPipelineRequest) GetEtag() stringfunc (*DeleteDeliveryPipelineRequest) GetForce
func (x *DeleteDeliveryPipelineRequest) GetForce() boolfunc (*DeleteDeliveryPipelineRequest) GetName
func (x *DeleteDeliveryPipelineRequest) GetName() stringfunc (*DeleteDeliveryPipelineRequest) GetRequestId
func (x *DeleteDeliveryPipelineRequest) GetRequestId() stringfunc (*DeleteDeliveryPipelineRequest) GetValidateOnly
func (x *DeleteDeliveryPipelineRequest) GetValidateOnly() boolfunc (*DeleteDeliveryPipelineRequest) ProtoMessage
func (*DeleteDeliveryPipelineRequest) ProtoMessage()func (*DeleteDeliveryPipelineRequest) ProtoReflect
func (x *DeleteDeliveryPipelineRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDeliveryPipelineRequest) Reset
func (x *DeleteDeliveryPipelineRequest) Reset()func (*DeleteDeliveryPipelineRequest) String
func (x *DeleteDeliveryPipelineRequest) String() stringDeleteDeployPolicyRequest
type DeleteDeployPolicyRequest struct {
// Required. The name of the `DeployPolicy` to delete. The format is
// `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `DeployPolicy` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and preview the review, but do not
// actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. 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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request object for DeleteDeployPolicy.
func (*DeleteDeployPolicyRequest) Descriptor
func (*DeleteDeployPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDeployPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteDeployPolicyRequest) GetAllowMissing
func (x *DeleteDeployPolicyRequest) GetAllowMissing() boolfunc (*DeleteDeployPolicyRequest) GetEtag
func (x *DeleteDeployPolicyRequest) GetEtag() stringfunc (*DeleteDeployPolicyRequest) GetName
func (x *DeleteDeployPolicyRequest) GetName() stringfunc (*DeleteDeployPolicyRequest) GetRequestId
func (x *DeleteDeployPolicyRequest) GetRequestId() stringfunc (*DeleteDeployPolicyRequest) GetValidateOnly
func (x *DeleteDeployPolicyRequest) GetValidateOnly() boolfunc (*DeleteDeployPolicyRequest) ProtoMessage
func (*DeleteDeployPolicyRequest) ProtoMessage()func (*DeleteDeployPolicyRequest) ProtoReflect
func (x *DeleteDeployPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDeployPolicyRequest) Reset
func (x *DeleteDeployPolicyRequest) Reset()func (*DeleteDeployPolicyRequest) String
func (x *DeleteDeployPolicyRequest) String() stringDeleteTargetRequest
type DeleteTargetRequest struct {
// Required. The name of the `Target` to delete. The format is
// `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, then deleting an already deleted or non-existing
// `Target` will succeed.
AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set, validate the request and preview the review, but do not
// actually post it.
ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. 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,5,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}The request object for DeleteTarget.
func (*DeleteTargetRequest) Descriptor
func (*DeleteTargetRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteTargetRequest.ProtoReflect.Descriptor instead.
func (*DeleteTargetRequest) GetAllowMissing
func (x *DeleteTargetRequest) GetAllowMissing() boolfunc (*DeleteTargetRequest) GetEtag
func (x *DeleteTargetRequest) GetEtag() stringfunc (*DeleteTargetRequest) GetName
func (x *DeleteTargetRequest) GetName() stringfunc (*DeleteTargetRequest) GetRequestId
func (x *DeleteTargetRequest) GetRequestId() stringfunc (*DeleteTargetRequest) GetValidateOnly
func (x *DeleteTargetRequest) GetValidateOnly() boolfunc (*DeleteTargetRequest) ProtoMessage
func (*DeleteTargetRequest) ProtoMessage()func (*DeleteTargetRequest) ProtoReflect
func (x *DeleteTargetRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteTargetRequest) Reset
func (x *DeleteTargetRequest) Reset()func (*DeleteTargetRequest) String
func (x *DeleteTargetRequest) String() stringDeliveryPipeline
type DeliveryPipeline struct {
// Identifier. Name of the `DeliveryPipeline`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`.
// The `deliveryPipeline` component must match
// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `DeliveryPipeline`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `DeliveryPipeline`. Max length is 255
// characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. User annotations. These attributes can only be set and used by
// the user, and not by Cloud Deploy.
Annotations map[string]string `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Time at which the pipeline was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Most recent time at which the pipeline was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The ordering configuration of the `DeliveryPipeline`.
//
// Types that are assignable to Pipeline:
//
// *DeliveryPipeline_SerialPipeline
Pipeline isDeliveryPipeline_Pipeline `protobuf_oneof:"pipeline"`
// Output only. Information around the state of the Delivery Pipeline.
Condition *PipelineCondition `protobuf:"bytes,11,opt,name=condition,proto3" json:"condition,omitempty"`
// 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,10,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. When suspended, no new releases or rollouts can be created,
// but in-progress ones will complete.
Suspended bool `protobuf:"varint,12,opt,name=suspended,proto3" json:"suspended,omitempty"`
// contains filtered or unexported fields
}A DeliveryPipeline resource in the Cloud Deploy API.
A DeliveryPipeline defines a pipeline through which a Skaffold
configuration can progress.
func (*DeliveryPipeline) Descriptor
func (*DeliveryPipeline) Descriptor() ([]byte, []int)Deprecated: Use DeliveryPipeline.ProtoReflect.Descriptor instead.
func (*DeliveryPipeline) GetAnnotations
func (x *DeliveryPipeline) GetAnnotations() map[string]stringfunc (*DeliveryPipeline) GetCondition
func (x *DeliveryPipeline) GetCondition() *PipelineConditionfunc (*DeliveryPipeline) GetCreateTime
func (x *DeliveryPipeline) GetCreateTime() *timestamppb.Timestampfunc (*DeliveryPipeline) GetDescription
func (x *DeliveryPipeline) GetDescription() stringfunc (*DeliveryPipeline) GetEtag
func (x *DeliveryPipeline) GetEtag() stringfunc (*DeliveryPipeline) GetLabels
func (x *DeliveryPipeline) GetLabels() map[string]stringfunc (*DeliveryPipeline) GetName
func (x *DeliveryPipeline) GetName() stringfunc (*DeliveryPipeline) GetPipeline
func (m *DeliveryPipeline) GetPipeline() isDeliveryPipeline_Pipelinefunc (*DeliveryPipeline) GetSerialPipeline
func (x *DeliveryPipeline) GetSerialPipeline() *SerialPipelinefunc (*DeliveryPipeline) GetSuspended
func (x *DeliveryPipeline) GetSuspended() boolfunc (*DeliveryPipeline) GetUid
func (x *DeliveryPipeline) GetUid() stringfunc (*DeliveryPipeline) GetUpdateTime
func (x *DeliveryPipeline) GetUpdateTime() *timestamppb.Timestampfunc (*DeliveryPipeline) ProtoMessage
func (*DeliveryPipeline) ProtoMessage()func (*DeliveryPipeline) ProtoReflect
func (x *DeliveryPipeline) ProtoReflect() protoreflect.Messagefunc (*DeliveryPipeline) Reset
func (x *DeliveryPipeline) Reset()func (*DeliveryPipeline) String
func (x *DeliveryPipeline) String() stringDeliveryPipelineAttribute
type DeliveryPipelineAttribute struct {
// Optional. ID of the `DeliveryPipeline`. The value of this field could be
// one of the following:
//
// * The last segment of a pipeline name
// * "*", all delivery pipelines in a location
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// DeliveryPipeline labels.
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Contains criteria for selecting DeliveryPipelines.
func (*DeliveryPipelineAttribute) Descriptor
func (*DeliveryPipelineAttribute) Descriptor() ([]byte, []int)Deprecated: Use DeliveryPipelineAttribute.ProtoReflect.Descriptor instead.
func (*DeliveryPipelineAttribute) GetId
func (x *DeliveryPipelineAttribute) GetId() stringfunc (*DeliveryPipelineAttribute) GetLabels
func (x *DeliveryPipelineAttribute) GetLabels() map[string]stringfunc (*DeliveryPipelineAttribute) ProtoMessage
func (*DeliveryPipelineAttribute) ProtoMessage()func (*DeliveryPipelineAttribute) ProtoReflect
func (x *DeliveryPipelineAttribute) ProtoReflect() protoreflect.Messagefunc (*DeliveryPipelineAttribute) Reset
func (x *DeliveryPipelineAttribute) Reset()func (*DeliveryPipelineAttribute) String
func (x *DeliveryPipelineAttribute) String() stringDeliveryPipelineNotificationEvent
type DeliveryPipelineNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// The name of the `Delivery Pipeline`.
DeliveryPipeline string `protobuf:"bytes,2,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" Platform Log event that describes the failure to send delivery pipeline status change Pub/Sub notification.
func (*DeliveryPipelineNotificationEvent) Descriptor
func (*DeliveryPipelineNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use DeliveryPipelineNotificationEvent.ProtoReflect.Descriptor instead.
func (*DeliveryPipelineNotificationEvent) GetDeliveryPipeline
func (x *DeliveryPipelineNotificationEvent) GetDeliveryPipeline() stringfunc (*DeliveryPipelineNotificationEvent) GetMessage
func (x *DeliveryPipelineNotificationEvent) GetMessage() stringfunc (*DeliveryPipelineNotificationEvent) GetPipelineUid
func (x *DeliveryPipelineNotificationEvent) GetPipelineUid() stringfunc (*DeliveryPipelineNotificationEvent) GetType
func (x *DeliveryPipelineNotificationEvent) GetType() Typefunc (*DeliveryPipelineNotificationEvent) ProtoMessage
func (*DeliveryPipelineNotificationEvent) ProtoMessage()func (*DeliveryPipelineNotificationEvent) ProtoReflect
func (x *DeliveryPipelineNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*DeliveryPipelineNotificationEvent) Reset
func (x *DeliveryPipelineNotificationEvent) Reset()func (*DeliveryPipelineNotificationEvent) String
func (x *DeliveryPipelineNotificationEvent) String() stringDeliveryPipeline_SerialPipeline
type DeliveryPipeline_SerialPipeline struct {
// Optional. SerialPipeline defines a sequential set of stages for a
// `DeliveryPipeline`.
SerialPipeline *SerialPipeline `protobuf:"bytes,8,opt,name=serial_pipeline,json=serialPipeline,proto3,oneof"`
}DeployArtifact
type DeployArtifact struct {
// Output only. URI of a directory containing the artifacts. All paths are
// relative to this location.
ArtifactUri string `protobuf:"bytes,1,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
// Output only. File paths of the manifests applied during the deploy
// operation relative to the URI.
ManifestPaths []string `protobuf:"bytes,2,rep,name=manifest_paths,json=manifestPaths,proto3" json:"manifest_paths,omitempty"`
// contains filtered or unexported fields
}The artifacts produced by a deploy operation.
func (*DeployArtifact) Descriptor
func (*DeployArtifact) Descriptor() ([]byte, []int)Deprecated: Use DeployArtifact.ProtoReflect.Descriptor instead.
func (*DeployArtifact) GetArtifactUri
func (x *DeployArtifact) GetArtifactUri() stringfunc (*DeployArtifact) GetManifestPaths
func (x *DeployArtifact) GetManifestPaths() []stringfunc (*DeployArtifact) ProtoMessage
func (*DeployArtifact) ProtoMessage()func (*DeployArtifact) ProtoReflect
func (x *DeployArtifact) ProtoReflect() protoreflect.Messagefunc (*DeployArtifact) Reset
func (x *DeployArtifact) Reset()func (*DeployArtifact) String
func (x *DeployArtifact) String() stringDeployJob
type DeployJob struct {
// contains filtered or unexported fields
}A deploy Job.
func (*DeployJob) Descriptor
Deprecated: Use DeployJob.ProtoReflect.Descriptor instead.
func (*DeployJob) ProtoMessage
func (*DeployJob) ProtoMessage()func (*DeployJob) ProtoReflect
func (x *DeployJob) ProtoReflect() protoreflect.Messagefunc (*DeployJob) Reset
func (x *DeployJob) Reset()func (*DeployJob) String
DeployJobRun
type DeployJobRun struct {
// Output only. The resource name of the Cloud Build `Build` object that is
// used to deploy. Format is
// `projects/{project}/locations/{location}/builds/{build}`.
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// Output only. The reason the deploy failed. This will always be unspecified
// while the deploy is in progress or if it succeeded.
FailureCause DeployJobRun_FailureCause `protobuf:"varint,2,opt,name=failure_cause,json=failureCause,proto3,enum=google.cloud.deploy.v1.DeployJobRun_FailureCause" json:"failure_cause,omitempty"`
// Output only. Additional information about the deploy failure, if available.
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// Output only. Metadata containing information about the deploy job run.
Metadata *DeployJobRunMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Output only. The artifact of a deploy job run, if available.
Artifact *DeployArtifact `protobuf:"bytes,5,opt,name=artifact,proto3" json:"artifact,omitempty"`
// contains filtered or unexported fields
}DeployJobRun contains information specific to a deploy JobRun.
func (*DeployJobRun) Descriptor
func (*DeployJobRun) Descriptor() ([]byte, []int)Deprecated: Use DeployJobRun.ProtoReflect.Descriptor instead.
func (*DeployJobRun) GetArtifact
func (x *DeployJobRun) GetArtifact() *DeployArtifactfunc (*DeployJobRun) GetBuild
func (x *DeployJobRun) GetBuild() stringfunc (*DeployJobRun) GetFailureCause
func (x *DeployJobRun) GetFailureCause() DeployJobRun_FailureCausefunc (*DeployJobRun) GetFailureMessage
func (x *DeployJobRun) GetFailureMessage() stringfunc (*DeployJobRun) GetMetadata
func (x *DeployJobRun) GetMetadata() *DeployJobRunMetadatafunc (*DeployJobRun) ProtoMessage
func (*DeployJobRun) ProtoMessage()func (*DeployJobRun) ProtoReflect
func (x *DeployJobRun) ProtoReflect() protoreflect.Messagefunc (*DeployJobRun) Reset
func (x *DeployJobRun) Reset()func (*DeployJobRun) String
func (x *DeployJobRun) String() stringDeployJobRunMetadata
type DeployJobRunMetadata struct {
// Output only. The name of the Cloud Run Service that is associated with a
// `DeployJobRun`.
CloudRun *CloudRunMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
// Output only. Custom Target metadata associated with a `DeployJobRun`.
CustomTarget *CustomTargetDeployMetadata `protobuf:"bytes,2,opt,name=custom_target,json=customTarget,proto3" json:"custom_target,omitempty"`
// Output only. Custom metadata provided by user-defined deploy operation.
Custom *CustomMetadata `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}DeployJobRunMetadata surfaces information associated with a DeployJobRun to
the user.
func (*DeployJobRunMetadata) Descriptor
func (*DeployJobRunMetadata) Descriptor() ([]byte, []int)Deprecated: Use DeployJobRunMetadata.ProtoReflect.Descriptor instead.
func (*DeployJobRunMetadata) GetCloudRun
func (x *DeployJobRunMetadata) GetCloudRun() *CloudRunMetadatafunc (*DeployJobRunMetadata) GetCustom
func (x *DeployJobRunMetadata) GetCustom() *CustomMetadatafunc (*DeployJobRunMetadata) GetCustomTarget
func (x *DeployJobRunMetadata) GetCustomTarget() *CustomTargetDeployMetadatafunc (*DeployJobRunMetadata) ProtoMessage
func (*DeployJobRunMetadata) ProtoMessage()func (*DeployJobRunMetadata) ProtoReflect
func (x *DeployJobRunMetadata) ProtoReflect() protoreflect.Messagefunc (*DeployJobRunMetadata) Reset
func (x *DeployJobRunMetadata) Reset()func (*DeployJobRunMetadata) String
func (x *DeployJobRunMetadata) String() stringDeployJobRun_FailureCause
type DeployJobRun_FailureCause int32Well-known deploy failures.
DeployJobRun_FAILURE_CAUSE_UNSPECIFIED, DeployJobRun_CLOUD_BUILD_UNAVAILABLE, DeployJobRun_EXECUTION_FAILED, DeployJobRun_DEADLINE_EXCEEDED, DeployJobRun_MISSING_RESOURCES_FOR_CANARY, DeployJobRun_CLOUD_BUILD_REQUEST_FAILED, DeployJobRun_DEPLOY_FEATURE_NOT_SUPPORTED
const (
// No reason for failure is specified.
DeployJobRun_FAILURE_CAUSE_UNSPECIFIED DeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [Required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
DeployJobRun_CLOUD_BUILD_UNAVAILABLE DeployJobRun_FailureCause = 1
// The deploy operation did not complete successfully; check Cloud Build
// logs.
DeployJobRun_EXECUTION_FAILED DeployJobRun_FailureCause = 2
// The deploy job run did not complete within the allotted time.
DeployJobRun_DEADLINE_EXCEEDED DeployJobRun_FailureCause = 3
// There were missing resources in the runtime environment required for a
// canary deployment. Check the Cloud Build logs for more information.
DeployJobRun_MISSING_RESOURCES_FOR_CANARY DeployJobRun_FailureCause = 4
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
DeployJobRun_CLOUD_BUILD_REQUEST_FAILED DeployJobRun_FailureCause = 5
// The deploy operation had a feature configured that is not supported.
DeployJobRun_DEPLOY_FEATURE_NOT_SUPPORTED DeployJobRun_FailureCause = 6
)func (DeployJobRun_FailureCause) Descriptor
func (DeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (DeployJobRun_FailureCause) Enum
func (x DeployJobRun_FailureCause) Enum() *DeployJobRun_FailureCausefunc (DeployJobRun_FailureCause) EnumDescriptor
func (DeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use DeployJobRun_FailureCause.Descriptor instead.
func (DeployJobRun_FailureCause) Number
func (x DeployJobRun_FailureCause) Number() protoreflect.EnumNumberfunc (DeployJobRun_FailureCause) String
func (x DeployJobRun_FailureCause) String() stringfunc (DeployJobRun_FailureCause) Type
func (DeployJobRun_FailureCause) Type() protoreflect.EnumTypeDeployParameters
type DeployParameters struct {
// Required. Values are deploy parameters in key-value pairs.
Values map[string]string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Deploy parameters are applied to targets with match labels.
// If unspecified, deploy parameters are applied to all targets (including
// child targets of a multi-target).
MatchTargetLabels map[string]string `protobuf:"bytes,2,rep,name=match_target_labels,json=matchTargetLabels,proto3" json:"match_target_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}DeployParameters contains deploy parameters information.
func (*DeployParameters) Descriptor
func (*DeployParameters) Descriptor() ([]byte, []int)Deprecated: Use DeployParameters.ProtoReflect.Descriptor instead.
func (*DeployParameters) GetMatchTargetLabels
func (x *DeployParameters) GetMatchTargetLabels() map[string]stringfunc (*DeployParameters) GetValues
func (x *DeployParameters) GetValues() map[string]stringfunc (*DeployParameters) ProtoMessage
func (*DeployParameters) ProtoMessage()func (*DeployParameters) ProtoReflect
func (x *DeployParameters) ProtoReflect() protoreflect.Messagefunc (*DeployParameters) Reset
func (x *DeployParameters) Reset()func (*DeployParameters) String
func (x *DeployParameters) String() stringDeployPolicy
type DeployPolicy struct {
// Output only. Name of the `DeployPolicy`. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
// The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `DeployPolicy`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `DeployPolicy`. Max length is 255 characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,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 `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Time at which the deploy policy was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Most recent time at which the deploy policy was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. When suspended, the policy will not prevent actions from
// occurring, even if the action violates the policy.
Suspended bool `protobuf:"varint,8,opt,name=suspended,proto3" json:"suspended,omitempty"`
// Required. Selected resources to which the policy will be applied. At least
// one selector is required. If one selector matches the resource the policy
// applies. For example, if there are two selectors and the action being
// attempted matches one of them, the policy will apply to that action.
Selectors []*DeployPolicyResourceSelector `protobuf:"bytes,12,rep,name=selectors,proto3" json:"selectors,omitempty"`
// Required. Rules to apply. At least one rule must be present.
Rules []*PolicyRule `protobuf:"bytes,10,rep,name=rules,proto3" json:"rules,omitempty"`
// The weak etag of the `DeployPolicy` 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,11,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}A DeployPolicy resource in the Cloud Deploy API.
A DeployPolicy inhibits manual or automation-driven actions within a
Delivery Pipeline or Target.
func (*DeployPolicy) Descriptor
func (*DeployPolicy) Descriptor() ([]byte, []int)Deprecated: Use DeployPolicy.ProtoReflect.Descriptor instead.
func (*DeployPolicy) GetAnnotations
func (x *DeployPolicy) GetAnnotations() map[string]stringfunc (*DeployPolicy) GetCreateTime
func (x *DeployPolicy) GetCreateTime() *timestamppb.Timestampfunc (*DeployPolicy) GetDescription
func (x *DeployPolicy) GetDescription() stringfunc (*DeployPolicy) GetEtag
func (x *DeployPolicy) GetEtag() stringfunc (*DeployPolicy) GetLabels
func (x *DeployPolicy) GetLabels() map[string]stringfunc (*DeployPolicy) GetName
func (x *DeployPolicy) GetName() stringfunc (*DeployPolicy) GetRules
func (x *DeployPolicy) GetRules() []*PolicyRulefunc (*DeployPolicy) GetSelectors
func (x *DeployPolicy) GetSelectors() []*DeployPolicyResourceSelectorfunc (*DeployPolicy) GetSuspended
func (x *DeployPolicy) GetSuspended() boolfunc (*DeployPolicy) GetUid
func (x *DeployPolicy) GetUid() stringfunc (*DeployPolicy) GetUpdateTime
func (x *DeployPolicy) GetUpdateTime() *timestamppb.Timestampfunc (*DeployPolicy) ProtoMessage
func (*DeployPolicy) ProtoMessage()func (*DeployPolicy) ProtoReflect
func (x *DeployPolicy) ProtoReflect() protoreflect.Messagefunc (*DeployPolicy) Reset
func (x *DeployPolicy) Reset()func (*DeployPolicy) String
func (x *DeployPolicy) String() stringDeployPolicyEvaluationEvent
type DeployPolicyEvaluationEvent struct {
// Debug message for when a deploy policy event occurs.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Rule type (e.g. Restrict Rollouts).
RuleType string `protobuf:"bytes,2,opt,name=rule_type,json=ruleType,proto3" json:"rule_type,omitempty"`
// Rule id.
Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"`
// Unique identifier of the `Delivery Pipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// The name of the `Delivery Pipeline`.
DeliveryPipeline string `protobuf:"bytes,5,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Unique identifier of the `Target`. This is an optional field, as a `Target`
// may not always be applicable to a policy.
TargetUid string `protobuf:"bytes,6,opt,name=target_uid,json=targetUid,proto3" json:"target_uid,omitempty"`
// The name of the `Target`. This is an optional field, as a `Target` may not
// always be applicable to a policy.
Target string `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"`
// What invoked the action (e.g. a user or automation).
Invoker DeployPolicy_Invoker `protobuf:"varint,8,opt,name=invoker,proto3,enum=google.cloud.deploy.v1.DeployPolicy_Invoker" json:"invoker,omitempty"`
// The name of the `DeployPolicy`.
DeployPolicy string `protobuf:"bytes,9,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"`
// Unique identifier of the `DeployPolicy`.
DeployPolicyUid string `protobuf:"bytes,10,opt,name=deploy_policy_uid,json=deployPolicyUid,proto3" json:"deploy_policy_uid,omitempty"`
// Whether the request is allowed. Allowed is set as true if:
// (1) the request complies with the policy; or
// (2) the request doesn't comply with the policy but the policy was
// overridden; or
// (3) the request doesn't comply with the policy but the policy was suspended
Allowed bool `protobuf:"varint,11,opt,name=allowed,proto3" json:"allowed,omitempty"`
// The policy verdict of the request.
Verdict DeployPolicyEvaluationEvent_PolicyVerdict `protobuf:"varint,12,opt,name=verdict,proto3,enum=google.cloud.deploy.v1.DeployPolicyEvaluationEvent_PolicyVerdict" json:"verdict,omitempty"`
// Things that could have overridden the policy verdict. Overrides together
// with verdict decide whether the request is allowed.
Overrides []DeployPolicyEvaluationEvent_PolicyVerdictOverride `protobuf:"varint,13,rep,packed,name=overrides,proto3,enum=google.cloud.deploy.v1.DeployPolicyEvaluationEvent_PolicyVerdictOverride" json:"overrides,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event that describes the deploy policy evaluation event.
func (*DeployPolicyEvaluationEvent) Descriptor
func (*DeployPolicyEvaluationEvent) Descriptor() ([]byte, []int)Deprecated: Use DeployPolicyEvaluationEvent.ProtoReflect.Descriptor instead.
func (*DeployPolicyEvaluationEvent) GetAllowed
func (x *DeployPolicyEvaluationEvent) GetAllowed() boolfunc (*DeployPolicyEvaluationEvent) GetDeliveryPipeline
func (x *DeployPolicyEvaluationEvent) GetDeliveryPipeline() stringfunc (*DeployPolicyEvaluationEvent) GetDeployPolicy
func (x *DeployPolicyEvaluationEvent) GetDeployPolicy() stringfunc (*DeployPolicyEvaluationEvent) GetDeployPolicyUid
func (x *DeployPolicyEvaluationEvent) GetDeployPolicyUid() stringfunc (*DeployPolicyEvaluationEvent) GetInvoker
func (x *DeployPolicyEvaluationEvent) GetInvoker() DeployPolicy_Invokerfunc (*DeployPolicyEvaluationEvent) GetMessage
func (x *DeployPolicyEvaluationEvent) GetMessage() stringfunc (*DeployPolicyEvaluationEvent) GetOverrides
func (x *DeployPolicyEvaluationEvent) GetOverrides() []DeployPolicyEvaluationEvent_PolicyVerdictOverridefunc (*DeployPolicyEvaluationEvent) GetPipelineUid
func (x *DeployPolicyEvaluationEvent) GetPipelineUid() stringfunc (*DeployPolicyEvaluationEvent) GetRule
func (x *DeployPolicyEvaluationEvent) GetRule() stringfunc (*DeployPolicyEvaluationEvent) GetRuleType
func (x *DeployPolicyEvaluationEvent) GetRuleType() stringfunc (*DeployPolicyEvaluationEvent) GetTarget
func (x *DeployPolicyEvaluationEvent) GetTarget() stringfunc (*DeployPolicyEvaluationEvent) GetTargetUid
func (x *DeployPolicyEvaluationEvent) GetTargetUid() stringfunc (*DeployPolicyEvaluationEvent) GetVerdict
func (x *DeployPolicyEvaluationEvent) GetVerdict() DeployPolicyEvaluationEvent_PolicyVerdictfunc (*DeployPolicyEvaluationEvent) ProtoMessage
func (*DeployPolicyEvaluationEvent) ProtoMessage()func (*DeployPolicyEvaluationEvent) ProtoReflect
func (x *DeployPolicyEvaluationEvent) ProtoReflect() protoreflect.Messagefunc (*DeployPolicyEvaluationEvent) Reset
func (x *DeployPolicyEvaluationEvent) Reset()func (*DeployPolicyEvaluationEvent) String
func (x *DeployPolicyEvaluationEvent) String() stringDeployPolicyEvaluationEvent_PolicyVerdict
type DeployPolicyEvaluationEvent_PolicyVerdict int32The policy verdict of the request.
DeployPolicyEvaluationEvent_POLICY_VERDICT_UNSPECIFIED, DeployPolicyEvaluationEvent_ALLOWED_BY_POLICY, DeployPolicyEvaluationEvent_DENIED_BY_POLICY
const (
// This should never happen.
DeployPolicyEvaluationEvent_POLICY_VERDICT_UNSPECIFIED DeployPolicyEvaluationEvent_PolicyVerdict = 0
// Allowed by policy. This enum value is not currently used but may be used
// in the future. Currently logs are only generated when a request is denied
// by policy.
DeployPolicyEvaluationEvent_ALLOWED_BY_POLICY DeployPolicyEvaluationEvent_PolicyVerdict = 1
// Denied by policy.
DeployPolicyEvaluationEvent_DENIED_BY_POLICY DeployPolicyEvaluationEvent_PolicyVerdict = 2
)func (DeployPolicyEvaluationEvent_PolicyVerdict) Descriptor
func (DeployPolicyEvaluationEvent_PolicyVerdict) Descriptor() protoreflect.EnumDescriptorfunc (DeployPolicyEvaluationEvent_PolicyVerdict) Enum
func (x DeployPolicyEvaluationEvent_PolicyVerdict) Enum() *DeployPolicyEvaluationEvent_PolicyVerdictfunc (DeployPolicyEvaluationEvent_PolicyVerdict) EnumDescriptor
func (DeployPolicyEvaluationEvent_PolicyVerdict) EnumDescriptor() ([]byte, []int)Deprecated: Use DeployPolicyEvaluationEvent_PolicyVerdict.Descriptor instead.
func (DeployPolicyEvaluationEvent_PolicyVerdict) Number
func (x DeployPolicyEvaluationEvent_PolicyVerdict) Number() protoreflect.EnumNumberfunc (DeployPolicyEvaluationEvent_PolicyVerdict) String
func (x DeployPolicyEvaluationEvent_PolicyVerdict) String() stringfunc (DeployPolicyEvaluationEvent_PolicyVerdict) Type
func (DeployPolicyEvaluationEvent_PolicyVerdict) Type() protoreflect.EnumTypeDeployPolicyEvaluationEvent_PolicyVerdictOverride
type DeployPolicyEvaluationEvent_PolicyVerdictOverride int32Things that could have overridden the policy verdict. When overrides are used, the request will be allowed even if it is DENIED_BY_POLICY.
DeployPolicyEvaluationEvent_POLICY_VERDICT_OVERRIDE_UNSPECIFIED, DeployPolicyEvaluationEvent_POLICY_OVERRIDDEN, DeployPolicyEvaluationEvent_POLICY_SUSPENDED
const (
// This should never happen.
DeployPolicyEvaluationEvent_POLICY_VERDICT_OVERRIDE_UNSPECIFIED DeployPolicyEvaluationEvent_PolicyVerdictOverride = 0
// The policy was overridden.
DeployPolicyEvaluationEvent_POLICY_OVERRIDDEN DeployPolicyEvaluationEvent_PolicyVerdictOverride = 1
// The policy was suspended.
DeployPolicyEvaluationEvent_POLICY_SUSPENDED DeployPolicyEvaluationEvent_PolicyVerdictOverride = 2
)func (DeployPolicyEvaluationEvent_PolicyVerdictOverride) Descriptor
func (DeployPolicyEvaluationEvent_PolicyVerdictOverride) Descriptor() protoreflect.EnumDescriptorfunc (DeployPolicyEvaluationEvent_PolicyVerdictOverride) Enum
func (x DeployPolicyEvaluationEvent_PolicyVerdictOverride) Enum() *DeployPolicyEvaluationEvent_PolicyVerdictOverridefunc (DeployPolicyEvaluationEvent_PolicyVerdictOverride) EnumDescriptor
func (DeployPolicyEvaluationEvent_PolicyVerdictOverride) EnumDescriptor() ([]byte, []int)Deprecated: Use DeployPolicyEvaluationEvent_PolicyVerdictOverride.Descriptor instead.
func (DeployPolicyEvaluationEvent_PolicyVerdictOverride) Number
func (x DeployPolicyEvaluationEvent_PolicyVerdictOverride) Number() protoreflect.EnumNumberfunc (DeployPolicyEvaluationEvent_PolicyVerdictOverride) String
func (x DeployPolicyEvaluationEvent_PolicyVerdictOverride) String() stringfunc (DeployPolicyEvaluationEvent_PolicyVerdictOverride) Type
DeployPolicyNotificationEvent
type DeployPolicyNotificationEvent struct {
// Debug message for when a deploy policy fails to send a pub/sub
// notification.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `DeployPolicy`.
DeployPolicy string `protobuf:"bytes,2,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"`
// Unique identifier of the deploy policy.
DeployPolicyUid string `protobuf:"bytes,3,opt,name=deploy_policy_uid,json=deployPolicyUid,proto3" json:"deploy_policy_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/deploypolicy_notification". Platform Log event that describes the failure to send a pub/sub notification when there is a DeployPolicy status change.
func (*DeployPolicyNotificationEvent) Descriptor
func (*DeployPolicyNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use DeployPolicyNotificationEvent.ProtoReflect.Descriptor instead.
func (*DeployPolicyNotificationEvent) GetDeployPolicy
func (x *DeployPolicyNotificationEvent) GetDeployPolicy() stringfunc (*DeployPolicyNotificationEvent) GetDeployPolicyUid
func (x *DeployPolicyNotificationEvent) GetDeployPolicyUid() stringfunc (*DeployPolicyNotificationEvent) GetMessage
func (x *DeployPolicyNotificationEvent) GetMessage() stringfunc (*DeployPolicyNotificationEvent) GetType
func (x *DeployPolicyNotificationEvent) GetType() Typefunc (*DeployPolicyNotificationEvent) ProtoMessage
func (*DeployPolicyNotificationEvent) ProtoMessage()func (*DeployPolicyNotificationEvent) ProtoReflect
func (x *DeployPolicyNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*DeployPolicyNotificationEvent) Reset
func (x *DeployPolicyNotificationEvent) Reset()func (*DeployPolicyNotificationEvent) String
func (x *DeployPolicyNotificationEvent) String() stringDeployPolicyResourceSelector
type DeployPolicyResourceSelector struct {
// Optional. Contains attributes about a delivery pipeline.
DeliveryPipeline *DeliveryPipelineAttribute `protobuf:"bytes,1,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Optional. Contains attributes about a target.
Target *TargetAttribute `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id "prod" and labels "foo: bar", a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.
func (*DeployPolicyResourceSelector) Descriptor
func (*DeployPolicyResourceSelector) Descriptor() ([]byte, []int)Deprecated: Use DeployPolicyResourceSelector.ProtoReflect.Descriptor instead.
func (*DeployPolicyResourceSelector) GetDeliveryPipeline
func (x *DeployPolicyResourceSelector) GetDeliveryPipeline() *DeliveryPipelineAttributefunc (*DeployPolicyResourceSelector) GetTarget
func (x *DeployPolicyResourceSelector) GetTarget() *TargetAttributefunc (*DeployPolicyResourceSelector) ProtoMessage
func (*DeployPolicyResourceSelector) ProtoMessage()func (*DeployPolicyResourceSelector) ProtoReflect
func (x *DeployPolicyResourceSelector) ProtoReflect() protoreflect.Messagefunc (*DeployPolicyResourceSelector) Reset
func (x *DeployPolicyResourceSelector) Reset()func (*DeployPolicyResourceSelector) String
func (x *DeployPolicyResourceSelector) String() stringDeployPolicy_Invoker
type DeployPolicy_Invoker int32What invoked the action. Filters enforcing the policy depending on what invoked the action.
DeployPolicy_INVOKER_UNSPECIFIED, DeployPolicy_USER, DeployPolicy_DEPLOY_AUTOMATION
const (
// Unspecified.
DeployPolicy_INVOKER_UNSPECIFIED DeployPolicy_Invoker = 0
// The action is user-driven. For example, creating a rollout manually via a
// gcloud create command.
DeployPolicy_USER DeployPolicy_Invoker = 1
// Automated action by Cloud Deploy.
DeployPolicy_DEPLOY_AUTOMATION DeployPolicy_Invoker = 2
)func (DeployPolicy_Invoker) Descriptor
func (DeployPolicy_Invoker) Descriptor() protoreflect.EnumDescriptorfunc (DeployPolicy_Invoker) Enum
func (x DeployPolicy_Invoker) Enum() *DeployPolicy_Invokerfunc (DeployPolicy_Invoker) EnumDescriptor
func (DeployPolicy_Invoker) EnumDescriptor() ([]byte, []int)Deprecated: Use DeployPolicy_Invoker.Descriptor instead.
func (DeployPolicy_Invoker) Number
func (x DeployPolicy_Invoker) Number() protoreflect.EnumNumberfunc (DeployPolicy_Invoker) String
func (x DeployPolicy_Invoker) String() stringfunc (DeployPolicy_Invoker) Type
func (DeployPolicy_Invoker) Type() protoreflect.EnumTypeDeploymentJobs
type DeploymentJobs struct {
// Output only. The predeploy Job, which is the first job on the phase.
PredeployJob *Job `protobuf:"bytes,3,opt,name=predeploy_job,json=predeployJob,proto3" json:"predeploy_job,omitempty"`
// Output only. The deploy Job. This is the deploy job in the phase.
DeployJob *Job `protobuf:"bytes,1,opt,name=deploy_job,json=deployJob,proto3" json:"deploy_job,omitempty"`
// Output only. The verify Job. Runs after a deploy if the deploy succeeds.
VerifyJob *Job `protobuf:"bytes,2,opt,name=verify_job,json=verifyJob,proto3" json:"verify_job,omitempty"`
// Output only. The postdeploy Job, which is the last job on the phase.
PostdeployJob *Job `protobuf:"bytes,4,opt,name=postdeploy_job,json=postdeployJob,proto3" json:"postdeploy_job,omitempty"`
// contains filtered or unexported fields
}Deployment job composition.
func (*DeploymentJobs) Descriptor
func (*DeploymentJobs) Descriptor() ([]byte, []int)Deprecated: Use DeploymentJobs.ProtoReflect.Descriptor instead.
func (*DeploymentJobs) GetDeployJob
func (x *DeploymentJobs) GetDeployJob() *Jobfunc (*DeploymentJobs) GetPostdeployJob
func (x *DeploymentJobs) GetPostdeployJob() *Jobfunc (*DeploymentJobs) GetPredeployJob
func (x *DeploymentJobs) GetPredeployJob() *Jobfunc (*DeploymentJobs) GetVerifyJob
func (x *DeploymentJobs) GetVerifyJob() *Jobfunc (*DeploymentJobs) ProtoMessage
func (*DeploymentJobs) ProtoMessage()func (*DeploymentJobs) ProtoReflect
func (x *DeploymentJobs) ProtoReflect() protoreflect.Messagefunc (*DeploymentJobs) Reset
func (x *DeploymentJobs) Reset()func (*DeploymentJobs) String
func (x *DeploymentJobs) String() stringExecutionConfig
type ExecutionConfig struct {
// Required. Usages when this configuration should be applied.
Usages []ExecutionConfig_ExecutionEnvironmentUsage `protobuf:"varint,1,rep,packed,name=usages,proto3,enum=google.cloud.deploy.v1.ExecutionConfig_ExecutionEnvironmentUsage" json:"usages,omitempty"`
// Details of the environment.
//
// Types that are assignable to ExecutionEnvironment:
//
// *ExecutionConfig_DefaultPool
// *ExecutionConfig_PrivatePool
ExecutionEnvironment isExecutionConfig_ExecutionEnvironment `protobuf_oneof:"execution_environment"`
// Optional. The resource name of the `WorkerPool`, with the format
// `projects/{project}/locations/{location}/workerPools/{worker_pool}`.
// If this optional field is unspecified, the default Cloud Build pool will be
// used.
WorkerPool string `protobuf:"bytes,4,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
// Optional. Google service account to use for execution. If unspecified,
// the project execution service account
// (Configuration of the environment to use when calling Skaffold.
func (*ExecutionConfig) Descriptor
func (*ExecutionConfig) Descriptor() ([]byte, []int)Deprecated: Use ExecutionConfig.ProtoReflect.Descriptor instead.
func (*ExecutionConfig) GetArtifactStorage
func (x *ExecutionConfig) GetArtifactStorage() stringfunc (*ExecutionConfig) GetDefaultPool
func (x *ExecutionConfig) GetDefaultPool() *DefaultPoolfunc (*ExecutionConfig) GetExecutionEnvironment
func (m *ExecutionConfig) GetExecutionEnvironment() isExecutionConfig_ExecutionEnvironmentfunc (*ExecutionConfig) GetExecutionTimeout
func (x *ExecutionConfig) GetExecutionTimeout() *durationpb.Durationfunc (*ExecutionConfig) GetPrivatePool
func (x *ExecutionConfig) GetPrivatePool() *PrivatePoolfunc (*ExecutionConfig) GetServiceAccount
func (x *ExecutionConfig) GetServiceAccount() stringfunc (*ExecutionConfig) GetUsages
func (x *ExecutionConfig) GetUsages() []ExecutionConfig_ExecutionEnvironmentUsagefunc (*ExecutionConfig) GetVerbose
func (x *ExecutionConfig) GetVerbose() boolfunc (*ExecutionConfig) GetWorkerPool
func (x *ExecutionConfig) GetWorkerPool() stringfunc (*ExecutionConfig) ProtoMessage
func (*ExecutionConfig) ProtoMessage()func (*ExecutionConfig) ProtoReflect
func (x *ExecutionConfig) ProtoReflect() protoreflect.Messagefunc (*ExecutionConfig) Reset
func (x *ExecutionConfig) Reset()func (*ExecutionConfig) String
func (x *ExecutionConfig) String() stringExecutionConfig_DefaultPool
type ExecutionConfig_DefaultPool struct {
// Optional. Use default Cloud Build pool.
DefaultPool *DefaultPool `protobuf:"bytes,2,opt,name=default_pool,json=defaultPool,proto3,oneof"`
}ExecutionConfig_ExecutionEnvironmentUsage
type ExecutionConfig_ExecutionEnvironmentUsage int32Possible usages of this configuration.
ExecutionConfig_EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED, ExecutionConfig_RENDER, ExecutionConfig_DEPLOY, ExecutionConfig_VERIFY, ExecutionConfig_PREDEPLOY, ExecutionConfig_POSTDEPLOY
const (
// Default value. This value is unused.
ExecutionConfig_EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED ExecutionConfig_ExecutionEnvironmentUsage = 0
// Use for rendering.
ExecutionConfig_RENDER ExecutionConfig_ExecutionEnvironmentUsage = 1
// Use for deploying and deployment hooks.
ExecutionConfig_DEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 2
// Use for deployment verification.
ExecutionConfig_VERIFY ExecutionConfig_ExecutionEnvironmentUsage = 3
// Use for predeploy job execution.
ExecutionConfig_PREDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 4
// Use for postdeploy job execution.
ExecutionConfig_POSTDEPLOY ExecutionConfig_ExecutionEnvironmentUsage = 5
)func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) Descriptor() protoreflect.EnumDescriptorfunc (ExecutionConfig_ExecutionEnvironmentUsage) Enum
func (x ExecutionConfig_ExecutionEnvironmentUsage) Enum() *ExecutionConfig_ExecutionEnvironmentUsagefunc (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor
func (ExecutionConfig_ExecutionEnvironmentUsage) EnumDescriptor() ([]byte, []int)Deprecated: Use ExecutionConfig_ExecutionEnvironmentUsage.Descriptor instead.
func (ExecutionConfig_ExecutionEnvironmentUsage) Number
func (x ExecutionConfig_ExecutionEnvironmentUsage) Number() protoreflect.EnumNumberfunc (ExecutionConfig_ExecutionEnvironmentUsage) String
func (x ExecutionConfig_ExecutionEnvironmentUsage) String() stringfunc (ExecutionConfig_ExecutionEnvironmentUsage) Type
func (ExecutionConfig_ExecutionEnvironmentUsage) Type() protoreflect.EnumTypeExecutionConfig_PrivatePool
type ExecutionConfig_PrivatePool struct {
// Optional. Use private Cloud Build pool.
PrivatePool *PrivatePool `protobuf:"bytes,3,opt,name=private_pool,json=privatePool,proto3,oneof"`
}GetAutomationRequest
type GetAutomationRequest struct {
// Required. Name of the `Automation`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetAutomation
func (*GetAutomationRequest) Descriptor
func (*GetAutomationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAutomationRequest.ProtoReflect.Descriptor instead.
func (*GetAutomationRequest) GetName
func (x *GetAutomationRequest) GetName() stringfunc (*GetAutomationRequest) ProtoMessage
func (*GetAutomationRequest) ProtoMessage()func (*GetAutomationRequest) ProtoReflect
func (x *GetAutomationRequest) ProtoReflect() protoreflect.Messagefunc (*GetAutomationRequest) Reset
func (x *GetAutomationRequest) Reset()func (*GetAutomationRequest) String
func (x *GetAutomationRequest) String() stringGetAutomationRunRequest
type GetAutomationRunRequest struct {
// Required. Name of the `AutomationRun`. Format must be
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetAutomationRun
func (*GetAutomationRunRequest) Descriptor
func (*GetAutomationRunRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAutomationRunRequest.ProtoReflect.Descriptor instead.
func (*GetAutomationRunRequest) GetName
func (x *GetAutomationRunRequest) GetName() stringfunc (*GetAutomationRunRequest) ProtoMessage
func (*GetAutomationRunRequest) ProtoMessage()func (*GetAutomationRunRequest) ProtoReflect
func (x *GetAutomationRunRequest) ProtoReflect() protoreflect.Messagefunc (*GetAutomationRunRequest) Reset
func (x *GetAutomationRunRequest) Reset()func (*GetAutomationRunRequest) String
func (x *GetAutomationRunRequest) String() stringGetConfigRequest
type GetConfigRequest struct {
// Required. Name of requested configuration.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request to get a configuration.
func (*GetConfigRequest) Descriptor
func (*GetConfigRequest) Descriptor() ([]byte, []int)Deprecated: Use GetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetConfigRequest) GetName
func (x *GetConfigRequest) GetName() stringfunc (*GetConfigRequest) ProtoMessage
func (*GetConfigRequest) ProtoMessage()func (*GetConfigRequest) ProtoReflect
func (x *GetConfigRequest) ProtoReflect() protoreflect.Messagefunc (*GetConfigRequest) Reset
func (x *GetConfigRequest) Reset()func (*GetConfigRequest) String
func (x *GetConfigRequest) String() stringGetCustomTargetTypeRequest
type GetCustomTargetTypeRequest struct {
// Required. Name of the `CustomTargetType`. Format must be
// `projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetCustomTargetType.
func (*GetCustomTargetTypeRequest) Descriptor
func (*GetCustomTargetTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use GetCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*GetCustomTargetTypeRequest) GetName
func (x *GetCustomTargetTypeRequest) GetName() stringfunc (*GetCustomTargetTypeRequest) ProtoMessage
func (*GetCustomTargetTypeRequest) ProtoMessage()func (*GetCustomTargetTypeRequest) ProtoReflect
func (x *GetCustomTargetTypeRequest) ProtoReflect() protoreflect.Messagefunc (*GetCustomTargetTypeRequest) Reset
func (x *GetCustomTargetTypeRequest) Reset()func (*GetCustomTargetTypeRequest) String
func (x *GetCustomTargetTypeRequest) String() stringGetDeliveryPipelineRequest
type GetDeliveryPipelineRequest struct {
// Required. Name of the `DeliveryPipeline`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetDeliveryPipeline
func (*GetDeliveryPipelineRequest) Descriptor
func (*GetDeliveryPipelineRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*GetDeliveryPipelineRequest) GetName
func (x *GetDeliveryPipelineRequest) GetName() stringfunc (*GetDeliveryPipelineRequest) ProtoMessage
func (*GetDeliveryPipelineRequest) ProtoMessage()func (*GetDeliveryPipelineRequest) ProtoReflect
func (x *GetDeliveryPipelineRequest) ProtoReflect() protoreflect.Messagefunc (*GetDeliveryPipelineRequest) Reset
func (x *GetDeliveryPipelineRequest) Reset()func (*GetDeliveryPipelineRequest) String
func (x *GetDeliveryPipelineRequest) String() stringGetDeployPolicyRequest
type GetDeployPolicyRequest struct {
// Required. Name of the `DeployPolicy`. Format must be
// `projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetDeployPolicy
func (*GetDeployPolicyRequest) Descriptor
func (*GetDeployPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDeployPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetDeployPolicyRequest) GetName
func (x *GetDeployPolicyRequest) GetName() stringfunc (*GetDeployPolicyRequest) ProtoMessage
func (*GetDeployPolicyRequest) ProtoMessage()func (*GetDeployPolicyRequest) ProtoReflect
func (x *GetDeployPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*GetDeployPolicyRequest) Reset
func (x *GetDeployPolicyRequest) Reset()func (*GetDeployPolicyRequest) String
func (x *GetDeployPolicyRequest) String() stringGetJobRunRequest
type GetJobRunRequest struct {
// Required. Name of the `JobRun`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}GetJobRunRequest is the request object used by GetJobRun.
func (*GetJobRunRequest) Descriptor
func (*GetJobRunRequest) Descriptor() ([]byte, []int)Deprecated: Use GetJobRunRequest.ProtoReflect.Descriptor instead.
func (*GetJobRunRequest) GetName
func (x *GetJobRunRequest) GetName() stringfunc (*GetJobRunRequest) ProtoMessage
func (*GetJobRunRequest) ProtoMessage()func (*GetJobRunRequest) ProtoReflect
func (x *GetJobRunRequest) ProtoReflect() protoreflect.Messagefunc (*GetJobRunRequest) Reset
func (x *GetJobRunRequest) Reset()func (*GetJobRunRequest) String
func (x *GetJobRunRequest) String() stringGetReleaseRequest
type GetReleaseRequest struct {
// Required. Name of the `Release`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetRelease.
func (*GetReleaseRequest) Descriptor
func (*GetReleaseRequest) Descriptor() ([]byte, []int)Deprecated: Use GetReleaseRequest.ProtoReflect.Descriptor instead.
func (*GetReleaseRequest) GetName
func (x *GetReleaseRequest) GetName() stringfunc (*GetReleaseRequest) ProtoMessage
func (*GetReleaseRequest) ProtoMessage()func (*GetReleaseRequest) ProtoReflect
func (x *GetReleaseRequest) ProtoReflect() protoreflect.Messagefunc (*GetReleaseRequest) Reset
func (x *GetReleaseRequest) Reset()func (*GetReleaseRequest) String
func (x *GetReleaseRequest) String() stringGetRolloutRequest
type GetRolloutRequest struct {
// Required. Name of the `Rollout`. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}GetRolloutRequest is the request object used by GetRollout.
func (*GetRolloutRequest) Descriptor
func (*GetRolloutRequest) Descriptor() ([]byte, []int)Deprecated: Use GetRolloutRequest.ProtoReflect.Descriptor instead.
func (*GetRolloutRequest) GetName
func (x *GetRolloutRequest) GetName() stringfunc (*GetRolloutRequest) ProtoMessage
func (*GetRolloutRequest) ProtoMessage()func (*GetRolloutRequest) ProtoReflect
func (x *GetRolloutRequest) ProtoReflect() protoreflect.Messagefunc (*GetRolloutRequest) Reset
func (x *GetRolloutRequest) Reset()func (*GetRolloutRequest) String
func (x *GetRolloutRequest) String() stringGetTargetRequest
type GetTargetRequest struct {
// Required. Name of the `Target`. Format must be
// `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}The request object for GetTarget.
func (*GetTargetRequest) Descriptor
func (*GetTargetRequest) Descriptor() ([]byte, []int)Deprecated: Use GetTargetRequest.ProtoReflect.Descriptor instead.
func (*GetTargetRequest) GetName
func (x *GetTargetRequest) GetName() stringfunc (*GetTargetRequest) ProtoMessage
func (*GetTargetRequest) ProtoMessage()func (*GetTargetRequest) ProtoReflect
func (x *GetTargetRequest) ProtoReflect() protoreflect.Messagefunc (*GetTargetRequest) Reset
func (x *GetTargetRequest) Reset()func (*GetTargetRequest) String
func (x *GetTargetRequest) String() stringGkeCluster
type GkeCluster struct {
// Optional. Information specifying a GKE Cluster. Format is
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Optional. If true, `cluster` is accessed using the private IP address of
// the control plane endpoint. Otherwise, the default IP address of the
// control plane endpoint is used. The default IP address is the private IP
// address for clusters with private control-plane endpoints and the public IP
// address otherwise.
//
// Only specify this option when `cluster` is a [private GKE
// cluster](https://cloud.google.com/kubernetes-engine/docs/concepts/private-cluster-concept).
// Note that `internal_ip` and `dns_endpoint` cannot both be set to true.
InternalIp bool `protobuf:"varint,2,opt,name=internal_ip,json=internalIp,proto3" json:"internal_ip,omitempty"`
// Optional. If set, used to configure a
// [proxy](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)
// to the Kubernetes server.
ProxyUrl string `protobuf:"bytes,3,opt,name=proxy_url,json=proxyUrl,proto3" json:"proxy_url,omitempty"`
// Optional. If set, the cluster will be accessed using the DNS endpoint. Note
// that both `dns_endpoint` and `internal_ip` cannot be set to true.
DnsEndpoint bool `protobuf:"varint,4,opt,name=dns_endpoint,json=dnsEndpoint,proto3" json:"dns_endpoint,omitempty"`
// contains filtered or unexported fields
}Information specifying a GKE Cluster.
func (*GkeCluster) Descriptor
func (*GkeCluster) Descriptor() ([]byte, []int)Deprecated: Use GkeCluster.ProtoReflect.Descriptor instead.
func (*GkeCluster) GetCluster
func (x *GkeCluster) GetCluster() stringfunc (*GkeCluster) GetDnsEndpoint
func (x *GkeCluster) GetDnsEndpoint() boolfunc (*GkeCluster) GetInternalIp
func (x *GkeCluster) GetInternalIp() boolfunc (*GkeCluster) GetProxyUrl
func (x *GkeCluster) GetProxyUrl() stringfunc (*GkeCluster) ProtoMessage
func (*GkeCluster) ProtoMessage()func (*GkeCluster) ProtoReflect
func (x *GkeCluster) ProtoReflect() protoreflect.Messagefunc (*GkeCluster) Reset
func (x *GkeCluster) Reset()func (*GkeCluster) String
func (x *GkeCluster) String() stringIgnoreJobRequest
type IgnoreJobRequest struct {
// Required. Name of the Rollout. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Required. The phase ID the Job to ignore belongs to.
PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Required. The job ID for the Job to ignore.
JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,4,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object used by IgnoreJob.
func (*IgnoreJobRequest) Descriptor
func (*IgnoreJobRequest) Descriptor() ([]byte, []int)Deprecated: Use IgnoreJobRequest.ProtoReflect.Descriptor instead.
func (*IgnoreJobRequest) GetJobId
func (x *IgnoreJobRequest) GetJobId() stringfunc (*IgnoreJobRequest) GetOverrideDeployPolicy
func (x *IgnoreJobRequest) GetOverrideDeployPolicy() []stringfunc (*IgnoreJobRequest) GetPhaseId
func (x *IgnoreJobRequest) GetPhaseId() stringfunc (*IgnoreJobRequest) GetRollout
func (x *IgnoreJobRequest) GetRollout() stringfunc (*IgnoreJobRequest) ProtoMessage
func (*IgnoreJobRequest) ProtoMessage()func (*IgnoreJobRequest) ProtoReflect
func (x *IgnoreJobRequest) ProtoReflect() protoreflect.Messagefunc (*IgnoreJobRequest) Reset
func (x *IgnoreJobRequest) Reset()func (*IgnoreJobRequest) String
func (x *IgnoreJobRequest) String() stringIgnoreJobResponse
type IgnoreJobResponse struct {
// contains filtered or unexported fields
}The response object from IgnoreJob.
func (*IgnoreJobResponse) Descriptor
func (*IgnoreJobResponse) Descriptor() ([]byte, []int)Deprecated: Use IgnoreJobResponse.ProtoReflect.Descriptor instead.
func (*IgnoreJobResponse) ProtoMessage
func (*IgnoreJobResponse) ProtoMessage()func (*IgnoreJobResponse) ProtoReflect
func (x *IgnoreJobResponse) ProtoReflect() protoreflect.Messagefunc (*IgnoreJobResponse) Reset
func (x *IgnoreJobResponse) Reset()func (*IgnoreJobResponse) String
func (x *IgnoreJobResponse) String() stringJob
type Job struct {
// Output only. The ID of the Job.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Output only. The current state of the Job.
State Job_State `protobuf:"varint,2,opt,name=state,proto3,enum=google.cloud.deploy.v1.Job_State" json:"state,omitempty"`
// Output only. Additional information on why the Job was skipped, if
// available.
SkipMessage string `protobuf:"bytes,8,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
// Output only. The name of the `JobRun` responsible for the most recent
// invocation of this Job.
JobRun string `protobuf:"bytes,3,opt,name=job_run,json=jobRun,proto3" json:"job_run,omitempty"`
// The type of Job.
//
// Types that are assignable to JobType:
//
// *Job_DeployJob
// *Job_VerifyJob
// *Job_PredeployJob
// *Job_PostdeployJob
// *Job_CreateChildRolloutJob
// *Job_AdvanceChildRolloutJob
JobType isJob_JobType `protobuf_oneof:"job_type"`
// contains filtered or unexported fields
}Job represents an operation for a Rollout.
func (*Job) Descriptor
Deprecated: Use Job.ProtoReflect.Descriptor instead.
func (*Job) GetAdvanceChildRolloutJob
func (x *Job) GetAdvanceChildRolloutJob() *AdvanceChildRolloutJobfunc (*Job) GetCreateChildRolloutJob
func (x *Job) GetCreateChildRolloutJob() *CreateChildRolloutJobfunc (*Job) GetDeployJob
func (*Job) GetId
func (*Job) GetJobRun
func (*Job) GetJobType
func (m *Job) GetJobType() isJob_JobTypefunc (*Job) GetPostdeployJob
func (x *Job) GetPostdeployJob() *PostdeployJobfunc (*Job) GetPredeployJob
func (x *Job) GetPredeployJob() *PredeployJobfunc (*Job) GetSkipMessage
func (*Job) GetState
func (*Job) GetVerifyJob
func (*Job) ProtoMessage
func (*Job) ProtoMessage()func (*Job) ProtoReflect
func (x *Job) ProtoReflect() protoreflect.Messagefunc (*Job) Reset
func (x *Job) Reset()func (*Job) String
JobRun
type JobRun struct {
// Output only. Name of the `JobRun`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `JobRun`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Output only. ID of the `Rollout` phase this `JobRun` belongs in.
PhaseId string `protobuf:"bytes,3,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Output only. ID of the `Rollout` job this `JobRun` corresponds to.
JobId string `protobuf:"bytes,4,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// Output only. Time at which the `JobRun` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time at which the `JobRun` was started.
StartTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. Time at which the `JobRun` ended.
EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. The current state of the `JobRun`.
State JobRun_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.deploy.v1.JobRun_State" json:"state,omitempty"`
// The `JobRun` type and the information for that type.
//
// Types that are assignable to JobRun:
//
// *JobRun_DeployJobRun
// *JobRun_VerifyJobRun
// *JobRun_PredeployJobRun
// *JobRun_PostdeployJobRun
// *JobRun_CreateChildRolloutJobRun
// *JobRun_AdvanceChildRolloutJobRun
JobRun isJobRun_JobRun `protobuf_oneof:"job_run"`
// Output only. 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,11,opt,name=etag,proto3" json:"etag,omitempty"`
// contains filtered or unexported fields
}A JobRun resource in the Cloud Deploy API.
A JobRun contains information of a single Rollout job evaluation.
func (*JobRun) Descriptor
Deprecated: Use JobRun.ProtoReflect.Descriptor instead.
func (*JobRun) GetAdvanceChildRolloutJobRun
func (x *JobRun) GetAdvanceChildRolloutJobRun() *AdvanceChildRolloutJobRunfunc (*JobRun) GetCreateChildRolloutJobRun
func (x *JobRun) GetCreateChildRolloutJobRun() *CreateChildRolloutJobRunfunc (*JobRun) GetCreateTime
func (x *JobRun) GetCreateTime() *timestamppb.Timestampfunc (*JobRun) GetDeployJobRun
func (x *JobRun) GetDeployJobRun() *DeployJobRunfunc (*JobRun) GetEndTime
func (x *JobRun) GetEndTime() *timestamppb.Timestampfunc (*JobRun) GetEtag
func (*JobRun) GetJobId
func (*JobRun) GetJobRun
func (m *JobRun) GetJobRun() isJobRun_JobRunfunc (*JobRun) GetName
func (*JobRun) GetPhaseId
func (*JobRun) GetPostdeployJobRun
func (x *JobRun) GetPostdeployJobRun() *PostdeployJobRunfunc (*JobRun) GetPredeployJobRun
func (x *JobRun) GetPredeployJobRun() *PredeployJobRunfunc (*JobRun) GetStartTime
func (x *JobRun) GetStartTime() *timestamppb.Timestampfunc (*JobRun) GetState
func (x *JobRun) GetState() JobRun_Statefunc (*JobRun) GetUid
func (*JobRun) GetVerifyJobRun
func (x *JobRun) GetVerifyJobRun() *VerifyJobRunfunc (*JobRun) ProtoMessage
func (*JobRun) ProtoMessage()func (*JobRun) ProtoReflect
func (x *JobRun) ProtoReflect() protoreflect.Messagefunc (*JobRun) Reset
func (x *JobRun) Reset()func (*JobRun) String
JobRunNotificationEvent
type JobRunNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `JobRun`.
JobRun string `protobuf:"bytes,2,opt,name=job_run,json=jobRun,proto3" json:"job_run,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,3,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,4,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,8,opt,name=release,proto3" json:"release,omitempty"`
// Unique identifier of the `Rollout`.
RolloutUid string `protobuf:"bytes,5,opt,name=rollout_uid,json=rolloutUid,proto3" json:"rollout_uid,omitempty"`
// The name of the `Rollout`.
Rollout string `protobuf:"bytes,9,opt,name=rollout,proto3" json:"rollout,omitempty"`
// ID of the `Target`.
TargetId string `protobuf:"bytes,6,opt,name=target_id,json=targetId,proto3" json:"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/jobrun_notification" Platform Log event that describes the failure to send JobRun resource update Pub/Sub notification.
func (*JobRunNotificationEvent) Descriptor
func (*JobRunNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use JobRunNotificationEvent.ProtoReflect.Descriptor instead.
func (*JobRunNotificationEvent) GetJobRun
func (x *JobRunNotificationEvent) GetJobRun() stringfunc (*JobRunNotificationEvent) GetMessage
func (x *JobRunNotificationEvent) GetMessage() stringfunc (*JobRunNotificationEvent) GetPipelineUid
func (x *JobRunNotificationEvent) GetPipelineUid() stringfunc (*JobRunNotificationEvent) GetRelease
func (x *JobRunNotificationEvent) GetRelease() stringfunc (*JobRunNotificationEvent) GetReleaseUid
func (x *JobRunNotificationEvent) GetReleaseUid() stringfunc (*JobRunNotificationEvent) GetRollout
func (x *JobRunNotificationEvent) GetRollout() stringfunc (*JobRunNotificationEvent) GetRolloutUid
func (x *JobRunNotificationEvent) GetRolloutUid() stringfunc (*JobRunNotificationEvent) GetTargetId
func (x *JobRunNotificationEvent) GetTargetId() stringfunc (*JobRunNotificationEvent) GetType
func (x *JobRunNotificationEvent) GetType() Typefunc (*JobRunNotificationEvent) ProtoMessage
func (*JobRunNotificationEvent) ProtoMessage()func (*JobRunNotificationEvent) ProtoReflect
func (x *JobRunNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*JobRunNotificationEvent) Reset
func (x *JobRunNotificationEvent) Reset()func (*JobRunNotificationEvent) String
func (x *JobRunNotificationEvent) String() stringJobRun_AdvanceChildRolloutJobRun
type JobRun_AdvanceChildRolloutJobRun struct {
// Output only. Information specific to an advanceChildRollout `JobRun`
AdvanceChildRolloutJobRun *AdvanceChildRolloutJobRun `protobuf:"bytes,13,opt,name=advance_child_rollout_job_run,json=advanceChildRolloutJobRun,proto3,oneof"`
}JobRun_CreateChildRolloutJobRun
type JobRun_CreateChildRolloutJobRun struct {
// Output only. Information specific to a createChildRollout `JobRun`.
CreateChildRolloutJobRun *CreateChildRolloutJobRun `protobuf:"bytes,12,opt,name=create_child_rollout_job_run,json=createChildRolloutJobRun,proto3,oneof"`
}JobRun_DeployJobRun
type JobRun_DeployJobRun struct {
// Output only. Information specific to a deploy `JobRun`.
DeployJobRun *DeployJobRun `protobuf:"bytes,9,opt,name=deploy_job_run,json=deployJobRun,proto3,oneof"`
}JobRun_PostdeployJobRun
type JobRun_PostdeployJobRun struct {
// Output only. Information specific to a postdeploy `JobRun`.
PostdeployJobRun *PostdeployJobRun `protobuf:"bytes,15,opt,name=postdeploy_job_run,json=postdeployJobRun,proto3,oneof"`
}JobRun_PredeployJobRun
type JobRun_PredeployJobRun struct {
// Output only. Information specific to a predeploy `JobRun`.
PredeployJobRun *PredeployJobRun `protobuf:"bytes,14,opt,name=predeploy_job_run,json=predeployJobRun,proto3,oneof"`
}JobRun_State
type JobRun_State int32Valid states of a JobRun.
JobRun_STATE_UNSPECIFIED, JobRun_IN_PROGRESS, JobRun_SUCCEEDED, JobRun_FAILED, JobRun_TERMINATING, JobRun_TERMINATED
const (
// The `JobRun` has an unspecified state.
JobRun_STATE_UNSPECIFIED JobRun_State = 0
// The `JobRun` is in progress.
JobRun_IN_PROGRESS JobRun_State = 1
// The `JobRun` has succeeded.
JobRun_SUCCEEDED JobRun_State = 2
// The `JobRun` has failed.
JobRun_FAILED JobRun_State = 3
// The `JobRun` is terminating.
JobRun_TERMINATING JobRun_State = 4
// The `JobRun` was terminated.
JobRun_TERMINATED JobRun_State = 5
)func (JobRun_State) Descriptor
func (JobRun_State) Descriptor() protoreflect.EnumDescriptorfunc (JobRun_State) Enum
func (x JobRun_State) Enum() *JobRun_Statefunc (JobRun_State) EnumDescriptor
func (JobRun_State) EnumDescriptor() ([]byte, []int)Deprecated: Use JobRun_State.Descriptor instead.
func (JobRun_State) Number
func (x JobRun_State) Number() protoreflect.EnumNumberfunc (JobRun_State) String
func (x JobRun_State) String() stringfunc (JobRun_State) Type
func (JobRun_State) Type() protoreflect.EnumTypeJobRun_VerifyJobRun
type JobRun_VerifyJobRun struct {
// Output only. Information specific to a verify `JobRun`.
VerifyJobRun *VerifyJobRun `protobuf:"bytes,10,opt,name=verify_job_run,json=verifyJobRun,proto3,oneof"`
}Job_AdvanceChildRolloutJob
type Job_AdvanceChildRolloutJob struct {
// Output only. An advanceChildRollout Job.
AdvanceChildRolloutJob *AdvanceChildRolloutJob `protobuf:"bytes,7,opt,name=advance_child_rollout_job,json=advanceChildRolloutJob,proto3,oneof"`
}Job_CreateChildRolloutJob
type Job_CreateChildRolloutJob struct {
// Output only. A createChildRollout Job.
CreateChildRolloutJob *CreateChildRolloutJob `protobuf:"bytes,6,opt,name=create_child_rollout_job,json=createChildRolloutJob,proto3,oneof"`
}Job_DeployJob
type Job_DeployJob struct {
// Output only. A deploy Job.
DeployJob *DeployJob `protobuf:"bytes,4,opt,name=deploy_job,json=deployJob,proto3,oneof"`
}Job_PostdeployJob
type Job_PostdeployJob struct {
// Output only. A postdeploy Job.
PostdeployJob *PostdeployJob `protobuf:"bytes,10,opt,name=postdeploy_job,json=postdeployJob,proto3,oneof"`
}Job_PredeployJob
type Job_PredeployJob struct {
// Output only. A predeploy Job.
PredeployJob *PredeployJob `protobuf:"bytes,9,opt,name=predeploy_job,json=predeployJob,proto3,oneof"`
}Job_State
type Job_State int32Valid states of a Job.
Job_STATE_UNSPECIFIED, Job_PENDING, Job_DISABLED, Job_IN_PROGRESS, Job_SUCCEEDED, Job_FAILED, Job_ABORTED, Job_SKIPPED, Job_IGNORED
const (
// The Job has an unspecified state.
Job_STATE_UNSPECIFIED Job_State = 0
// The Job is waiting for an earlier Phase(s) or Job(s) to complete.
Job_PENDING Job_State = 1
// The Job is disabled.
Job_DISABLED Job_State = 2
// The Job is in progress.
Job_IN_PROGRESS Job_State = 3
// The Job succeeded.
Job_SUCCEEDED Job_State = 4
// The Job failed.
Job_FAILED Job_State = 5
// The Job was aborted.
Job_ABORTED Job_State = 6
// The Job was skipped.
Job_SKIPPED Job_State = 7
// The Job was ignored.
Job_IGNORED Job_State = 8
)func (Job_State) Descriptor
func (Job_State) Descriptor() protoreflect.EnumDescriptorfunc (Job_State) Enum
func (Job_State) EnumDescriptor
Deprecated: Use Job_State.Descriptor instead.
func (Job_State) Number
func (x Job_State) Number() protoreflect.EnumNumberfunc (Job_State) String
func (Job_State) Type
func (Job_State) Type() protoreflect.EnumTypeJob_VerifyJob
type Job_VerifyJob struct {
// Output only. A verify Job.
VerifyJob *VerifyJob `protobuf:"bytes,5,opt,name=verify_job,json=verifyJob,proto3,oneof"`
}KubernetesConfig
type KubernetesConfig struct {
// The service definition configuration.
//
// Types that are assignable to ServiceDefinition:
//
// *KubernetesConfig_GatewayServiceMesh_
// *KubernetesConfig_ServiceNetworking_
ServiceDefinition isKubernetesConfig_ServiceDefinition `protobuf_oneof:"service_definition"`
// contains filtered or unexported fields
}KubernetesConfig contains the Kubernetes runtime configuration.
func (*KubernetesConfig) Descriptor
func (*KubernetesConfig) Descriptor() ([]byte, []int)Deprecated: Use KubernetesConfig.ProtoReflect.Descriptor instead.
func (*KubernetesConfig) GetGatewayServiceMesh
func (x *KubernetesConfig) GetGatewayServiceMesh() *KubernetesConfig_GatewayServiceMeshfunc (*KubernetesConfig) GetServiceDefinition
func (m *KubernetesConfig) GetServiceDefinition() isKubernetesConfig_ServiceDefinitionfunc (*KubernetesConfig) GetServiceNetworking
func (x *KubernetesConfig) GetServiceNetworking() *KubernetesConfig_ServiceNetworkingfunc (*KubernetesConfig) ProtoMessage
func (*KubernetesConfig) ProtoMessage()func (*KubernetesConfig) ProtoReflect
func (x *KubernetesConfig) ProtoReflect() protoreflect.Messagefunc (*KubernetesConfig) Reset
func (x *KubernetesConfig) Reset()func (*KubernetesConfig) String
func (x *KubernetesConfig) String() stringKubernetesConfig_GatewayServiceMesh
type KubernetesConfig_GatewayServiceMesh struct {
// Required. Name of the Gateway API HTTPRoute.
HttpRoute string `protobuf:"bytes,1,opt,name=http_route,json=httpRoute,proto3" json:"http_route,omitempty"`
// Required. Name of the Kubernetes Service.
Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
// Required. Name of the Kubernetes Deployment whose traffic is managed by
// the specified HTTPRoute and Service.
Deployment string `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Optional. The time to wait for route updates to propagate. The maximum
// configurable time is 3 hours, in seconds format. If unspecified, there is
// no wait time.
RouteUpdateWaitTime *durationpb.Duration `protobuf:"bytes,4,opt,name=route_update_wait_time,json=routeUpdateWaitTime,proto3" json:"route_update_wait_time,omitempty"`
// Optional. The amount of time to migrate traffic back from the canary
// Service to the original Service during the stable phase deployment. If
// specified, must be between 15s and 3600s. If unspecified, there is no
// cutback time.
StableCutbackDuration *durationpb.Duration `protobuf:"bytes,5,opt,name=stable_cutback_duration,json=stableCutbackDuration,proto3" json:"stable_cutback_duration,omitempty"`
// Optional. The label to use when selecting Pods for the Deployment and
// Service resources. This label must already be present in both resources.
PodSelectorLabel string `protobuf:"bytes,6,opt,name=pod_selector_label,json=podSelectorLabel,proto3" json:"pod_selector_label,omitempty"`
// Optional. Route destinations allow configuring the Gateway API HTTPRoute
// to be deployed to additional clusters. This option is available for
// multi-cluster service mesh set ups that require the route to exist in the
// clusters that call the service. If unspecified, the HTTPRoute will only
// be deployed to the Target cluster.
RouteDestinations *KubernetesConfig_GatewayServiceMesh_RouteDestinations `protobuf:"bytes,8,opt,name=route_destinations,json=routeDestinations,proto3" json:"route_destinations,omitempty"`
// contains filtered or unexported fields
}Information about the Kubernetes Gateway API service mesh configuration.
func (*KubernetesConfig_GatewayServiceMesh) Descriptor
func (*KubernetesConfig_GatewayServiceMesh) Descriptor() ([]byte, []int)Deprecated: Use KubernetesConfig_GatewayServiceMesh.ProtoReflect.Descriptor instead.
func (*KubernetesConfig_GatewayServiceMesh) GetDeployment
func (x *KubernetesConfig_GatewayServiceMesh) GetDeployment() stringfunc (*KubernetesConfig_GatewayServiceMesh) GetHttpRoute
func (x *KubernetesConfig_GatewayServiceMesh) GetHttpRoute() stringfunc (*KubernetesConfig_GatewayServiceMesh) GetPodSelectorLabel
func (x *KubernetesConfig_GatewayServiceMesh) GetPodSelectorLabel() stringfunc (*KubernetesConfig_GatewayServiceMesh) GetRouteDestinations
func (x *KubernetesConfig_GatewayServiceMesh) GetRouteDestinations() *KubernetesConfig_GatewayServiceMesh_RouteDestinationsfunc (*KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime
func (x *KubernetesConfig_GatewayServiceMesh) GetRouteUpdateWaitTime() *durationpb.Durationfunc (*KubernetesConfig_GatewayServiceMesh) GetService
func (x *KubernetesConfig_GatewayServiceMesh) GetService() stringfunc (*KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration
func (x *KubernetesConfig_GatewayServiceMesh) GetStableCutbackDuration() *durationpb.Durationfunc (*KubernetesConfig_GatewayServiceMesh) ProtoMessage
func (*KubernetesConfig_GatewayServiceMesh) ProtoMessage()func (*KubernetesConfig_GatewayServiceMesh) ProtoReflect
func (x *KubernetesConfig_GatewayServiceMesh) ProtoReflect() protoreflect.Messagefunc (*KubernetesConfig_GatewayServiceMesh) Reset
func (x *KubernetesConfig_GatewayServiceMesh) Reset()func (*KubernetesConfig_GatewayServiceMesh) String
func (x *KubernetesConfig_GatewayServiceMesh) String() stringKubernetesConfig_GatewayServiceMesh_
type KubernetesConfig_GatewayServiceMesh_ struct {
// Optional. Kubernetes Gateway API service mesh configuration.
GatewayServiceMesh *KubernetesConfig_GatewayServiceMesh `protobuf:"bytes,1,opt,name=gateway_service_mesh,json=gatewayServiceMesh,proto3,oneof"`
}KubernetesConfig_GatewayServiceMesh_RouteDestinations
type KubernetesConfig_GatewayServiceMesh_RouteDestinations struct {
// Required. The clusters where the Gateway API HTTPRoute resource will be
// deployed to. Valid entries include the associated entities IDs
// configured in the Target resource and "@self" to include the Target
// cluster.
DestinationIds []string `protobuf:"bytes,1,rep,name=destination_ids,json=destinationIds,proto3" json:"destination_ids,omitempty"`
// Optional. Whether to propagate the Kubernetes Service to the route
// destination clusters. The Service will always be deployed to the Target
// cluster even if the HTTPRoute is not. This option may be used to
// facilitate successful DNS lookup in the route destination clusters. Can
// only be set to true if destinations are specified.
PropagateService bool `protobuf:"varint,2,opt,name=propagate_service,json=propagateService,proto3" json:"propagate_service,omitempty"`
// contains filtered or unexported fields
}Information about route destinations for the Gateway API service mesh.
func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) Descriptor
func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) Descriptor() ([]byte, []int)Deprecated: Use KubernetesConfig_GatewayServiceMesh_RouteDestinations.ProtoReflect.Descriptor instead.
func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) GetDestinationIds
func (x *KubernetesConfig_GatewayServiceMesh_RouteDestinations) GetDestinationIds() []stringfunc (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) GetPropagateService
func (x *KubernetesConfig_GatewayServiceMesh_RouteDestinations) GetPropagateService() boolfunc (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) ProtoMessage
func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) ProtoMessage()func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) ProtoReflect
func (x *KubernetesConfig_GatewayServiceMesh_RouteDestinations) ProtoReflect() protoreflect.Messagefunc (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) Reset
func (x *KubernetesConfig_GatewayServiceMesh_RouteDestinations) Reset()func (*KubernetesConfig_GatewayServiceMesh_RouteDestinations) String
func (x *KubernetesConfig_GatewayServiceMesh_RouteDestinations) String() stringKubernetesConfig_ServiceNetworking
type KubernetesConfig_ServiceNetworking struct {
// Required. Name of the Kubernetes Service.
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
// Required. Name of the Kubernetes Deployment whose traffic is managed by
// the specified Service.
Deployment string `protobuf:"bytes,2,opt,name=deployment,proto3" json:"deployment,omitempty"`
// Optional. Whether to disable Pod overprovisioning. If Pod
// overprovisioning is disabled then Cloud Deploy will limit the number of
// total Pods used for the deployment strategy to the number of Pods the
// Deployment has on the cluster.
DisablePodOverprovisioning bool `protobuf:"varint,3,opt,name=disable_pod_overprovisioning,json=disablePodOverprovisioning,proto3" json:"disable_pod_overprovisioning,omitempty"`
// Optional. The label to use when selecting Pods for the Deployment
// resource. This label must already be present in the Deployment.
PodSelectorLabel string `protobuf:"bytes,4,opt,name=pod_selector_label,json=podSelectorLabel,proto3" json:"pod_selector_label,omitempty"`
// contains filtered or unexported fields
}Information about the Kubernetes Service networking configuration.
func (*KubernetesConfig_ServiceNetworking) Descriptor
func (*KubernetesConfig_ServiceNetworking) Descriptor() ([]byte, []int)Deprecated: Use KubernetesConfig_ServiceNetworking.ProtoReflect.Descriptor instead.
func (*KubernetesConfig_ServiceNetworking) GetDeployment
func (x *KubernetesConfig_ServiceNetworking) GetDeployment() stringfunc (*KubernetesConfig_ServiceNetworking) GetDisablePodOverprovisioning
func (x *KubernetesConfig_ServiceNetworking) GetDisablePodOverprovisioning() boolfunc (*KubernetesConfig_ServiceNetworking) GetPodSelectorLabel
func (x *KubernetesConfig_ServiceNetworking) GetPodSelectorLabel() stringfunc (*KubernetesConfig_ServiceNetworking) GetService
func (x *KubernetesConfig_ServiceNetworking) GetService() stringfunc (*KubernetesConfig_ServiceNetworking) ProtoMessage
func (*KubernetesConfig_ServiceNetworking) ProtoMessage()func (*KubernetesConfig_ServiceNetworking) ProtoReflect
func (x *KubernetesConfig_ServiceNetworking) ProtoReflect() protoreflect.Messagefunc (*KubernetesConfig_ServiceNetworking) Reset
func (x *KubernetesConfig_ServiceNetworking) Reset()func (*KubernetesConfig_ServiceNetworking) String
func (x *KubernetesConfig_ServiceNetworking) String() stringKubernetesConfig_ServiceNetworking_
type KubernetesConfig_ServiceNetworking_ struct {
// Optional. Kubernetes Service networking configuration.
ServiceNetworking *KubernetesConfig_ServiceNetworking `protobuf:"bytes,2,opt,name=service_networking,json=serviceNetworking,proto3,oneof"`
}ListAutomationRunsRequest
type ListAutomationRunsRequest struct {
// Required. The parent `Delivery Pipeline`, which owns this collection of
// automationRuns. Format must be
// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of automationRuns to return. The service may return
// fewer than this value. If unspecified, at most 50 automationRuns will
// be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListAutomationRuns` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter automationRuns to be returned. All fields can be used in the
// filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListAutomationRuns.
func (*ListAutomationRunsRequest) Descriptor
func (*ListAutomationRunsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAutomationRunsRequest.ProtoReflect.Descriptor instead.
func (*ListAutomationRunsRequest) GetFilter
func (x *ListAutomationRunsRequest) GetFilter() stringfunc (*ListAutomationRunsRequest) GetOrderBy
func (x *ListAutomationRunsRequest) GetOrderBy() stringfunc (*ListAutomationRunsRequest) GetPageSize
func (x *ListAutomationRunsRequest) GetPageSize() int32func (*ListAutomationRunsRequest) GetPageToken
func (x *ListAutomationRunsRequest) GetPageToken() stringfunc (*ListAutomationRunsRequest) GetParent
func (x *ListAutomationRunsRequest) GetParent() stringfunc (*ListAutomationRunsRequest) ProtoMessage
func (*ListAutomationRunsRequest) ProtoMessage()func (*ListAutomationRunsRequest) ProtoReflect
func (x *ListAutomationRunsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAutomationRunsRequest) Reset
func (x *ListAutomationRunsRequest) Reset()func (*ListAutomationRunsRequest) String
func (x *ListAutomationRunsRequest) String() stringListAutomationRunsResponse
type ListAutomationRunsResponse struct {
// The `AutomationRuns` objects.
AutomationRuns []*AutomationRun `protobuf:"bytes,1,rep,name=automation_runs,json=automationRuns,proto3" json:"automation_runs,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListAutomationRuns.
func (*ListAutomationRunsResponse) Descriptor
func (*ListAutomationRunsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAutomationRunsResponse.ProtoReflect.Descriptor instead.
func (*ListAutomationRunsResponse) GetAutomationRuns
func (x *ListAutomationRunsResponse) GetAutomationRuns() []*AutomationRunfunc (*ListAutomationRunsResponse) GetNextPageToken
func (x *ListAutomationRunsResponse) GetNextPageToken() stringfunc (*ListAutomationRunsResponse) GetUnreachable
func (x *ListAutomationRunsResponse) GetUnreachable() []stringfunc (*ListAutomationRunsResponse) ProtoMessage
func (*ListAutomationRunsResponse) ProtoMessage()func (*ListAutomationRunsResponse) ProtoReflect
func (x *ListAutomationRunsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAutomationRunsResponse) Reset
func (x *ListAutomationRunsResponse) Reset()func (*ListAutomationRunsResponse) String
func (x *ListAutomationRunsResponse) String() stringListAutomationsRequest
type ListAutomationsRequest struct {
// Required. The parent `Delivery Pipeline`, which owns this collection of
// automations. Format must be
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of automations to return. The service may return
// fewer than this value. If unspecified, at most 50 automations will
// be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListAutomations` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter automations to be returned. All fields can be used in the
// filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListAutomations.
func (*ListAutomationsRequest) Descriptor
func (*ListAutomationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAutomationsRequest.ProtoReflect.Descriptor instead.
func (*ListAutomationsRequest) GetFilter
func (x *ListAutomationsRequest) GetFilter() stringfunc (*ListAutomationsRequest) GetOrderBy
func (x *ListAutomationsRequest) GetOrderBy() stringfunc (*ListAutomationsRequest) GetPageSize
func (x *ListAutomationsRequest) GetPageSize() int32func (*ListAutomationsRequest) GetPageToken
func (x *ListAutomationsRequest) GetPageToken() stringfunc (*ListAutomationsRequest) GetParent
func (x *ListAutomationsRequest) GetParent() stringfunc (*ListAutomationsRequest) ProtoMessage
func (*ListAutomationsRequest) ProtoMessage()func (*ListAutomationsRequest) ProtoReflect
func (x *ListAutomationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAutomationsRequest) Reset
func (x *ListAutomationsRequest) Reset()func (*ListAutomationsRequest) String
func (x *ListAutomationsRequest) String() stringListAutomationsResponse
type ListAutomationsResponse struct {
// The `Automation` objects.
Automations []*Automation `protobuf:"bytes,1,rep,name=automations,proto3" json:"automations,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListAutomations.
func (*ListAutomationsResponse) Descriptor
func (*ListAutomationsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAutomationsResponse.ProtoReflect.Descriptor instead.
func (*ListAutomationsResponse) GetAutomations
func (x *ListAutomationsResponse) GetAutomations() []*Automationfunc (*ListAutomationsResponse) GetNextPageToken
func (x *ListAutomationsResponse) GetNextPageToken() stringfunc (*ListAutomationsResponse) GetUnreachable
func (x *ListAutomationsResponse) GetUnreachable() []stringfunc (*ListAutomationsResponse) ProtoMessage
func (*ListAutomationsResponse) ProtoMessage()func (*ListAutomationsResponse) ProtoReflect
func (x *ListAutomationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAutomationsResponse) Reset
func (x *ListAutomationsResponse) Reset()func (*ListAutomationsResponse) String
func (x *ListAutomationsResponse) String() stringListCustomTargetTypesRequest
type ListCustomTargetTypesRequest struct {
// Required. The parent that owns this collection of custom target types.
// Format must be `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `CustomTargetType` objects to return. The
// service may return fewer than this value. If unspecified, at most 50
// `CustomTargetType` objects will be returned. The maximum value is 1000;
// values above 1000 will be set to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListCustomTargetTypes`
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter custom target types to be returned. See
// https://google.aip.dev/160 for more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListCustomTargetTypes.
func (*ListCustomTargetTypesRequest) Descriptor
func (*ListCustomTargetTypesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListCustomTargetTypesRequest.ProtoReflect.Descriptor instead.
func (*ListCustomTargetTypesRequest) GetFilter
func (x *ListCustomTargetTypesRequest) GetFilter() stringfunc (*ListCustomTargetTypesRequest) GetOrderBy
func (x *ListCustomTargetTypesRequest) GetOrderBy() stringfunc (*ListCustomTargetTypesRequest) GetPageSize
func (x *ListCustomTargetTypesRequest) GetPageSize() int32func (*ListCustomTargetTypesRequest) GetPageToken
func (x *ListCustomTargetTypesRequest) GetPageToken() stringfunc (*ListCustomTargetTypesRequest) GetParent
func (x *ListCustomTargetTypesRequest) GetParent() stringfunc (*ListCustomTargetTypesRequest) ProtoMessage
func (*ListCustomTargetTypesRequest) ProtoMessage()func (*ListCustomTargetTypesRequest) ProtoReflect
func (x *ListCustomTargetTypesRequest) ProtoReflect() protoreflect.Messagefunc (*ListCustomTargetTypesRequest) Reset
func (x *ListCustomTargetTypesRequest) Reset()func (*ListCustomTargetTypesRequest) String
func (x *ListCustomTargetTypesRequest) String() stringListCustomTargetTypesResponse
type ListCustomTargetTypesResponse struct {
// The `CustomTargetType` objects.
CustomTargetTypes []*CustomTargetType `protobuf:"bytes,1,rep,name=custom_target_types,json=customTargetTypes,proto3" json:"custom_target_types,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListCustomTargetTypes.
func (*ListCustomTargetTypesResponse) Descriptor
func (*ListCustomTargetTypesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListCustomTargetTypesResponse.ProtoReflect.Descriptor instead.
func (*ListCustomTargetTypesResponse) GetCustomTargetTypes
func (x *ListCustomTargetTypesResponse) GetCustomTargetTypes() []*CustomTargetTypefunc (*ListCustomTargetTypesResponse) GetNextPageToken
func (x *ListCustomTargetTypesResponse) GetNextPageToken() stringfunc (*ListCustomTargetTypesResponse) GetUnreachable
func (x *ListCustomTargetTypesResponse) GetUnreachable() []stringfunc (*ListCustomTargetTypesResponse) ProtoMessage
func (*ListCustomTargetTypesResponse) ProtoMessage()func (*ListCustomTargetTypesResponse) ProtoReflect
func (x *ListCustomTargetTypesResponse) ProtoReflect() protoreflect.Messagefunc (*ListCustomTargetTypesResponse) Reset
func (x *ListCustomTargetTypesResponse) Reset()func (*ListCustomTargetTypesResponse) String
func (x *ListCustomTargetTypesResponse) String() stringListDeliveryPipelinesRequest
type ListDeliveryPipelinesRequest struct {
// Required. The parent, which owns this collection of pipelines. Format must
// be `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of pipelines to return. The service may return
// fewer than this value. If unspecified, at most 50 pipelines will
// be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDeliveryPipelines` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter pipelines to be returned. See https://google.aip.dev/160 for more
// details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by. See https://google.aip.dev/132#ordering for more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListDeliveryPipelines.
func (*ListDeliveryPipelinesRequest) Descriptor
func (*ListDeliveryPipelinesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDeliveryPipelinesRequest.ProtoReflect.Descriptor instead.
func (*ListDeliveryPipelinesRequest) GetFilter
func (x *ListDeliveryPipelinesRequest) GetFilter() stringfunc (*ListDeliveryPipelinesRequest) GetOrderBy
func (x *ListDeliveryPipelinesRequest) GetOrderBy() stringfunc (*ListDeliveryPipelinesRequest) GetPageSize
func (x *ListDeliveryPipelinesRequest) GetPageSize() int32func (*ListDeliveryPipelinesRequest) GetPageToken
func (x *ListDeliveryPipelinesRequest) GetPageToken() stringfunc (*ListDeliveryPipelinesRequest) GetParent
func (x *ListDeliveryPipelinesRequest) GetParent() stringfunc (*ListDeliveryPipelinesRequest) ProtoMessage
func (*ListDeliveryPipelinesRequest) ProtoMessage()func (*ListDeliveryPipelinesRequest) ProtoReflect
func (x *ListDeliveryPipelinesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDeliveryPipelinesRequest) Reset
func (x *ListDeliveryPipelinesRequest) Reset()func (*ListDeliveryPipelinesRequest) String
func (x *ListDeliveryPipelinesRequest) String() stringListDeliveryPipelinesResponse
type ListDeliveryPipelinesResponse struct {
// The `DeliveryPipeline` objects.
DeliveryPipelines []*DeliveryPipeline `protobuf:"bytes,1,rep,name=delivery_pipelines,json=deliveryPipelines,proto3" json:"delivery_pipelines,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListDeliveryPipelines.
func (*ListDeliveryPipelinesResponse) Descriptor
func (*ListDeliveryPipelinesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDeliveryPipelinesResponse.ProtoReflect.Descriptor instead.
func (*ListDeliveryPipelinesResponse) GetDeliveryPipelines
func (x *ListDeliveryPipelinesResponse) GetDeliveryPipelines() []*DeliveryPipelinefunc (*ListDeliveryPipelinesResponse) GetNextPageToken
func (x *ListDeliveryPipelinesResponse) GetNextPageToken() stringfunc (*ListDeliveryPipelinesResponse) GetUnreachable
func (x *ListDeliveryPipelinesResponse) GetUnreachable() []stringfunc (*ListDeliveryPipelinesResponse) ProtoMessage
func (*ListDeliveryPipelinesResponse) ProtoMessage()func (*ListDeliveryPipelinesResponse) ProtoReflect
func (x *ListDeliveryPipelinesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDeliveryPipelinesResponse) Reset
func (x *ListDeliveryPipelinesResponse) Reset()func (*ListDeliveryPipelinesResponse) String
func (x *ListDeliveryPipelinesResponse) String() stringListDeployPoliciesRequest
type ListDeployPoliciesRequest struct {
// Required. The parent, which owns this collection of deploy policies. Format
// must be `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of deploy policies to return. The service may return
// fewer than this value. If unspecified, at most 50 deploy policies will
// be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A page token, received from a previous `ListDeployPolicies` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filter deploy policies to be returned. See https://google.aip.dev/160 for
// more details. All fields can be used in the filter.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Field to sort by. See https://google.aip.dev/132#ordering for more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListDeployPolicies.
func (*ListDeployPoliciesRequest) Descriptor
func (*ListDeployPoliciesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDeployPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListDeployPoliciesRequest) GetFilter
func (x *ListDeployPoliciesRequest) GetFilter() stringfunc (*ListDeployPoliciesRequest) GetOrderBy
func (x *ListDeployPoliciesRequest) GetOrderBy() stringfunc (*ListDeployPoliciesRequest) GetPageSize
func (x *ListDeployPoliciesRequest) GetPageSize() int32func (*ListDeployPoliciesRequest) GetPageToken
func (x *ListDeployPoliciesRequest) GetPageToken() stringfunc (*ListDeployPoliciesRequest) GetParent
func (x *ListDeployPoliciesRequest) GetParent() stringfunc (*ListDeployPoliciesRequest) ProtoMessage
func (*ListDeployPoliciesRequest) ProtoMessage()func (*ListDeployPoliciesRequest) ProtoReflect
func (x *ListDeployPoliciesRequest) ProtoReflect() protoreflect.Messagefunc (*ListDeployPoliciesRequest) Reset
func (x *ListDeployPoliciesRequest) Reset()func (*ListDeployPoliciesRequest) String
func (x *ListDeployPoliciesRequest) String() stringListDeployPoliciesResponse
type ListDeployPoliciesResponse struct {
// The `DeployPolicy` objects.
DeployPolicies []*DeployPolicy `protobuf:"bytes,1,rep,name=deploy_policies,json=deployPolicies,proto3" json:"deploy_policies,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListDeployPolicies.
func (*ListDeployPoliciesResponse) Descriptor
func (*ListDeployPoliciesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDeployPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListDeployPoliciesResponse) GetDeployPolicies
func (x *ListDeployPoliciesResponse) GetDeployPolicies() []*DeployPolicyfunc (*ListDeployPoliciesResponse) GetNextPageToken
func (x *ListDeployPoliciesResponse) GetNextPageToken() stringfunc (*ListDeployPoliciesResponse) GetUnreachable
func (x *ListDeployPoliciesResponse) GetUnreachable() []stringfunc (*ListDeployPoliciesResponse) ProtoMessage
func (*ListDeployPoliciesResponse) ProtoMessage()func (*ListDeployPoliciesResponse) ProtoReflect
func (x *ListDeployPoliciesResponse) ProtoReflect() protoreflect.Messagefunc (*ListDeployPoliciesResponse) Reset
func (x *ListDeployPoliciesResponse) Reset()func (*ListDeployPoliciesResponse) String
func (x *ListDeployPoliciesResponse) String() stringListJobRunsRequest
type ListJobRunsRequest struct {
// Required. The `Rollout` which owns this collection of `JobRun` objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `JobRun` objects to return. The service may
// return fewer than this value. If unspecified, at most 50 `JobRun` objects
// will be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListJobRuns` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match the call that provided
// the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter results to be returned. See https://google.aip.dev/160 for
// more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}ListJobRunsRequest is the request object used by ListJobRuns.
func (*ListJobRunsRequest) Descriptor
func (*ListJobRunsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListJobRunsRequest.ProtoReflect.Descriptor instead.
func (*ListJobRunsRequest) GetFilter
func (x *ListJobRunsRequest) GetFilter() stringfunc (*ListJobRunsRequest) GetOrderBy
func (x *ListJobRunsRequest) GetOrderBy() stringfunc (*ListJobRunsRequest) GetPageSize
func (x *ListJobRunsRequest) GetPageSize() int32func (*ListJobRunsRequest) GetPageToken
func (x *ListJobRunsRequest) GetPageToken() stringfunc (*ListJobRunsRequest) GetParent
func (x *ListJobRunsRequest) GetParent() stringfunc (*ListJobRunsRequest) ProtoMessage
func (*ListJobRunsRequest) ProtoMessage()func (*ListJobRunsRequest) ProtoReflect
func (x *ListJobRunsRequest) ProtoReflect() protoreflect.Messagefunc (*ListJobRunsRequest) Reset
func (x *ListJobRunsRequest) Reset()func (*ListJobRunsRequest) String
func (x *ListJobRunsRequest) String() stringListJobRunsResponse
type ListJobRunsResponse struct {
// The `JobRun` objects.
JobRuns []*JobRun `protobuf:"bytes,1,rep,name=job_runs,json=jobRuns,proto3" json:"job_runs,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page. If
// this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}ListJobRunsResponse is the response object returned by ListJobRuns.
func (*ListJobRunsResponse) Descriptor
func (*ListJobRunsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListJobRunsResponse.ProtoReflect.Descriptor instead.
func (*ListJobRunsResponse) GetJobRuns
func (x *ListJobRunsResponse) GetJobRuns() []*JobRunfunc (*ListJobRunsResponse) GetNextPageToken
func (x *ListJobRunsResponse) GetNextPageToken() stringfunc (*ListJobRunsResponse) GetUnreachable
func (x *ListJobRunsResponse) GetUnreachable() []stringfunc (*ListJobRunsResponse) ProtoMessage
func (*ListJobRunsResponse) ProtoMessage()func (*ListJobRunsResponse) ProtoReflect
func (x *ListJobRunsResponse) ProtoReflect() protoreflect.Messagefunc (*ListJobRunsResponse) Reset
func (x *ListJobRunsResponse) Reset()func (*ListJobRunsResponse) String
func (x *ListJobRunsResponse) String() stringListReleasesRequest
type ListReleasesRequest struct {
// Required. The `DeliveryPipeline` which owns this collection of `Release`
// objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Release` objects to return. The service
// may return fewer than this value. If unspecified, at most 50 `Release`
// objects will be returned. The maximum value is 1000; values above 1000 will
// be set to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListReleases` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter releases to be returned. See https://google.aip.dev/160
// for more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListReleases.
func (*ListReleasesRequest) Descriptor
func (*ListReleasesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListReleasesRequest.ProtoReflect.Descriptor instead.
func (*ListReleasesRequest) GetFilter
func (x *ListReleasesRequest) GetFilter() stringfunc (*ListReleasesRequest) GetOrderBy
func (x *ListReleasesRequest) GetOrderBy() stringfunc (*ListReleasesRequest) GetPageSize
func (x *ListReleasesRequest) GetPageSize() int32func (*ListReleasesRequest) GetPageToken
func (x *ListReleasesRequest) GetPageToken() stringfunc (*ListReleasesRequest) GetParent
func (x *ListReleasesRequest) GetParent() stringfunc (*ListReleasesRequest) ProtoMessage
func (*ListReleasesRequest) ProtoMessage()func (*ListReleasesRequest) ProtoReflect
func (x *ListReleasesRequest) ProtoReflect() protoreflect.Messagefunc (*ListReleasesRequest) Reset
func (x *ListReleasesRequest) Reset()func (*ListReleasesRequest) String
func (x *ListReleasesRequest) String() stringListReleasesResponse
type ListReleasesResponse struct {
// The `Release` objects.
Releases []*Release `protobuf:"bytes,1,rep,name=releases,proto3" json:"releases,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListReleases.
func (*ListReleasesResponse) Descriptor
func (*ListReleasesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListReleasesResponse.ProtoReflect.Descriptor instead.
func (*ListReleasesResponse) GetNextPageToken
func (x *ListReleasesResponse) GetNextPageToken() stringfunc (*ListReleasesResponse) GetReleases
func (x *ListReleasesResponse) GetReleases() []*Releasefunc (*ListReleasesResponse) GetUnreachable
func (x *ListReleasesResponse) GetUnreachable() []stringfunc (*ListReleasesResponse) ProtoMessage
func (*ListReleasesResponse) ProtoMessage()func (*ListReleasesResponse) ProtoReflect
func (x *ListReleasesResponse) ProtoReflect() protoreflect.Messagefunc (*ListReleasesResponse) Reset
func (x *ListReleasesResponse) Reset()func (*ListReleasesResponse) String
func (x *ListReleasesResponse) String() stringListRolloutsRequest
type ListRolloutsRequest struct {
// Required. The `Release` which owns this collection of `Rollout` objects.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Rollout` objects to return. The service
// may return fewer than this value. If unspecified, at most 50 `Rollout`
// objects will be returned. The maximum value is 1000; values above 1000 will
// be set to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListRollouts` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter rollouts to be returned. See https://google.aip.dev/160
// for more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}ListRolloutsRequest is the request object used by ListRollouts.
func (*ListRolloutsRequest) Descriptor
func (*ListRolloutsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutsRequest.ProtoReflect.Descriptor instead.
func (*ListRolloutsRequest) GetFilter
func (x *ListRolloutsRequest) GetFilter() stringfunc (*ListRolloutsRequest) GetOrderBy
func (x *ListRolloutsRequest) GetOrderBy() stringfunc (*ListRolloutsRequest) GetPageSize
func (x *ListRolloutsRequest) GetPageSize() int32func (*ListRolloutsRequest) GetPageToken
func (x *ListRolloutsRequest) GetPageToken() stringfunc (*ListRolloutsRequest) GetParent
func (x *ListRolloutsRequest) GetParent() stringfunc (*ListRolloutsRequest) ProtoMessage
func (*ListRolloutsRequest) ProtoMessage()func (*ListRolloutsRequest) ProtoReflect
func (x *ListRolloutsRequest) ProtoReflect() protoreflect.Messagefunc (*ListRolloutsRequest) Reset
func (x *ListRolloutsRequest) Reset()func (*ListRolloutsRequest) String
func (x *ListRolloutsRequest) String() stringListRolloutsResponse
type ListRolloutsResponse struct {
// The `Rollout` objects.
Rollouts []*Rollout `protobuf:"bytes,1,rep,name=rollouts,proto3" json:"rollouts,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}ListRolloutsResponse is the response object returned by ListRollouts.
func (*ListRolloutsResponse) Descriptor
func (*ListRolloutsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListRolloutsResponse.ProtoReflect.Descriptor instead.
func (*ListRolloutsResponse) GetNextPageToken
func (x *ListRolloutsResponse) GetNextPageToken() stringfunc (*ListRolloutsResponse) GetRollouts
func (x *ListRolloutsResponse) GetRollouts() []*Rolloutfunc (*ListRolloutsResponse) GetUnreachable
func (x *ListRolloutsResponse) GetUnreachable() []stringfunc (*ListRolloutsResponse) ProtoMessage
func (*ListRolloutsResponse) ProtoMessage()func (*ListRolloutsResponse) ProtoReflect
func (x *ListRolloutsResponse) ProtoReflect() protoreflect.Messagefunc (*ListRolloutsResponse) Reset
func (x *ListRolloutsResponse) Reset()func (*ListRolloutsResponse) String
func (x *ListRolloutsResponse) String() stringListTargetsRequest
type ListTargetsRequest struct {
// Required. The parent, which owns this collection of targets. Format must be
// `projects/{project_id}/locations/{location_name}`.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of `Target` objects to return. The service may
// return fewer than this value. If unspecified, at most 50 `Target` objects
// will be returned. The maximum value is 1000; values above 1000 will be set
// to 1000.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListTargets` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other provided parameters match
// the call that provided the page token.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filter targets to be returned. See https://google.aip.dev/160 for
// more details.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. Field to sort by. See https://google.aip.dev/132#ordering for
// more details.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}The request object for ListTargets.
func (*ListTargetsRequest) Descriptor
func (*ListTargetsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListTargetsRequest.ProtoReflect.Descriptor instead.
func (*ListTargetsRequest) GetFilter
func (x *ListTargetsRequest) GetFilter() stringfunc (*ListTargetsRequest) GetOrderBy
func (x *ListTargetsRequest) GetOrderBy() stringfunc (*ListTargetsRequest) GetPageSize
func (x *ListTargetsRequest) GetPageSize() int32func (*ListTargetsRequest) GetPageToken
func (x *ListTargetsRequest) GetPageToken() stringfunc (*ListTargetsRequest) GetParent
func (x *ListTargetsRequest) GetParent() stringfunc (*ListTargetsRequest) ProtoMessage
func (*ListTargetsRequest) ProtoMessage()func (*ListTargetsRequest) ProtoReflect
func (x *ListTargetsRequest) ProtoReflect() protoreflect.Messagefunc (*ListTargetsRequest) Reset
func (x *ListTargetsRequest) Reset()func (*ListTargetsRequest) String
func (x *ListTargetsRequest) String() stringListTargetsResponse
type ListTargetsResponse struct {
// The `Target` objects.
Targets []*Target `protobuf:"bytes,1,rep,name=targets,proto3" json:"targets,omitempty"`
// A token, which can be sent as `page_token` to retrieve the next page.
// If this field is omitted, there are no subsequent pages.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}The response object from ListTargets.
func (*ListTargetsResponse) Descriptor
func (*ListTargetsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListTargetsResponse.ProtoReflect.Descriptor instead.
func (*ListTargetsResponse) GetNextPageToken
func (x *ListTargetsResponse) GetNextPageToken() stringfunc (*ListTargetsResponse) GetTargets
func (x *ListTargetsResponse) GetTargets() []*Targetfunc (*ListTargetsResponse) GetUnreachable
func (x *ListTargetsResponse) GetUnreachable() []stringfunc (*ListTargetsResponse) ProtoMessage
func (*ListTargetsResponse) ProtoMessage()func (*ListTargetsResponse) ProtoReflect
func (x *ListTargetsResponse) ProtoReflect() protoreflect.Messagefunc (*ListTargetsResponse) Reset
func (x *ListTargetsResponse) Reset()func (*ListTargetsResponse) String
func (x *ListTargetsResponse) String() stringMetadata
type Metadata struct {
// Output only. The name of the Cloud Run Service that is associated with a
// `Rollout`.
CloudRun *CloudRunMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
// Output only. AutomationRolloutMetadata contains the information about the
// interactions between Automation service and this rollout.
Automation *AutomationRolloutMetadata `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
// Output only. Custom metadata provided by user-defined `Rollout` operations.
Custom *CustomMetadata `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}Metadata includes information associated with a Rollout.
func (*Metadata) Descriptor
Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
func (*Metadata) GetAutomation
func (x *Metadata) GetAutomation() *AutomationRolloutMetadatafunc (*Metadata) GetCloudRun
func (x *Metadata) GetCloudRun() *CloudRunMetadatafunc (*Metadata) GetCustom
func (x *Metadata) GetCustom() *CustomMetadatafunc (*Metadata) ProtoMessage
func (*Metadata) ProtoMessage()func (*Metadata) ProtoReflect
func (x *Metadata) ProtoReflect() protoreflect.Messagefunc (*Metadata) Reset
func (x *Metadata) Reset()func (*Metadata) String
MultiTarget
type MultiTarget struct {
// Required. The target_ids of this multiTarget.
TargetIds []string `protobuf:"bytes,1,rep,name=target_ids,json=targetIds,proto3" json:"target_ids,omitempty"`
// contains filtered or unexported fields
}Information specifying a multiTarget.
func (*MultiTarget) Descriptor
func (*MultiTarget) Descriptor() ([]byte, []int)Deprecated: Use MultiTarget.ProtoReflect.Descriptor instead.
func (*MultiTarget) GetTargetIds
func (x *MultiTarget) GetTargetIds() []stringfunc (*MultiTarget) ProtoMessage
func (*MultiTarget) ProtoMessage()func (*MultiTarget) ProtoReflect
func (x *MultiTarget) ProtoReflect() protoreflect.Messagefunc (*MultiTarget) Reset
func (x *MultiTarget) Reset()func (*MultiTarget) String
func (x *MultiTarget) String() stringOneTimeWindow
type OneTimeWindow struct {
// Required. Start date.
StartDate *date.Date `protobuf:"bytes,1,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
// Required. Start time (inclusive). Use 00:00 for the beginning of the day.
StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Required. End date.
EndDate *date.Date `protobuf:"bytes,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
// Required. End time (exclusive). You may use 24:00 for the end of the day.
EndTime *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}One-time window within which actions are restricted. For example, blocking actions over New Year's Eve from December 31st at 5pm to January 1st at 9am.
func (*OneTimeWindow) Descriptor
func (*OneTimeWindow) Descriptor() ([]byte, []int)Deprecated: Use OneTimeWindow.ProtoReflect.Descriptor instead.
func (*OneTimeWindow) GetEndDate
func (x *OneTimeWindow) GetEndDate() *date.Datefunc (*OneTimeWindow) GetEndTime
func (x *OneTimeWindow) GetEndTime() *timeofday.TimeOfDayfunc (*OneTimeWindow) GetStartDate
func (x *OneTimeWindow) GetStartDate() *date.Datefunc (*OneTimeWindow) GetStartTime
func (x *OneTimeWindow) GetStartTime() *timeofday.TimeOfDayfunc (*OneTimeWindow) ProtoMessage
func (*OneTimeWindow) ProtoMessage()func (*OneTimeWindow) ProtoReflect
func (x *OneTimeWindow) ProtoReflect() protoreflect.Messagefunc (*OneTimeWindow) Reset
func (x *OneTimeWindow) Reset()func (*OneTimeWindow) String
func (x *OneTimeWindow) String() stringOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have
// [google.longrunning.Operation.error][google.longrunning.Operation.error]
// value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringPhase
type Phase struct {
// Output only. The ID of the Phase.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Output only. Current state of the Phase.
State Phase_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.deploy.v1.Phase_State" json:"state,omitempty"`
// Output only. Additional information on why the Phase was skipped, if
// available.
SkipMessage string `protobuf:"bytes,6,opt,name=skip_message,json=skipMessage,proto3" json:"skip_message,omitempty"`
// The job composition of this Phase.
//
// Types that are assignable to Jobs:
//
// *Phase_DeploymentJobs
// *Phase_ChildRolloutJobs
Jobs isPhase_Jobs `protobuf_oneof:"jobs"`
// contains filtered or unexported fields
}Phase represents a collection of jobs that are logically grouped together
for a Rollout.
func (*Phase) Descriptor
Deprecated: Use Phase.ProtoReflect.Descriptor instead.
func (*Phase) GetChildRolloutJobs
func (x *Phase) GetChildRolloutJobs() *ChildRolloutJobsfunc (*Phase) GetDeploymentJobs
func (x *Phase) GetDeploymentJobs() *DeploymentJobsfunc (*Phase) GetId
func (*Phase) GetJobs
func (m *Phase) GetJobs() isPhase_Jobsfunc (*Phase) GetSkipMessage
func (*Phase) GetState
func (x *Phase) GetState() Phase_Statefunc (*Phase) ProtoMessage
func (*Phase) ProtoMessage()func (*Phase) ProtoReflect
func (x *Phase) ProtoReflect() protoreflect.Messagefunc (*Phase) Reset
func (x *Phase) Reset()func (*Phase) String
Phase_ChildRolloutJobs
type Phase_ChildRolloutJobs struct {
// Output only. ChildRollout job composition.
ChildRolloutJobs *ChildRolloutJobs `protobuf:"bytes,5,opt,name=child_rollout_jobs,json=childRolloutJobs,proto3,oneof"`
}Phase_DeploymentJobs
type Phase_DeploymentJobs struct {
// Output only. Deployment job composition.
DeploymentJobs *DeploymentJobs `protobuf:"bytes,4,opt,name=deployment_jobs,json=deploymentJobs,proto3,oneof"`
}Phase_State
type Phase_State int32Valid states of a Phase.
Phase_STATE_UNSPECIFIED, Phase_PENDING, Phase_IN_PROGRESS, Phase_SUCCEEDED, Phase_FAILED, Phase_ABORTED, Phase_SKIPPED
const (
// The Phase has an unspecified state.
Phase_STATE_UNSPECIFIED Phase_State = 0
// The Phase is waiting for an earlier Phase(s) to complete.
Phase_PENDING Phase_State = 1
// The Phase is in progress.
Phase_IN_PROGRESS Phase_State = 2
// The Phase has succeeded.
Phase_SUCCEEDED Phase_State = 3
// The Phase has failed.
Phase_FAILED Phase_State = 4
// The Phase was aborted.
Phase_ABORTED Phase_State = 5
// The Phase was skipped.
Phase_SKIPPED Phase_State = 6
)func (Phase_State) Descriptor
func (Phase_State) Descriptor() protoreflect.EnumDescriptorfunc (Phase_State) Enum
func (x Phase_State) Enum() *Phase_Statefunc (Phase_State) EnumDescriptor
func (Phase_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Phase_State.Descriptor instead.
func (Phase_State) Number
func (x Phase_State) Number() protoreflect.EnumNumberfunc (Phase_State) String
func (x Phase_State) String() stringfunc (Phase_State) Type
func (Phase_State) Type() protoreflect.EnumTypePipelineCondition
type PipelineCondition struct {
// Details around the Pipeline's overall status.
PipelineReadyCondition *PipelineReadyCondition `protobuf:"bytes,1,opt,name=pipeline_ready_condition,json=pipelineReadyCondition,proto3" json:"pipeline_ready_condition,omitempty"`
// Details around targets enumerated in the pipeline.
TargetsPresentCondition *TargetsPresentCondition `protobuf:"bytes,3,opt,name=targets_present_condition,json=targetsPresentCondition,proto3" json:"targets_present_condition,omitempty"`
// Details on the whether the targets enumerated in the pipeline are of the
// same type.
TargetsTypeCondition *TargetsTypeCondition `protobuf:"bytes,4,opt,name=targets_type_condition,json=targetsTypeCondition,proto3" json:"targets_type_condition,omitempty"`
// contains filtered or unexported fields
}PipelineCondition contains all conditions relevant to a Delivery Pipeline.
func (*PipelineCondition) Descriptor
func (*PipelineCondition) Descriptor() ([]byte, []int)Deprecated: Use PipelineCondition.ProtoReflect.Descriptor instead.
func (*PipelineCondition) GetPipelineReadyCondition
func (x *PipelineCondition) GetPipelineReadyCondition() *PipelineReadyConditionfunc (*PipelineCondition) GetTargetsPresentCondition
func (x *PipelineCondition) GetTargetsPresentCondition() *TargetsPresentConditionfunc (*PipelineCondition) GetTargetsTypeCondition
func (x *PipelineCondition) GetTargetsTypeCondition() *TargetsTypeConditionfunc (*PipelineCondition) ProtoMessage
func (*PipelineCondition) ProtoMessage()func (*PipelineCondition) ProtoReflect
func (x *PipelineCondition) ProtoReflect() protoreflect.Messagefunc (*PipelineCondition) Reset
func (x *PipelineCondition) Reset()func (*PipelineCondition) String
func (x *PipelineCondition) String() stringPipelineReadyCondition
type PipelineReadyCondition struct {
// True if the Pipeline is in a valid state. Otherwise at least one condition
// in `PipelineCondition` is in an invalid state. Iterate over those
// conditions and see which condition(s) has status = false to find out what
// is wrong with the Pipeline.
Status bool `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
// Last time the condition was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}PipelineReadyCondition contains information around the status of the Pipeline.
func (*PipelineReadyCondition) Descriptor
func (*PipelineReadyCondition) Descriptor() ([]byte, []int)Deprecated: Use PipelineReadyCondition.ProtoReflect.Descriptor instead.
func (*PipelineReadyCondition) GetStatus
func (x *PipelineReadyCondition) GetStatus() boolfunc (*PipelineReadyCondition) GetUpdateTime
func (x *PipelineReadyCondition) GetUpdateTime() *timestamppb.Timestampfunc (*PipelineReadyCondition) ProtoMessage
func (*PipelineReadyCondition) ProtoMessage()func (*PipelineReadyCondition) ProtoReflect
func (x *PipelineReadyCondition) ProtoReflect() protoreflect.Messagefunc (*PipelineReadyCondition) Reset
func (x *PipelineReadyCondition) Reset()func (*PipelineReadyCondition) String
func (x *PipelineReadyCondition) String() stringPolicyRule
type PolicyRule struct {
// Types that are assignable to Rule:
//
// *PolicyRule_RolloutRestriction
Rule isPolicyRule_Rule `protobuf_oneof:"rule"`
// contains filtered or unexported fields
}Deploy Policy rule.
func (*PolicyRule) Descriptor
func (*PolicyRule) Descriptor() ([]byte, []int)Deprecated: Use PolicyRule.ProtoReflect.Descriptor instead.
func (*PolicyRule) GetRolloutRestriction
func (x *PolicyRule) GetRolloutRestriction() *RolloutRestrictionfunc (*PolicyRule) GetRule
func (m *PolicyRule) GetRule() isPolicyRule_Rulefunc (*PolicyRule) ProtoMessage
func (*PolicyRule) ProtoMessage()func (*PolicyRule) ProtoReflect
func (x *PolicyRule) ProtoReflect() protoreflect.Messagefunc (*PolicyRule) Reset
func (x *PolicyRule) Reset()func (*PolicyRule) String
func (x *PolicyRule) String() stringPolicyRule_RolloutRestriction
type PolicyRule_RolloutRestriction struct {
// Optional. Rollout restrictions.
RolloutRestriction *RolloutRestriction `protobuf:"bytes,2,opt,name=rollout_restriction,json=rolloutRestriction,proto3,oneof"`
}PolicyViolation
type PolicyViolation struct {
// Policy violation details.
PolicyViolationDetails []*PolicyViolationDetails `protobuf:"bytes,1,rep,name=policy_violation_details,json=policyViolationDetails,proto3" json:"policy_violation_details,omitempty"`
// contains filtered or unexported fields
}Returned from an action if one or more policies were violated, and therefore the action was prevented. Contains information about what policies were violated and why.
func (*PolicyViolation) Descriptor
func (*PolicyViolation) Descriptor() ([]byte, []int)Deprecated: Use PolicyViolation.ProtoReflect.Descriptor instead.
func (*PolicyViolation) GetPolicyViolationDetails
func (x *PolicyViolation) GetPolicyViolationDetails() []*PolicyViolationDetailsfunc (*PolicyViolation) ProtoMessage
func (*PolicyViolation) ProtoMessage()func (*PolicyViolation) ProtoReflect
func (x *PolicyViolation) ProtoReflect() protoreflect.Messagefunc (*PolicyViolation) Reset
func (x *PolicyViolation) Reset()func (*PolicyViolation) String
func (x *PolicyViolation) String() stringPolicyViolationDetails
type PolicyViolationDetails struct {
// Name of the policy that was violated.
// Policy resource will be in the format of
// `projects/{project}/locations/{location}/policies/{policy}`.
Policy string `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// Id of the rule that triggered the policy violation.
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
// User readable message about why the request violated a policy. This is not
// intended for machine parsing.
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}Policy violation details.
func (*PolicyViolationDetails) Descriptor
func (*PolicyViolationDetails) Descriptor() ([]byte, []int)Deprecated: Use PolicyViolationDetails.ProtoReflect.Descriptor instead.
func (*PolicyViolationDetails) GetFailureMessage
func (x *PolicyViolationDetails) GetFailureMessage() stringfunc (*PolicyViolationDetails) GetPolicy
func (x *PolicyViolationDetails) GetPolicy() stringfunc (*PolicyViolationDetails) GetRuleId
func (x *PolicyViolationDetails) GetRuleId() stringfunc (*PolicyViolationDetails) ProtoMessage
func (*PolicyViolationDetails) ProtoMessage()func (*PolicyViolationDetails) ProtoReflect
func (x *PolicyViolationDetails) ProtoReflect() protoreflect.Messagefunc (*PolicyViolationDetails) Reset
func (x *PolicyViolationDetails) Reset()func (*PolicyViolationDetails) String
func (x *PolicyViolationDetails) String() stringPostdeploy
type Postdeploy struct {
// Optional. A sequence of Skaffold custom actions to invoke during execution
// of the postdeploy job.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}Postdeploy contains the postdeploy job configuration information.
func (*Postdeploy) Descriptor
func (*Postdeploy) Descriptor() ([]byte, []int)Deprecated: Use Postdeploy.ProtoReflect.Descriptor instead.
func (*Postdeploy) GetActions
func (x *Postdeploy) GetActions() []stringfunc (*Postdeploy) ProtoMessage
func (*Postdeploy) ProtoMessage()func (*Postdeploy) ProtoReflect
func (x *Postdeploy) ProtoReflect() protoreflect.Messagefunc (*Postdeploy) Reset
func (x *Postdeploy) Reset()func (*Postdeploy) String
func (x *Postdeploy) String() stringPostdeployJob
type PostdeployJob struct {
// Output only. The custom actions that the postdeploy Job executes.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}A postdeploy Job.
func (*PostdeployJob) Descriptor
func (*PostdeployJob) Descriptor() ([]byte, []int)Deprecated: Use PostdeployJob.ProtoReflect.Descriptor instead.
func (*PostdeployJob) GetActions
func (x *PostdeployJob) GetActions() []stringfunc (*PostdeployJob) ProtoMessage
func (*PostdeployJob) ProtoMessage()func (*PostdeployJob) ProtoReflect
func (x *PostdeployJob) ProtoReflect() protoreflect.Messagefunc (*PostdeployJob) Reset
func (x *PostdeployJob) Reset()func (*PostdeployJob) String
func (x *PostdeployJob) String() stringPostdeployJobRun
type PostdeployJobRun struct {
// Output only. The resource name of the Cloud Build `Build` object that is
// used to execute the custom actions associated with the postdeploy Job.
// Format is `projects/{project}/locations/{location}/builds/{build}`.
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// Output only. The reason the postdeploy failed. This will always be
// unspecified while the postdeploy is in progress or if it succeeded.
FailureCause PostdeployJobRun_FailureCause `protobuf:"varint,2,opt,name=failure_cause,json=failureCause,proto3,enum=google.cloud.deploy.v1.PostdeployJobRun_FailureCause" json:"failure_cause,omitempty"`
// Output only. Additional information about the postdeploy failure, if
// available.
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}PostdeployJobRun contains information specific to a postdeploy JobRun.
func (*PostdeployJobRun) Descriptor
func (*PostdeployJobRun) Descriptor() ([]byte, []int)Deprecated: Use PostdeployJobRun.ProtoReflect.Descriptor instead.
func (*PostdeployJobRun) GetBuild
func (x *PostdeployJobRun) GetBuild() stringfunc (*PostdeployJobRun) GetFailureCause
func (x *PostdeployJobRun) GetFailureCause() PostdeployJobRun_FailureCausefunc (*PostdeployJobRun) GetFailureMessage
func (x *PostdeployJobRun) GetFailureMessage() stringfunc (*PostdeployJobRun) ProtoMessage
func (*PostdeployJobRun) ProtoMessage()func (*PostdeployJobRun) ProtoReflect
func (x *PostdeployJobRun) ProtoReflect() protoreflect.Messagefunc (*PostdeployJobRun) Reset
func (x *PostdeployJobRun) Reset()func (*PostdeployJobRun) String
func (x *PostdeployJobRun) String() stringPostdeployJobRun_FailureCause
type PostdeployJobRun_FailureCause int32Well-known postdeploy failures.
PostdeployJobRun_FAILURE_CAUSE_UNSPECIFIED, PostdeployJobRun_CLOUD_BUILD_UNAVAILABLE, PostdeployJobRun_EXECUTION_FAILED, PostdeployJobRun_DEADLINE_EXCEEDED, PostdeployJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
PostdeployJobRun_FAILURE_CAUSE_UNSPECIFIED PostdeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
PostdeployJobRun_CLOUD_BUILD_UNAVAILABLE PostdeployJobRun_FailureCause = 1
// The postdeploy operation did not complete successfully; check Cloud Build
// logs.
PostdeployJobRun_EXECUTION_FAILED PostdeployJobRun_FailureCause = 2
// The postdeploy job run did not complete within the allotted time.
PostdeployJobRun_DEADLINE_EXCEEDED PostdeployJobRun_FailureCause = 3
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
PostdeployJobRun_CLOUD_BUILD_REQUEST_FAILED PostdeployJobRun_FailureCause = 4
)func (PostdeployJobRun_FailureCause) Descriptor
func (PostdeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (PostdeployJobRun_FailureCause) Enum
func (x PostdeployJobRun_FailureCause) Enum() *PostdeployJobRun_FailureCausefunc (PostdeployJobRun_FailureCause) EnumDescriptor
func (PostdeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use PostdeployJobRun_FailureCause.Descriptor instead.
func (PostdeployJobRun_FailureCause) Number
func (x PostdeployJobRun_FailureCause) Number() protoreflect.EnumNumberfunc (PostdeployJobRun_FailureCause) String
func (x PostdeployJobRun_FailureCause) String() stringfunc (PostdeployJobRun_FailureCause) Type
func (PostdeployJobRun_FailureCause) Type() protoreflect.EnumTypePredeploy
type Predeploy struct {
// Optional. A sequence of Skaffold custom actions to invoke during execution
// of the predeploy job.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}Predeploy contains the predeploy job configuration information.
func (*Predeploy) Descriptor
Deprecated: Use Predeploy.ProtoReflect.Descriptor instead.
func (*Predeploy) GetActions
func (*Predeploy) ProtoMessage
func (*Predeploy) ProtoMessage()func (*Predeploy) ProtoReflect
func (x *Predeploy) ProtoReflect() protoreflect.Messagefunc (*Predeploy) Reset
func (x *Predeploy) Reset()func (*Predeploy) String
PredeployJob
type PredeployJob struct {
// Output only. The custom actions that the predeploy Job executes.
Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// contains filtered or unexported fields
}A predeploy Job.
func (*PredeployJob) Descriptor
func (*PredeployJob) Descriptor() ([]byte, []int)Deprecated: Use PredeployJob.ProtoReflect.Descriptor instead.
func (*PredeployJob) GetActions
func (x *PredeployJob) GetActions() []stringfunc (*PredeployJob) ProtoMessage
func (*PredeployJob) ProtoMessage()func (*PredeployJob) ProtoReflect
func (x *PredeployJob) ProtoReflect() protoreflect.Messagefunc (*PredeployJob) Reset
func (x *PredeployJob) Reset()func (*PredeployJob) String
func (x *PredeployJob) String() stringPredeployJobRun
type PredeployJobRun struct {
// Output only. The resource name of the Cloud Build `Build` object that is
// used to execute the custom actions associated with the predeploy Job.
// Format is `projects/{project}/locations/{location}/builds/{build}`.
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// Output only. The reason the predeploy failed. This will always be
// unspecified while the predeploy is in progress or if it succeeded.
FailureCause PredeployJobRun_FailureCause `protobuf:"varint,2,opt,name=failure_cause,json=failureCause,proto3,enum=google.cloud.deploy.v1.PredeployJobRun_FailureCause" json:"failure_cause,omitempty"`
// Output only. Additional information about the predeploy failure, if
// available.
FailureMessage string `protobuf:"bytes,3,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}PredeployJobRun contains information specific to a predeploy JobRun.
func (*PredeployJobRun) Descriptor
func (*PredeployJobRun) Descriptor() ([]byte, []int)Deprecated: Use PredeployJobRun.ProtoReflect.Descriptor instead.
func (*PredeployJobRun) GetBuild
func (x *PredeployJobRun) GetBuild() stringfunc (*PredeployJobRun) GetFailureCause
func (x *PredeployJobRun) GetFailureCause() PredeployJobRun_FailureCausefunc (*PredeployJobRun) GetFailureMessage
func (x *PredeployJobRun) GetFailureMessage() stringfunc (*PredeployJobRun) ProtoMessage
func (*PredeployJobRun) ProtoMessage()func (*PredeployJobRun) ProtoReflect
func (x *PredeployJobRun) ProtoReflect() protoreflect.Messagefunc (*PredeployJobRun) Reset
func (x *PredeployJobRun) Reset()func (*PredeployJobRun) String
func (x *PredeployJobRun) String() stringPredeployJobRun_FailureCause
type PredeployJobRun_FailureCause int32Well-known predeploy failures.
PredeployJobRun_FAILURE_CAUSE_UNSPECIFIED, PredeployJobRun_CLOUD_BUILD_UNAVAILABLE, PredeployJobRun_EXECUTION_FAILED, PredeployJobRun_DEADLINE_EXCEEDED, PredeployJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
PredeployJobRun_FAILURE_CAUSE_UNSPECIFIED PredeployJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
PredeployJobRun_CLOUD_BUILD_UNAVAILABLE PredeployJobRun_FailureCause = 1
// The predeploy operation did not complete successfully; check Cloud Build
// logs.
PredeployJobRun_EXECUTION_FAILED PredeployJobRun_FailureCause = 2
// The predeploy job run did not complete within the allotted time.
PredeployJobRun_DEADLINE_EXCEEDED PredeployJobRun_FailureCause = 3
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
PredeployJobRun_CLOUD_BUILD_REQUEST_FAILED PredeployJobRun_FailureCause = 4
)func (PredeployJobRun_FailureCause) Descriptor
func (PredeployJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (PredeployJobRun_FailureCause) Enum
func (x PredeployJobRun_FailureCause) Enum() *PredeployJobRun_FailureCausefunc (PredeployJobRun_FailureCause) EnumDescriptor
func (PredeployJobRun_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use PredeployJobRun_FailureCause.Descriptor instead.
func (PredeployJobRun_FailureCause) Number
func (x PredeployJobRun_FailureCause) Number() protoreflect.EnumNumberfunc (PredeployJobRun_FailureCause) String
func (x PredeployJobRun_FailureCause) String() stringfunc (PredeployJobRun_FailureCause) Type
func (PredeployJobRun_FailureCause) Type() protoreflect.EnumTypePrivatePool
type PrivatePool struct {
// Required. Resource name of the Cloud Build worker pool to use. The format
// is `projects/{project}/locations/{location}/workerPools/{pool}`.
WorkerPool string `protobuf:"bytes,1,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
// Optional. Google service account to use for execution. If unspecified,
// the project execution service account
// (Execution using a private Cloud Build pool.
func (*PrivatePool) Descriptor
func (*PrivatePool) Descriptor() ([]byte, []int)Deprecated: Use PrivatePool.ProtoReflect.Descriptor instead.
func (*PrivatePool) GetArtifactStorage
func (x *PrivatePool) GetArtifactStorage() stringfunc (*PrivatePool) GetServiceAccount
func (x *PrivatePool) GetServiceAccount() stringfunc (*PrivatePool) GetWorkerPool
func (x *PrivatePool) GetWorkerPool() stringfunc (*PrivatePool) ProtoMessage
func (*PrivatePool) ProtoMessage()func (*PrivatePool) ProtoReflect
func (x *PrivatePool) ProtoReflect() protoreflect.Messagefunc (*PrivatePool) Reset
func (x *PrivatePool) Reset()func (*PrivatePool) String
func (x *PrivatePool) String() stringPromoteReleaseOperation
type PromoteReleaseOperation struct {
// Output only. The ID of the target that represents the promotion stage to
// which the release will be promoted. The value of this field is the last
// segment of a target name.
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,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 starting phase of the rollout created by this operation.
Phase string `protobuf:"bytes,4,opt,name=phase,proto3" json:"phase,omitempty"`
// contains filtered or unexported fields
}Contains the information of an automated promote-release operation.
func (*PromoteReleaseOperation) Descriptor
func (*PromoteReleaseOperation) Descriptor() ([]byte, []int)Deprecated: Use PromoteReleaseOperation.ProtoReflect.Descriptor instead.
func (*PromoteReleaseOperation) GetPhase
func (x *PromoteReleaseOperation) GetPhase() stringfunc (*PromoteReleaseOperation) GetRollout
func (x *PromoteReleaseOperation) GetRollout() stringfunc (*PromoteReleaseOperation) GetTargetId
func (x *PromoteReleaseOperation) GetTargetId() stringfunc (*PromoteReleaseOperation) GetWait
func (x *PromoteReleaseOperation) GetWait() *durationpb.Durationfunc (*PromoteReleaseOperation) ProtoMessage
func (*PromoteReleaseOperation) ProtoMessage()func (*PromoteReleaseOperation) ProtoReflect
func (x *PromoteReleaseOperation) ProtoReflect() protoreflect.Messagefunc (*PromoteReleaseOperation) Reset
func (x *PromoteReleaseOperation) Reset()func (*PromoteReleaseOperation) String
func (x *PromoteReleaseOperation) String() stringPromoteReleaseRule
type PromoteReleaseRule 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. How long the release need to be paused until being promoted to
// the next target.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Optional. The ID of the stage in the pipeline to which this `Release` is
// deploying. If unspecified, default it to the next stage in the promotion
// flow. The value of this field could be one of the following:
//
// * The last segment of a target name
// * "@next", the next target in the promotion sequence
DestinationTargetId string `protobuf:"bytes,7,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
// Output only. Information around the state of the Automation rule.
Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. The starting phase of the rollout created by this operation.
// Default to the first phase.
DestinationPhase string `protobuf:"bytes,8,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// contains filtered or unexported fields
}The PromoteRelease rule will automatically promote a release from the
current target to a specified target.
func (*PromoteReleaseRule) Descriptor
func (*PromoteReleaseRule) Descriptor() ([]byte, []int)Deprecated: Use PromoteReleaseRule.ProtoReflect.Descriptor instead.
func (*PromoteReleaseRule) GetCondition
func (x *PromoteReleaseRule) GetCondition() *AutomationRuleConditionfunc (*PromoteReleaseRule) GetDestinationPhase
func (x *PromoteReleaseRule) GetDestinationPhase() stringfunc (*PromoteReleaseRule) GetDestinationTargetId
func (x *PromoteReleaseRule) GetDestinationTargetId() stringfunc (*PromoteReleaseRule) GetId
func (x *PromoteReleaseRule) GetId() stringfunc (*PromoteReleaseRule) GetWait
func (x *PromoteReleaseRule) GetWait() *durationpb.Durationfunc (*PromoteReleaseRule) ProtoMessage
func (*PromoteReleaseRule) ProtoMessage()func (*PromoteReleaseRule) ProtoReflect
func (x *PromoteReleaseRule) ProtoReflect() protoreflect.Messagefunc (*PromoteReleaseRule) Reset
func (x *PromoteReleaseRule) Reset()func (*PromoteReleaseRule) String
func (x *PromoteReleaseRule) String() stringRelease
type Release struct {
// Identifier. Name of the `Release`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.
// The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `Release`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `Release`. Max length is 255 characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. User annotations. These attributes can only be set and used by
// the user, and not by Cloud Deploy. See
// https://google.aip.dev/128#annotations for more details such as format and
// size limitations.
Annotations map[string]string `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Indicates whether this is an abandoned release.
Abandoned bool `protobuf:"varint,23,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
// Output only. Time at which the `Release` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time at which the render began.
RenderStartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=render_start_time,json=renderStartTime,proto3" json:"render_start_time,omitempty"`
// Output only. Time at which the render completed.
RenderEndTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=render_end_time,json=renderEndTime,proto3" json:"render_end_time,omitempty"`
// Optional. Cloud Storage URI of tar.gz archive containing Skaffold
// configuration.
SkaffoldConfigUri string `protobuf:"bytes,17,opt,name=skaffold_config_uri,json=skaffoldConfigUri,proto3" json:"skaffold_config_uri,omitempty"`
// Optional. Filepath of the Skaffold config inside of the config URI.
SkaffoldConfigPath string `protobuf:"bytes,9,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
// Optional. List of artifacts to pass through to Skaffold command.
BuildArtifacts []*BuildArtifact `protobuf:"bytes,10,rep,name=build_artifacts,json=buildArtifacts,proto3" json:"build_artifacts,omitempty"`
// Output only. Snapshot of the parent pipeline taken at release creation
// time.
DeliveryPipelineSnapshot *DeliveryPipeline `protobuf:"bytes,11,opt,name=delivery_pipeline_snapshot,json=deliveryPipelineSnapshot,proto3" json:"delivery_pipeline_snapshot,omitempty"`
// Output only. Snapshot of the targets taken at release creation time.
TargetSnapshots []*Target `protobuf:"bytes,12,rep,name=target_snapshots,json=targetSnapshots,proto3" json:"target_snapshots,omitempty"`
// Output only. Snapshot of the custom target types referenced by the targets
// taken at release creation time.
CustomTargetTypeSnapshots []*CustomTargetType `protobuf:"bytes,27,rep,name=custom_target_type_snapshots,json=customTargetTypeSnapshots,proto3" json:"custom_target_type_snapshots,omitempty"`
// Output only. Current state of the render operation.
RenderState Release_RenderState `protobuf:"varint,13,opt,name=render_state,json=renderState,proto3,enum=google.cloud.deploy.v1.Release_RenderState" json:"render_state,omitempty"`
// 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,16,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. The Skaffold version to use when operating on this release, such
// as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific
// set of versions.
//
// If unset, the most recent supported Skaffold version will be used.
SkaffoldVersion string `protobuf:"bytes,19,opt,name=skaffold_version,json=skaffoldVersion,proto3" json:"skaffold_version,omitempty"`
// Output only. Map from target ID to the target artifacts created
// during the render operation.
TargetArtifacts map[string]*TargetArtifact `protobuf:"bytes,20,rep,name=target_artifacts,json=targetArtifacts,proto3" json:"target_artifacts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Map from target ID to details of the render operation for that
// target.
TargetRenders map[string]*Release_TargetRender `protobuf:"bytes,22,rep,name=target_renders,json=targetRenders,proto3" json:"target_renders,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Information around the state of the Release.
Condition *Release_ReleaseCondition `protobuf:"bytes,24,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. The deploy parameters to use for all targets in this release.
DeployParameters map[string]string `protobuf:"bytes,25,rep,name=deploy_parameters,json=deployParameters,proto3" json:"deploy_parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}A Release resource in the Cloud Deploy API.
A Release defines a specific Skaffold configuration instance
that can be deployed.
func (*Release) Descriptor
Deprecated: Use Release.ProtoReflect.Descriptor instead.
func (*Release) GetAbandoned
func (*Release) GetAnnotations
func (*Release) GetBuildArtifacts
func (x *Release) GetBuildArtifacts() []*BuildArtifactfunc (*Release) GetCondition
func (x *Release) GetCondition() *Release_ReleaseConditionfunc (*Release) GetCreateTime
func (x *Release) GetCreateTime() *timestamppb.Timestampfunc (*Release) GetCustomTargetTypeSnapshots
func (x *Release) GetCustomTargetTypeSnapshots() []*CustomTargetTypefunc (*Release) GetDeliveryPipelineSnapshot
func (x *Release) GetDeliveryPipelineSnapshot() *DeliveryPipelinefunc (*Release) GetDeployParameters
func (*Release) GetDescription
func (*Release) GetEtag
func (*Release) GetLabels
func (*Release) GetName
func (*Release) GetRenderEndTime
func (x *Release) GetRenderEndTime() *timestamppb.Timestampfunc (*Release) GetRenderStartTime
func (x *Release) GetRenderStartTime() *timestamppb.Timestampfunc (*Release) GetRenderState
func (x *Release) GetRenderState() Release_RenderStatefunc (*Release) GetSkaffoldConfigPath
func (*Release) GetSkaffoldConfigUri
func (*Release) GetSkaffoldVersion
func (*Release) GetTargetArtifacts
func (x *Release) GetTargetArtifacts() map[string]*TargetArtifactfunc (*Release) GetTargetRenders
func (x *Release) GetTargetRenders() map[string]*Release_TargetRenderfunc (*Release) GetTargetSnapshots
func (*Release) GetUid
func (*Release) ProtoMessage
func (*Release) ProtoMessage()func (*Release) ProtoReflect
func (x *Release) ProtoReflect() protoreflect.Messagefunc (*Release) Reset
func (x *Release) Reset()func (*Release) String
ReleaseNotificationEvent
type ReleaseNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,5,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/release_notification" Platform Log event that describes the failure to send release status change Pub/Sub notification.
func (*ReleaseNotificationEvent) Descriptor
func (*ReleaseNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use ReleaseNotificationEvent.ProtoReflect.Descriptor instead.
func (*ReleaseNotificationEvent) GetMessage
func (x *ReleaseNotificationEvent) GetMessage() stringfunc (*ReleaseNotificationEvent) GetPipelineUid
func (x *ReleaseNotificationEvent) GetPipelineUid() stringfunc (*ReleaseNotificationEvent) GetRelease
func (x *ReleaseNotificationEvent) GetRelease() stringfunc (*ReleaseNotificationEvent) GetReleaseUid
func (x *ReleaseNotificationEvent) GetReleaseUid() stringfunc (*ReleaseNotificationEvent) GetType
func (x *ReleaseNotificationEvent) GetType() Typefunc (*ReleaseNotificationEvent) ProtoMessage
func (*ReleaseNotificationEvent) ProtoMessage()func (*ReleaseNotificationEvent) ProtoReflect
func (x *ReleaseNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*ReleaseNotificationEvent) Reset
func (x *ReleaseNotificationEvent) Reset()func (*ReleaseNotificationEvent) String
func (x *ReleaseNotificationEvent) String() stringReleaseRenderEvent
type ReleaseRenderEvent struct {
// Debug message for when a render transition occurs. Provides further
// details as rendering progresses through render states.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,4,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// The name of the release.
// release_uid is not in this log message because we write some of these log
// messages at release creation time, before we've generated the uid.
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
// Type of this notification, e.g. for a release render state change event.
Type Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// The state of the release render.
ReleaseRenderState Release_RenderState `protobuf:"varint,3,opt,name=release_render_state,json=releaseRenderState,proto3,enum=google.cloud.deploy.v1.Release_RenderState" json:"release_render_state,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/release_render" Platform Log event that describes the render status change.
func (*ReleaseRenderEvent) Descriptor
func (*ReleaseRenderEvent) Descriptor() ([]byte, []int)Deprecated: Use ReleaseRenderEvent.ProtoReflect.Descriptor instead.
func (*ReleaseRenderEvent) GetMessage
func (x *ReleaseRenderEvent) GetMessage() stringfunc (*ReleaseRenderEvent) GetPipelineUid
func (x *ReleaseRenderEvent) GetPipelineUid() stringfunc (*ReleaseRenderEvent) GetRelease
func (x *ReleaseRenderEvent) GetRelease() stringfunc (*ReleaseRenderEvent) GetReleaseRenderState
func (x *ReleaseRenderEvent) GetReleaseRenderState() Release_RenderStatefunc (*ReleaseRenderEvent) GetType
func (x *ReleaseRenderEvent) GetType() Typefunc (*ReleaseRenderEvent) ProtoMessage
func (*ReleaseRenderEvent) ProtoMessage()func (*ReleaseRenderEvent) ProtoReflect
func (x *ReleaseRenderEvent) ProtoReflect() protoreflect.Messagefunc (*ReleaseRenderEvent) Reset
func (x *ReleaseRenderEvent) Reset()func (*ReleaseRenderEvent) String
func (x *ReleaseRenderEvent) String() stringRelease_ReleaseCondition
type Release_ReleaseCondition struct {
// Details around the Releases's overall status.
ReleaseReadyCondition *Release_ReleaseReadyCondition `protobuf:"bytes,1,opt,name=release_ready_condition,json=releaseReadyCondition,proto3" json:"release_ready_condition,omitempty"`
// Details around the support state of the release's Skaffold
// version.
SkaffoldSupportedCondition *Release_SkaffoldSupportedCondition `protobuf:"bytes,2,opt,name=skaffold_supported_condition,json=skaffoldSupportedCondition,proto3" json:"skaffold_supported_condition,omitempty"`
// contains filtered or unexported fields
}ReleaseCondition contains all conditions relevant to a Release.
func (*Release_ReleaseCondition) Descriptor
func (*Release_ReleaseCondition) Descriptor() ([]byte, []int)Deprecated: Use Release_ReleaseCondition.ProtoReflect.Descriptor instead.
func (*Release_ReleaseCondition) GetReleaseReadyCondition
func (x *Release_ReleaseCondition) GetReleaseReadyCondition() *Release_ReleaseReadyConditionfunc (*Release_ReleaseCondition) GetSkaffoldSupportedCondition
func (x *Release_ReleaseCondition) GetSkaffoldSupportedCondition() *Release_SkaffoldSupportedConditionfunc (*Release_ReleaseCondition) ProtoMessage
func (*Release_ReleaseCondition) ProtoMessage()func (*Release_ReleaseCondition) ProtoReflect
func (x *Release_ReleaseCondition) ProtoReflect() protoreflect.Messagefunc (*Release_ReleaseCondition) Reset
func (x *Release_ReleaseCondition) Reset()func (*Release_ReleaseCondition) String
func (x *Release_ReleaseCondition) String() stringRelease_ReleaseReadyCondition
type Release_ReleaseReadyCondition struct {
// True if the Release is in a valid state. Otherwise at least one condition
// in `ReleaseCondition` is in an invalid state. Iterate over those
// conditions and see which condition(s) has status = false to find out what
// is wrong with the Release.
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.
func (*Release_ReleaseReadyCondition) Descriptor
func (*Release_ReleaseReadyCondition) Descriptor() ([]byte, []int)Deprecated: Use Release_ReleaseReadyCondition.ProtoReflect.Descriptor instead.
func (*Release_ReleaseReadyCondition) GetStatus
func (x *Release_ReleaseReadyCondition) GetStatus() boolfunc (*Release_ReleaseReadyCondition) ProtoMessage
func (*Release_ReleaseReadyCondition) ProtoMessage()func (*Release_ReleaseReadyCondition) ProtoReflect
func (x *Release_ReleaseReadyCondition) ProtoReflect() protoreflect.Messagefunc (*Release_ReleaseReadyCondition) Reset
func (x *Release_ReleaseReadyCondition) Reset()func (*Release_ReleaseReadyCondition) String
func (x *Release_ReleaseReadyCondition) String() stringRelease_RenderState
type Release_RenderState int32Valid states of the render operation.
Release_RENDER_STATE_UNSPECIFIED, Release_SUCCEEDED, Release_FAILED, Release_IN_PROGRESS
const (
// The render state is unspecified.
Release_RENDER_STATE_UNSPECIFIED Release_RenderState = 0
// All rendering operations have completed successfully.
Release_SUCCEEDED Release_RenderState = 1
// All rendering operations have completed, and one or more have failed.
Release_FAILED Release_RenderState = 2
// Rendering has started and is not complete.
Release_IN_PROGRESS Release_RenderState = 3
)func (Release_RenderState) Descriptor
func (Release_RenderState) Descriptor() protoreflect.EnumDescriptorfunc (Release_RenderState) Enum
func (x Release_RenderState) Enum() *Release_RenderStatefunc (Release_RenderState) EnumDescriptor
func (Release_RenderState) EnumDescriptor() ([]byte, []int)Deprecated: Use Release_RenderState.Descriptor instead.
func (Release_RenderState) Number
func (x Release_RenderState) Number() protoreflect.EnumNumberfunc (Release_RenderState) String
func (x Release_RenderState) String() stringfunc (Release_RenderState) Type
func (Release_RenderState) Type() protoreflect.EnumTypeRelease_SkaffoldSupportedCondition
type Release_SkaffoldSupportedCondition struct {
// True if the version of Skaffold used by this release is supported.
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// The Skaffold support state for this release's version of Skaffold.
SkaffoldSupportState SkaffoldSupportState `protobuf:"varint,2,opt,name=skaffold_support_state,json=skaffoldSupportState,proto3,enum=google.cloud.deploy.v1.SkaffoldSupportState" json:"skaffold_support_state,omitempty"`
// The time at which this release's version of Skaffold will enter
// maintenance mode.
MaintenanceModeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=maintenance_mode_time,json=maintenanceModeTime,proto3" json:"maintenance_mode_time,omitempty"`
// The time at which this release's version of Skaffold will no longer be
// supported.
SupportExpirationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=support_expiration_time,json=supportExpirationTime,proto3" json:"support_expiration_time,omitempty"`
// contains filtered or unexported fields
}SkaffoldSupportedCondition contains information about when support for the release's version of Skaffold ends.
func (*Release_SkaffoldSupportedCondition) Descriptor
func (*Release_SkaffoldSupportedCondition) Descriptor() ([]byte, []int)Deprecated: Use Release_SkaffoldSupportedCondition.ProtoReflect.Descriptor instead.
func (*Release_SkaffoldSupportedCondition) GetMaintenanceModeTime
func (x *Release_SkaffoldSupportedCondition) GetMaintenanceModeTime() *timestamppb.Timestampfunc (*Release_SkaffoldSupportedCondition) GetSkaffoldSupportState
func (x *Release_SkaffoldSupportedCondition) GetSkaffoldSupportState() SkaffoldSupportStatefunc (*Release_SkaffoldSupportedCondition) GetStatus
func (x *Release_SkaffoldSupportedCondition) GetStatus() boolfunc (*Release_SkaffoldSupportedCondition) GetSupportExpirationTime
func (x *Release_SkaffoldSupportedCondition) GetSupportExpirationTime() *timestamppb.Timestampfunc (*Release_SkaffoldSupportedCondition) ProtoMessage
func (*Release_SkaffoldSupportedCondition) ProtoMessage()func (*Release_SkaffoldSupportedCondition) ProtoReflect
func (x *Release_SkaffoldSupportedCondition) ProtoReflect() protoreflect.Messagefunc (*Release_SkaffoldSupportedCondition) Reset
func (x *Release_SkaffoldSupportedCondition) Reset()func (*Release_SkaffoldSupportedCondition) String
func (x *Release_SkaffoldSupportedCondition) String() stringRelease_TargetRender
type Release_TargetRender struct {
// Output only. The resource name of the Cloud Build `Build` object that is
// used to render the manifest for this target. Format is
// `projects/{project}/locations/{location}/builds/{build}`.
RenderingBuild string `protobuf:"bytes,1,opt,name=rendering_build,json=renderingBuild,proto3" json:"rendering_build,omitempty"`
// Output only. Current state of the render operation for this Target.
RenderingState Release_TargetRender_TargetRenderState `protobuf:"varint,2,opt,name=rendering_state,json=renderingState,proto3,enum=google.cloud.deploy.v1.Release_TargetRender_TargetRenderState" json:"rendering_state,omitempty"`
// Output only. Metadata related to the `Release` render for this Target.
Metadata *RenderMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Output only. Reason this render failed. This will always be unspecified
// while the render in progress.
FailureCause Release_TargetRender_FailureCause `protobuf:"varint,4,opt,name=failure_cause,json=failureCause,proto3,enum=google.cloud.deploy.v1.Release_TargetRender_FailureCause" json:"failure_cause,omitempty"`
// Output only. Additional information about the render failure, if
// available.
FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}Details of rendering for a single target.
func (*Release_TargetRender) Descriptor
func (*Release_TargetRender) Descriptor() ([]byte, []int)Deprecated: Use Release_TargetRender.ProtoReflect.Descriptor instead.
func (*Release_TargetRender) GetFailureCause
func (x *Release_TargetRender) GetFailureCause() Release_TargetRender_FailureCausefunc (*Release_TargetRender) GetFailureMessage
func (x *Release_TargetRender) GetFailureMessage() stringfunc (*Release_TargetRender) GetMetadata
func (x *Release_TargetRender) GetMetadata() *RenderMetadatafunc (*Release_TargetRender) GetRenderingBuild
func (x *Release_TargetRender) GetRenderingBuild() stringfunc (*Release_TargetRender) GetRenderingState
func (x *Release_TargetRender) GetRenderingState() Release_TargetRender_TargetRenderStatefunc (*Release_TargetRender) ProtoMessage
func (*Release_TargetRender) ProtoMessage()func (*Release_TargetRender) ProtoReflect
func (x *Release_TargetRender) ProtoReflect() protoreflect.Messagefunc (*Release_TargetRender) Reset
func (x *Release_TargetRender) Reset()func (*Release_TargetRender) String
func (x *Release_TargetRender) String() stringRelease_TargetRender_FailureCause
type Release_TargetRender_FailureCause int32Well-known rendering failures.
Release_TargetRender_FAILURE_CAUSE_UNSPECIFIED, Release_TargetRender_CLOUD_BUILD_UNAVAILABLE, Release_TargetRender_EXECUTION_FAILED, Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED, Release_TargetRender_VERIFICATION_CONFIG_NOT_FOUND, Release_TargetRender_CUSTOM_ACTION_NOT_FOUND, Release_TargetRender_DEPLOYMENT_STRATEGY_NOT_SUPPORTED, Release_TargetRender_RENDER_FEATURE_NOT_SUPPORTED
const (
// No reason for failure is specified.
Release_TargetRender_FAILURE_CAUSE_UNSPECIFIED Release_TargetRender_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or
// because Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
Release_TargetRender_CLOUD_BUILD_UNAVAILABLE Release_TargetRender_FailureCause = 1
// The render operation did not complete successfully; check Cloud Build
// logs.
Release_TargetRender_EXECUTION_FAILED Release_TargetRender_FailureCause = 2
// Cloud Build failed to fulfill Cloud Deploy's request. See
// failure_message for additional details.
Release_TargetRender_CLOUD_BUILD_REQUEST_FAILED Release_TargetRender_FailureCause = 3
// The render operation did not complete successfully because the
// verification stanza required for verify was not found on the Skaffold
// configuration.
Release_TargetRender_VERIFICATION_CONFIG_NOT_FOUND Release_TargetRender_FailureCause = 4
// The render operation did not complete successfully because the custom
// action(s) required for Rollout jobs were not found in the Skaffold
// configuration. See failure_message for additional details.
Release_TargetRender_CUSTOM_ACTION_NOT_FOUND Release_TargetRender_FailureCause = 5
// Release failed during rendering because the release configuration is
// not supported with the specified deployment strategy.
Release_TargetRender_DEPLOYMENT_STRATEGY_NOT_SUPPORTED Release_TargetRender_FailureCause = 6
// The render operation had a feature configured that is not supported.
Release_TargetRender_RENDER_FEATURE_NOT_SUPPORTED Release_TargetRender_FailureCause = 7
)func (Release_TargetRender_FailureCause) Descriptor
func (Release_TargetRender_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (Release_TargetRender_FailureCause) Enum
func (x Release_TargetRender_FailureCause) Enum() *Release_TargetRender_FailureCausefunc (Release_TargetRender_FailureCause) EnumDescriptor
func (Release_TargetRender_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use Release_TargetRender_FailureCause.Descriptor instead.
func (Release_TargetRender_FailureCause) Number
func (x Release_TargetRender_FailureCause) Number() protoreflect.EnumNumberfunc (Release_TargetRender_FailureCause) String
func (x Release_TargetRender_FailureCause) String() stringfunc (Release_TargetRender_FailureCause) Type
func (Release_TargetRender_FailureCause) Type() protoreflect.EnumTypeRelease_TargetRender_TargetRenderState
type Release_TargetRender_TargetRenderState int32Valid states of the render operation.
Release_TargetRender_TARGET_RENDER_STATE_UNSPECIFIED, Release_TargetRender_SUCCEEDED, Release_TargetRender_FAILED, Release_TargetRender_IN_PROGRESS
const (
// The render operation state is unspecified.
Release_TargetRender_TARGET_RENDER_STATE_UNSPECIFIED Release_TargetRender_TargetRenderState = 0
// The render operation has completed successfully.
Release_TargetRender_SUCCEEDED Release_TargetRender_TargetRenderState = 1
// The render operation has failed.
Release_TargetRender_FAILED Release_TargetRender_TargetRenderState = 2
// The render operation is in progress.
Release_TargetRender_IN_PROGRESS Release_TargetRender_TargetRenderState = 3
)func (Release_TargetRender_TargetRenderState) Descriptor
func (Release_TargetRender_TargetRenderState) Descriptor() protoreflect.EnumDescriptorfunc (Release_TargetRender_TargetRenderState) Enum
func (Release_TargetRender_TargetRenderState) EnumDescriptor
func (Release_TargetRender_TargetRenderState) EnumDescriptor() ([]byte, []int)Deprecated: Use Release_TargetRender_TargetRenderState.Descriptor instead.
func (Release_TargetRender_TargetRenderState) Number
func (x Release_TargetRender_TargetRenderState) Number() protoreflect.EnumNumberfunc (Release_TargetRender_TargetRenderState) String
func (x Release_TargetRender_TargetRenderState) String() stringfunc (Release_TargetRender_TargetRenderState) Type
func (Release_TargetRender_TargetRenderState) Type() protoreflect.EnumTypeRenderMetadata
type RenderMetadata struct {
// Output only. Metadata associated with rendering for Cloud Run.
CloudRun *CloudRunRenderMetadata `protobuf:"bytes,1,opt,name=cloud_run,json=cloudRun,proto3" json:"cloud_run,omitempty"`
// Output only. Custom metadata provided by user-defined render operation.
Custom *CustomMetadata `protobuf:"bytes,2,opt,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}RenderMetadata includes information associated with a Release render.
func (*RenderMetadata) Descriptor
func (*RenderMetadata) Descriptor() ([]byte, []int)Deprecated: Use RenderMetadata.ProtoReflect.Descriptor instead.
func (*RenderMetadata) GetCloudRun
func (x *RenderMetadata) GetCloudRun() *CloudRunRenderMetadatafunc (*RenderMetadata) GetCustom
func (x *RenderMetadata) GetCustom() *CustomMetadatafunc (*RenderMetadata) ProtoMessage
func (*RenderMetadata) ProtoMessage()func (*RenderMetadata) ProtoReflect
func (x *RenderMetadata) ProtoReflect() protoreflect.Messagefunc (*RenderMetadata) Reset
func (x *RenderMetadata) Reset()func (*RenderMetadata) String
func (x *RenderMetadata) String() stringRepairPhase
type RepairPhase struct {
// The `RepairPhase` type and the information for that type.
//
// Types that are assignable to RepairPhase:
//
// *RepairPhase_Retry
// *RepairPhase_Rollback
RepairPhase isRepairPhase_RepairPhase `protobuf_oneof:"repair_phase"`
// contains filtered or unexported fields
}RepairPhase tracks the repair attempts that have been made for
each RepairPhaseConfig specified in the Automation resource.
func (*RepairPhase) Descriptor
func (*RepairPhase) Descriptor() ([]byte, []int)Deprecated: Use RepairPhase.ProtoReflect.Descriptor instead.
func (*RepairPhase) GetRepairPhase
func (m *RepairPhase) GetRepairPhase() isRepairPhase_RepairPhasefunc (*RepairPhase) GetRetry
func (x *RepairPhase) GetRetry() *RetryPhasefunc (*RepairPhase) GetRollback
func (x *RepairPhase) GetRollback() *RollbackAttemptfunc (*RepairPhase) ProtoMessage
func (*RepairPhase) ProtoMessage()func (*RepairPhase) ProtoReflect
func (x *RepairPhase) ProtoReflect() protoreflect.Messagefunc (*RepairPhase) Reset
func (x *RepairPhase) Reset()func (*RepairPhase) String
func (x *RepairPhase) String() stringRepairPhaseConfig
type RepairPhaseConfig struct {
// The repair phase to perform.
//
// Types that are assignable to RepairPhase:
//
// *RepairPhaseConfig_Retry
// *RepairPhaseConfig_Rollback
RepairPhase isRepairPhaseConfig_RepairPhase `protobuf_oneof:"repair_phase"`
// contains filtered or unexported fields
}Configuration of the repair phase.
func (*RepairPhaseConfig) Descriptor
func (*RepairPhaseConfig) Descriptor() ([]byte, []int)Deprecated: Use RepairPhaseConfig.ProtoReflect.Descriptor instead.
func (*RepairPhaseConfig) GetRepairPhase
func (m *RepairPhaseConfig) GetRepairPhase() isRepairPhaseConfig_RepairPhasefunc (*RepairPhaseConfig) GetRetry
func (x *RepairPhaseConfig) GetRetry() *Retryfunc (*RepairPhaseConfig) GetRollback
func (x *RepairPhaseConfig) GetRollback() *Rollbackfunc (*RepairPhaseConfig) ProtoMessage
func (*RepairPhaseConfig) ProtoMessage()func (*RepairPhaseConfig) ProtoReflect
func (x *RepairPhaseConfig) ProtoReflect() protoreflect.Messagefunc (*RepairPhaseConfig) Reset
func (x *RepairPhaseConfig) Reset()func (*RepairPhaseConfig) String
func (x *RepairPhaseConfig) String() stringRepairPhaseConfig_Retry
type RepairPhaseConfig_Retry struct {
// Optional. Retries a failed job.
Retry *Retry `protobuf:"bytes,1,opt,name=retry,proto3,oneof"`
}RepairPhaseConfig_Rollback
type RepairPhaseConfig_Rollback struct {
// Optional. Rolls back a `Rollout`.
Rollback *Rollback `protobuf:"bytes,2,opt,name=rollback,proto3,oneof"`
}RepairPhase_Retry
type RepairPhase_Retry struct {
// Output only. Records of the retry attempts for retry repair mode.
Retry *RetryPhase `protobuf:"bytes,1,opt,name=retry,proto3,oneof"`
}RepairPhase_Rollback
type RepairPhase_Rollback struct {
// Output only. Rollback attempt for rollback repair mode .
Rollback *RollbackAttempt `protobuf:"bytes,2,opt,name=rollback,proto3,oneof"`
}RepairRolloutOperation
type RepairRolloutOperation struct {
// Output only. The name of the rollout that initiates the `AutomationRun`.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Output only. The index of the current repair action in the repair sequence.
CurrentRepairPhaseIndex int64 `protobuf:"varint,6,opt,name=current_repair_phase_index,json=currentRepairPhaseIndex,proto3" json:"current_repair_phase_index,omitempty"`
// Output only. Records of the repair attempts. Each repair phase may have
// multiple retry attempts or single rollback attempt.
RepairPhases []*RepairPhase `protobuf:"bytes,3,rep,name=repair_phases,json=repairPhases,proto3" json:"repair_phases,omitempty"`
// Output only. The phase ID of the phase that includes the job being
// repaired.
PhaseId string `protobuf:"bytes,4,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Output only. The job ID for the Job to repair.
JobId string `protobuf:"bytes,5,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// contains filtered or unexported fields
}Contains the information for an automated repair rollout operation.
func (*RepairRolloutOperation) Descriptor
func (*RepairRolloutOperation) Descriptor() ([]byte, []int)Deprecated: Use RepairRolloutOperation.ProtoReflect.Descriptor instead.
func (*RepairRolloutOperation) GetCurrentRepairPhaseIndex
func (x *RepairRolloutOperation) GetCurrentRepairPhaseIndex() int64func (*RepairRolloutOperation) GetJobId
func (x *RepairRolloutOperation) GetJobId() stringfunc (*RepairRolloutOperation) GetPhaseId
func (x *RepairRolloutOperation) GetPhaseId() stringfunc (*RepairRolloutOperation) GetRepairPhases
func (x *RepairRolloutOperation) GetRepairPhases() []*RepairPhasefunc (*RepairRolloutOperation) GetRollout
func (x *RepairRolloutOperation) GetRollout() stringfunc (*RepairRolloutOperation) ProtoMessage
func (*RepairRolloutOperation) ProtoMessage()func (*RepairRolloutOperation) ProtoReflect
func (x *RepairRolloutOperation) ProtoReflect() protoreflect.Messagefunc (*RepairRolloutOperation) Reset
func (x *RepairRolloutOperation) Reset()func (*RepairRolloutOperation) String
func (x *RepairRolloutOperation) String() stringRepairRolloutRule
type RepairRolloutRule 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. Phases within which jobs are subject to automatic repair actions
// on failure. Proceeds only after phase name matched any one in the list, or
// for all phases if unspecified. 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])?$`.
Phases []string `protobuf:"bytes,7,rep,name=phases,proto3" json:"phases,omitempty"`
// Optional. Jobs to repair. Proceeds only after job name matched any one in
// the list, or for all jobs if unspecified or empty. The phase that includes
// the job must match the phase ID specified in `source_phase`. 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])?$`.
Jobs []string `protobuf:"bytes,3,rep,name=jobs,proto3" json:"jobs,omitempty"`
// Output only. Information around the state of the 'Automation' rule.
Condition *AutomationRuleCondition `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"`
// Required. Defines the types of automatic repair phases for failed jobs.
RepairPhases []*RepairPhaseConfig `protobuf:"bytes,8,rep,name=repair_phases,json=repairPhases,proto3" json:"repair_phases,omitempty"`
// contains filtered or unexported fields
}The RepairRolloutRule automation rule will automatically repair a failed
Rollout.
func (*RepairRolloutRule) Descriptor
func (*RepairRolloutRule) Descriptor() ([]byte, []int)Deprecated: Use RepairRolloutRule.ProtoReflect.Descriptor instead.
func (*RepairRolloutRule) GetCondition
func (x *RepairRolloutRule) GetCondition() *AutomationRuleConditionfunc (*RepairRolloutRule) GetId
func (x *RepairRolloutRule) GetId() stringfunc (*RepairRolloutRule) GetJobs
func (x *RepairRolloutRule) GetJobs() []stringfunc (*RepairRolloutRule) GetPhases
func (x *RepairRolloutRule) GetPhases() []stringfunc (*RepairRolloutRule) GetRepairPhases
func (x *RepairRolloutRule) GetRepairPhases() []*RepairPhaseConfigfunc (*RepairRolloutRule) ProtoMessage
func (*RepairRolloutRule) ProtoMessage()func (*RepairRolloutRule) ProtoReflect
func (x *RepairRolloutRule) ProtoReflect() protoreflect.Messagefunc (*RepairRolloutRule) Reset
func (x *RepairRolloutRule) Reset()func (*RepairRolloutRule) String
func (x *RepairRolloutRule) String() stringRepairState
type RepairState int32Valid state of a repair attempt.
RepairState_REPAIR_STATE_UNSPECIFIED, RepairState_REPAIR_STATE_SUCCEEDED, RepairState_REPAIR_STATE_CANCELLED, RepairState_REPAIR_STATE_FAILED, RepairState_REPAIR_STATE_IN_PROGRESS, RepairState_REPAIR_STATE_PENDING, RepairState_REPAIR_STATE_ABORTED
const (
// The `repair` has an unspecified state.
RepairState_REPAIR_STATE_UNSPECIFIED RepairState = 0
// The `repair` action has succeeded.
RepairState_REPAIR_STATE_SUCCEEDED RepairState = 1
// The `repair` action was cancelled.
RepairState_REPAIR_STATE_CANCELLED RepairState = 2
// The `repair` action has failed.
RepairState_REPAIR_STATE_FAILED RepairState = 3
// The `repair` action is in progress.
RepairState_REPAIR_STATE_IN_PROGRESS RepairState = 4
// The `repair` action is pending.
RepairState_REPAIR_STATE_PENDING RepairState = 5
// The `repair` action was aborted.
RepairState_REPAIR_STATE_ABORTED RepairState = 7
)func (RepairState) Descriptor
func (RepairState) Descriptor() protoreflect.EnumDescriptorfunc (RepairState) Enum
func (x RepairState) Enum() *RepairStatefunc (RepairState) EnumDescriptor
func (RepairState) EnumDescriptor() ([]byte, []int)Deprecated: Use RepairState.Descriptor instead.
func (RepairState) Number
func (x RepairState) Number() protoreflect.EnumNumberfunc (RepairState) String
func (x RepairState) String() stringfunc (RepairState) Type
func (RepairState) Type() protoreflect.EnumTypeRetry
type Retry struct {
// Required. Total number of retries. Retry is skipped if set to 0; The
// minimum value is 1, and the maximum value is 10.
Attempts int64 `protobuf:"varint,1,opt,name=attempts,proto3" json:"attempts,omitempty"`
// Optional. How long to wait for the first retry. Default is 0, and the
// maximum value is 14d.
Wait *durationpb.Duration `protobuf:"bytes,2,opt,name=wait,proto3" json:"wait,omitempty"`
// Optional. The pattern of how wait time will be increased. Default is
// linear. Backoff mode will be ignored if `wait` is 0.
BackoffMode BackoffMode `protobuf:"varint,3,opt,name=backoff_mode,json=backoffMode,proto3,enum=google.cloud.deploy.v1.BackoffMode" json:"backoff_mode,omitempty"`
// contains filtered or unexported fields
}Retries the failed job.
func (*Retry) Descriptor
Deprecated: Use Retry.ProtoReflect.Descriptor instead.
func (*Retry) GetAttempts
func (*Retry) GetBackoffMode
func (x *Retry) GetBackoffMode() BackoffModefunc (*Retry) GetWait
func (x *Retry) GetWait() *durationpb.Durationfunc (*Retry) ProtoMessage
func (*Retry) ProtoMessage()func (*Retry) ProtoReflect
func (x *Retry) ProtoReflect() protoreflect.Messagefunc (*Retry) Reset
func (x *Retry) Reset()func (*Retry) String
RetryAttempt
type RetryAttempt struct {
// Output only. The index of this retry attempt.
Attempt int64 `protobuf:"varint,1,opt,name=attempt,proto3" json:"attempt,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. Valid state of this retry action.
State RepairState `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.deploy.v1.RepairState" json:"state,omitempty"`
// Output only. Description of the state of the Retry.
StateDesc string `protobuf:"bytes,6,opt,name=state_desc,json=stateDesc,proto3" json:"state_desc,omitempty"`
// contains filtered or unexported fields
}RetryAttempt represents an action of retrying the failed Cloud Deploy job.
func (*RetryAttempt) Descriptor
func (*RetryAttempt) Descriptor() ([]byte, []int)Deprecated: Use RetryAttempt.ProtoReflect.Descriptor instead.
func (*RetryAttempt) GetAttempt
func (x *RetryAttempt) GetAttempt() int64func (*RetryAttempt) GetState
func (x *RetryAttempt) GetState() RepairStatefunc (*RetryAttempt) GetStateDesc
func (x *RetryAttempt) GetStateDesc() stringfunc (*RetryAttempt) GetWait
func (x *RetryAttempt) GetWait() *durationpb.Durationfunc (*RetryAttempt) ProtoMessage
func (*RetryAttempt) ProtoMessage()func (*RetryAttempt) ProtoReflect
func (x *RetryAttempt) ProtoReflect() protoreflect.Messagefunc (*RetryAttempt) Reset
func (x *RetryAttempt) Reset()func (*RetryAttempt) String
func (x *RetryAttempt) String() stringRetryJobRequest
type RetryJobRequest struct {
// Required. Name of the Rollout. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
Rollout string `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Required. The phase ID the Job to retry belongs to.
PhaseId string `protobuf:"bytes,2,opt,name=phase_id,json=phaseId,proto3" json:"phase_id,omitempty"`
// Required. The job ID for the Job to retry.
JobId string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,4,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}RetryJobRequest is the request object used by RetryJob.
func (*RetryJobRequest) Descriptor
func (*RetryJobRequest) Descriptor() ([]byte, []int)Deprecated: Use RetryJobRequest.ProtoReflect.Descriptor instead.
func (*RetryJobRequest) GetJobId
func (x *RetryJobRequest) GetJobId() stringfunc (*RetryJobRequest) GetOverrideDeployPolicy
func (x *RetryJobRequest) GetOverrideDeployPolicy() []stringfunc (*RetryJobRequest) GetPhaseId
func (x *RetryJobRequest) GetPhaseId() stringfunc (*RetryJobRequest) GetRollout
func (x *RetryJobRequest) GetRollout() stringfunc (*RetryJobRequest) ProtoMessage
func (*RetryJobRequest) ProtoMessage()func (*RetryJobRequest) ProtoReflect
func (x *RetryJobRequest) ProtoReflect() protoreflect.Messagefunc (*RetryJobRequest) Reset
func (x *RetryJobRequest) Reset()func (*RetryJobRequest) String
func (x *RetryJobRequest) String() stringRetryJobResponse
type RetryJobResponse struct {
// contains filtered or unexported fields
}The response object from 'RetryJob'.
func (*RetryJobResponse) Descriptor
func (*RetryJobResponse) Descriptor() ([]byte, []int)Deprecated: Use RetryJobResponse.ProtoReflect.Descriptor instead.
func (*RetryJobResponse) ProtoMessage
func (*RetryJobResponse) ProtoMessage()func (*RetryJobResponse) ProtoReflect
func (x *RetryJobResponse) ProtoReflect() protoreflect.Messagefunc (*RetryJobResponse) Reset
func (x *RetryJobResponse) Reset()func (*RetryJobResponse) String
func (x *RetryJobResponse) String() stringRetryPhase
type RetryPhase struct {
// Output only. The number of attempts that have been made.
TotalAttempts int64 `protobuf:"varint,1,opt,name=total_attempts,json=totalAttempts,proto3" json:"total_attempts,omitempty"`
// Output only. The pattern of how the wait time of the retry attempt is
// calculated.
BackoffMode BackoffMode `protobuf:"varint,2,opt,name=backoff_mode,json=backoffMode,proto3,enum=google.cloud.deploy.v1.BackoffMode" json:"backoff_mode,omitempty"`
// Output only. Detail of a retry action.
Attempts []*RetryAttempt `protobuf:"bytes,5,rep,name=attempts,proto3" json:"attempts,omitempty"`
// contains filtered or unexported fields
}RetryPhase contains the retry attempts and the metadata for initiating a new attempt.
func (*RetryPhase) Descriptor
func (*RetryPhase) Descriptor() ([]byte, []int)Deprecated: Use RetryPhase.ProtoReflect.Descriptor instead.
func (*RetryPhase) GetAttempts
func (x *RetryPhase) GetAttempts() []*RetryAttemptfunc (*RetryPhase) GetBackoffMode
func (x *RetryPhase) GetBackoffMode() BackoffModefunc (*RetryPhase) GetTotalAttempts
func (x *RetryPhase) GetTotalAttempts() int64func (*RetryPhase) ProtoMessage
func (*RetryPhase) ProtoMessage()func (*RetryPhase) ProtoReflect
func (x *RetryPhase) ProtoReflect() protoreflect.Messagefunc (*RetryPhase) Reset
func (x *RetryPhase) Reset()func (*RetryPhase) String
func (x *RetryPhase) String() stringRollback
type Rollback struct {
// Optional. The starting phase ID for the `Rollout`. If unspecified, the
// `Rollout` will start in the stable phase.
DestinationPhase string `protobuf:"bytes,1,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// Optional. If pending rollout exists on the target, the rollback operation
// will be aborted.
DisableRollbackIfRolloutPending bool `protobuf:"varint,2,opt,name=disable_rollback_if_rollout_pending,json=disableRollbackIfRolloutPending,proto3" json:"disable_rollback_if_rollout_pending,omitempty"`
// contains filtered or unexported fields
}Rolls back a Rollout.
func (*Rollback) Descriptor
Deprecated: Use Rollback.ProtoReflect.Descriptor instead.
func (*Rollback) GetDestinationPhase
func (*Rollback) GetDisableRollbackIfRolloutPending
func (*Rollback) ProtoMessage
func (*Rollback) ProtoMessage()func (*Rollback) ProtoReflect
func (x *Rollback) ProtoReflect() protoreflect.Messagefunc (*Rollback) Reset
func (x *Rollback) Reset()func (*Rollback) String
RollbackAttempt
type RollbackAttempt struct {
// Output only. The phase to which the rollout will be rolled back to.
DestinationPhase string `protobuf:"bytes,1,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// Output only. ID of the rollback `Rollout` to create.
RolloutId string `protobuf:"bytes,2,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Output only. Valid state of this rollback action.
State RepairState `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.deploy.v1.RepairState" json:"state,omitempty"`
// Output only. Description of the state of the Rollback.
StateDesc string `protobuf:"bytes,4,opt,name=state_desc,json=stateDesc,proto3" json:"state_desc,omitempty"`
// Output only. If active rollout exists on the target, abort this rollback.
DisableRollbackIfRolloutPending bool `protobuf:"varint,5,opt,name=disable_rollback_if_rollout_pending,json=disableRollbackIfRolloutPending,proto3" json:"disable_rollback_if_rollout_pending,omitempty"`
// contains filtered or unexported fields
}RollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
func (*RollbackAttempt) Descriptor
func (*RollbackAttempt) Descriptor() ([]byte, []int)Deprecated: Use RollbackAttempt.ProtoReflect.Descriptor instead.
func (*RollbackAttempt) GetDestinationPhase
func (x *RollbackAttempt) GetDestinationPhase() stringfunc (*RollbackAttempt) GetDisableRollbackIfRolloutPending
func (x *RollbackAttempt) GetDisableRollbackIfRolloutPending() boolfunc (*RollbackAttempt) GetRolloutId
func (x *RollbackAttempt) GetRolloutId() stringfunc (*RollbackAttempt) GetState
func (x *RollbackAttempt) GetState() RepairStatefunc (*RollbackAttempt) GetStateDesc
func (x *RollbackAttempt) GetStateDesc() stringfunc (*RollbackAttempt) ProtoMessage
func (*RollbackAttempt) ProtoMessage()func (*RollbackAttempt) ProtoReflect
func (x *RollbackAttempt) ProtoReflect() protoreflect.Messagefunc (*RollbackAttempt) Reset
func (x *RollbackAttempt) Reset()func (*RollbackAttempt) String
func (x *RollbackAttempt) String() stringRollbackTargetConfig
type RollbackTargetConfig struct {
// Optional. The rollback `Rollout` to create.
Rollout *Rollout `protobuf:"bytes,1,opt,name=rollout,proto3" json:"rollout,omitempty"`
// Optional. The starting phase ID for the `Rollout`. If unspecified, the
// `Rollout` will start in the stable phase.
StartingPhaseId string `protobuf:"bytes,2,opt,name=starting_phase_id,json=startingPhaseId,proto3" json:"starting_phase_id,omitempty"`
// contains filtered or unexported fields
}Configs for the Rollback rollout.
func (*RollbackTargetConfig) Descriptor
func (*RollbackTargetConfig) Descriptor() ([]byte, []int)Deprecated: Use RollbackTargetConfig.ProtoReflect.Descriptor instead.
func (*RollbackTargetConfig) GetRollout
func (x *RollbackTargetConfig) GetRollout() *Rolloutfunc (*RollbackTargetConfig) GetStartingPhaseId
func (x *RollbackTargetConfig) GetStartingPhaseId() stringfunc (*RollbackTargetConfig) ProtoMessage
func (*RollbackTargetConfig) ProtoMessage()func (*RollbackTargetConfig) ProtoReflect
func (x *RollbackTargetConfig) ProtoReflect() protoreflect.Messagefunc (*RollbackTargetConfig) Reset
func (x *RollbackTargetConfig) Reset()func (*RollbackTargetConfig) String
func (x *RollbackTargetConfig) String() stringRollbackTargetRequest
type RollbackTargetRequest struct {
// Required. The `DeliveryPipeline` for which the rollback `Rollout` must be
// created. The format is
// `projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. ID of the `Target` that is being rolled back.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Required. ID of the rollback `Rollout` to create.
RolloutId string `protobuf:"bytes,3,opt,name=rollout_id,json=rolloutId,proto3" json:"rollout_id,omitempty"`
// Optional. ID of the `Release` to roll back to. If this isn't specified, the
// previous successful `Rollout` to the specified target will be used to
// determine the `Release`.
ReleaseId string `protobuf:"bytes,4,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty"`
// Optional. If provided, this must be the latest `Rollout` that is on the
// `Target`.
RolloutToRollBack string `protobuf:"bytes,5,opt,name=rollout_to_roll_back,json=rolloutToRollBack,proto3" json:"rollout_to_roll_back,omitempty"`
// Optional. Configs for the rollback `Rollout`.
RollbackConfig *RollbackTargetConfig `protobuf:"bytes,6,opt,name=rollback_config,json=rollbackConfig,proto3" json:"rollback_config,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with a `RollbackTargetResponse`.
ValidateOnly bool `protobuf:"varint,7,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.
OverrideDeployPolicy []string `protobuf:"bytes,9,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object for RollbackTarget.
func (*RollbackTargetRequest) Descriptor
func (*RollbackTargetRequest) Descriptor() ([]byte, []int)Deprecated: Use RollbackTargetRequest.ProtoReflect.Descriptor instead.
func (*RollbackTargetRequest) GetName
func (x *RollbackTargetRequest) GetName() stringfunc (*RollbackTargetRequest) GetOverrideDeployPolicy
func (x *RollbackTargetRequest) GetOverrideDeployPolicy() []stringfunc (*RollbackTargetRequest) GetReleaseId
func (x *RollbackTargetRequest) GetReleaseId() stringfunc (*RollbackTargetRequest) GetRollbackConfig
func (x *RollbackTargetRequest) GetRollbackConfig() *RollbackTargetConfigfunc (*RollbackTargetRequest) GetRolloutId
func (x *RollbackTargetRequest) GetRolloutId() stringfunc (*RollbackTargetRequest) GetRolloutToRollBack
func (x *RollbackTargetRequest) GetRolloutToRollBack() stringfunc (*RollbackTargetRequest) GetTargetId
func (x *RollbackTargetRequest) GetTargetId() stringfunc (*RollbackTargetRequest) GetValidateOnly
func (x *RollbackTargetRequest) GetValidateOnly() boolfunc (*RollbackTargetRequest) ProtoMessage
func (*RollbackTargetRequest) ProtoMessage()func (*RollbackTargetRequest) ProtoReflect
func (x *RollbackTargetRequest) ProtoReflect() protoreflect.Messagefunc (*RollbackTargetRequest) Reset
func (x *RollbackTargetRequest) Reset()func (*RollbackTargetRequest) String
func (x *RollbackTargetRequest) String() stringRollbackTargetResponse
type RollbackTargetResponse struct {
// The config of the rollback `Rollout` created or will be created.
RollbackConfig *RollbackTargetConfig `protobuf:"bytes,1,opt,name=rollback_config,json=rollbackConfig,proto3" json:"rollback_config,omitempty"`
// contains filtered or unexported fields
}The response object from RollbackTarget.
func (*RollbackTargetResponse) Descriptor
func (*RollbackTargetResponse) Descriptor() ([]byte, []int)Deprecated: Use RollbackTargetResponse.ProtoReflect.Descriptor instead.
func (*RollbackTargetResponse) GetRollbackConfig
func (x *RollbackTargetResponse) GetRollbackConfig() *RollbackTargetConfigfunc (*RollbackTargetResponse) ProtoMessage
func (*RollbackTargetResponse) ProtoMessage()func (*RollbackTargetResponse) ProtoReflect
func (x *RollbackTargetResponse) ProtoReflect() protoreflect.Messagefunc (*RollbackTargetResponse) Reset
func (x *RollbackTargetResponse) Reset()func (*RollbackTargetResponse) String
func (x *RollbackTargetResponse) String() stringRollout
type Rollout struct {
// Identifier. Name of the `Rollout`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
// The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Unique identifier of the `Rollout`.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `Rollout` for user purposes. Max length is 255
// characters.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. User annotations. These attributes can only be set and used by
// the user, and not by Cloud Deploy. See
// https://google.aip.dev/128#annotations for more details such as format and
// size limitations.
Annotations map[string]string `protobuf:"bytes,4,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Output only. Time at which the `Rollout` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Time at which the `Rollout` was approved.
ApproveTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=approve_time,json=approveTime,proto3" json:"approve_time,omitempty"`
// Output only. Time at which the `Rollout` was enqueued.
EnqueueTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=enqueue_time,json=enqueueTime,proto3" json:"enqueue_time,omitempty"`
// Output only. Time at which the `Rollout` started deploying.
DeployStartTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=deploy_start_time,json=deployStartTime,proto3" json:"deploy_start_time,omitempty"`
// Output only. Time at which the `Rollout` finished deploying.
DeployEndTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=deploy_end_time,json=deployEndTime,proto3" json:"deploy_end_time,omitempty"`
// Required. The ID of Target to which this `Rollout` is deploying.
TargetId string `protobuf:"bytes,18,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Output only. Approval state of the `Rollout`.
ApprovalState Rollout_ApprovalState `protobuf:"varint,12,opt,name=approval_state,json=approvalState,proto3,enum=google.cloud.deploy.v1.Rollout_ApprovalState" json:"approval_state,omitempty"`
// Output only. Current state of the `Rollout`.
State Rollout_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.deploy.v1.Rollout_State" json:"state,omitempty"`
// Output only. Additional information about the rollout failure, if
// available.
FailureReason string `protobuf:"bytes,14,opt,name=failure_reason,json=failureReason,proto3" json:"failure_reason,omitempty"`
// Output only. The resource name of the Cloud Build `Build` object that is
// used to deploy the Rollout. Format is
// `projects/{project}/locations/{location}/builds/{build}`.
DeployingBuild string `protobuf:"bytes,17,opt,name=deploying_build,json=deployingBuild,proto3" json:"deploying_build,omitempty"`
// 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,16,opt,name=etag,proto3" json:"etag,omitempty"`
// Output only. The reason this rollout failed. This will always be
// unspecified while the rollout is in progress.
DeployFailureCause Rollout_FailureCause `protobuf:"varint,19,opt,name=deploy_failure_cause,json=deployFailureCause,proto3,enum=google.cloud.deploy.v1.Rollout_FailureCause" json:"deploy_failure_cause,omitempty"`
// Output only. The phases that represent the workflows of this `Rollout`.
Phases []*Phase `protobuf:"bytes,23,rep,name=phases,proto3" json:"phases,omitempty"`
// Output only. Metadata contains information about the rollout.
Metadata *Metadata `protobuf:"bytes,24,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Output only. Name of the `ControllerRollout`. Format is
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.
ControllerRollout string `protobuf:"bytes,25,opt,name=controller_rollout,json=controllerRollout,proto3" json:"controller_rollout,omitempty"`
// Output only. Name of the `Rollout` that is rolled back by this `Rollout`.
// Empty if this `Rollout` wasn't created as a rollback.
RollbackOfRollout string `protobuf:"bytes,26,opt,name=rollback_of_rollout,json=rollbackOfRollout,proto3" json:"rollback_of_rollout,omitempty"`
// Output only. Names of `Rollouts` that rolled back this `Rollout`.
RolledBackByRollouts []string `protobuf:"bytes,27,rep,name=rolled_back_by_rollouts,json=rolledBackByRollouts,proto3" json:"rolled_back_by_rollouts,omitempty"`
// Output only. The AutomationRun actively repairing the rollout.
ActiveRepairAutomationRun string `protobuf:"bytes,28,opt,name=active_repair_automation_run,json=activeRepairAutomationRun,proto3" json:"active_repair_automation_run,omitempty"`
// contains filtered or unexported fields
}A Rollout resource in the Cloud Deploy API.
A Rollout contains information around a specific deployment to a Target.
func (*Rollout) Descriptor
Deprecated: Use Rollout.ProtoReflect.Descriptor instead.
func (*Rollout) GetActiveRepairAutomationRun
func (*Rollout) GetAnnotations
func (*Rollout) GetApprovalState
func (x *Rollout) GetApprovalState() Rollout_ApprovalStatefunc (*Rollout) GetApproveTime
func (x *Rollout) GetApproveTime() *timestamppb.Timestampfunc (*Rollout) GetControllerRollout
func (*Rollout) GetCreateTime
func (x *Rollout) GetCreateTime() *timestamppb.Timestampfunc (*Rollout) GetDeployEndTime
func (x *Rollout) GetDeployEndTime() *timestamppb.Timestampfunc (*Rollout) GetDeployFailureCause
func (x *Rollout) GetDeployFailureCause() Rollout_FailureCausefunc (*Rollout) GetDeployStartTime
func (x *Rollout) GetDeployStartTime() *timestamppb.Timestampfunc (*Rollout) GetDeployingBuild
func (*Rollout) GetDescription
func (*Rollout) GetEnqueueTime
func (x *Rollout) GetEnqueueTime() *timestamppb.Timestampfunc (*Rollout) GetEtag
func (*Rollout) GetFailureReason
func (*Rollout) GetLabels
func (*Rollout) GetMetadata
func (*Rollout) GetName
func (*Rollout) GetPhases
func (*Rollout) GetRollbackOfRollout
func (*Rollout) GetRolledBackByRollouts
func (*Rollout) GetState
func (x *Rollout) GetState() Rollout_Statefunc (*Rollout) GetTargetId
func (*Rollout) GetUid
func (*Rollout) ProtoMessage
func (*Rollout) ProtoMessage()func (*Rollout) ProtoReflect
func (x *Rollout) ProtoReflect() protoreflect.Messagefunc (*Rollout) Reset
func (x *Rollout) Reset()func (*Rollout) String
RolloutNotificationEvent
type RolloutNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the `DeliveryPipeline`.
PipelineUid string `protobuf:"bytes,2,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the `Release`.
ReleaseUid string `protobuf:"bytes,3,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,7,opt,name=release,proto3" json:"release,omitempty"`
// Unique identifier of the `Rollout`.
RolloutUid string `protobuf:"bytes,8,opt,name=rollout_uid,json=rolloutUid,proto3" json:"rollout_uid,omitempty"`
// The name of the `Rollout`.
Rollout string `protobuf:"bytes,4,opt,name=rollout,proto3" json:"rollout,omitempty"`
// ID of the `Target` that the rollout is deployed to.
TargetId string `protobuf:"bytes,6,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/rollout_notification" Platform Log event that describes the failure to send rollout status change Pub/Sub notification.
func (*RolloutNotificationEvent) Descriptor
func (*RolloutNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use RolloutNotificationEvent.ProtoReflect.Descriptor instead.
func (*RolloutNotificationEvent) GetMessage
func (x *RolloutNotificationEvent) GetMessage() stringfunc (*RolloutNotificationEvent) GetPipelineUid
func (x *RolloutNotificationEvent) GetPipelineUid() stringfunc (*RolloutNotificationEvent) GetRelease
func (x *RolloutNotificationEvent) GetRelease() stringfunc (*RolloutNotificationEvent) GetReleaseUid
func (x *RolloutNotificationEvent) GetReleaseUid() stringfunc (*RolloutNotificationEvent) GetRollout
func (x *RolloutNotificationEvent) GetRollout() stringfunc (*RolloutNotificationEvent) GetRolloutUid
func (x *RolloutNotificationEvent) GetRolloutUid() stringfunc (*RolloutNotificationEvent) GetTargetId
func (x *RolloutNotificationEvent) GetTargetId() stringfunc (*RolloutNotificationEvent) GetType
func (x *RolloutNotificationEvent) GetType() Typefunc (*RolloutNotificationEvent) ProtoMessage
func (*RolloutNotificationEvent) ProtoMessage()func (*RolloutNotificationEvent) ProtoReflect
func (x *RolloutNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*RolloutNotificationEvent) Reset
func (x *RolloutNotificationEvent) Reset()func (*RolloutNotificationEvent) String
func (x *RolloutNotificationEvent) String() stringRolloutRestriction
type RolloutRestriction struct {
// Required. Restriction rule ID. Required and must be unique within a
// DeployPolicy. 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. What invoked the action. If left empty, all invoker types will be
// restricted.
Invokers []DeployPolicy_Invoker `protobuf:"varint,2,rep,packed,name=invokers,proto3,enum=google.cloud.deploy.v1.DeployPolicy_Invoker" json:"invokers,omitempty"`
// Optional. Rollout actions to be restricted as part of the policy. If left
// empty, all actions will be restricted.
Actions []RolloutRestriction_RolloutActions `protobuf:"varint,3,rep,packed,name=actions,proto3,enum=google.cloud.deploy.v1.RolloutRestriction_RolloutActions" json:"actions,omitempty"`
// Required. Time window within which actions are restricted.
TimeWindows *TimeWindows `protobuf:"bytes,4,opt,name=time_windows,json=timeWindows,proto3" json:"time_windows,omitempty"`
// contains filtered or unexported fields
}Rollout restrictions.
func (*RolloutRestriction) Descriptor
func (*RolloutRestriction) Descriptor() ([]byte, []int)Deprecated: Use RolloutRestriction.ProtoReflect.Descriptor instead.
func (*RolloutRestriction) GetActions
func (x *RolloutRestriction) GetActions() []RolloutRestriction_RolloutActionsfunc (*RolloutRestriction) GetId
func (x *RolloutRestriction) GetId() stringfunc (*RolloutRestriction) GetInvokers
func (x *RolloutRestriction) GetInvokers() []DeployPolicy_Invokerfunc (*RolloutRestriction) GetTimeWindows
func (x *RolloutRestriction) GetTimeWindows() *TimeWindowsfunc (*RolloutRestriction) ProtoMessage
func (*RolloutRestriction) ProtoMessage()func (*RolloutRestriction) ProtoReflect
func (x *RolloutRestriction) ProtoReflect() protoreflect.Messagefunc (*RolloutRestriction) Reset
func (x *RolloutRestriction) Reset()func (*RolloutRestriction) String
func (x *RolloutRestriction) String() stringRolloutRestriction_RolloutActions
type RolloutRestriction_RolloutActions int32Rollout actions to be restricted as part of the policy.
RolloutRestriction_ROLLOUT_ACTIONS_UNSPECIFIED, RolloutRestriction_ADVANCE, RolloutRestriction_APPROVE, RolloutRestriction_CANCEL, RolloutRestriction_CREATE, RolloutRestriction_IGNORE_JOB, RolloutRestriction_RETRY_JOB, RolloutRestriction_ROLLBACK, RolloutRestriction_TERMINATE_JOBRUN
const (
// Unspecified.
RolloutRestriction_ROLLOUT_ACTIONS_UNSPECIFIED RolloutRestriction_RolloutActions = 0
// Advance the rollout to the next phase.
RolloutRestriction_ADVANCE RolloutRestriction_RolloutActions = 1
// Approve the rollout.
RolloutRestriction_APPROVE RolloutRestriction_RolloutActions = 2
// Cancel the rollout.
RolloutRestriction_CANCEL RolloutRestriction_RolloutActions = 3
// Create a rollout.
RolloutRestriction_CREATE RolloutRestriction_RolloutActions = 4
// Ignore a job result on the rollout.
RolloutRestriction_IGNORE_JOB RolloutRestriction_RolloutActions = 5
// Retry a job for a rollout.
RolloutRestriction_RETRY_JOB RolloutRestriction_RolloutActions = 6
// Rollback a rollout.
RolloutRestriction_ROLLBACK RolloutRestriction_RolloutActions = 7
// Terminate a jobrun.
RolloutRestriction_TERMINATE_JOBRUN RolloutRestriction_RolloutActions = 8
)func (RolloutRestriction_RolloutActions) Descriptor
func (RolloutRestriction_RolloutActions) Descriptor() protoreflect.EnumDescriptorfunc (RolloutRestriction_RolloutActions) Enum
func (x RolloutRestriction_RolloutActions) Enum() *RolloutRestriction_RolloutActionsfunc (RolloutRestriction_RolloutActions) EnumDescriptor
func (RolloutRestriction_RolloutActions) EnumDescriptor() ([]byte, []int)Deprecated: Use RolloutRestriction_RolloutActions.Descriptor instead.
func (RolloutRestriction_RolloutActions) Number
func (x RolloutRestriction_RolloutActions) Number() protoreflect.EnumNumberfunc (RolloutRestriction_RolloutActions) String
func (x RolloutRestriction_RolloutActions) String() stringfunc (RolloutRestriction_RolloutActions) Type
func (RolloutRestriction_RolloutActions) Type() protoreflect.EnumTypeRolloutUpdateEvent
type RolloutUpdateEvent struct {
// Debug message for when a rollout update event occurs.
Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
// Unique identifier of the pipeline.
PipelineUid string `protobuf:"bytes,1,opt,name=pipeline_uid,json=pipelineUid,proto3" json:"pipeline_uid,omitempty"`
// Unique identifier of the release.
ReleaseUid string `protobuf:"bytes,2,opt,name=release_uid,json=releaseUid,proto3" json:"release_uid,omitempty"`
// The name of the `Release`.
Release string `protobuf:"bytes,8,opt,name=release,proto3" json:"release,omitempty"`
// The name of the rollout.
// rollout_uid is not in this log message because we write some of these log
// messages at rollout creation time, before we've generated the uid.
Rollout string `protobuf:"bytes,3,opt,name=rollout,proto3" json:"rollout,omitempty"`
// ID of the target.
TargetId string `protobuf:"bytes,4,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Type of this notification, e.g. for a rollout update event.
Type Type `protobuf:"varint,7,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// The type of the rollout update.
RolloutUpdateType RolloutUpdateEvent_RolloutUpdateType `protobuf:"varint,5,opt,name=rollout_update_type,json=rolloutUpdateType,proto3,enum=google.cloud.deploy.v1.RolloutUpdateEvent_RolloutUpdateType" json:"rollout_update_type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/rollout_update" Platform Log event that describes the rollout update event.
func (*RolloutUpdateEvent) Descriptor
func (*RolloutUpdateEvent) Descriptor() ([]byte, []int)Deprecated: Use RolloutUpdateEvent.ProtoReflect.Descriptor instead.
func (*RolloutUpdateEvent) GetMessage
func (x *RolloutUpdateEvent) GetMessage() stringfunc (*RolloutUpdateEvent) GetPipelineUid
func (x *RolloutUpdateEvent) GetPipelineUid() stringfunc (*RolloutUpdateEvent) GetRelease
func (x *RolloutUpdateEvent) GetRelease() stringfunc (*RolloutUpdateEvent) GetReleaseUid
func (x *RolloutUpdateEvent) GetReleaseUid() stringfunc (*RolloutUpdateEvent) GetRollout
func (x *RolloutUpdateEvent) GetRollout() stringfunc (*RolloutUpdateEvent) GetRolloutUpdateType
func (x *RolloutUpdateEvent) GetRolloutUpdateType() RolloutUpdateEvent_RolloutUpdateTypefunc (*RolloutUpdateEvent) GetTargetId
func (x *RolloutUpdateEvent) GetTargetId() stringfunc (*RolloutUpdateEvent) GetType
func (x *RolloutUpdateEvent) GetType() Typefunc (*RolloutUpdateEvent) ProtoMessage
func (*RolloutUpdateEvent) ProtoMessage()func (*RolloutUpdateEvent) ProtoReflect
func (x *RolloutUpdateEvent) ProtoReflect() protoreflect.Messagefunc (*RolloutUpdateEvent) Reset
func (x *RolloutUpdateEvent) Reset()func (*RolloutUpdateEvent) String
func (x *RolloutUpdateEvent) String() stringRolloutUpdateEvent_RolloutUpdateType
type RolloutUpdateEvent_RolloutUpdateType int32RolloutUpdateType indicates the type of the rollout update.
RolloutUpdateEvent_ROLLOUT_UPDATE_TYPE_UNSPECIFIED, RolloutUpdateEvent_PENDING, RolloutUpdateEvent_PENDING_RELEASE, RolloutUpdateEvent_IN_PROGRESS, RolloutUpdateEvent_CANCELLING, RolloutUpdateEvent_CANCELLED, RolloutUpdateEvent_HALTED, RolloutUpdateEvent_SUCCEEDED, RolloutUpdateEvent_FAILED, RolloutUpdateEvent_APPROVAL_REQUIRED, RolloutUpdateEvent_APPROVED, RolloutUpdateEvent_REJECTED, RolloutUpdateEvent_ADVANCE_REQUIRED, RolloutUpdateEvent_ADVANCED
const (
// Rollout update type unspecified.
RolloutUpdateEvent_ROLLOUT_UPDATE_TYPE_UNSPECIFIED RolloutUpdateEvent_RolloutUpdateType = 0
// rollout state updated to pending.
RolloutUpdateEvent_PENDING RolloutUpdateEvent_RolloutUpdateType = 1
// Rollout state updated to pending release.
RolloutUpdateEvent_PENDING_RELEASE RolloutUpdateEvent_RolloutUpdateType = 2
// Rollout state updated to in progress.
RolloutUpdateEvent_IN_PROGRESS RolloutUpdateEvent_RolloutUpdateType = 3
// Rollout state updated to cancelling.
RolloutUpdateEvent_CANCELLING RolloutUpdateEvent_RolloutUpdateType = 4
// Rollout state updated to cancelled.
RolloutUpdateEvent_CANCELLED RolloutUpdateEvent_RolloutUpdateType = 5
// Rollout state updated to halted.
RolloutUpdateEvent_HALTED RolloutUpdateEvent_RolloutUpdateType = 6
// Rollout state updated to succeeded.
RolloutUpdateEvent_SUCCEEDED RolloutUpdateEvent_RolloutUpdateType = 7
// Rollout state updated to failed.
RolloutUpdateEvent_FAILED RolloutUpdateEvent_RolloutUpdateType = 8
// Rollout requires approval.
RolloutUpdateEvent_APPROVAL_REQUIRED RolloutUpdateEvent_RolloutUpdateType = 9
// Rollout has been approved.
RolloutUpdateEvent_APPROVED RolloutUpdateEvent_RolloutUpdateType = 10
// Rollout has been rejected.
RolloutUpdateEvent_REJECTED RolloutUpdateEvent_RolloutUpdateType = 11
// Rollout requires advance to the next phase.
RolloutUpdateEvent_ADVANCE_REQUIRED RolloutUpdateEvent_RolloutUpdateType = 12
// Rollout has been advanced.
RolloutUpdateEvent_ADVANCED RolloutUpdateEvent_RolloutUpdateType = 13
)func (RolloutUpdateEvent_RolloutUpdateType) Descriptor
func (RolloutUpdateEvent_RolloutUpdateType) Descriptor() protoreflect.EnumDescriptorfunc (RolloutUpdateEvent_RolloutUpdateType) Enum
func (x RolloutUpdateEvent_RolloutUpdateType) Enum() *RolloutUpdateEvent_RolloutUpdateTypefunc (RolloutUpdateEvent_RolloutUpdateType) EnumDescriptor
func (RolloutUpdateEvent_RolloutUpdateType) EnumDescriptor() ([]byte, []int)Deprecated: Use RolloutUpdateEvent_RolloutUpdateType.Descriptor instead.
func (RolloutUpdateEvent_RolloutUpdateType) Number
func (x RolloutUpdateEvent_RolloutUpdateType) Number() protoreflect.EnumNumberfunc (RolloutUpdateEvent_RolloutUpdateType) String
func (x RolloutUpdateEvent_RolloutUpdateType) String() stringfunc (RolloutUpdateEvent_RolloutUpdateType) Type
func (RolloutUpdateEvent_RolloutUpdateType) Type() protoreflect.EnumTypeRollout_ApprovalState
type Rollout_ApprovalState int32Valid approval states of a Rollout.
Rollout_APPROVAL_STATE_UNSPECIFIED, Rollout_NEEDS_APPROVAL, Rollout_DOES_NOT_NEED_APPROVAL, Rollout_APPROVED, Rollout_REJECTED
const (
// The `Rollout` has an unspecified approval state.
Rollout_APPROVAL_STATE_UNSPECIFIED Rollout_ApprovalState = 0
// The `Rollout` requires approval.
Rollout_NEEDS_APPROVAL Rollout_ApprovalState = 1
// The `Rollout` does not require approval.
Rollout_DOES_NOT_NEED_APPROVAL Rollout_ApprovalState = 2
// The `Rollout` has been approved.
Rollout_APPROVED Rollout_ApprovalState = 3
// The `Rollout` has been rejected.
Rollout_REJECTED Rollout_ApprovalState = 4
)func (Rollout_ApprovalState) Descriptor
func (Rollout_ApprovalState) Descriptor() protoreflect.EnumDescriptorfunc (Rollout_ApprovalState) Enum
func (x Rollout_ApprovalState) Enum() *Rollout_ApprovalStatefunc (Rollout_ApprovalState) EnumDescriptor
func (Rollout_ApprovalState) EnumDescriptor() ([]byte, []int)Deprecated: Use Rollout_ApprovalState.Descriptor instead.
func (Rollout_ApprovalState) Number
func (x Rollout_ApprovalState) Number() protoreflect.EnumNumberfunc (Rollout_ApprovalState) String
func (x Rollout_ApprovalState) String() stringfunc (Rollout_ApprovalState) Type
func (Rollout_ApprovalState) Type() protoreflect.EnumTypeRollout_FailureCause
type Rollout_FailureCause int32Well-known rollout failures.
Rollout_FAILURE_CAUSE_UNSPECIFIED, Rollout_CLOUD_BUILD_UNAVAILABLE, Rollout_EXECUTION_FAILED, Rollout_DEADLINE_EXCEEDED, Rollout_RELEASE_FAILED, Rollout_RELEASE_ABANDONED, Rollout_VERIFICATION_CONFIG_NOT_FOUND, Rollout_CLOUD_BUILD_REQUEST_FAILED, Rollout_OPERATION_FEATURE_NOT_SUPPORTED
const (
// No reason for failure is specified.
Rollout_FAILURE_CAUSE_UNSPECIFIED Rollout_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
Rollout_CLOUD_BUILD_UNAVAILABLE Rollout_FailureCause = 1
// The deploy operation did not complete successfully; check Cloud Build
// logs.
Rollout_EXECUTION_FAILED Rollout_FailureCause = 2
// Deployment did not complete within the allotted time.
Rollout_DEADLINE_EXCEEDED Rollout_FailureCause = 3
// Release is in a failed state.
Rollout_RELEASE_FAILED Rollout_FailureCause = 4
// Release is abandoned.
Rollout_RELEASE_ABANDONED Rollout_FailureCause = 5
// No Skaffold verify configuration was found.
Rollout_VERIFICATION_CONFIG_NOT_FOUND Rollout_FailureCause = 6
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
Rollout_CLOUD_BUILD_REQUEST_FAILED Rollout_FailureCause = 7
// A Rollout operation had a feature configured that is not supported.
Rollout_OPERATION_FEATURE_NOT_SUPPORTED Rollout_FailureCause = 8
)func (Rollout_FailureCause) Descriptor
func (Rollout_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (Rollout_FailureCause) Enum
func (x Rollout_FailureCause) Enum() *Rollout_FailureCausefunc (Rollout_FailureCause) EnumDescriptor
func (Rollout_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use Rollout_FailureCause.Descriptor instead.
func (Rollout_FailureCause) Number
func (x Rollout_FailureCause) Number() protoreflect.EnumNumberfunc (Rollout_FailureCause) String
func (x Rollout_FailureCause) String() stringfunc (Rollout_FailureCause) Type
func (Rollout_FailureCause) Type() protoreflect.EnumTypeRollout_State
type Rollout_State int32Valid states of a Rollout.
Rollout_STATE_UNSPECIFIED, Rollout_SUCCEEDED, Rollout_FAILED, Rollout_IN_PROGRESS, Rollout_PENDING_APPROVAL, Rollout_APPROVAL_REJECTED, Rollout_PENDING, Rollout_PENDING_RELEASE, Rollout_CANCELLING, Rollout_CANCELLED, Rollout_HALTED
const (
// The `Rollout` has an unspecified state.
Rollout_STATE_UNSPECIFIED Rollout_State = 0
// The `Rollout` has completed successfully.
Rollout_SUCCEEDED Rollout_State = 1
// The `Rollout` has failed.
Rollout_FAILED Rollout_State = 2
// The `Rollout` is being deployed.
Rollout_IN_PROGRESS Rollout_State = 3
// The `Rollout` needs approval.
Rollout_PENDING_APPROVAL Rollout_State = 4
// An approver rejected the `Rollout`.
Rollout_APPROVAL_REJECTED Rollout_State = 5
// The `Rollout` is waiting for an earlier Rollout(s) to complete on this
// `Target`.
Rollout_PENDING Rollout_State = 6
// The `Rollout` is waiting for the `Release` to be fully rendered.
Rollout_PENDING_RELEASE Rollout_State = 7
// The `Rollout` is in the process of being cancelled.
Rollout_CANCELLING Rollout_State = 8
// The `Rollout` has been cancelled.
Rollout_CANCELLED Rollout_State = 9
// The `Rollout` is halted.
Rollout_HALTED Rollout_State = 10
)func (Rollout_State) Descriptor
func (Rollout_State) Descriptor() protoreflect.EnumDescriptorfunc (Rollout_State) Enum
func (x Rollout_State) Enum() *Rollout_Statefunc (Rollout_State) EnumDescriptor
func (Rollout_State) EnumDescriptor() ([]byte, []int)Deprecated: Use Rollout_State.Descriptor instead.
func (Rollout_State) Number
func (x Rollout_State) Number() protoreflect.EnumNumberfunc (Rollout_State) String
func (x Rollout_State) String() stringfunc (Rollout_State) Type
func (Rollout_State) Type() protoreflect.EnumTypeRuntimeConfig
type RuntimeConfig struct {
// The runtime configuration details.
//
// Types that are assignable to RuntimeConfig:
//
// *RuntimeConfig_Kubernetes
// *RuntimeConfig_CloudRun
RuntimeConfig isRuntimeConfig_RuntimeConfig `protobuf_oneof:"runtime_config"`
// contains filtered or unexported fields
}RuntimeConfig contains the runtime specific configurations for a deployment strategy.
func (*RuntimeConfig) Descriptor
func (*RuntimeConfig) Descriptor() ([]byte, []int)Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetCloudRun
func (x *RuntimeConfig) GetCloudRun() *CloudRunConfigfunc (*RuntimeConfig) GetKubernetes
func (x *RuntimeConfig) GetKubernetes() *KubernetesConfigfunc (*RuntimeConfig) GetRuntimeConfig
func (m *RuntimeConfig) GetRuntimeConfig() isRuntimeConfig_RuntimeConfigfunc (*RuntimeConfig) ProtoMessage
func (*RuntimeConfig) ProtoMessage()func (*RuntimeConfig) ProtoReflect
func (x *RuntimeConfig) ProtoReflect() protoreflect.Messagefunc (*RuntimeConfig) Reset
func (x *RuntimeConfig) Reset()func (*RuntimeConfig) String
func (x *RuntimeConfig) String() stringRuntimeConfig_CloudRun
type RuntimeConfig_CloudRun struct {
// Optional. Cloud Run runtime configuration.
CloudRun *CloudRunConfig `protobuf:"bytes,2,opt,name=cloud_run,json=cloudRun,proto3,oneof"`
}RuntimeConfig_Kubernetes
type RuntimeConfig_Kubernetes struct {
// Optional. Kubernetes runtime configuration.
Kubernetes *KubernetesConfig `protobuf:"bytes,1,opt,name=kubernetes,proto3,oneof"`
}SerialPipeline
type SerialPipeline struct {
// Optional. Each stage specifies configuration for a `Target`. The ordering
// of this list defines the promotion flow.
Stages []*Stage `protobuf:"bytes,1,rep,name=stages,proto3" json:"stages,omitempty"`
// contains filtered or unexported fields
}SerialPipeline defines a sequential set of stages for a DeliveryPipeline.
func (*SerialPipeline) Descriptor
func (*SerialPipeline) Descriptor() ([]byte, []int)Deprecated: Use SerialPipeline.ProtoReflect.Descriptor instead.
func (*SerialPipeline) GetStages
func (x *SerialPipeline) GetStages() []*Stagefunc (*SerialPipeline) ProtoMessage
func (*SerialPipeline) ProtoMessage()func (*SerialPipeline) ProtoReflect
func (x *SerialPipeline) ProtoReflect() protoreflect.Messagefunc (*SerialPipeline) Reset
func (x *SerialPipeline) Reset()func (*SerialPipeline) String
func (x *SerialPipeline) String() stringSkaffoldModules
type SkaffoldModules struct {
// Optional. The Skaffold Config modules to use from the specified source.
Configs []string `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
// The source that contains the Skaffold Config modules.
//
// Types that are assignable to Source:
//
// *SkaffoldModules_Git
// *SkaffoldModules_GoogleCloudStorage
// *SkaffoldModules_GoogleCloudBuildRepo
Source isSkaffoldModules_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}Skaffold Config modules and their remote source.
func (*SkaffoldModules) Descriptor
func (*SkaffoldModules) Descriptor() ([]byte, []int)Deprecated: Use SkaffoldModules.ProtoReflect.Descriptor instead.
func (*SkaffoldModules) GetConfigs
func (x *SkaffoldModules) GetConfigs() []stringfunc (*SkaffoldModules) GetGit
func (x *SkaffoldModules) GetGit() *SkaffoldModules_SkaffoldGitSourcefunc (*SkaffoldModules) GetGoogleCloudBuildRepo
func (x *SkaffoldModules) GetGoogleCloudBuildRepo() *SkaffoldModules_SkaffoldGCBRepoSourcefunc (*SkaffoldModules) GetGoogleCloudStorage
func (x *SkaffoldModules) GetGoogleCloudStorage() *SkaffoldModules_SkaffoldGCSSourcefunc (*SkaffoldModules) GetSource
func (m *SkaffoldModules) GetSource() isSkaffoldModules_Sourcefunc (*SkaffoldModules) ProtoMessage
func (*SkaffoldModules) ProtoMessage()func (*SkaffoldModules) ProtoReflect
func (x *SkaffoldModules) ProtoReflect() protoreflect.Messagefunc (*SkaffoldModules) Reset
func (x *SkaffoldModules) Reset()func (*SkaffoldModules) String
func (x *SkaffoldModules) String() stringSkaffoldModules_Git
type SkaffoldModules_Git struct {
// Optional. Remote git repository containing the Skaffold Config modules.
Git *SkaffoldModules_SkaffoldGitSource `protobuf:"bytes,2,opt,name=git,proto3,oneof"`
}SkaffoldModules_GoogleCloudBuildRepo
type SkaffoldModules_GoogleCloudBuildRepo struct {
// Optional. Cloud Build V2 repository containing the Skaffold Config
// modules.
GoogleCloudBuildRepo *SkaffoldModules_SkaffoldGCBRepoSource `protobuf:"bytes,4,opt,name=google_cloud_build_repo,json=googleCloudBuildRepo,proto3,oneof"`
}SkaffoldModules_GoogleCloudStorage
type SkaffoldModules_GoogleCloudStorage struct {
// Optional. Cloud Storage bucket containing the Skaffold Config modules.
GoogleCloudStorage *SkaffoldModules_SkaffoldGCSSource `protobuf:"bytes,3,opt,name=google_cloud_storage,json=googleCloudStorage,proto3,oneof"`
}SkaffoldModules_SkaffoldGCBRepoSource
type SkaffoldModules_SkaffoldGCBRepoSource struct {
// Required. Name of the Cloud Build V2 Repository.
// Format is
// projects/{project}/locations/{location}/connections/{connection}/repositories/{repository}.
Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"`
// Optional. Relative path from the repository root to the Skaffold Config
// file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Optional. Branch or tag to use when cloning the repository.
Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}Cloud Build V2 Repository containing Skaffold Configs.
func (*SkaffoldModules_SkaffoldGCBRepoSource) Descriptor
func (*SkaffoldModules_SkaffoldGCBRepoSource) Descriptor() ([]byte, []int)Deprecated: Use SkaffoldModules_SkaffoldGCBRepoSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGCBRepoSource) GetPath
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetPath() stringfunc (*SkaffoldModules_SkaffoldGCBRepoSource) GetRef
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetRef() stringfunc (*SkaffoldModules_SkaffoldGCBRepoSource) GetRepository
func (x *SkaffoldModules_SkaffoldGCBRepoSource) GetRepository() stringfunc (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoMessage()func (*SkaffoldModules_SkaffoldGCBRepoSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGCBRepoSource) ProtoReflect() protoreflect.Messagefunc (*SkaffoldModules_SkaffoldGCBRepoSource) Reset
func (x *SkaffoldModules_SkaffoldGCBRepoSource) Reset()func (*SkaffoldModules_SkaffoldGCBRepoSource) String
func (x *SkaffoldModules_SkaffoldGCBRepoSource) String() stringSkaffoldModules_SkaffoldGCSSource
type SkaffoldModules_SkaffoldGCSSource struct {
// Required. Cloud Storage source paths to copy recursively. For example,
// providing "gs://my-bucket/dir/configs/*" will result in Skaffold copying
// all files within the "dir/configs" directory in the bucket "my-bucket".
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
// Optional. Relative path from the source to the Skaffold file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}Cloud Storage bucket containing Skaffold Config modules.
func (*SkaffoldModules_SkaffoldGCSSource) Descriptor
func (*SkaffoldModules_SkaffoldGCSSource) Descriptor() ([]byte, []int)Deprecated: Use SkaffoldModules_SkaffoldGCSSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGCSSource) GetPath
func (x *SkaffoldModules_SkaffoldGCSSource) GetPath() stringfunc (*SkaffoldModules_SkaffoldGCSSource) GetSource
func (x *SkaffoldModules_SkaffoldGCSSource) GetSource() stringfunc (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGCSSource) ProtoMessage()func (*SkaffoldModules_SkaffoldGCSSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGCSSource) ProtoReflect() protoreflect.Messagefunc (*SkaffoldModules_SkaffoldGCSSource) Reset
func (x *SkaffoldModules_SkaffoldGCSSource) Reset()func (*SkaffoldModules_SkaffoldGCSSource) String
func (x *SkaffoldModules_SkaffoldGCSSource) String() stringSkaffoldModules_SkaffoldGitSource
type SkaffoldModules_SkaffoldGitSource struct {
// Required. Git repository the package should be cloned from.
Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
// Optional. Relative path from the repository root to the Skaffold file.
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// Optional. Git branch or tag to use when cloning the repository.
Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
// contains filtered or unexported fields
}Git repository containing Skaffold Config modules.
func (*SkaffoldModules_SkaffoldGitSource) Descriptor
func (*SkaffoldModules_SkaffoldGitSource) Descriptor() ([]byte, []int)Deprecated: Use SkaffoldModules_SkaffoldGitSource.ProtoReflect.Descriptor instead.
func (*SkaffoldModules_SkaffoldGitSource) GetPath
func (x *SkaffoldModules_SkaffoldGitSource) GetPath() stringfunc (*SkaffoldModules_SkaffoldGitSource) GetRef
func (x *SkaffoldModules_SkaffoldGitSource) GetRef() stringfunc (*SkaffoldModules_SkaffoldGitSource) GetRepo
func (x *SkaffoldModules_SkaffoldGitSource) GetRepo() stringfunc (*SkaffoldModules_SkaffoldGitSource) ProtoMessage
func (*SkaffoldModules_SkaffoldGitSource) ProtoMessage()func (*SkaffoldModules_SkaffoldGitSource) ProtoReflect
func (x *SkaffoldModules_SkaffoldGitSource) ProtoReflect() protoreflect.Messagefunc (*SkaffoldModules_SkaffoldGitSource) Reset
func (x *SkaffoldModules_SkaffoldGitSource) Reset()func (*SkaffoldModules_SkaffoldGitSource) String
func (x *SkaffoldModules_SkaffoldGitSource) String() stringSkaffoldSupportState
type SkaffoldSupportState int32The support state of a specific Skaffold version.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSPECIFIED, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_SUPPORTED, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE, SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSUPPORTED
const (
// Default value. This value is unused.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSPECIFIED SkaffoldSupportState = 0
// This Skaffold version is currently supported.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_SUPPORTED SkaffoldSupportState = 1
// This Skaffold version is in maintenance mode.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE SkaffoldSupportState = 2
// This Skaffold version is no longer supported.
SkaffoldSupportState_SKAFFOLD_SUPPORT_STATE_UNSUPPORTED SkaffoldSupportState = 3
)func (SkaffoldSupportState) Descriptor
func (SkaffoldSupportState) Descriptor() protoreflect.EnumDescriptorfunc (SkaffoldSupportState) Enum
func (x SkaffoldSupportState) Enum() *SkaffoldSupportStatefunc (SkaffoldSupportState) EnumDescriptor
func (SkaffoldSupportState) EnumDescriptor() ([]byte, []int)Deprecated: Use SkaffoldSupportState.Descriptor instead.
func (SkaffoldSupportState) Number
func (x SkaffoldSupportState) Number() protoreflect.EnumNumberfunc (SkaffoldSupportState) String
func (x SkaffoldSupportState) String() stringfunc (SkaffoldSupportState) Type
func (SkaffoldSupportState) Type() protoreflect.EnumTypeSkaffoldVersion
type SkaffoldVersion struct {
// Release version number. For example, "1.20.3".
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// The time at which this version of Skaffold will enter maintenance mode.
MaintenanceModeTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=maintenance_mode_time,json=maintenanceModeTime,proto3" json:"maintenance_mode_time,omitempty"`
// The time at which this version of Skaffold will no longer be supported.
SupportExpirationTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=support_expiration_time,json=supportExpirationTime,proto3" json:"support_expiration_time,omitempty"`
// Date when this version is expected to no longer be supported.
SupportEndDate *date.Date `protobuf:"bytes,2,opt,name=support_end_date,json=supportEndDate,proto3" json:"support_end_date,omitempty"`
// contains filtered or unexported fields
}Details of a supported Skaffold version.
func (*SkaffoldVersion) Descriptor
func (*SkaffoldVersion) Descriptor() ([]byte, []int)Deprecated: Use SkaffoldVersion.ProtoReflect.Descriptor instead.
func (*SkaffoldVersion) GetMaintenanceModeTime
func (x *SkaffoldVersion) GetMaintenanceModeTime() *timestamppb.Timestampfunc (*SkaffoldVersion) GetSupportEndDate
func (x *SkaffoldVersion) GetSupportEndDate() *date.Datefunc (*SkaffoldVersion) GetSupportExpirationTime
func (x *SkaffoldVersion) GetSupportExpirationTime() *timestamppb.Timestampfunc (*SkaffoldVersion) GetVersion
func (x *SkaffoldVersion) GetVersion() stringfunc (*SkaffoldVersion) ProtoMessage
func (*SkaffoldVersion) ProtoMessage()func (*SkaffoldVersion) ProtoReflect
func (x *SkaffoldVersion) ProtoReflect() protoreflect.Messagefunc (*SkaffoldVersion) Reset
func (x *SkaffoldVersion) Reset()func (*SkaffoldVersion) String
func (x *SkaffoldVersion) String() stringStage
type Stage struct {
// Optional. The target_id to which this stage points. This field refers
// exclusively to the last segment of a target name. For example, this field
// would just be `my-target` (rather than
// `projects/project/locations/location/targets/my-target`). The location of
// the `Target` is inferred to be the same as the location of the
// `DeliveryPipeline` that contains this `Stage`.
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Optional. Skaffold profiles to use when rendering the manifest for this
// stage's `Target`.
Profiles []string `protobuf:"bytes,2,rep,name=profiles,proto3" json:"profiles,omitempty"`
// Optional. The strategy to use for a `Rollout` to this stage.
Strategy *Strategy `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
// Optional. The deploy parameters to use for the target in this stage.
DeployParameters []*DeployParameters `protobuf:"bytes,6,rep,name=deploy_parameters,json=deployParameters,proto3" json:"deploy_parameters,omitempty"`
// contains filtered or unexported fields
}Stage specifies a location to which to deploy.
func (*Stage) Descriptor
Deprecated: Use Stage.ProtoReflect.Descriptor instead.
func (*Stage) GetDeployParameters
func (x *Stage) GetDeployParameters() []*DeployParametersfunc (*Stage) GetProfiles
func (*Stage) GetStrategy
func (*Stage) GetTargetId
func (*Stage) ProtoMessage
func (*Stage) ProtoMessage()func (*Stage) ProtoReflect
func (x *Stage) ProtoReflect() protoreflect.Messagefunc (*Stage) Reset
func (x *Stage) Reset()func (*Stage) String
Standard
type Standard struct {
// Optional. Whether to verify a deployment via `skaffold verify`.
Verify bool `protobuf:"varint,1,opt,name=verify,proto3" json:"verify,omitempty"`
// Optional. Configuration for the predeploy job. If this is not configured,
// the predeploy job will not be present.
Predeploy *Predeploy `protobuf:"bytes,2,opt,name=predeploy,proto3" json:"predeploy,omitempty"`
// Optional. Configuration for the postdeploy job. If this is not configured,
// the postdeploy job will not be present.
Postdeploy *Postdeploy `protobuf:"bytes,3,opt,name=postdeploy,proto3" json:"postdeploy,omitempty"`
// contains filtered or unexported fields
}Standard represents the standard deployment strategy.
func (*Standard) Descriptor
Deprecated: Use Standard.ProtoReflect.Descriptor instead.
func (*Standard) GetPostdeploy
func (x *Standard) GetPostdeploy() *Postdeployfunc (*Standard) GetPredeploy
func (*Standard) GetVerify
func (*Standard) ProtoMessage
func (*Standard) ProtoMessage()func (*Standard) ProtoReflect
func (x *Standard) ProtoReflect() protoreflect.Messagefunc (*Standard) Reset
func (x *Standard) Reset()func (*Standard) String
Strategy
type Strategy struct {
// Deployment strategy details.
//
// Types that are assignable to DeploymentStrategy:
//
// *Strategy_Standard
// *Strategy_Canary
DeploymentStrategy isStrategy_DeploymentStrategy `protobuf_oneof:"deployment_strategy"`
// contains filtered or unexported fields
}Strategy contains deployment strategy information.
func (*Strategy) Descriptor
Deprecated: Use Strategy.ProtoReflect.Descriptor instead.
func (*Strategy) GetCanary
func (*Strategy) GetDeploymentStrategy
func (m *Strategy) GetDeploymentStrategy() isStrategy_DeploymentStrategyfunc (*Strategy) GetStandard
func (*Strategy) ProtoMessage
func (*Strategy) ProtoMessage()func (*Strategy) ProtoReflect
func (x *Strategy) ProtoReflect() protoreflect.Messagefunc (*Strategy) Reset
func (x *Strategy) Reset()func (*Strategy) String
Strategy_Canary
type Strategy_Canary struct {
// Optional. Canary deployment strategy provides progressive percentage
// based deployments to a Target.
Canary *Canary `protobuf:"bytes,2,opt,name=canary,proto3,oneof"`
}Strategy_Standard
type Strategy_Standard struct {
// Optional. Standard deployment strategy executes a single deploy and
// allows verifying the deployment.
Standard *Standard `protobuf:"bytes,1,opt,name=standard,proto3,oneof"`
}Target
type Target struct {
// Identifier. Name of the `Target`. Format is
// `projects/{project}/locations/{location}/targets/{target}`.
// The `target` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. Resource id of the `Target`.
TargetId string `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Output only. Unique identifier of the `Target`.
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Description of the `Target`. Max length is 255 characters.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. User annotations. These attributes can only be set and used by
// the user, and not by Cloud Deploy. See
// https://google.aip.dev/128#annotations for more details such as format and
// size limitations.
Annotations map[string]string `protobuf:"bytes,5,rep,name=annotations,proto3" json:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// 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 <= 128="" bytes.="" labels="">string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. Whether or not the `Target` requires approval.
RequireApproval bool `protobuf:"varint,13,opt,name=require_approval,json=requireApproval,proto3" json:"require_approval,omitempty"`
// Output only. Time at which the `Target` was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Most recent time at which the `Target` was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Destination to which the Skaffold configuration is applied during a
// rollout.
//
// Types that are assignable to DeploymentTarget:
//
// *Target_Gke
// *Target_AnthosCluster
// *Target_Run
// *Target_MultiTarget
// *Target_CustomTarget
DeploymentTarget isTarget_DeploymentTarget `protobuf_oneof:"deployment_target"`
// Optional. Map of entity IDs to their associated entities. Associated
// entities allows specifying places other than the deployment target for
// specific features. For example, the Gateway API canary can be configured to
// deploy the HTTPRoute to a different cluster(s) than the deployment cluster
// using associated entities. An entity ID 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])?$`.
AssociatedEntities map[string]*AssociatedEntities `protobuf:"bytes,23,rep,name=associated_entities,json=associatedEntities,proto3" json:"associated_entities,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Optional. 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,12,opt,name=etag,proto3" json:"etag,omitempty"`
// Optional. Configurations for all execution that relates to this `Target`.
// Each `ExecutionEnvironmentUsage` value may only be used in a single
// configuration; using the same value multiple times is an error.
// When one or more configurations are specified, they must include the
// `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values.
// When no configurations are specified, execution will use the default
// specified in `DefaultPool`.
ExecutionConfigs []*ExecutionConfig `protobuf:"bytes,16,rep,name=execution_configs,json=executionConfigs,proto3" json:"execution_configs,omitempty"`
// Optional. The deploy parameters to use for this target.
DeployParameters map[string]string `protobuf:"bytes,20,rep,name=deploy_parameters,json=deployParameters,proto3" json:"deploy_parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}A Target resource in the Cloud Deploy API.
A Target defines a location to which a Skaffold configuration
can be deployed.
func (*Target) Descriptor
Deprecated: Use Target.ProtoReflect.Descriptor instead.
func (*Target) GetAnnotations
func (*Target) GetAnthosCluster
func (x *Target) GetAnthosCluster() *AnthosClusterfunc (*Target) GetAssociatedEntities
func (x *Target) GetAssociatedEntities() map[string]*AssociatedEntitiesfunc (*Target) GetCreateTime
func (x *Target) GetCreateTime() *timestamppb.Timestampfunc (*Target) GetCustomTarget
func (x *Target) GetCustomTarget() *CustomTargetfunc (*Target) GetDeployParameters
func (*Target) GetDeploymentTarget
func (m *Target) GetDeploymentTarget() isTarget_DeploymentTargetfunc (*Target) GetDescription
func (*Target) GetEtag
func (*Target) GetExecutionConfigs
func (x *Target) GetExecutionConfigs() []*ExecutionConfigfunc (*Target) GetGke
func (x *Target) GetGke() *GkeClusterfunc (*Target) GetLabels
func (*Target) GetMultiTarget
func (x *Target) GetMultiTarget() *MultiTargetfunc (*Target) GetName
func (*Target) GetRequireApproval
func (*Target) GetRun
func (x *Target) GetRun() *CloudRunLocationfunc (*Target) GetTargetId
func (*Target) GetUid
func (*Target) GetUpdateTime
func (x *Target) GetUpdateTime() *timestamppb.Timestampfunc (*Target) ProtoMessage
func (*Target) ProtoMessage()func (*Target) ProtoReflect
func (x *Target) ProtoReflect() protoreflect.Messagefunc (*Target) Reset
func (x *Target) Reset()func (*Target) String
TargetArtifact
type TargetArtifact struct {
// Types that are assignable to Uri:
//
// *TargetArtifact_ArtifactUri
Uri isTargetArtifact_Uri `protobuf_oneof:"uri"`
// Output only. File path of the resolved Skaffold configuration for the
// stable phase, relative to the URI.
SkaffoldConfigPath string `protobuf:"bytes,2,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
// Output only. File path of the rendered manifest relative to the URI for the
// stable phase.
ManifestPath string `protobuf:"bytes,3,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"`
// Output only. Map from the phase ID to the phase artifacts for the `Target`.
PhaseArtifacts map[string]*TargetArtifact_PhaseArtifact `protobuf:"bytes,5,rep,name=phase_artifacts,json=phaseArtifacts,proto3" json:"phase_artifacts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}The artifacts produced by a target render operation.
func (*TargetArtifact) Descriptor
func (*TargetArtifact) Descriptor() ([]byte, []int)Deprecated: Use TargetArtifact.ProtoReflect.Descriptor instead.
func (*TargetArtifact) GetArtifactUri
func (x *TargetArtifact) GetArtifactUri() stringfunc (*TargetArtifact) GetManifestPath
func (x *TargetArtifact) GetManifestPath() stringfunc (*TargetArtifact) GetPhaseArtifacts
func (x *TargetArtifact) GetPhaseArtifacts() map[string]*TargetArtifact_PhaseArtifactfunc (*TargetArtifact) GetSkaffoldConfigPath
func (x *TargetArtifact) GetSkaffoldConfigPath() stringfunc (*TargetArtifact) GetUri
func (m *TargetArtifact) GetUri() isTargetArtifact_Urifunc (*TargetArtifact) ProtoMessage
func (*TargetArtifact) ProtoMessage()func (*TargetArtifact) ProtoReflect
func (x *TargetArtifact) ProtoReflect() protoreflect.Messagefunc (*TargetArtifact) Reset
func (x *TargetArtifact) Reset()func (*TargetArtifact) String
func (x *TargetArtifact) String() stringTargetArtifact_ArtifactUri
type TargetArtifact_ArtifactUri struct {
// Output only. URI of a directory containing the artifacts. This contains
// deployment configuration used by Skaffold during a rollout, and all
// paths are relative to this location.
ArtifactUri string `protobuf:"bytes,4,opt,name=artifact_uri,json=artifactUri,proto3,oneof"`
}TargetArtifact_PhaseArtifact
type TargetArtifact_PhaseArtifact struct {
// Output only. File path of the resolved Skaffold configuration relative to
// the URI.
SkaffoldConfigPath string `protobuf:"bytes,1,opt,name=skaffold_config_path,json=skaffoldConfigPath,proto3" json:"skaffold_config_path,omitempty"`
// Output only. File path of the rendered manifest relative to the URI.
ManifestPath string `protobuf:"bytes,3,opt,name=manifest_path,json=manifestPath,proto3" json:"manifest_path,omitempty"`
// Output only. File path of the directory of rendered job manifests
// relative to the URI. This is only set if it is applicable.
JobManifestsPath string `protobuf:"bytes,4,opt,name=job_manifests_path,json=jobManifestsPath,proto3" json:"job_manifests_path,omitempty"`
// contains filtered or unexported fields
}Contains the paths to the artifacts, relative to the URI, for a phase.
func (*TargetArtifact_PhaseArtifact) Descriptor
func (*TargetArtifact_PhaseArtifact) Descriptor() ([]byte, []int)Deprecated: Use TargetArtifact_PhaseArtifact.ProtoReflect.Descriptor instead.
func (*TargetArtifact_PhaseArtifact) GetJobManifestsPath
func (x *TargetArtifact_PhaseArtifact) GetJobManifestsPath() stringfunc (*TargetArtifact_PhaseArtifact) GetManifestPath
func (x *TargetArtifact_PhaseArtifact) GetManifestPath() stringfunc (*TargetArtifact_PhaseArtifact) GetSkaffoldConfigPath
func (x *TargetArtifact_PhaseArtifact) GetSkaffoldConfigPath() stringfunc (*TargetArtifact_PhaseArtifact) ProtoMessage
func (*TargetArtifact_PhaseArtifact) ProtoMessage()func (*TargetArtifact_PhaseArtifact) ProtoReflect
func (x *TargetArtifact_PhaseArtifact) ProtoReflect() protoreflect.Messagefunc (*TargetArtifact_PhaseArtifact) Reset
func (x *TargetArtifact_PhaseArtifact) Reset()func (*TargetArtifact_PhaseArtifact) String
func (x *TargetArtifact_PhaseArtifact) String() stringTargetAttribute
type TargetAttribute struct {
// Optional. ID of the `Target`. The value of this field could be one of the
// following:
//
// * The last segment of a target name
// * "*", all targets in a location
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Target labels.
Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// contains filtered or unexported fields
}Contains criteria for selecting Targets. This could be used to select targets for a Deploy Policy or for an Automation.
func (*TargetAttribute) Descriptor
func (*TargetAttribute) Descriptor() ([]byte, []int)Deprecated: Use TargetAttribute.ProtoReflect.Descriptor instead.
func (*TargetAttribute) GetId
func (x *TargetAttribute) GetId() stringfunc (*TargetAttribute) GetLabels
func (x *TargetAttribute) GetLabels() map[string]stringfunc (*TargetAttribute) ProtoMessage
func (*TargetAttribute) ProtoMessage()func (*TargetAttribute) ProtoReflect
func (x *TargetAttribute) ProtoReflect() protoreflect.Messagefunc (*TargetAttribute) Reset
func (x *TargetAttribute) Reset()func (*TargetAttribute) String
func (x *TargetAttribute) String() stringTargetNotificationEvent
type TargetNotificationEvent struct {
// Debug message for when a notification fails to send.
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The name of the `Target`.
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Type of this notification, e.g. for a Pub/Sub failure.
Type Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.deploy.v1.Type" json:"type,omitempty"`
// contains filtered or unexported fields
}Payload proto for "clouddeploy.googleapis.com/target_notification" Platform Log event that describes the failure to send target status change Pub/Sub notification.
func (*TargetNotificationEvent) Descriptor
func (*TargetNotificationEvent) Descriptor() ([]byte, []int)Deprecated: Use TargetNotificationEvent.ProtoReflect.Descriptor instead.
func (*TargetNotificationEvent) GetMessage
func (x *TargetNotificationEvent) GetMessage() stringfunc (*TargetNotificationEvent) GetTarget
func (x *TargetNotificationEvent) GetTarget() stringfunc (*TargetNotificationEvent) GetType
func (x *TargetNotificationEvent) GetType() Typefunc (*TargetNotificationEvent) ProtoMessage
func (*TargetNotificationEvent) ProtoMessage()func (*TargetNotificationEvent) ProtoReflect
func (x *TargetNotificationEvent) ProtoReflect() protoreflect.Messagefunc (*TargetNotificationEvent) Reset
func (x *TargetNotificationEvent) Reset()func (*TargetNotificationEvent) String
func (x *TargetNotificationEvent) String() stringTarget_AnthosCluster
type Target_AnthosCluster struct {
// Optional. Information specifying an Anthos Cluster.
AnthosCluster *AnthosCluster `protobuf:"bytes,17,opt,name=anthos_cluster,json=anthosCluster,proto3,oneof"`
}Target_CustomTarget
type Target_CustomTarget struct {
// Optional. Information specifying a Custom Target.
CustomTarget *CustomTarget `protobuf:"bytes,21,opt,name=custom_target,json=customTarget,proto3,oneof"`
}Target_Gke
type Target_Gke struct {
// Optional. Information specifying a GKE Cluster.
Gke *GkeCluster `protobuf:"bytes,15,opt,name=gke,proto3,oneof"`
}Target_MultiTarget
type Target_MultiTarget struct {
// Optional. Information specifying a multiTarget.
MultiTarget *MultiTarget `protobuf:"bytes,19,opt,name=multi_target,json=multiTarget,proto3,oneof"`
}Target_Run
type Target_Run struct {
// Optional. Information specifying a Cloud Run deployment target.
Run *CloudRunLocation `protobuf:"bytes,18,opt,name=run,proto3,oneof"`
}TargetsPresentCondition
type TargetsPresentCondition struct {
// True if there aren't any missing Targets.
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// The list of Target names that do not exist. For example,
// `projects/{project_id}/locations/{location_name}/targets/{target_name}`.
MissingTargets []string `protobuf:"bytes,2,rep,name=missing_targets,json=missingTargets,proto3" json:"missing_targets,omitempty"`
// Last time the condition was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// contains filtered or unexported fields
}TargetsPresentCondition contains information on any Targets referenced in
the Delivery Pipeline that do not actually exist.
func (*TargetsPresentCondition) Descriptor
func (*TargetsPresentCondition) Descriptor() ([]byte, []int)Deprecated: Use TargetsPresentCondition.ProtoReflect.Descriptor instead.
func (*TargetsPresentCondition) GetMissingTargets
func (x *TargetsPresentCondition) GetMissingTargets() []stringfunc (*TargetsPresentCondition) GetStatus
func (x *TargetsPresentCondition) GetStatus() boolfunc (*TargetsPresentCondition) GetUpdateTime
func (x *TargetsPresentCondition) GetUpdateTime() *timestamppb.Timestampfunc (*TargetsPresentCondition) ProtoMessage
func (*TargetsPresentCondition) ProtoMessage()func (*TargetsPresentCondition) ProtoReflect
func (x *TargetsPresentCondition) ProtoReflect() protoreflect.Messagefunc (*TargetsPresentCondition) Reset
func (x *TargetsPresentCondition) Reset()func (*TargetsPresentCondition) String
func (x *TargetsPresentCondition) String() stringTargetsTypeCondition
type TargetsTypeCondition struct {
// True if the targets are all a comparable type. For example this is true if
// all targets are GKE clusters. This is false if some targets are Cloud Run
// targets and others are GKE clusters.
Status bool `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
// Human readable error message.
ErrorDetails string `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
// contains filtered or unexported fields
}TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.
func (*TargetsTypeCondition) Descriptor
func (*TargetsTypeCondition) Descriptor() ([]byte, []int)Deprecated: Use TargetsTypeCondition.ProtoReflect.Descriptor instead.
func (*TargetsTypeCondition) GetErrorDetails
func (x *TargetsTypeCondition) GetErrorDetails() stringfunc (*TargetsTypeCondition) GetStatus
func (x *TargetsTypeCondition) GetStatus() boolfunc (*TargetsTypeCondition) ProtoMessage
func (*TargetsTypeCondition) ProtoMessage()func (*TargetsTypeCondition) ProtoReflect
func (x *TargetsTypeCondition) ProtoReflect() protoreflect.Messagefunc (*TargetsTypeCondition) Reset
func (x *TargetsTypeCondition) Reset()func (*TargetsTypeCondition) String
func (x *TargetsTypeCondition) String() stringTerminateJobRunRequest
type TerminateJobRunRequest struct {
// Required. Name of the `JobRun`. Format must be
// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Deploy policies to override. Format is
// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.
OverrideDeployPolicy []string `protobuf:"bytes,2,rep,name=override_deploy_policy,json=overrideDeployPolicy,proto3" json:"override_deploy_policy,omitempty"`
// contains filtered or unexported fields
}The request object used by TerminateJobRun.
func (*TerminateJobRunRequest) Descriptor
func (*TerminateJobRunRequest) Descriptor() ([]byte, []int)Deprecated: Use TerminateJobRunRequest.ProtoReflect.Descriptor instead.
func (*TerminateJobRunRequest) GetName
func (x *TerminateJobRunRequest) GetName() stringfunc (*TerminateJobRunRequest) GetOverrideDeployPolicy
func (x *TerminateJobRunRequest) GetOverrideDeployPolicy() []stringfunc (*TerminateJobRunRequest) ProtoMessage
func (*TerminateJobRunRequest) ProtoMessage()func (*TerminateJobRunRequest) ProtoReflect
func (x *TerminateJobRunRequest) ProtoReflect() protoreflect.Messagefunc (*TerminateJobRunRequest) Reset
func (x *TerminateJobRunRequest) Reset()func (*TerminateJobRunRequest) String
func (x *TerminateJobRunRequest) String() stringTerminateJobRunResponse
type TerminateJobRunResponse struct {
// contains filtered or unexported fields
}The response object from TerminateJobRun.
func (*TerminateJobRunResponse) Descriptor
func (*TerminateJobRunResponse) Descriptor() ([]byte, []int)Deprecated: Use TerminateJobRunResponse.ProtoReflect.Descriptor instead.
func (*TerminateJobRunResponse) ProtoMessage
func (*TerminateJobRunResponse) ProtoMessage()func (*TerminateJobRunResponse) ProtoReflect
func (x *TerminateJobRunResponse) ProtoReflect() protoreflect.Messagefunc (*TerminateJobRunResponse) Reset
func (x *TerminateJobRunResponse) Reset()func (*TerminateJobRunResponse) String
func (x *TerminateJobRunResponse) String() stringTimeWindows
type TimeWindows struct {
// Required. The time zone in IANA format [IANA Time Zone
// Database](https://www.iana.org/time-zones) (e.g. America/New_York).
TimeZone string `protobuf:"bytes,1,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Optional. One-time windows within which actions are restricted.
OneTimeWindows []*OneTimeWindow `protobuf:"bytes,2,rep,name=one_time_windows,json=oneTimeWindows,proto3" json:"one_time_windows,omitempty"`
// Optional. Recurring weekly windows within which actions are restricted.
WeeklyWindows []*WeeklyWindow `protobuf:"bytes,3,rep,name=weekly_windows,json=weeklyWindows,proto3" json:"weekly_windows,omitempty"`
// contains filtered or unexported fields
}Time windows within which actions are restricted. See the documentation for more information on how to configure dates/times.
func (*TimeWindows) Descriptor
func (*TimeWindows) Descriptor() ([]byte, []int)Deprecated: Use TimeWindows.ProtoReflect.Descriptor instead.
func (*TimeWindows) GetOneTimeWindows
func (x *TimeWindows) GetOneTimeWindows() []*OneTimeWindowfunc (*TimeWindows) GetTimeZone
func (x *TimeWindows) GetTimeZone() stringfunc (*TimeWindows) GetWeeklyWindows
func (x *TimeWindows) GetWeeklyWindows() []*WeeklyWindowfunc (*TimeWindows) ProtoMessage
func (*TimeWindows) ProtoMessage()func (*TimeWindows) ProtoReflect
func (x *TimeWindows) ProtoReflect() protoreflect.Messagefunc (*TimeWindows) Reset
func (x *TimeWindows) Reset()func (*TimeWindows) String
func (x *TimeWindows) String() stringTimedPromoteReleaseCondition
type TimedPromoteReleaseCondition struct {
// Output only. When the next scheduled promotion(s) will occur.
NextPromotionTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=next_promotion_time,json=nextPromotionTime,proto3" json:"next_promotion_time,omitempty"`
// Output only. A list of targets involved in the upcoming timed promotion(s).
TargetsList []*TimedPromoteReleaseCondition_Targets `protobuf:"bytes,2,rep,name=targets_list,json=targetsList,proto3" json:"targets_list,omitempty"`
// contains filtered or unexported fields
}TimedPromoteReleaseCondition contains conditions specific to an Automation
with a Timed Promote Release rule defined.
func (*TimedPromoteReleaseCondition) Descriptor
func (*TimedPromoteReleaseCondition) Descriptor() ([]byte, []int)Deprecated: Use TimedPromoteReleaseCondition.ProtoReflect.Descriptor instead.
func (*TimedPromoteReleaseCondition) GetNextPromotionTime
func (x *TimedPromoteReleaseCondition) GetNextPromotionTime() *timestamppb.Timestampfunc (*TimedPromoteReleaseCondition) GetTargetsList
func (x *TimedPromoteReleaseCondition) GetTargetsList() []*TimedPromoteReleaseCondition_Targetsfunc (*TimedPromoteReleaseCondition) ProtoMessage
func (*TimedPromoteReleaseCondition) ProtoMessage()func (*TimedPromoteReleaseCondition) ProtoReflect
func (x *TimedPromoteReleaseCondition) ProtoReflect() protoreflect.Messagefunc (*TimedPromoteReleaseCondition) Reset
func (x *TimedPromoteReleaseCondition) Reset()func (*TimedPromoteReleaseCondition) String
func (x *TimedPromoteReleaseCondition) String() stringTimedPromoteReleaseCondition_Targets
type TimedPromoteReleaseCondition_Targets struct {
// Optional. The source target ID.
SourceTargetId string `protobuf:"bytes,1,opt,name=source_target_id,json=sourceTargetId,proto3" json:"source_target_id,omitempty"`
// Optional. The destination target ID.
DestinationTargetId string `protobuf:"bytes,2,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
// contains filtered or unexported fields
}The targets involved in a single timed promotion.
func (*TimedPromoteReleaseCondition_Targets) Descriptor
func (*TimedPromoteReleaseCondition_Targets) Descriptor() ([]byte, []int)Deprecated: Use TimedPromoteReleaseCondition_Targets.ProtoReflect.Descriptor instead.
func (*TimedPromoteReleaseCondition_Targets) GetDestinationTargetId
func (x *TimedPromoteReleaseCondition_Targets) GetDestinationTargetId() stringfunc (*TimedPromoteReleaseCondition_Targets) GetSourceTargetId
func (x *TimedPromoteReleaseCondition_Targets) GetSourceTargetId() stringfunc (*TimedPromoteReleaseCondition_Targets) ProtoMessage
func (*TimedPromoteReleaseCondition_Targets) ProtoMessage()func (*TimedPromoteReleaseCondition_Targets) ProtoReflect
func (x *TimedPromoteReleaseCondition_Targets) ProtoReflect() protoreflect.Messagefunc (*TimedPromoteReleaseCondition_Targets) Reset
func (x *TimedPromoteReleaseCondition_Targets) Reset()func (*TimedPromoteReleaseCondition_Targets) String
func (x *TimedPromoteReleaseCondition_Targets) String() stringTimedPromoteReleaseOperation
type TimedPromoteReleaseOperation struct {
// Output only. The ID of the target that represents the promotion stage to
// which the release will be promoted. The value of this field is the last
// segment of a target name.
TargetId string `protobuf:"bytes,1,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Output only. The name of the release to be promoted.
Release string `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"`
// Output only. The starting phase of the rollout created by this operation.
Phase string `protobuf:"bytes,3,opt,name=phase,proto3" json:"phase,omitempty"`
// contains filtered or unexported fields
}Contains the information of an automated timed promote-release operation.
func (*TimedPromoteReleaseOperation) Descriptor
func (*TimedPromoteReleaseOperation) Descriptor() ([]byte, []int)Deprecated: Use TimedPromoteReleaseOperation.ProtoReflect.Descriptor instead.
func (*TimedPromoteReleaseOperation) GetPhase
func (x *TimedPromoteReleaseOperation) GetPhase() stringfunc (*TimedPromoteReleaseOperation) GetRelease
func (x *TimedPromoteReleaseOperation) GetRelease() stringfunc (*TimedPromoteReleaseOperation) GetTargetId
func (x *TimedPromoteReleaseOperation) GetTargetId() stringfunc (*TimedPromoteReleaseOperation) ProtoMessage
func (*TimedPromoteReleaseOperation) ProtoMessage()func (*TimedPromoteReleaseOperation) ProtoReflect
func (x *TimedPromoteReleaseOperation) ProtoReflect() protoreflect.Messagefunc (*TimedPromoteReleaseOperation) Reset
func (x *TimedPromoteReleaseOperation) Reset()func (*TimedPromoteReleaseOperation) String
func (x *TimedPromoteReleaseOperation) String() stringTimedPromoteReleaseRule
type TimedPromoteReleaseRule 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. The ID of the stage in the pipeline to which this `Release` is
// deploying. If unspecified, default it to the next stage in the promotion
// flow. The value of this field could be one of the following:
//
// * The last segment of a target name
// * "@next", the next target in the promotion sequence
DestinationTargetId string `protobuf:"bytes,2,opt,name=destination_target_id,json=destinationTargetId,proto3" json:"destination_target_id,omitempty"`
// Required. Schedule in crontab format. e.g. "0 9 * * 1" for every Monday at
// 9am.
Schedule string `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
// Required. The time zone in IANA format [IANA Time Zone
// Database](https://www.iana.org/time-zones) (e.g. America/New_York).
TimeZone string `protobuf:"bytes,4,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
// Output only. Information around the state of the Automation rule.
Condition *AutomationRuleCondition `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
// Optional. The starting phase of the rollout created by this rule. Default
// to the first phase.
DestinationPhase string `protobuf:"bytes,6,opt,name=destination_phase,json=destinationPhase,proto3" json:"destination_phase,omitempty"`
// contains filtered or unexported fields
}The TimedPromoteReleaseRule will automatically promote a release from the
current target(s) to the specified target(s) on a configured schedule.
func (*TimedPromoteReleaseRule) Descriptor
func (*TimedPromoteReleaseRule) Descriptor() ([]byte, []int)Deprecated: Use TimedPromoteReleaseRule.ProtoReflect.Descriptor instead.
func (*TimedPromoteReleaseRule) GetCondition
func (x *TimedPromoteReleaseRule) GetCondition() *AutomationRuleConditionfunc (*TimedPromoteReleaseRule) GetDestinationPhase
func (x *TimedPromoteReleaseRule) GetDestinationPhase() stringfunc (*TimedPromoteReleaseRule) GetDestinationTargetId
func (x *TimedPromoteReleaseRule) GetDestinationTargetId() stringfunc (*TimedPromoteReleaseRule) GetId
func (x *TimedPromoteReleaseRule) GetId() stringfunc (*TimedPromoteReleaseRule) GetSchedule
func (x *TimedPromoteReleaseRule) GetSchedule() stringfunc (*TimedPromoteReleaseRule) GetTimeZone
func (x *TimedPromoteReleaseRule) GetTimeZone() stringfunc (*TimedPromoteReleaseRule) ProtoMessage
func (*TimedPromoteReleaseRule) ProtoMessage()func (*TimedPromoteReleaseRule) ProtoReflect
func (x *TimedPromoteReleaseRule) ProtoReflect() protoreflect.Messagefunc (*TimedPromoteReleaseRule) Reset
func (x *TimedPromoteReleaseRule) Reset()func (*TimedPromoteReleaseRule) String
func (x *TimedPromoteReleaseRule) String() stringType
type Type int32Type indicates the type of the log entry and can be used as a filter.
Type_TYPE_UNSPECIFIED, Type_TYPE_PUBSUB_NOTIFICATION_FAILURE, Type_TYPE_RESOURCE_STATE_CHANGE, Type_TYPE_PROCESS_ABORTED, Type_TYPE_RESTRICTION_VIOLATED, Type_TYPE_RESOURCE_DELETED, Type_TYPE_ROLLOUT_UPDATE, Type_TYPE_DEPLOY_POLICY_EVALUATION, Type_TYPE_RENDER_STATUES_CHANGE
const (
// Type is unspecified.
Type_TYPE_UNSPECIFIED Type = 0
// A Pub/Sub notification failed to be sent.
Type_TYPE_PUBSUB_NOTIFICATION_FAILURE Type = 1
// Resource state changed.
Type_TYPE_RESOURCE_STATE_CHANGE Type = 3
// A process aborted.
Type_TYPE_PROCESS_ABORTED Type = 4
// Restriction check failed.
Type_TYPE_RESTRICTION_VIOLATED Type = 5
// Resource deleted.
Type_TYPE_RESOURCE_DELETED Type = 6
// Rollout updated.
Type_TYPE_ROLLOUT_UPDATE Type = 7
// Deploy Policy evaluation.
Type_TYPE_DEPLOY_POLICY_EVALUATION Type = 8
// Deprecated: This field is never used. Use release_render log type instead.
//
// Deprecated: Marked as deprecated in google/cloud/deploy/v1/log_enums.proto.
Type_TYPE_RENDER_STATUES_CHANGE Type = 2
)func (Type) Descriptor
func (Type) Descriptor() protoreflect.EnumDescriptorfunc (Type) Enum
func (Type) EnumDescriptor
Deprecated: Use Type.Descriptor instead.
func (Type) Number
func (x Type) Number() protoreflect.EnumNumberfunc (Type) String
func (Type) Type
func (Type) Type() protoreflect.EnumTypeUnimplementedCloudDeployServer
type UnimplementedCloudDeployServer struct {
}UnimplementedCloudDeployServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudDeployServer) AbandonRelease
func (UnimplementedCloudDeployServer) AbandonRelease(context.Context, *AbandonReleaseRequest) (*AbandonReleaseResponse, error)func (UnimplementedCloudDeployServer) AdvanceRollout
func (UnimplementedCloudDeployServer) AdvanceRollout(context.Context, *AdvanceRolloutRequest) (*AdvanceRolloutResponse, error)func (UnimplementedCloudDeployServer) ApproveRollout
func (UnimplementedCloudDeployServer) ApproveRollout(context.Context, *ApproveRolloutRequest) (*ApproveRolloutResponse, error)func (UnimplementedCloudDeployServer) CancelAutomationRun
func (UnimplementedCloudDeployServer) CancelAutomationRun(context.Context, *CancelAutomationRunRequest) (*CancelAutomationRunResponse, error)func (UnimplementedCloudDeployServer) CancelRollout
func (UnimplementedCloudDeployServer) CancelRollout(context.Context, *CancelRolloutRequest) (*CancelRolloutResponse, error)func (UnimplementedCloudDeployServer) CreateAutomation
func (UnimplementedCloudDeployServer) CreateAutomation(context.Context, *CreateAutomationRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateCustomTargetType
func (UnimplementedCloudDeployServer) CreateCustomTargetType(context.Context, *CreateCustomTargetTypeRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateDeliveryPipeline
func (UnimplementedCloudDeployServer) CreateDeliveryPipeline(context.Context, *CreateDeliveryPipelineRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateDeployPolicy
func (UnimplementedCloudDeployServer) CreateDeployPolicy(context.Context, *CreateDeployPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateRelease
func (UnimplementedCloudDeployServer) CreateRelease(context.Context, *CreateReleaseRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateRollout
func (UnimplementedCloudDeployServer) CreateRollout(context.Context, *CreateRolloutRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) CreateTarget
func (UnimplementedCloudDeployServer) CreateTarget(context.Context, *CreateTargetRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) DeleteAutomation
func (UnimplementedCloudDeployServer) DeleteAutomation(context.Context, *DeleteAutomationRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) DeleteCustomTargetType
func (UnimplementedCloudDeployServer) DeleteCustomTargetType(context.Context, *DeleteCustomTargetTypeRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) DeleteDeliveryPipeline
func (UnimplementedCloudDeployServer) DeleteDeliveryPipeline(context.Context, *DeleteDeliveryPipelineRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) DeleteDeployPolicy
func (UnimplementedCloudDeployServer) DeleteDeployPolicy(context.Context, *DeleteDeployPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) DeleteTarget
func (UnimplementedCloudDeployServer) DeleteTarget(context.Context, *DeleteTargetRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) GetAutomation
func (UnimplementedCloudDeployServer) GetAutomation(context.Context, *GetAutomationRequest) (*Automation, error)func (UnimplementedCloudDeployServer) GetAutomationRun
func (UnimplementedCloudDeployServer) GetAutomationRun(context.Context, *GetAutomationRunRequest) (*AutomationRun, error)func (UnimplementedCloudDeployServer) GetConfig
func (UnimplementedCloudDeployServer) GetConfig(context.Context, *GetConfigRequest) (*Config, error)func (UnimplementedCloudDeployServer) GetCustomTargetType
func (UnimplementedCloudDeployServer) GetCustomTargetType(context.Context, *GetCustomTargetTypeRequest) (*CustomTargetType, error)func (UnimplementedCloudDeployServer) GetDeliveryPipeline
func (UnimplementedCloudDeployServer) GetDeliveryPipeline(context.Context, *GetDeliveryPipelineRequest) (*DeliveryPipeline, error)func (UnimplementedCloudDeployServer) GetDeployPolicy
func (UnimplementedCloudDeployServer) GetDeployPolicy(context.Context, *GetDeployPolicyRequest) (*DeployPolicy, error)func (UnimplementedCloudDeployServer) GetJobRun
func (UnimplementedCloudDeployServer) GetJobRun(context.Context, *GetJobRunRequest) (*JobRun, error)func (UnimplementedCloudDeployServer) GetRelease
func (UnimplementedCloudDeployServer) GetRelease(context.Context, *GetReleaseRequest) (*Release, error)func (UnimplementedCloudDeployServer) GetRollout
func (UnimplementedCloudDeployServer) GetRollout(context.Context, *GetRolloutRequest) (*Rollout, error)func (UnimplementedCloudDeployServer) GetTarget
func (UnimplementedCloudDeployServer) GetTarget(context.Context, *GetTargetRequest) (*Target, error)func (UnimplementedCloudDeployServer) IgnoreJob
func (UnimplementedCloudDeployServer) IgnoreJob(context.Context, *IgnoreJobRequest) (*IgnoreJobResponse, error)func (UnimplementedCloudDeployServer) ListAutomationRuns
func (UnimplementedCloudDeployServer) ListAutomationRuns(context.Context, *ListAutomationRunsRequest) (*ListAutomationRunsResponse, error)func (UnimplementedCloudDeployServer) ListAutomations
func (UnimplementedCloudDeployServer) ListAutomations(context.Context, *ListAutomationsRequest) (*ListAutomationsResponse, error)func (UnimplementedCloudDeployServer) ListCustomTargetTypes
func (UnimplementedCloudDeployServer) ListCustomTargetTypes(context.Context, *ListCustomTargetTypesRequest) (*ListCustomTargetTypesResponse, error)func (UnimplementedCloudDeployServer) ListDeliveryPipelines
func (UnimplementedCloudDeployServer) ListDeliveryPipelines(context.Context, *ListDeliveryPipelinesRequest) (*ListDeliveryPipelinesResponse, error)func (UnimplementedCloudDeployServer) ListDeployPolicies
func (UnimplementedCloudDeployServer) ListDeployPolicies(context.Context, *ListDeployPoliciesRequest) (*ListDeployPoliciesResponse, error)func (UnimplementedCloudDeployServer) ListJobRuns
func (UnimplementedCloudDeployServer) ListJobRuns(context.Context, *ListJobRunsRequest) (*ListJobRunsResponse, error)func (UnimplementedCloudDeployServer) ListReleases
func (UnimplementedCloudDeployServer) ListReleases(context.Context, *ListReleasesRequest) (*ListReleasesResponse, error)func (UnimplementedCloudDeployServer) ListRollouts
func (UnimplementedCloudDeployServer) ListRollouts(context.Context, *ListRolloutsRequest) (*ListRolloutsResponse, error)func (UnimplementedCloudDeployServer) ListTargets
func (UnimplementedCloudDeployServer) ListTargets(context.Context, *ListTargetsRequest) (*ListTargetsResponse, error)func (UnimplementedCloudDeployServer) RetryJob
func (UnimplementedCloudDeployServer) RetryJob(context.Context, *RetryJobRequest) (*RetryJobResponse, error)func (UnimplementedCloudDeployServer) RollbackTarget
func (UnimplementedCloudDeployServer) RollbackTarget(context.Context, *RollbackTargetRequest) (*RollbackTargetResponse, error)func (UnimplementedCloudDeployServer) TerminateJobRun
func (UnimplementedCloudDeployServer) TerminateJobRun(context.Context, *TerminateJobRunRequest) (*TerminateJobRunResponse, error)func (UnimplementedCloudDeployServer) UpdateAutomation
func (UnimplementedCloudDeployServer) UpdateAutomation(context.Context, *UpdateAutomationRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) UpdateCustomTargetType
func (UnimplementedCloudDeployServer) UpdateCustomTargetType(context.Context, *UpdateCustomTargetTypeRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) UpdateDeliveryPipeline
func (UnimplementedCloudDeployServer) UpdateDeliveryPipeline(context.Context, *UpdateDeliveryPipelineRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) UpdateDeployPolicy
func (UnimplementedCloudDeployServer) UpdateDeployPolicy(context.Context, *UpdateDeployPolicyRequest) (*longrunningpb.Operation, error)func (UnimplementedCloudDeployServer) UpdateTarget
func (UnimplementedCloudDeployServer) UpdateTarget(context.Context, *UpdateTargetRequest) (*longrunningpb.Operation, error)UnsafeCloudDeployServer
type UnsafeCloudDeployServer interface {
// contains filtered or unexported methods
}UnsafeCloudDeployServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudDeployServer will result in compilation errors.
UpdateAutomationRequest
type UpdateAutomationRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `Automation` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `Automation` to update.
Automation *Automation `protobuf:"bytes,2,opt,name=automation,proto3" json:"automation,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `Automation` that does not exist will
// result in the creation of a new `Automation`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for UpdateAutomation.
func (*UpdateAutomationRequest) Descriptor
func (*UpdateAutomationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateAutomationRequest.ProtoReflect.Descriptor instead.
func (*UpdateAutomationRequest) GetAllowMissing
func (x *UpdateAutomationRequest) GetAllowMissing() boolfunc (*UpdateAutomationRequest) GetAutomation
func (x *UpdateAutomationRequest) GetAutomation() *Automationfunc (*UpdateAutomationRequest) GetRequestId
func (x *UpdateAutomationRequest) GetRequestId() stringfunc (*UpdateAutomationRequest) GetUpdateMask
func (x *UpdateAutomationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateAutomationRequest) GetValidateOnly
func (x *UpdateAutomationRequest) GetValidateOnly() boolfunc (*UpdateAutomationRequest) ProtoMessage
func (*UpdateAutomationRequest) ProtoMessage()func (*UpdateAutomationRequest) ProtoReflect
func (x *UpdateAutomationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateAutomationRequest) Reset
func (x *UpdateAutomationRequest) Reset()func (*UpdateAutomationRequest) String
func (x *UpdateAutomationRequest) String() stringUpdateCustomTargetTypeRequest
type UpdateCustomTargetTypeRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `CustomTargetType` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `CustomTargetType` to update.
CustomTargetType *CustomTargetType `protobuf:"bytes,2,opt,name=custom_target_type,json=customTargetType,proto3" json:"custom_target_type,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `CustomTargetType` that does not exist
// will result in the creation of a new `CustomTargetType`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for UpdateCustomTargetType.
func (*UpdateCustomTargetTypeRequest) Descriptor
func (*UpdateCustomTargetTypeRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateCustomTargetTypeRequest.ProtoReflect.Descriptor instead.
func (*UpdateCustomTargetTypeRequest) GetAllowMissing
func (x *UpdateCustomTargetTypeRequest) GetAllowMissing() boolfunc (*UpdateCustomTargetTypeRequest) GetCustomTargetType
func (x *UpdateCustomTargetTypeRequest) GetCustomTargetType() *CustomTargetTypefunc (*UpdateCustomTargetTypeRequest) GetRequestId
func (x *UpdateCustomTargetTypeRequest) GetRequestId() stringfunc (*UpdateCustomTargetTypeRequest) GetUpdateMask
func (x *UpdateCustomTargetTypeRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateCustomTargetTypeRequest) GetValidateOnly
func (x *UpdateCustomTargetTypeRequest) GetValidateOnly() boolfunc (*UpdateCustomTargetTypeRequest) ProtoMessage
func (*UpdateCustomTargetTypeRequest) ProtoMessage()func (*UpdateCustomTargetTypeRequest) ProtoReflect
func (x *UpdateCustomTargetTypeRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateCustomTargetTypeRequest) Reset
func (x *UpdateCustomTargetTypeRequest) Reset()func (*UpdateCustomTargetTypeRequest) String
func (x *UpdateCustomTargetTypeRequest) String() stringUpdateDeliveryPipelineRequest
type UpdateDeliveryPipelineRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `DeliveryPipeline` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `DeliveryPipeline` to update.
DeliveryPipeline *DeliveryPipeline `protobuf:"bytes,2,opt,name=delivery_pipeline,json=deliveryPipeline,proto3" json:"delivery_pipeline,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `DeliveryPipeline` that does not exist
// will result in the creation of a new `DeliveryPipeline`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for UpdateDeliveryPipeline.
func (*UpdateDeliveryPipelineRequest) Descriptor
func (*UpdateDeliveryPipelineRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDeliveryPipelineRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeliveryPipelineRequest) GetAllowMissing
func (x *UpdateDeliveryPipelineRequest) GetAllowMissing() boolfunc (*UpdateDeliveryPipelineRequest) GetDeliveryPipeline
func (x *UpdateDeliveryPipelineRequest) GetDeliveryPipeline() *DeliveryPipelinefunc (*UpdateDeliveryPipelineRequest) GetRequestId
func (x *UpdateDeliveryPipelineRequest) GetRequestId() stringfunc (*UpdateDeliveryPipelineRequest) GetUpdateMask
func (x *UpdateDeliveryPipelineRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDeliveryPipelineRequest) GetValidateOnly
func (x *UpdateDeliveryPipelineRequest) GetValidateOnly() boolfunc (*UpdateDeliveryPipelineRequest) ProtoMessage
func (*UpdateDeliveryPipelineRequest) ProtoMessage()func (*UpdateDeliveryPipelineRequest) ProtoReflect
func (x *UpdateDeliveryPipelineRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDeliveryPipelineRequest) Reset
func (x *UpdateDeliveryPipelineRequest) Reset()func (*UpdateDeliveryPipelineRequest) String
func (x *UpdateDeliveryPipelineRequest) String() stringUpdateDeployPolicyRequest
type UpdateDeployPolicyRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `DeployPolicy` resource. The fields specified in the
// update_mask are relative to the resource, not the full request. A field
// will be overwritten if it's in the mask. If the user doesn't provide a mask
// then all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `DeployPolicy` to update.
DeployPolicy *DeployPolicy `protobuf:"bytes,2,opt,name=deploy_policy,json=deployPolicy,proto3" json:"deploy_policy,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `DeployPolicy` that does not exist
// will result in the creation of a new `DeployPolicy`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for UpdateDeployPolicy.
func (*UpdateDeployPolicyRequest) Descriptor
func (*UpdateDeployPolicyRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDeployPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateDeployPolicyRequest) GetAllowMissing
func (x *UpdateDeployPolicyRequest) GetAllowMissing() boolfunc (*UpdateDeployPolicyRequest) GetDeployPolicy
func (x *UpdateDeployPolicyRequest) GetDeployPolicy() *DeployPolicyfunc (*UpdateDeployPolicyRequest) GetRequestId
func (x *UpdateDeployPolicyRequest) GetRequestId() stringfunc (*UpdateDeployPolicyRequest) GetUpdateMask
func (x *UpdateDeployPolicyRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDeployPolicyRequest) GetValidateOnly
func (x *UpdateDeployPolicyRequest) GetValidateOnly() boolfunc (*UpdateDeployPolicyRequest) ProtoMessage
func (*UpdateDeployPolicyRequest) ProtoMessage()func (*UpdateDeployPolicyRequest) ProtoReflect
func (x *UpdateDeployPolicyRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDeployPolicyRequest) Reset
func (x *UpdateDeployPolicyRequest) Reset()func (*UpdateDeployPolicyRequest) String
func (x *UpdateDeployPolicyRequest) String() stringUpdateTargetRequest
type UpdateTargetRequest struct {
// Required. Field mask is used to specify the fields to be overwritten by the
// update in the `Target` resource. The fields specified in the update_mask
// are relative to the resource, not the full request. A field will be
// overwritten if it's in the mask. If the user doesn't provide a mask then
// all fields are overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The `Target` to update.
Target *Target `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Optional. A request ID to identify requests. Specify a unique request ID
// so that if you must retry your request, the server knows to ignore the
// request if it has already been completed. The server guarantees that for
// at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request ID,
// the server can check if original operation with the same request ID was
// received, and if so, will ignore the second request. This prevents clients
// from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional. If set to true, updating a `Target` that does not exist will
// result in the creation of a new `Target`.
AllowMissing bool `protobuf:"varint,4,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
// Optional. If set to true, the request is validated and the user is provided
// with an expected result, but no actual change is made.
ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
// contains filtered or unexported fields
}The request object for UpdateTarget.
func (*UpdateTargetRequest) Descriptor
func (*UpdateTargetRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateTargetRequest.ProtoReflect.Descriptor instead.
func (*UpdateTargetRequest) GetAllowMissing
func (x *UpdateTargetRequest) GetAllowMissing() boolfunc (*UpdateTargetRequest) GetRequestId
func (x *UpdateTargetRequest) GetRequestId() stringfunc (*UpdateTargetRequest) GetTarget
func (x *UpdateTargetRequest) GetTarget() *Targetfunc (*UpdateTargetRequest) GetUpdateMask
func (x *UpdateTargetRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateTargetRequest) GetValidateOnly
func (x *UpdateTargetRequest) GetValidateOnly() boolfunc (*UpdateTargetRequest) ProtoMessage
func (*UpdateTargetRequest) ProtoMessage()func (*UpdateTargetRequest) ProtoReflect
func (x *UpdateTargetRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateTargetRequest) Reset
func (x *UpdateTargetRequest) Reset()func (*UpdateTargetRequest) String
func (x *UpdateTargetRequest) String() stringVerifyJob
type VerifyJob struct {
// contains filtered or unexported fields
}A verify Job.
func (*VerifyJob) Descriptor
Deprecated: Use VerifyJob.ProtoReflect.Descriptor instead.
func (*VerifyJob) ProtoMessage
func (*VerifyJob) ProtoMessage()func (*VerifyJob) ProtoReflect
func (x *VerifyJob) ProtoReflect() protoreflect.Messagefunc (*VerifyJob) Reset
func (x *VerifyJob) Reset()func (*VerifyJob) String
VerifyJobRun
type VerifyJobRun struct {
// Output only. The resource name of the Cloud Build `Build` object that is
// used to verify. Format is
// `projects/{project}/locations/{location}/builds/{build}`.
Build string `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"`
// Output only. URI of a directory containing the verify artifacts. This
// contains the Skaffold event log.
ArtifactUri string `protobuf:"bytes,2,opt,name=artifact_uri,json=artifactUri,proto3" json:"artifact_uri,omitempty"`
// Output only. File path of the Skaffold event log relative to the artifact
// URI.
EventLogPath string `protobuf:"bytes,3,opt,name=event_log_path,json=eventLogPath,proto3" json:"event_log_path,omitempty"`
// Output only. The reason the verify failed. This will always be unspecified
// while the verify is in progress or if it succeeded.
FailureCause VerifyJobRun_FailureCause `protobuf:"varint,4,opt,name=failure_cause,json=failureCause,proto3,enum=google.cloud.deploy.v1.VerifyJobRun_FailureCause" json:"failure_cause,omitempty"`
// Output only. Additional information about the verify failure, if available.
FailureMessage string `protobuf:"bytes,5,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}VerifyJobRun contains information specific to a verify JobRun.
func (*VerifyJobRun) Descriptor
func (*VerifyJobRun) Descriptor() ([]byte, []int)Deprecated: Use VerifyJobRun.ProtoReflect.Descriptor instead.
func (*VerifyJobRun) GetArtifactUri
func (x *VerifyJobRun) GetArtifactUri() stringfunc (*VerifyJobRun) GetBuild
func (x *VerifyJobRun) GetBuild() stringfunc (*VerifyJobRun) GetEventLogPath
func (x *VerifyJobRun) GetEventLogPath() stringfunc (*VerifyJobRun) GetFailureCause
func (x *VerifyJobRun) GetFailureCause() VerifyJobRun_FailureCausefunc (*VerifyJobRun) GetFailureMessage
func (x *VerifyJobRun) GetFailureMessage() stringfunc (*VerifyJobRun) ProtoMessage
func (*VerifyJobRun) ProtoMessage()func (*VerifyJobRun) ProtoReflect
func (x *VerifyJobRun) ProtoReflect() protoreflect.Messagefunc (*VerifyJobRun) Reset
func (x *VerifyJobRun) Reset()func (*VerifyJobRun) String
func (x *VerifyJobRun) String() stringVerifyJobRun_FailureCause
type VerifyJobRun_FailureCause int32Well-known verify failures.
VerifyJobRun_FAILURE_CAUSE_UNSPECIFIED, VerifyJobRun_CLOUD_BUILD_UNAVAILABLE, VerifyJobRun_EXECUTION_FAILED, VerifyJobRun_DEADLINE_EXCEEDED, VerifyJobRun_VERIFICATION_CONFIG_NOT_FOUND, VerifyJobRun_CLOUD_BUILD_REQUEST_FAILED
const (
// No reason for failure is specified.
VerifyJobRun_FAILURE_CAUSE_UNSPECIFIED VerifyJobRun_FailureCause = 0
// Cloud Build is not available, either because it is not enabled or because
// Cloud Deploy has insufficient permissions. See [required
// permission](https://cloud.google.com/deploy/docs/cloud-deploy-service-account#required_permissions).
VerifyJobRun_CLOUD_BUILD_UNAVAILABLE VerifyJobRun_FailureCause = 1
// The verify operation did not complete successfully; check Cloud Build
// logs.
VerifyJobRun_EXECUTION_FAILED VerifyJobRun_FailureCause = 2
// The verify job run did not complete within the allotted time.
VerifyJobRun_DEADLINE_EXCEEDED VerifyJobRun_FailureCause = 3
// No Skaffold verify configuration was found.
VerifyJobRun_VERIFICATION_CONFIG_NOT_FOUND VerifyJobRun_FailureCause = 4
// Cloud Build failed to fulfill Cloud Deploy's request. See failure_message
// for additional details.
VerifyJobRun_CLOUD_BUILD_REQUEST_FAILED VerifyJobRun_FailureCause = 5
)func (VerifyJobRun_FailureCause) Descriptor
func (VerifyJobRun_FailureCause) Descriptor() protoreflect.EnumDescriptorfunc (VerifyJobRun_FailureCause) Enum
func (x VerifyJobRun_FailureCause) Enum() *VerifyJobRun_FailureCausefunc (VerifyJobRun_FailureCause) EnumDescriptor
func (VerifyJobRun_FailureCause) EnumDescriptor() ([]byte, []int)Deprecated: Use VerifyJobRun_FailureCause.Descriptor instead.
func (VerifyJobRun_FailureCause) Number
func (x VerifyJobRun_FailureCause) Number() protoreflect.EnumNumberfunc (VerifyJobRun_FailureCause) String
func (x VerifyJobRun_FailureCause) String() stringfunc (VerifyJobRun_FailureCause) Type
func (VerifyJobRun_FailureCause) Type() protoreflect.EnumTypeWeeklyWindow
type WeeklyWindow struct {
// Optional. Days of week. If left empty, all days of the week will be
// included.
DaysOfWeek []dayofweek.DayOfWeek `protobuf:"varint,1,rep,packed,name=days_of_week,json=daysOfWeek,proto3,enum=google.type.DayOfWeek" json:"days_of_week,omitempty"`
// Optional. Start time (inclusive). Use 00:00 for the beginning of the day.
// If you specify start_time you must also specify end_time. If left empty,
// this will block for the entire day for the days specified in days_of_week.
StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Optional. End time (exclusive). Use 24:00 to indicate midnight. If you
// specify end_time you must also specify start_time. If left empty, this will
// block for the entire day for the days specified in days_of_week.
EndTime *timeofday.TimeOfDay `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}Weekly windows. For example, blocking actions every Saturday and Sunday. Another example would be blocking actions every weekday from 5pm to midnight.
func (*WeeklyWindow) Descriptor
func (*WeeklyWindow) Descriptor() ([]byte, []int)Deprecated: Use WeeklyWindow.ProtoReflect.Descriptor instead.
func (*WeeklyWindow) GetDaysOfWeek
func (x *WeeklyWindow) GetDaysOfWeek() []dayofweek.DayOfWeekfunc (*WeeklyWindow) GetEndTime
func (x *WeeklyWindow) GetEndTime() *timeofday.TimeOfDayfunc (*WeeklyWindow) GetStartTime
func (x *WeeklyWindow) GetStartTime() *timeofday.TimeOfDayfunc (*WeeklyWindow) ProtoMessage
func (*WeeklyWindow) ProtoMessage()func (*WeeklyWindow) ProtoReflect
func (x *WeeklyWindow) ProtoReflect() protoreflect.Messagefunc (*WeeklyWindow) Reset
func (x *WeeklyWindow) Reset()func (*WeeklyWindow) String
func (x *WeeklyWindow) String() string