Documentation ¶
Overview ¶
Package clouddeploy provides access to the Cloud Deploy API.
For product documentation, see: https://cloud.google.com/deploy/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/clouddeploy/v1" ... ctx := context.Background() clouddeployService, err := clouddeploy.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
clouddeployService, err := clouddeploy.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) clouddeployService, err := clouddeploy.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AbandonReleaseRequest
- type AbandonReleaseResponse
- type AdvanceChildRolloutJob
- type AdvanceChildRolloutJobRun
- type AdvanceRolloutRequest
- type AdvanceRolloutResponse
- type AnthosCluster
- type ApproveRolloutRequest
- type ApproveRolloutResponse
- type AuditConfig
- type AuditLogConfig
- type AutomationEvent
- type AutomationRunEvent
- type Binding
- type BuildArtifact
- type Canary
- type CanaryDeployment
- type CancelOperationRequest
- type CancelRolloutRequest
- type CancelRolloutResponse
- type ChildRolloutJobs
- type CloudRunConfig
- type CloudRunLocation
- type CloudRunMetadata
- type CloudRunRenderMetadata
- type Config
- type CreateChildRolloutJob
- type CreateChildRolloutJobRun
- type CustomCanaryDeployment
- type Date
- type DefaultPool
- type DeliveryPipeline
- type DeliveryPipelineNotificationEvent
- type DeployArtifact
- type DeployJob
- type DeployJobRun
- type DeployJobRunMetadata
- type DeployParameters
- type DeploymentJobs
- type Empty
- type ExecutionConfig
- type Expr
- type GatewayServiceMesh
- type GkeCluster
- type IgnoreJobRequest
- type IgnoreJobResponse
- type Job
- type JobRun
- type JobRunNotificationEvent
- type KubernetesConfig
- type ListDeliveryPipelinesResponse
- type ListJobRunsResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListReleasesResponse
- type ListRolloutsResponse
- type ListTargetsResponse
- type Location
- type Metadata
- type MultiTarget
- type Operation
- type OperationMetadata
- type Phase
- type PhaseArtifact
- type PhaseConfig
- type PipelineCondition
- type PipelineReadyCondition
- type Policy
- type Postdeploy
- type PostdeployJob
- type PostdeployJobRun
- type Predeploy
- type PredeployJob
- type PredeployJobRun
- type PrivatePool
- type ProjectsLocationsDeliveryPipelinesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) DeliveryPipelineId(deliveryPipelineId string) *ProjectsLocationsDeliveryPipelinesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesCreateCall
- type ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Etag(etag string) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Force(force bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
- type ProjectsLocationsDeliveryPipelinesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesGetCall) Do(opts ...googleapi.CallOption) (*DeliveryPipeline, error)
- func (c *ProjectsLocationsDeliveryPipelinesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesGetCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesGetCall
- type ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- type ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Do(opts ...googleapi.CallOption) (*ListDeliveryPipelinesResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesListCall
- func (c *ProjectsLocationsDeliveryPipelinesListCall) Pages(ctx context.Context, f func(*ListDeliveryPipelinesResponse) error) error
- type ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (c *ProjectsLocationsDeliveryPipelinesPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesPatchCall
- type ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Do(opts ...googleapi.CallOption) (*AbandonReleaseResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ReleaseId(releaseId string) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- type ProjectsLocationsDeliveryPipelinesReleasesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Do(opts ...googleapi.CallOption) (*Release, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
- type ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Do(opts ...googleapi.CallOption) (*ListReleasesResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Pages(ctx context.Context, f func(*ListReleasesResponse) error) error
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Do(opts ...googleapi.CallOption) (*AdvanceRolloutResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Do(opts ...googleapi.CallOption) (*ApproveRolloutResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Do(opts ...googleapi.CallOption) (*CancelRolloutResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RolloutId(rolloutId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) StartingPhaseId(startingPhaseId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Do(opts ...googleapi.CallOption) (*IgnoreJobResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Do(opts ...googleapi.CallOption) (*JobRun, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Do(opts ...googleapi.CallOption) (*ListJobRunsResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Pages(ctx context.Context, f func(*ListJobRunsResponse) error) error
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Terminate(name string, terminatejobrunrequest *TerminateJobRunRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Do(opts ...googleapi.CallOption) (*TerminateJobRunResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutsResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Header() http.Header
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Pages(ctx context.Context, f func(*ListRolloutsResponse) error) error
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Do(opts ...googleapi.CallOption) (*RetryJobResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
- func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesReleasesRolloutsService
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Advance(name string, advancerolloutrequest *AdvanceRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Approve(name string, approverolloutrequest *ApproveRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Cancel(name string, cancelrolloutrequest *CancelRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Create(parent string, rollout *Rollout) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) IgnoreJob(rollout string, ignorejobrequest *IgnoreJobRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) RetryJob(rollout string, retryjobrequest *RetryJobRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
- type ProjectsLocationsDeliveryPipelinesReleasesService
- func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Abandon(name string, abandonreleaserequest *AbandonReleaseRequest) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Create(parent string, release *Release) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
- func (r *ProjectsLocationsDeliveryPipelinesReleasesService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
- type ProjectsLocationsDeliveryPipelinesRollbackTargetCall
- func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
- func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Do(opts ...googleapi.CallOption) (*RollbackTargetResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
- func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesService
- func (r *ProjectsLocationsDeliveryPipelinesService) Create(parent string, deliverypipeline *DeliveryPipeline) *ProjectsLocationsDeliveryPipelinesCreateCall
- func (r *ProjectsLocationsDeliveryPipelinesService) Delete(name string) *ProjectsLocationsDeliveryPipelinesDeleteCall
- func (r *ProjectsLocationsDeliveryPipelinesService) Get(name string) *ProjectsLocationsDeliveryPipelinesGetCall
- func (r *ProjectsLocationsDeliveryPipelinesService) GetIamPolicy(resource string) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
- func (r *ProjectsLocationsDeliveryPipelinesService) List(parent string) *ProjectsLocationsDeliveryPipelinesListCall
- func (r *ProjectsLocationsDeliveryPipelinesService) Patch(name string, deliverypipeline *DeliveryPipeline) *ProjectsLocationsDeliveryPipelinesPatchCall
- func (r *ProjectsLocationsDeliveryPipelinesService) RollbackTarget(name string, rollbacktargetrequest *RollbackTargetRequest) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
- func (r *ProjectsLocationsDeliveryPipelinesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
- func (r *ProjectsLocationsDeliveryPipelinesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
- type ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
- func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
- func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
- func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
- func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsGetConfigCall
- func (c *ProjectsLocationsGetConfigCall) Context(ctx context.Context) *ProjectsLocationsGetConfigCall
- func (c *ProjectsLocationsGetConfigCall) Do(opts ...googleapi.CallOption) (*Config, error)
- func (c *ProjectsLocationsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetConfigCall
- func (c *ProjectsLocationsGetConfigCall) Header() http.Header
- func (c *ProjectsLocationsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetConfigCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- type ProjectsLocationsOperationsService
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsService
- type ProjectsLocationsTargetsCreateCall
- func (c *ProjectsLocationsTargetsCreateCall) Context(ctx context.Context) *ProjectsLocationsTargetsCreateCall
- func (c *ProjectsLocationsTargetsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsCreateCall
- func (c *ProjectsLocationsTargetsCreateCall) Header() http.Header
- func (c *ProjectsLocationsTargetsCreateCall) RequestId(requestId string) *ProjectsLocationsTargetsCreateCall
- func (c *ProjectsLocationsTargetsCreateCall) TargetId(targetId string) *ProjectsLocationsTargetsCreateCall
- func (c *ProjectsLocationsTargetsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsCreateCall
- type ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetsDeleteCall) Etag(etag string) *ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsTargetsDeleteCall) RequestId(requestId string) *ProjectsLocationsTargetsDeleteCall
- func (c *ProjectsLocationsTargetsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsDeleteCall
- type ProjectsLocationsTargetsGetCall
- func (c *ProjectsLocationsTargetsGetCall) Context(ctx context.Context) *ProjectsLocationsTargetsGetCall
- func (c *ProjectsLocationsTargetsGetCall) Do(opts ...googleapi.CallOption) (*Target, error)
- func (c *ProjectsLocationsTargetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsGetCall
- func (c *ProjectsLocationsTargetsGetCall) Header() http.Header
- func (c *ProjectsLocationsTargetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsGetCall
- type ProjectsLocationsTargetsGetIamPolicyCall
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTargetsGetIamPolicyCall
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsGetIamPolicyCall
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsGetIamPolicyCall
- func (c *ProjectsLocationsTargetsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsTargetsGetIamPolicyCall
- type ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) Context(ctx context.Context) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) Do(opts ...googleapi.CallOption) (*ListTargetsResponse, error)
- func (c *ProjectsLocationsTargetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) Filter(filter string) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) Header() http.Header
- func (c *ProjectsLocationsTargetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) OrderBy(orderBy string) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) PageSize(pageSize int64) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) PageToken(pageToken string) *ProjectsLocationsTargetsListCall
- func (c *ProjectsLocationsTargetsListCall) Pages(ctx context.Context, f func(*ListTargetsResponse) error) error
- type ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) Context(ctx context.Context) *ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsTargetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) Header() http.Header
- func (c *ProjectsLocationsTargetsPatchCall) RequestId(requestId string) *ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTargetsPatchCall
- func (c *ProjectsLocationsTargetsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsPatchCall
- type ProjectsLocationsTargetsService
- func (r *ProjectsLocationsTargetsService) Create(parent string, target *Target) *ProjectsLocationsTargetsCreateCall
- func (r *ProjectsLocationsTargetsService) Delete(name string) *ProjectsLocationsTargetsDeleteCall
- func (r *ProjectsLocationsTargetsService) Get(name string) *ProjectsLocationsTargetsGetCall
- func (r *ProjectsLocationsTargetsService) GetIamPolicy(resource string) *ProjectsLocationsTargetsGetIamPolicyCall
- func (r *ProjectsLocationsTargetsService) List(parent string) *ProjectsLocationsTargetsListCall
- func (r *ProjectsLocationsTargetsService) Patch(name string, target *Target) *ProjectsLocationsTargetsPatchCall
- func (r *ProjectsLocationsTargetsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTargetsSetIamPolicyCall
- func (r *ProjectsLocationsTargetsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTargetsTestIamPermissionsCall
- type ProjectsLocationsTargetsSetIamPolicyCall
- func (c *ProjectsLocationsTargetsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTargetsSetIamPolicyCall
- func (c *ProjectsLocationsTargetsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsTargetsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsSetIamPolicyCall
- func (c *ProjectsLocationsTargetsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsTargetsTestIamPermissionsCall
- func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTargetsTestIamPermissionsCall
- func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsTestIamPermissionsCall
- func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Header() http.Header
- type ProjectsService
- type Release
- type ReleaseCondition
- type ReleaseNotificationEvent
- type ReleaseReadyCondition
- type ReleaseRenderEvent
- type RenderMetadata
- type RetryJobRequest
- type RetryJobResponse
- type RollbackTargetConfig
- type RollbackTargetRequest
- type RollbackTargetResponse
- type Rollout
- type RolloutNotificationEvent
- type RuntimeConfig
- type SerialPipeline
- type Service
- type ServiceNetworking
- type SetIamPolicyRequest
- type SkaffoldSupportedCondition
- type SkaffoldVersion
- type Stage
- type Standard
- type Status
- type Strategy
- type Target
- type TargetArtifact
- type TargetNotificationEvent
- type TargetRender
- type TargetsPresentCondition
- type TargetsTypeCondition
- type TerminateJobRunRequest
- type TerminateJobRunResponse
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type VerifyJob
- type VerifyJobRun
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbandonReleaseRequest ¶ added in v0.85.0
type AbandonReleaseRequest struct { }
AbandonReleaseRequest: The request object used by `AbandonRelease`.
type AbandonReleaseResponse ¶ added in v0.85.0
type AbandonReleaseResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
AbandonReleaseResponse: The response object for `AbandonRelease`.
type AdvanceChildRolloutJob ¶ added in v0.112.0
type AdvanceChildRolloutJob struct { }
AdvanceChildRolloutJob: An advanceChildRollout Job.
type AdvanceChildRolloutJobRun ¶ added in v0.112.0
type AdvanceChildRolloutJobRun struct { // Rollout: Output only. Name of the `ChildRollout`. Format is // projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/{release}/rollouts/a-z{0,62}. Rollout string `json:"rollout,omitempty"` // RolloutPhaseId: Output only. the ID of the ChildRollout's Phase. RolloutPhaseId string `json:"rolloutPhaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "Rollout") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Rollout") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AdvanceChildRolloutJobRun: AdvanceChildRolloutJobRun contains information specific to a advanceChildRollout `JobRun`.
func (*AdvanceChildRolloutJobRun) MarshalJSON ¶ added in v0.112.0
func (s *AdvanceChildRolloutJobRun) MarshalJSON() ([]byte, error)
type AdvanceRolloutRequest ¶ added in v0.115.0
type AdvanceRolloutRequest struct { // PhaseId: Required. The phase ID to advance the `Rollout` to. PhaseId string `json:"phaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "PhaseId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PhaseId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AdvanceRolloutRequest: The request object used by `AdvanceRollout`.
func (*AdvanceRolloutRequest) MarshalJSON ¶ added in v0.115.0
func (s *AdvanceRolloutRequest) MarshalJSON() ([]byte, error)
type AdvanceRolloutResponse ¶ added in v0.115.0
type AdvanceRolloutResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
AdvanceRolloutResponse: The response object from `AdvanceRollout`.
type AnthosCluster ¶ added in v0.67.0
type AnthosCluster struct { // Membership: 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 `json:"membership,omitempty"` // ForceSendFields is a list of field names (e.g. "Membership") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Membership") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AnthosCluster: Information specifying an Anthos Cluster.
func (*AnthosCluster) MarshalJSON ¶ added in v0.67.0
func (s *AnthosCluster) MarshalJSON() ([]byte, error)
type ApproveRolloutRequest ¶
type ApproveRolloutRequest struct { // Approved: Required. True = approve; false = reject Approved bool `json:"approved,omitempty"` // ForceSendFields is a list of field names (e.g. "Approved") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Approved") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ApproveRolloutRequest: The request object used by `ApproveRollout`.
func (*ApproveRolloutRequest) MarshalJSON ¶
func (s *ApproveRolloutRequest) MarshalJSON() ([]byte, error)
type ApproveRolloutResponse ¶
type ApproveRolloutResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
ApproveRolloutResponse: The response object from `ApproveRollout`.
type AuditConfig ¶
type AuditConfig struct { // AuditLogConfigs: The configuration for logging of each type of // permission. AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"` // Service: Specifies a service that will be enabled for audit logging. // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. // `allServices` is a special value that covers all services. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuditLogConfigs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (*AuditConfig) MarshalJSON ¶
func (s *AuditConfig) MarshalJSON() ([]byte, error)
type AuditLogConfig ¶
type AuditLogConfig struct { // ExemptedMembers: Specifies the identities that do not cause logging // for this type of permission. Follows the same format of // Binding.members. ExemptedMembers []string `json:"exemptedMembers,omitempty"` // LogType: The log type that this config enables. // // Possible values: // "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this. // "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy // "DATA_WRITE" - Data writes. Example: CloudSQL Users create // "DATA_READ" - Data reads. Example: CloudSQL Users list LogType string `json:"logType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExemptedMembers") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ExemptedMembers") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
AuditLogConfig: Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (*AuditLogConfig) MarshalJSON ¶
func (s *AuditLogConfig) MarshalJSON() ([]byte, error)
type AutomationEvent ¶ added in v0.144.0
type AutomationEvent struct { // Automation: The name of the `AutomationRun`. Automation string `json:"automation,omitempty"` // Message: Debug message for when there is an update on the // AutomationRun. Provides further details about the resource creation // or state change. Message string `json:"message,omitempty"` // PipelineUid: Unique identifier of the `DeliveryPipeline`. PipelineUid string `json:"pipelineUid,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Automation") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Automation") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AutomationEvent: Payload proto for "clouddeploy.googleapis.com/automation" Platform Log event that describes the Automation related events.
func (*AutomationEvent) MarshalJSON ¶ added in v0.144.0
func (s *AutomationEvent) MarshalJSON() ([]byte, error)
type AutomationRunEvent ¶ added in v0.144.0
type AutomationRunEvent struct { // AutomationId: Identifier of the `Automation`. AutomationId string `json:"automationId,omitempty"` // AutomationRun: The name of the `AutomationRun`. AutomationRun string `json:"automationRun,omitempty"` // DestinationTargetId: ID of the `Target` to which the `AutomationRun` // is created. DestinationTargetId string `json:"destinationTargetId,omitempty"` // Message: Debug message for when there is an update on the // AutomationRun. Provides further details about the resource creation // or state change. Message string `json:"message,omitempty"` // PipelineUid: Unique identifier of the `DeliveryPipeline`. PipelineUid string `json:"pipelineUid,omitempty"` // RuleId: Identifier of the `Automation` rule. RuleId string `json:"ruleId,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "AutomationId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomationId") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
AutomationRunEvent: Payload proto for "clouddeploy.googleapis.com/automation_run" Platform Log event that describes the AutomationRun related events.
func (*AutomationRunEvent) MarshalJSON ¶ added in v0.144.0
func (s *AutomationRunEvent) MarshalJSON() ([]byte, error)
type Binding ¶
type Binding struct { // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this // binding does not apply to the current request. However, a different // role binding might grant the same role to one or more of the // principals in this binding. To learn which resources support // conditions in their IAM policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` // Members: Specifies the principals requesting access for a Google // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone // who is authenticated with a Google account or a service account. Does // not include identities that come from external identity providers // (IdPs) through identity federation. * `user:{emailid}`: An email // address that represents a specific Google account. For example, // `alice@example.com` . * `serviceAccount:{emailid}`: An email address // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. // * `group:{emailid}`: An email address that represents a Google group. // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a user that has been recently // deleted. For example, `alice@example.com?uid=123456789012345678901`. // If the user is recovered, this value reverts to `user:{emailid}` and // the recovered user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. // If the service account is undeleted, this value reverts to // `serviceAccount:{emailid}` and the undeleted service account retains // the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: // An email address (plus unique identifier) representing a Google group // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered // group retains the role in the binding. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Condition") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Binding: Associates `members`, or principals, with a `role`.
func (*Binding) MarshalJSON ¶
type BuildArtifact ¶
type BuildArtifact struct { // Image: Image name in Skaffold configuration. Image string `json:"image,omitempty"` // Tag: 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 `json:"tag,omitempty"` // ForceSendFields is a list of field names (e.g. "Image") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Image") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
BuildArtifact: Description of an a image to use during Skaffold rendering.
func (*BuildArtifact) MarshalJSON ¶
func (s *BuildArtifact) MarshalJSON() ([]byte, error)
type Canary ¶ added in v0.115.0
type Canary struct { // CanaryDeployment: Configures the progressive based deployment for a // Target. CanaryDeployment *CanaryDeployment `json:"canaryDeployment,omitempty"` // CustomCanaryDeployment: 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 `json:"customCanaryDeployment,omitempty"` // RuntimeConfig: 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 `json:"runtimeConfig,omitempty"` // ForceSendFields is a list of field names (e.g. "CanaryDeployment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CanaryDeployment") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Canary: Canary represents the canary deployment strategy.
func (*Canary) MarshalJSON ¶ added in v0.115.0
type CanaryDeployment ¶ added in v0.115.0
type CanaryDeployment struct { // Percentages: 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. Percentages []int64 `json:"percentages,omitempty"` // Postdeploy: 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 `json:"postdeploy,omitempty"` // Predeploy: 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 `json:"predeploy,omitempty"` // Verify: Whether to run verify tests after each percentage deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Percentages") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Percentages") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CanaryDeployment: CanaryDeployment represents the canary deployment configuration
func (*CanaryDeployment) MarshalJSON ¶ added in v0.115.0
func (s *CanaryDeployment) MarshalJSON() ([]byte, error)
type CancelOperationRequest ¶
type CancelOperationRequest struct { }
CancelOperationRequest: The request message for Operations.CancelOperation.
type CancelRolloutRequest ¶ added in v0.115.0
type CancelRolloutRequest struct { }
CancelRolloutRequest: The request object used by `CancelRollout`.
type CancelRolloutResponse ¶ added in v0.115.0
type CancelRolloutResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
CancelRolloutResponse: The response object from `CancelRollout`.
type ChildRolloutJobs ¶ added in v0.112.0
type ChildRolloutJobs struct { // AdvanceRolloutJobs: Output only. List of AdvanceChildRolloutJobs AdvanceRolloutJobs []*Job `json:"advanceRolloutJobs,omitempty"` // CreateRolloutJobs: Output only. List of CreateChildRolloutJobs CreateRolloutJobs []*Job `json:"createRolloutJobs,omitempty"` // ForceSendFields is a list of field names (e.g. "AdvanceRolloutJobs") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvanceRolloutJobs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ChildRolloutJobs: ChildRollouts job composition
func (*ChildRolloutJobs) MarshalJSON ¶ added in v0.112.0
func (s *ChildRolloutJobs) MarshalJSON() ([]byte, error)
type CloudRunConfig ¶ added in v0.115.0
type CloudRunConfig struct { // AutomaticTrafficControl: 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 `json:"automaticTrafficControl,omitempty"` // ForceSendFields is a list of field names (e.g. // "AutomaticTrafficControl") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AutomaticTrafficControl") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
CloudRunConfig: CloudRunConfig contains the Cloud Run runtime configuration.
func (*CloudRunConfig) MarshalJSON ¶ added in v0.115.0
func (s *CloudRunConfig) MarshalJSON() ([]byte, error)
type CloudRunLocation ¶ added in v0.97.0
type CloudRunLocation struct { // Location: Required. The location for the Cloud Run Service. Format // must be `projects/{project}/locations/{location}`. Location string `json:"location,omitempty"` // ForceSendFields is a list of field names (e.g. "Location") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Location") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CloudRunLocation: Information specifying where to deploy a Cloud Run Service.
func (*CloudRunLocation) MarshalJSON ¶ added in v0.97.0
func (s *CloudRunLocation) MarshalJSON() ([]byte, error)
type CloudRunMetadata ¶ added in v0.97.0
type CloudRunMetadata struct { // Revision: Output only. The Cloud Run Revision id associated with a // `Rollout`. Revision string `json:"revision,omitempty"` // Service: 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 `json:"service,omitempty"` // ServiceUrls: Output only. The Cloud Run Service urls that are // associated with a `Rollout`. ServiceUrls []string `json:"serviceUrls,omitempty"` // ForceSendFields is a list of field names (e.g. "Revision") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Revision") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CloudRunMetadata: CloudRunMetadata contains information from a Cloud Run deployment.
func (*CloudRunMetadata) MarshalJSON ¶ added in v0.97.0
func (s *CloudRunMetadata) MarshalJSON() ([]byte, error)
type CloudRunRenderMetadata ¶ added in v0.115.0
type CloudRunRenderMetadata struct { // Service: Output only. The name of the Cloud Run Service in the // rendered manifest. Format is // projects/{project}/locations/{location}/services/{service}. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Service") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Service") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CloudRunRenderMetadata: CloudRunRenderMetadata contains Cloud Run information associated with a `Release` render.
func (*CloudRunRenderMetadata) MarshalJSON ¶ added in v0.115.0
func (s *CloudRunRenderMetadata) MarshalJSON() ([]byte, error)
type Config ¶
type Config struct { // DefaultSkaffoldVersion: Default Skaffold version that is assigned // when a Release is created without specifying a Skaffold version. DefaultSkaffoldVersion string `json:"defaultSkaffoldVersion,omitempty"` // Name: Name of the configuration. Name string `json:"name,omitempty"` // SupportedVersions: All supported versions of Skaffold. SupportedVersions []*SkaffoldVersion `json:"supportedVersions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "DefaultSkaffoldVersion") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DefaultSkaffoldVersion") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Config: Service-wide configuration.
func (*Config) MarshalJSON ¶
type CreateChildRolloutJob ¶ added in v0.112.0
type CreateChildRolloutJob struct { }
CreateChildRolloutJob: A createChildRollout Job.
type CreateChildRolloutJobRun ¶ added in v0.112.0
type CreateChildRolloutJobRun struct { // Rollout: Output only. Name of the `ChildRollout`. Format is // projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/{release}/rollouts/a-z{0,62}. Rollout string `json:"rollout,omitempty"` // RolloutPhaseId: Output only. The ID of the childRollout Phase // initiated by this JobRun. RolloutPhaseId string `json:"rolloutPhaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "Rollout") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Rollout") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CreateChildRolloutJobRun: CreateChildRolloutJobRun contains information specific to a createChildRollout `JobRun`.
func (*CreateChildRolloutJobRun) MarshalJSON ¶ added in v0.112.0
func (s *CreateChildRolloutJobRun) MarshalJSON() ([]byte, error)
type CustomCanaryDeployment ¶ added in v0.115.0
type CustomCanaryDeployment struct { // PhaseConfigs: Required. Configuration for each phase in the canary // deployment in the order executed. PhaseConfigs []*PhaseConfig `json:"phaseConfigs,omitempty"` // ForceSendFields is a list of field names (e.g. "PhaseConfigs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PhaseConfigs") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
CustomCanaryDeployment: CustomCanaryDeployment represents the custom canary deployment configuration.
func (*CustomCanaryDeployment) MarshalJSON ¶ added in v0.115.0
func (s *CustomCanaryDeployment) MarshalJSON() ([]byte, error)
type Date ¶
type Date struct { // Day: Day of a month. Must be from 1 to 31 and valid for the year and // month, or 0 to specify a year by itself or a year and month where the // day isn't significant. Day int64 `json:"day,omitempty"` // Month: Month of a year. Must be from 1 to 12, or 0 to specify a year // without a month and day. Month int64 `json:"month,omitempty"` // Year: Year of the date. Must be from 1 to 9999, or 0 to specify a // date without a year. Year int64 `json:"year,omitempty"` // ForceSendFields is a list of field names (e.g. "Day") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Day") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Date: Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
func (*Date) MarshalJSON ¶
type DefaultPool ¶
type DefaultPool struct { // ArtifactStorage: Optional. Cloud Storage location where execution // outputs should be stored. This can either be a bucket // ("gs://my-bucket") or a path within a bucket // ("gs://my-bucket/my-dir"). If unspecified, a default bucket located // in the same region will be used. ArtifactStorage string `json:"artifactStorage,omitempty"` // ServiceAccount: Optional. Google service account to use for // execution. If unspecified, the project execution service account // (-compute@developer.gserviceaccount.com) will be used. ServiceAccount string `json:"serviceAccount,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactStorage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactStorage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DefaultPool: Execution using the default Cloud Build pool.
func (*DefaultPool) MarshalJSON ¶
func (s *DefaultPool) MarshalJSON() ([]byte, error)
type DeliveryPipeline ¶
type DeliveryPipeline struct { // Annotations: User annotations. These attributes can only be set and // used by the user, and not by Cloud Deploy. Annotations map[string]string `json:"annotations,omitempty"` // Condition: Output only. Information around the state of the Delivery // Pipeline. Condition *PipelineCondition `json:"condition,omitempty"` // CreateTime: Output only. Time at which the pipeline was created. CreateTime string `json:"createTime,omitempty"` // Description: Description of the `DeliveryPipeline`. Max length is 255 // characters. Description string `json:"description,omitempty"` // Etag: 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 `json:"etag,omitempty"` // Labels: 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 map[string]string `json:"labels,omitempty"` // Name: Optional. Name of the `DeliveryPipeline`. Format is // projects/{project}/ locations/{location}/deliveryPipelines/a-z{0,62}. Name string `json:"name,omitempty"` // SerialPipeline: SerialPipeline defines a sequential set of stages for // a `DeliveryPipeline`. SerialPipeline *SerialPipeline `json:"serialPipeline,omitempty"` // Suspended: When suspended, no new releases or rollouts can be // created, but in-progress ones will complete. Suspended bool `json:"suspended,omitempty"` // Uid: Output only. Unique identifier of the `DeliveryPipeline`. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. Most recent time at which the pipeline was // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DeliveryPipeline: A `DeliveryPipeline` resource in the Cloud Deploy API. A `DeliveryPipeline` defines a pipeline through which a Skaffold configuration can progress.
func (*DeliveryPipeline) MarshalJSON ¶
func (s *DeliveryPipeline) MarshalJSON() ([]byte, error)
type DeliveryPipelineNotificationEvent ¶ added in v0.75.0
type DeliveryPipelineNotificationEvent struct { // DeliveryPipeline: The name of the `Delivery Pipeline`. DeliveryPipeline string `json:"deliveryPipeline,omitempty"` // Message: Debug message for when a notification fails to send. Message string `json:"message,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DeliveryPipeline") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeliveryPipeline") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DeliveryPipelineNotificationEvent: 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) MarshalJSON ¶ added in v0.75.0
func (s *DeliveryPipelineNotificationEvent) MarshalJSON() ([]byte, error)
type DeployArtifact ¶ added in v0.122.0
type DeployArtifact struct { // ArtifactUri: Output only. URI of a directory containing the // artifacts. All paths are relative to this location. ArtifactUri string `json:"artifactUri,omitempty"` // ManifestPaths: Output only. File paths of the manifests applied // during the deploy operation relative to the URI. ManifestPaths []string `json:"manifestPaths,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DeployArtifact: The artifacts produced by a deploy operation.
func (*DeployArtifact) MarshalJSON ¶ added in v0.122.0
func (s *DeployArtifact) MarshalJSON() ([]byte, error)
type DeployJobRun ¶ added in v0.98.0
type DeployJobRun struct { // Artifact: Output only. The artifact of a deploy job run, if // available. Artifact *DeployArtifact `json:"artifact,omitempty"` // Build: 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 `json:"build,omitempty"` // FailureCause: Output only. The reason the deploy failed. This will // always be unspecified while the deploy is in progress or if it // succeeded. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The deploy operation did not complete // successfully; check Cloud Build logs. // "DEADLINE_EXCEEDED" - The deploy job run did not complete within // the alloted time. // "MISSING_RESOURCES_FOR_CANARY" - There were missing resources in // the runtime environment required for a canary deployment. Check the // Cloud Build logs for more information. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. FailureCause string `json:"failureCause,omitempty"` // FailureMessage: Output only. Additional information about the deploy // failure, if available. FailureMessage string `json:"failureMessage,omitempty"` // Metadata: Output only. Metadata containing information about the // deploy job run. Metadata *DeployJobRunMetadata `json:"metadata,omitempty"` // ForceSendFields is a list of field names (e.g. "Artifact") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Artifact") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DeployJobRun: DeployJobRun contains information specific to a deploy `JobRun`.
func (*DeployJobRun) MarshalJSON ¶ added in v0.98.0
func (s *DeployJobRun) MarshalJSON() ([]byte, error)
type DeployJobRunMetadata ¶ added in v0.98.0
type DeployJobRunMetadata struct { // CloudRun: Output only. The name of the Cloud Run Service that is // associated with a `DeployJobRun`. CloudRun *CloudRunMetadata `json:"cloudRun,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRun") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudRun") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DeployJobRunMetadata: DeployJobRunMetadata surfaces information associated with a `DeployJobRun` to the user.
func (*DeployJobRunMetadata) MarshalJSON ¶ added in v0.98.0
func (s *DeployJobRunMetadata) MarshalJSON() ([]byte, error)
type DeployParameters ¶ added in v0.129.0
type DeployParameters struct { // MatchTargetLabels: 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 `json:"matchTargetLabels,omitempty"` // Values: Required. Values are deploy parameters in key-value pairs. Values map[string]string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "MatchTargetLabels") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MatchTargetLabels") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
DeployParameters: DeployParameters contains deploy parameters information.
func (*DeployParameters) MarshalJSON ¶ added in v0.129.0
func (s *DeployParameters) MarshalJSON() ([]byte, error)
type DeploymentJobs ¶ added in v0.98.0
type DeploymentJobs struct { // DeployJob: Output only. The deploy Job. This is the deploy job in the // phase. DeployJob *Job `json:"deployJob,omitempty"` // PostdeployJob: Output only. The postdeploy Job, which is the last job // on the phase. PostdeployJob *Job `json:"postdeployJob,omitempty"` // PredeployJob: Output only. The predeploy Job, which is the first job // on the phase. PredeployJob *Job `json:"predeployJob,omitempty"` // VerifyJob: Output only. The verify Job. Runs after a deploy if the // deploy succeeds. VerifyJob *Job `json:"verifyJob,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployJob") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployJob") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
DeploymentJobs: Deployment job composition.
func (*DeploymentJobs) MarshalJSON ¶ added in v0.98.0
func (s *DeploymentJobs) MarshalJSON() ([]byte, error)
type Empty ¶
type Empty struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type ExecutionConfig ¶
type ExecutionConfig struct { // ArtifactStorage: Optional. Cloud Storage location in which to store // execution outputs. This can either be a bucket ("gs://my-bucket") or // a path within a bucket ("gs://my-bucket/my-dir"). If unspecified, a // default bucket located in the same region will be used. ArtifactStorage string `json:"artifactStorage,omitempty"` // DefaultPool: Optional. Use default Cloud Build pool. DefaultPool *DefaultPool `json:"defaultPool,omitempty"` // ExecutionTimeout: Optional. Execution timeout for a Cloud Build // Execution. This must be between 10m and 24h in seconds format. If // unspecified, a default timeout of 1h is used. ExecutionTimeout string `json:"executionTimeout,omitempty"` // PrivatePool: Optional. Use private Cloud Build pool. PrivatePool *PrivatePool `json:"privatePool,omitempty"` // ServiceAccount: Optional. Google service account to use for // execution. If unspecified, the project execution service account // (-compute@developer.gserviceaccount.com) is used. ServiceAccount string `json:"serviceAccount,omitempty"` // Usages: Required. Usages when this configuration should be applied. // // Possible values: // "EXECUTION_ENVIRONMENT_USAGE_UNSPECIFIED" - Default value. This // value is unused. // "RENDER" - Use for rendering. // "DEPLOY" - Use for deploying and deployment hooks. // "VERIFY" - Use for deployment verification. // "PREDEPLOY" - Use for predeploy job execution. // "POSTDEPLOY" - Use for postdeploy job execution. Usages []string `json:"usages,omitempty"` // WorkerPool: 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 `json:"workerPool,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactStorage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactStorage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ExecutionConfig: Configuration of the environment to use when calling Skaffold.
func (*ExecutionConfig) MarshalJSON ¶
func (s *ExecutionConfig) MarshalJSON() ([]byte, error)
type Expr ¶
type Expr struct { // Description: Optional. Description of the expression. This is a // longer text which describes the expression, e.g. when hovered over it // in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common // Expression Language syntax. Expression string `json:"expression,omitempty"` // Location: Optional. String indicating the location of the expression // for error reporting, e.g. a file name and a position in the file. Location string `json:"location,omitempty"` // Title: Optional. Title for the expression, i.e. a short string // describing its purpose. This can be used e.g. in UIs which allow to // enter the expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Description") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (*Expr) MarshalJSON ¶
type GatewayServiceMesh ¶ added in v0.115.0
type GatewayServiceMesh struct { // Deployment: Required. Name of the Kubernetes Deployment whose traffic // is managed by the specified HTTPRoute and Service. Deployment string `json:"deployment,omitempty"` // HttpRoute: Required. Name of the Gateway API HTTPRoute. HttpRoute string `json:"httpRoute,omitempty"` // RouteUpdateWaitTime: 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 string `json:"routeUpdateWaitTime,omitempty"` // Service: Required. Name of the Kubernetes Service. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Deployment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Deployment") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GatewayServiceMesh: Information about the Kubernetes Gateway API service mesh configuration.
func (*GatewayServiceMesh) MarshalJSON ¶ added in v0.115.0
func (s *GatewayServiceMesh) MarshalJSON() ([]byte, error)
type GkeCluster ¶
type GkeCluster struct { // Cluster: Information specifying a GKE Cluster. Format is // `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. Cluster string `json:"cluster,omitempty"` // InternalIp: 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). InternalIp bool `json:"internalIp,omitempty"` // ForceSendFields is a list of field names (e.g. "Cluster") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Cluster") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
GkeCluster: Information specifying a GKE Cluster.
func (*GkeCluster) MarshalJSON ¶
func (s *GkeCluster) MarshalJSON() ([]byte, error)
type IgnoreJobRequest ¶ added in v0.115.0
type IgnoreJobRequest struct { // JobId: Required. The job ID for the Job to ignore. JobId string `json:"jobId,omitempty"` // PhaseId: Required. The phase ID the Job to ignore belongs to. PhaseId string `json:"phaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "JobId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JobId") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
IgnoreJobRequest: The request object used by `IgnoreJob`.
func (*IgnoreJobRequest) MarshalJSON ¶ added in v0.115.0
func (s *IgnoreJobRequest) MarshalJSON() ([]byte, error)
type IgnoreJobResponse ¶ added in v0.115.0
type IgnoreJobResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
IgnoreJobResponse: The response object from `IgnoreJob`.
type Job ¶ added in v0.98.0
type Job struct { // AdvanceChildRolloutJob: Output only. An advanceChildRollout Job. AdvanceChildRolloutJob *AdvanceChildRolloutJob `json:"advanceChildRolloutJob,omitempty"` // CreateChildRolloutJob: Output only. A createChildRollout Job. CreateChildRolloutJob *CreateChildRolloutJob `json:"createChildRolloutJob,omitempty"` // DeployJob: Output only. A deploy Job. DeployJob *DeployJob `json:"deployJob,omitempty"` // Id: Output only. The ID of the Job. Id string `json:"id,omitempty"` // JobRun: Output only. The name of the `JobRun` responsible for the // most recent invocation of this Job. JobRun string `json:"jobRun,omitempty"` // PostdeployJob: Output only. A postdeploy Job. PostdeployJob *PostdeployJob `json:"postdeployJob,omitempty"` // PredeployJob: Output only. A predeploy Job. PredeployJob *PredeployJob `json:"predeployJob,omitempty"` // SkipMessage: Output only. Additional information on why the Job was // skipped, if available. SkipMessage string `json:"skipMessage,omitempty"` // State: Output only. The current state of the Job. // // Possible values: // "STATE_UNSPECIFIED" - The Job has an unspecified state. // "PENDING" - The Job is waiting for an earlier Phase(s) or Job(s) to // complete. // "DISABLED" - The Job is disabled. // "IN_PROGRESS" - The Job is in progress. // "SUCCEEDED" - The Job succeeded. // "FAILED" - The Job failed. // "ABORTED" - The Job was aborted. // "SKIPPED" - The Job was skipped. // "IGNORED" - The Job was ignored. State string `json:"state,omitempty"` // VerifyJob: Output only. A verify Job. VerifyJob *VerifyJob `json:"verifyJob,omitempty"` // ForceSendFields is a list of field names (e.g. // "AdvanceChildRolloutJob") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AdvanceChildRolloutJob") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Job: Job represents an operation for a `Rollout`.
func (*Job) MarshalJSON ¶ added in v0.98.0
type JobRun ¶ added in v0.98.0
type JobRun struct { // AdvanceChildRolloutJobRun: Output only. Information specific to an // advanceChildRollout `JobRun` AdvanceChildRolloutJobRun *AdvanceChildRolloutJobRun `json:"advanceChildRolloutJobRun,omitempty"` // CreateChildRolloutJobRun: Output only. Information specific to a // createChildRollout `JobRun`. CreateChildRolloutJobRun *CreateChildRolloutJobRun `json:"createChildRolloutJobRun,omitempty"` // CreateTime: Output only. Time at which the `JobRun` was created. CreateTime string `json:"createTime,omitempty"` // DeployJobRun: Output only. Information specific to a deploy `JobRun`. DeployJobRun *DeployJobRun `json:"deployJobRun,omitempty"` // EndTime: Output only. Time at which the `JobRun` ended. EndTime string `json:"endTime,omitempty"` // Etag: 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 `json:"etag,omitempty"` // JobId: Output only. ID of the `Rollout` job this `JobRun` corresponds // to. JobId string `json:"jobId,omitempty"` // Name: Optional. Name of the `JobRun`. Format is // projects/{project}/locations/{location}/ // deliveryPipelines/{deliveryPipeline}/releases/{releases}/rollouts/ // {rollouts}/jobRuns/{uuid}. Name string `json:"name,omitempty"` // PhaseId: Output only. ID of the `Rollout` phase this `JobRun` belongs // in. PhaseId string `json:"phaseId,omitempty"` // PostdeployJobRun: Output only. Information specific to a postdeploy // `JobRun`. PostdeployJobRun *PostdeployJobRun `json:"postdeployJobRun,omitempty"` // PredeployJobRun: Output only. Information specific to a predeploy // `JobRun`. PredeployJobRun *PredeployJobRun `json:"predeployJobRun,omitempty"` // StartTime: Output only. Time at which the `JobRun` was started. StartTime string `json:"startTime,omitempty"` // State: Output only. The current state of the `JobRun`. // // Possible values: // "STATE_UNSPECIFIED" - The `JobRun` has an unspecified state. // "IN_PROGRESS" - The `JobRun` is in progress. // "SUCCEEDED" - The `JobRun` has succeeded. // "FAILED" - The `JobRun` has failed. // "TERMINATING" - The `JobRun` is terminating. // "TERMINATED" - The `JobRun` was terminated. State string `json:"state,omitempty"` // Uid: Output only. Unique identifier of the `JobRun`. Uid string `json:"uid,omitempty"` // VerifyJobRun: Output only. Information specific to a verify `JobRun`. VerifyJobRun *VerifyJobRun `json:"verifyJobRun,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. // "AdvanceChildRolloutJobRun") to unconditionally include in API // requests. By default, fields with empty or default values are omitted // from API requests. However, any non-pointer, non-interface field // appearing in ForceSendFields will be sent to the server regardless of // whether the field is empty or not. This may be used to include empty // fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. // "AdvanceChildRolloutJobRun") to include in API requests with the JSON // null value. By default, fields with empty values are omitted from API // requests. However, any field with an empty value appearing in // NullFields will be sent to the server as null. It is an error if a // field in this list has a non-empty value. This may be used to include // null fields in Patch requests. NullFields []string `json:"-"` }
JobRun: A `JobRun` resource in the Cloud Deploy API. A `JobRun` contains information of a single `Rollout` job evaluation.
func (*JobRun) MarshalJSON ¶ added in v0.98.0
type JobRunNotificationEvent ¶ added in v0.98.0
type JobRunNotificationEvent struct { // JobRun: The name of the `JobRun`. JobRun string `json:"jobRun,omitempty"` // Message: Debug message for when a notification fails to send. Message string `json:"message,omitempty"` // PipelineUid: Unique identifier of the `DeliveryPipeline`. PipelineUid string `json:"pipelineUid,omitempty"` // ReleaseUid: Unique identifier of the `Release`. ReleaseUid string `json:"releaseUid,omitempty"` // RolloutUid: Unique identifier of the `Rollout`. RolloutUid string `json:"rolloutUid,omitempty"` // TargetId: ID of the `Target`. TargetId string `json:"targetId,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "JobRun") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JobRun") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
JobRunNotificationEvent: 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) MarshalJSON ¶ added in v0.98.0
func (s *JobRunNotificationEvent) MarshalJSON() ([]byte, error)
type KubernetesConfig ¶ added in v0.115.0
type KubernetesConfig struct { // GatewayServiceMesh: Kubernetes Gateway API service mesh // configuration. GatewayServiceMesh *GatewayServiceMesh `json:"gatewayServiceMesh,omitempty"` // ServiceNetworking: Kubernetes Service networking configuration. ServiceNetworking *ServiceNetworking `json:"serviceNetworking,omitempty"` // ForceSendFields is a list of field names (e.g. "GatewayServiceMesh") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "GatewayServiceMesh") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
KubernetesConfig: KubernetesConfig contains the Kubernetes runtime configuration.
func (*KubernetesConfig) MarshalJSON ¶ added in v0.115.0
func (s *KubernetesConfig) MarshalJSON() ([]byte, error)
type ListDeliveryPipelinesResponse ¶
type ListDeliveryPipelinesResponse struct { // DeliveryPipelines: The `DeliveryPipeline` objects. DeliveryPipelines []*DeliveryPipeline `json:"deliveryPipelines,omitempty"` // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DeliveryPipelines") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeliveryPipelines") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ListDeliveryPipelinesResponse: The response object from `ListDeliveryPipelines`.
func (*ListDeliveryPipelinesResponse) MarshalJSON ¶
func (s *ListDeliveryPipelinesResponse) MarshalJSON() ([]byte, error)
type ListJobRunsResponse ¶ added in v0.98.0
type ListJobRunsResponse struct { // JobRuns: The `JobRun` objects. JobRuns []*JobRun `json:"jobRuns,omitempty"` // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Unreachable: Locations that could not be reached Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "JobRuns") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JobRuns") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListJobRunsResponse: ListJobRunsResponse is the response object returned by `ListJobRuns`.
func (*ListJobRunsResponse) MarshalJSON ¶ added in v0.98.0
func (s *ListJobRunsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in // the request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Locations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Locations") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (*ListLocationsResponse) MarshalJSON ¶
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct { // NextPageToken: The standard List next-page token. NextPageToken string `json:"nextPageToken,omitempty"` // Operations: A list of operations that matches the specified filter in // the request. Operations []*Operation `json:"operations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListOperationsResponse: The response message for Operations.ListOperations.
func (*ListOperationsResponse) MarshalJSON ¶
func (s *ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListReleasesResponse ¶
type ListReleasesResponse struct { // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Releases: The `Release` objects. Releases []*Release `json:"releases,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListReleasesResponse: The response object from `ListReleases`.
func (*ListReleasesResponse) MarshalJSON ¶
func (s *ListReleasesResponse) MarshalJSON() ([]byte, error)
type ListRolloutsResponse ¶
type ListRolloutsResponse struct { // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Rollouts: The `Rollout` objects. Rollouts []*Rollout `json:"rollouts,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListRolloutsResponse: ListRolloutsResponse is the response object reutrned by `ListRollouts`.
func (*ListRolloutsResponse) MarshalJSON ¶
func (s *ListRolloutsResponse) MarshalJSON() ([]byte, error)
type ListTargetsResponse ¶
type ListTargetsResponse struct { // NextPageToken: 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 `json:"nextPageToken,omitempty"` // Targets: The `Target` objects. Targets []*Target `json:"targets,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "NextPageToken") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "NextPageToken") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ListTargetsResponse: The response object from `ListTargets`.
func (*ListTargetsResponse) MarshalJSON ¶
func (s *ListTargetsResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby // city name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: // "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available // capacity at the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "DisplayName") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DisplayName") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Location: A resource that represents a Google Cloud location.
func (*Location) MarshalJSON ¶
type Metadata ¶ added in v0.97.0
type Metadata struct { // CloudRun: Output only. The name of the Cloud Run Service that is // associated with a `Rollout`. CloudRun *CloudRunMetadata `json:"cloudRun,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRun") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudRun") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Metadata: Metadata includes information associated with a `Rollout`.
func (*Metadata) MarshalJSON ¶ added in v0.97.0
type MultiTarget ¶ added in v0.112.0
type MultiTarget struct { // TargetIds: Required. The target_ids of this multiTarget. TargetIds []string `json:"targetIds,omitempty"` // ForceSendFields is a list of field names (e.g. "TargetIds") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "TargetIds") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
MultiTarget: Information specifying a multiTarget.
func (*MultiTarget) MarshalJSON ¶ added in v0.112.0
func (s *MultiTarget) MarshalJSON() ([]byte, error)
type Operation ¶
type Operation struct { // Done: If the value is `false`, it means the operation is still in // progress. If `true`, the operation is completed, and either `error` // or `response` is available. Done bool `json:"done,omitempty"` // Error: The error result of the operation in case of failure or // cancellation. Error *Status `json:"error,omitempty"` // Metadata: Service-specific metadata associated with the operation. It // typically contains progress information and common metadata such as // create time. Some services might not provide such metadata. Any // method that returns a long-running operation should document the // metadata type, if any. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: The server-assigned name, which is only unique within the same // service that originally returns it. If you use the default HTTP // mapping, the `name` should be a resource name ending with // `operations/{unique_id}`. Name string `json:"name,omitempty"` // Response: The normal, successful response of the operation. If the // original method returns no data on success, such as `Delete`, the // response is `google.protobuf.Empty`. If the original method is // standard `Get`/`Create`/`Update`, the response should be the // resource. For other methods, the response should have the type // `XxxResponse`, where `Xxx` is the original method name. For example, // if the original method name is `TakeSnapshot()`, the inferred // response type is `TakeSnapshotResponse`. Response googleapi.RawMessage `json:"response,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Done") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Done") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Operation: This resource represents a long-running operation that is the result of a network API call.
func (*Operation) MarshalJSON ¶
type OperationMetadata ¶
type OperationMetadata struct { // ApiVersion: Output only. API version used to start the operation. ApiVersion string `json:"apiVersion,omitempty"` // CreateTime: Output only. The time the operation was created. CreateTime string `json:"createTime,omitempty"` // EndTime: Output only. The time the operation finished running. EndTime string `json:"endTime,omitempty"` // RequestedCancellation: Output only. Identifies whether the user has // requested cancellation of the operation. Operations that have // successfully been cancelled have Operation.error value with a // google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. RequestedCancellation bool `json:"requestedCancellation,omitempty"` // StatusMessage: Output only. Human-readable status of the operation, // if any. StatusMessage string `json:"statusMessage,omitempty"` // Target: Output only. Server-defined resource path for the target of // the operation. Target string `json:"target,omitempty"` // Verb: Output only. Name of the verb executed by the operation. Verb string `json:"verb,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ApiVersion") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
OperationMetadata: Represents the metadata of the long-running operation.
func (*OperationMetadata) MarshalJSON ¶
func (s *OperationMetadata) MarshalJSON() ([]byte, error)
type Phase ¶ added in v0.98.0
type Phase struct { // ChildRolloutJobs: Output only. ChildRollout job composition. ChildRolloutJobs *ChildRolloutJobs `json:"childRolloutJobs,omitempty"` // DeploymentJobs: Output only. Deployment job composition. DeploymentJobs *DeploymentJobs `json:"deploymentJobs,omitempty"` // Id: Output only. The ID of the Phase. Id string `json:"id,omitempty"` // SkipMessage: Output only. Additional information on why the Phase was // skipped, if available. SkipMessage string `json:"skipMessage,omitempty"` // State: Output only. Current state of the Phase. // // Possible values: // "STATE_UNSPECIFIED" - The Phase has an unspecified state. // "PENDING" - The Phase is waiting for an earlier Phase(s) to // complete. // "IN_PROGRESS" - The Phase is in progress. // "SUCCEEDED" - The Phase has succeeded. // "FAILED" - The Phase has failed. // "ABORTED" - The Phase was aborted. // "SKIPPED" - The Phase was skipped. State string `json:"state,omitempty"` // ForceSendFields is a list of field names (e.g. "ChildRolloutJobs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ChildRolloutJobs") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Phase: Phase represents a collection of jobs that are logically grouped together for a `Rollout`.
func (*Phase) MarshalJSON ¶ added in v0.98.0
type PhaseArtifact ¶ added in v0.115.0
type PhaseArtifact struct { // JobManifestsPath: 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 `json:"jobManifestsPath,omitempty"` // ManifestPath: Output only. File path of the rendered manifest // relative to the URI. ManifestPath string `json:"manifestPath,omitempty"` // SkaffoldConfigPath: Output only. File path of the resolved Skaffold // configuration relative to the URI. SkaffoldConfigPath string `json:"skaffoldConfigPath,omitempty"` // ForceSendFields is a list of field names (e.g. "JobManifestsPath") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JobManifestsPath") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
PhaseArtifact: Contains the paths to the artifacts, relative to the URI, for a phase.
func (*PhaseArtifact) MarshalJSON ¶ added in v0.115.0
func (s *PhaseArtifact) MarshalJSON() ([]byte, error)
type PhaseConfig ¶ added in v0.115.0
type PhaseConfig struct { // Percentage: Required. Percentage deployment for the phase. Percentage int64 `json:"percentage,omitempty"` // PhaseId: 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 `json:"phaseId,omitempty"` // Postdeploy: 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 `json:"postdeploy,omitempty"` // Predeploy: 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 `json:"predeploy,omitempty"` // Profiles: 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 `json:"profiles,omitempty"` // Verify: Whether to run verify tests after the deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Percentage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Percentage") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PhaseConfig: PhaseConfig represents the configuration for a phase in the custom canary deployment.
func (*PhaseConfig) MarshalJSON ¶ added in v0.115.0
func (s *PhaseConfig) MarshalJSON() ([]byte, error)
type PipelineCondition ¶
type PipelineCondition struct { // PipelineReadyCondition: Details around the Pipeline's overall status. PipelineReadyCondition *PipelineReadyCondition `json:"pipelineReadyCondition,omitempty"` // TargetsPresentCondition: Details around targets enumerated in the // pipeline. TargetsPresentCondition *TargetsPresentCondition `json:"targetsPresentCondition,omitempty"` // TargetsTypeCondition: Details on the whether the targets enumerated // in the pipeline are of the same type. TargetsTypeCondition *TargetsTypeCondition `json:"targetsTypeCondition,omitempty"` // ForceSendFields is a list of field names (e.g. // "PipelineReadyCondition") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "PipelineReadyCondition") // to include in API requests with the JSON null value. By default, // fields with empty values are omitted from API requests. However, any // field with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
PipelineCondition: PipelineCondition contains all conditions relevant to a Delivery Pipeline.
func (*PipelineCondition) MarshalJSON ¶
func (s *PipelineCondition) MarshalJSON() ([]byte, error)
type PipelineReadyCondition ¶
type PipelineReadyCondition struct { // Status: 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 `json:"status,omitempty"` // UpdateTime: Last time the condition was updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PipelineReadyCondition: PipelineReadyCondition contains information around the status of the Pipeline.
func (*PipelineReadyCondition) MarshalJSON ¶
func (s *PipelineReadyCondition) MarshalJSON() ([]byte, error)
type Policy ¶
type Policy struct { // AuditConfigs: Specifies cloud audit logging configuration for this // policy. AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"` // Bindings: Associates a list of `members`, or principals, with a // `role`. Optionally, may specify a `condition` that determines how and // when the `bindings` are applied. Each of the `bindings` must contain // at least one principal. The `bindings` in a `Policy` can refer to up // to 1,500 principals; up to 250 of these principals can be Google // groups. Each occurrence of a principal counts towards these limits. // For example, if the `bindings` grant 50 different roles to // `user:alice@example.com`, and not to any other principal, then you // can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []*Binding `json:"bindings,omitempty"` // Etag: `etag` is used for optimistic concurrency control as a way to // help prevent simultaneous updates of a policy from overwriting each // other. It is strongly suggested that systems make use of the `etag` // in the read-modify-write cycle to perform policy updates in order to // avoid race conditions: An `etag` is returned in the response to // `getIamPolicy`, and systems are expected to put that etag in the // request to `setIamPolicy` to ensure that their change will be applied // to the same version of the policy. **Important:** If you use IAM // Conditions, you must include the `etag` field whenever you call // `setIamPolicy`. If you omit this field, then IAM allows you to // overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. Etag string `json:"etag,omitempty"` // Version: Specifies the format of the policy. Valid values are `0`, // `1`, and `3`. Requests that specify an invalid value are rejected. // Any operation that affects conditional role bindings must specify // version `3`. This requirement applies to the following operations: * // Getting a policy that includes a conditional role binding * Adding a // conditional role binding to a policy * Changing a conditional role // binding in a policy * Removing any role binding, with or without a // condition, from a policy that includes conditions **Important:** If // you use IAM Conditions, you must include the `etag` field whenever // you call `setIamPolicy`. If you omit this field, then IAM allows you // to overwrite a version `3` policy with a version `1` policy, and all // of the conditions in the version `3` policy are lost. If a policy // does not include any conditions, operations on that policy may // specify any valid version or leave the field unset. To learn which // resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Version int64 `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AuditConfigs") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "AuditConfigs") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
func (*Policy) MarshalJSON ¶
type Postdeploy ¶ added in v0.135.0
type Postdeploy struct { // Actions: Optional. A sequence of Skaffold custom actions to invoke // during execution of the postdeploy job. Actions []string `json:"actions,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Postdeploy: Postdeploy contains the postdeploy job configuration information.
func (*Postdeploy) MarshalJSON ¶ added in v0.135.0
func (s *Postdeploy) MarshalJSON() ([]byte, error)
type PostdeployJob ¶ added in v0.135.0
type PostdeployJob struct { // Actions: Output only. The custom actions that the postdeploy Job // executes. Actions []string `json:"actions,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PostdeployJob: A postdeploy Job.
func (*PostdeployJob) MarshalJSON ¶ added in v0.135.0
func (s *PostdeployJob) MarshalJSON() ([]byte, error)
type PostdeployJobRun ¶ added in v0.135.0
type PostdeployJobRun struct { // Build: 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 `json:"build,omitempty"` // FailureCause: Output only. The reason the postdeploy failed. This // will always be unspecified while the postdeploy is in progress or if // it succeeded. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The postdeploy operation did not complete // successfully; check Cloud Build logs. // "DEADLINE_EXCEEDED" - The postdeploy job run did not complete // within the alloted time. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. FailureCause string `json:"failureCause,omitempty"` // FailureMessage: Output only. Additional information about the // postdeploy failure, if available. FailureMessage string `json:"failureMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "Build") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Build") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PostdeployJobRun: PostdeployJobRun contains information specific to a postdeploy `JobRun`.
func (*PostdeployJobRun) MarshalJSON ¶ added in v0.135.0
func (s *PostdeployJobRun) MarshalJSON() ([]byte, error)
type Predeploy ¶ added in v0.135.0
type Predeploy struct { // Actions: Optional. A sequence of Skaffold custom actions to invoke // during execution of the predeploy job. Actions []string `json:"actions,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Predeploy: Predeploy contains the predeploy job configuration information.
func (*Predeploy) MarshalJSON ¶ added in v0.135.0
type PredeployJob ¶ added in v0.135.0
type PredeployJob struct { // Actions: Output only. The custom actions that the predeploy Job // executes. Actions []string `json:"actions,omitempty"` // ForceSendFields is a list of field names (e.g. "Actions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Actions") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PredeployJob: A predeploy Job.
func (*PredeployJob) MarshalJSON ¶ added in v0.135.0
func (s *PredeployJob) MarshalJSON() ([]byte, error)
type PredeployJobRun ¶ added in v0.135.0
type PredeployJobRun struct { // Build: 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 `json:"build,omitempty"` // FailureCause: Output only. The reason the predeploy failed. This will // always be unspecified while the predeploy is in progress or if it // succeeded. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The predeploy operation did not complete // successfully; check Cloud Build logs. // "DEADLINE_EXCEEDED" - The predeploy job run did not complete within // the alloted time. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. FailureCause string `json:"failureCause,omitempty"` // FailureMessage: Output only. Additional information about the // predeploy failure, if available. FailureMessage string `json:"failureMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "Build") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Build") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
PredeployJobRun: PredeployJobRun contains information specific to a predeploy `JobRun`.
func (*PredeployJobRun) MarshalJSON ¶ added in v0.135.0
func (s *PredeployJobRun) MarshalJSON() ([]byte, error)
type PrivatePool ¶
type PrivatePool struct { // ArtifactStorage: Optional. Cloud Storage location where execution // outputs should be stored. This can either be a bucket // ("gs://my-bucket") or a path within a bucket // ("gs://my-bucket/my-dir"). If unspecified, a default bucket located // in the same region will be used. ArtifactStorage string `json:"artifactStorage,omitempty"` // ServiceAccount: Optional. Google service account to use for // execution. If unspecified, the project execution service account // (-compute@developer.gserviceaccount.com) will be used. ServiceAccount string `json:"serviceAccount,omitempty"` // WorkerPool: Required. Resource name of the Cloud Build worker pool to // use. The format is // `projects/{project}/locations/{location}/workerPools/{pool}`. WorkerPool string `json:"workerPool,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactStorage") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactStorage") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
PrivatePool: Execution using a private Cloud Build pool.
func (*PrivatePool) MarshalJSON ¶
func (s *PrivatePool) MarshalJSON() ([]byte, error)
type ProjectsLocationsDeliveryPipelinesCreateCall ¶
type ProjectsLocationsDeliveryPipelinesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesCreateCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesCreateCall) DeliveryPipelineId ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) DeliveryPipelineId(deliveryPipelineId string) *ProjectsLocationsDeliveryPipelinesCreateCall
DeliveryPipelineId sets the optional parameter "deliveryPipelineId": Required. ID of the `DeliveryPipeline`.
func (*ProjectsLocationsDeliveryPipelinesCreateCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesCreateCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesCreateCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesCreateCall) RequestId ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsDeliveryPipelinesCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsDeliveryPipelinesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsDeliveryPipelinesDeleteCall ¶
type ProjectsLocationsDeliveryPipelinesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, then deleting an already deleted or non-existing `DeliveryPipeline` will succeed.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Etag ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Etag(etag string) *ProjectsLocationsDeliveryPipelinesDeleteCall
Etag sets the optional parameter "etag": 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.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Force ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Force(force bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
Force sets the optional parameter "force": 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.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) RequestId ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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).
func (*ProjectsLocationsDeliveryPipelinesDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsDeliveryPipelinesDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, validate the request and preview the review, but do not actually post it.
type ProjectsLocationsDeliveryPipelinesGetCall ¶
type ProjectsLocationsDeliveryPipelinesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesGetCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesGetCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesGetCall) Do(opts ...googleapi.CallOption) (*DeliveryPipeline, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.get" call. Exactly one of *DeliveryPipeline or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DeliveryPipeline.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesGetCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesGetCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsDeliveryPipelinesGetIamPolicyCall ¶
type ProjectsLocationsDeliveryPipelinesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsDeliveryPipelinesListCall ¶
type ProjectsLocationsDeliveryPipelinesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesListCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesListCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Do(opts ...googleapi.CallOption) (*ListDeliveryPipelinesResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.list" call. Exactly one of *ListDeliveryPipelinesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDeliveryPipelinesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesListCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesListCall) Filter ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesListCall
Filter sets the optional parameter "filter": Filter pipelines to be returned. See https://google.aip.dev/160 for more details.
func (*ProjectsLocationsDeliveryPipelinesListCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsDeliveryPipelinesListCall) OrderBy ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsDeliveryPipelinesListCall) PageSize ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesListCall
PageSize sets the optional parameter "pageSize": 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.
func (*ProjectsLocationsDeliveryPipelinesListCall) PageToken ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesListCall
PageToken sets the optional parameter "pageToken": 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.
func (*ProjectsLocationsDeliveryPipelinesListCall) Pages ¶
func (c *ProjectsLocationsDeliveryPipelinesListCall) Pages(ctx context.Context, f func(*ListDeliveryPipelinesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeliveryPipelinesPatchCall ¶
type ProjectsLocationsDeliveryPipelinesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesPatchCall) AllowMissing ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsDeliveryPipelinesPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, updating a `DeliveryPipeline` that does not exist will result in the creation of a new `DeliveryPipeline`.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) RequestId ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsDeliveryPipelinesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsDeliveryPipelinesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the `DeliveryPipeline` resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
func (*ProjectsLocationsDeliveryPipelinesPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsDeliveryPipelinesPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesPatchCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsDeliveryPipelinesReleasesAbandonCall ¶ added in v0.85.0
type ProjectsLocationsDeliveryPipelinesReleasesAbandonCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Context ¶ added in v0.85.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Do ¶ added in v0.85.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Do(opts ...googleapi.CallOption) (*AbandonReleaseResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.abandon" call. Exactly one of *AbandonReleaseResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AbandonReleaseResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Fields ¶ added in v0.85.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Header ¶ added in v0.85.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesCreateCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ReleaseId ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ReleaseId(releaseId string) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
ReleaseId sets the optional parameter "releaseId": Required. ID of the `Release`.
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) RequestId ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsDeliveryPipelinesReleasesGetCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Do(opts ...googleapi.CallOption) (*Release, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.get" call. Exactly one of *Release or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Release.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsDeliveryPipelinesReleasesListCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Do(opts ...googleapi.CallOption) (*ListReleasesResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.list" call. Exactly one of *ListReleasesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListReleasesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Filter ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
Filter sets the optional parameter "filter": Filter releases to be returned. See https://google.aip.dev/160 for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) OrderBy ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) PageSize ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesListCall
PageSize sets the optional parameter "pageSize": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) PageToken ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
PageToken sets the optional parameter "pageToken": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesListCall) Pages ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesListCall) Pages(ctx context.Context, f func(*ListReleasesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall ¶ added in v0.115.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Context ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Do ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Do(opts ...googleapi.CallOption) (*AdvanceRolloutResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.advance" call. Exactly one of *AdvanceRolloutResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AdvanceRolloutResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Fields ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Header ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Do(opts ...googleapi.CallOption) (*ApproveRolloutResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.approve" call. Exactly one of *ApproveRolloutResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ApproveRolloutResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall ¶ added in v0.115.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Context ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Do ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Do(opts ...googleapi.CallOption) (*CancelRolloutResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.cancel" call. Exactly one of *CancelRolloutResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CancelRolloutResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Fields ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Header ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RequestId ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RequestId(requestId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RolloutId ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) RolloutId(rolloutId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
RolloutId sets the optional parameter "rolloutId": Required. ID of the `Rollout`.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) StartingPhaseId ¶ added in v0.109.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) StartingPhaseId(startingPhaseId string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
StartingPhaseId sets the optional parameter "startingPhaseId": The starting phase ID for the `Rollout`. If empty the `Rollout` will start at the first phase.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Do(opts ...googleapi.CallOption) (*Rollout, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.get" call. Exactly one of *Rollout or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Rollout.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall ¶ added in v0.115.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Context ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Do ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Do(opts ...googleapi.CallOption) (*IgnoreJobResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.ignoreJob" call. Exactly one of *IgnoreJobResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *IgnoreJobResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Fields ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Header ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall ¶ added in v0.98.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Context ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Do ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Do(opts ...googleapi.CallOption) (*JobRun, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.get" call. Exactly one of *JobRun or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *JobRun.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Fields ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Header ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) IfNoneMatch ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall ¶ added in v0.98.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Context ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Do ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Do(opts ...googleapi.CallOption) (*ListJobRunsResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.list" call. Exactly one of *ListJobRunsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobRunsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Fields ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Filter ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
Filter sets the optional parameter "filter": Filter results to be returned. See https://google.aip.dev/160 for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Header ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) IfNoneMatch ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) OrderBy ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageSize ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
PageSize sets the optional parameter "pageSize": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageToken ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
PageToken sets the optional parameter "pageToken": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Pages ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall) Pages(ctx context.Context, f func(*ListJobRunsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService ¶ added in v0.98.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService ¶ added in v0.98.0
func NewProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService(s *Service) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Get ¶ added in v0.98.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall
Get: Gets details of a single JobRun.
- name: Name of the `JobRun`. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRun s/{job_run_name}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) List ¶ added in v0.98.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall
List: Lists JobRuns in a given project and location.
- parent: The `Rollout` which owns this collection of `JobRun` objects.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Terminate ¶ added in v0.115.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService) Terminate(name string, terminatejobrunrequest *TerminateJobRunRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
Terminate: Terminates a Job Run in a given project and location.
- name: Name of the `JobRun`. Format must be projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall ¶ added in v0.115.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Context ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Do ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Do(opts ...googleapi.CallOption) (*TerminateJobRunResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.terminate" call. Exactly one of *TerminateJobRunResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TerminateJobRunResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Fields ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Header ¶ added in v0.115.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall ¶
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Do(opts ...googleapi.CallOption) (*ListRolloutsResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.list" call. Exactly one of *ListRolloutsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRolloutsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Filter ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Filter(filter string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
Filter sets the optional parameter "filter": Filter rollouts to be returned. See https://google.aip.dev/160 for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) OrderBy ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) OrderBy(orderBy string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageSize ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageSize(pageSize int64) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
PageSize sets the optional parameter "pageSize": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageToken ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) PageToken(pageToken string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
PageToken sets the optional parameter "pageToken": 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.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Pages ¶
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall) Pages(ctx context.Context, f func(*ListRolloutsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall ¶ added in v0.98.0
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Context ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Do ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Do(opts ...googleapi.CallOption) (*RetryJobResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.retryJob" call. Exactly one of *RetryJobResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RetryJobResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Fields ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Header ¶ added in v0.98.0
func (c *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsService ¶
type ProjectsLocationsDeliveryPipelinesReleasesRolloutsService struct { JobRuns *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService // contains filtered or unexported fields }
func NewProjectsLocationsDeliveryPipelinesReleasesRolloutsService ¶
func NewProjectsLocationsDeliveryPipelinesReleasesRolloutsService(s *Service) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Advance ¶ added in v0.115.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Advance(name string, advancerolloutrequest *AdvanceRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall
Advance: Advances a Rollout in a given project and location.
- name: Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Approve ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Approve(name string, approverolloutrequest *ApproveRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall
Approve: Approves a Rollout.
- name: Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Cancel ¶ added in v0.115.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Cancel(name string, cancelrolloutrequest *CancelRolloutRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall
Cancel: Cancels a Rollout in a given project and location.
- name: Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Create ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Create(parent string, rollout *Rollout) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall
Create: Creates a new Rollout in a given project and location.
- parent: The parent collection in which the `Rollout` should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}/releases/{release_name}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Get ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall
Get: Gets details of a single Rollout.
- name: Name of the `Rollout`. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}/releases/{release_name}/rollouts/{rollout_name}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) IgnoreJob ¶ added in v0.115.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) IgnoreJob(rollout string, ignorejobrequest *IgnoreJobRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall
IgnoreJob: Ignores the specified Job in a Rollout.
- rollout: Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) List ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall
List: Lists Rollouts in a given project and location.
- parent: The `Release` which owns this collection of `Rollout` objects.
func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) RetryJob ¶ added in v0.98.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService) RetryJob(rollout string, retryjobrequest *RetryJobRequest) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall
RetryJob: Retries the specified Job in a Rollout.
- rollout: Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}/rollouts/{rollout}.
type ProjectsLocationsDeliveryPipelinesReleasesService ¶
type ProjectsLocationsDeliveryPipelinesReleasesService struct { Rollouts *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService // contains filtered or unexported fields }
func NewProjectsLocationsDeliveryPipelinesReleasesService ¶
func NewProjectsLocationsDeliveryPipelinesReleasesService(s *Service) *ProjectsLocationsDeliveryPipelinesReleasesService
func (*ProjectsLocationsDeliveryPipelinesReleasesService) Abandon ¶ added in v0.85.0
func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Abandon(name string, abandonreleaserequest *AbandonReleaseRequest) *ProjectsLocationsDeliveryPipelinesReleasesAbandonCall
Abandon: Abandons a Release in the Delivery Pipeline.
- name: Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryP ipeline}/ releases/{release}.
func (*ProjectsLocationsDeliveryPipelinesReleasesService) Create ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Create(parent string, release *Release) *ProjectsLocationsDeliveryPipelinesReleasesCreateCall
Create: Creates a new Release in a given project and location.
- parent: The parent collection in which the `Release` should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}.
func (*ProjectsLocationsDeliveryPipelinesReleasesService) Get ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesService) Get(name string) *ProjectsLocationsDeliveryPipelinesReleasesGetCall
Get: Gets details of a single Release.
- name: Name of the `Release`. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}/releases/{release_name}.
func (*ProjectsLocationsDeliveryPipelinesReleasesService) List ¶
func (r *ProjectsLocationsDeliveryPipelinesReleasesService) List(parent string) *ProjectsLocationsDeliveryPipelinesReleasesListCall
List: Lists Releases in a given project and location.
- parent: The `DeliveryPipeline` which owns this collection of `Release` objects.
type ProjectsLocationsDeliveryPipelinesRollbackTargetCall ¶ added in v0.141.0
type ProjectsLocationsDeliveryPipelinesRollbackTargetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Context ¶ added in v0.141.0
func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Do ¶ added in v0.141.0
func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Do(opts ...googleapi.CallOption) (*RollbackTargetResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.rollbackTarget" call. Exactly one of *RollbackTargetResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *RollbackTargetResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Fields ¶ added in v0.141.0
func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Header ¶ added in v0.141.0
func (c *ProjectsLocationsDeliveryPipelinesRollbackTargetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesService ¶
type ProjectsLocationsDeliveryPipelinesService struct { Releases *ProjectsLocationsDeliveryPipelinesReleasesService // contains filtered or unexported fields }
func NewProjectsLocationsDeliveryPipelinesService ¶
func NewProjectsLocationsDeliveryPipelinesService(s *Service) *ProjectsLocationsDeliveryPipelinesService
func (*ProjectsLocationsDeliveryPipelinesService) Create ¶
func (r *ProjectsLocationsDeliveryPipelinesService) Create(parent string, deliverypipeline *DeliveryPipeline) *ProjectsLocationsDeliveryPipelinesCreateCall
Create: Creates a new DeliveryPipeline in a given project and location.
- parent: The parent collection in which the `DeliveryPipeline` should be created. Format should be projects/{project_id}/locations/{location_name}.
func (*ProjectsLocationsDeliveryPipelinesService) Delete ¶
func (r *ProjectsLocationsDeliveryPipelinesService) Delete(name string) *ProjectsLocationsDeliveryPipelinesDeleteCall
Delete: Deletes a single DeliveryPipeline.
- name: The name of the `DeliveryPipeline` to delete. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}.
func (*ProjectsLocationsDeliveryPipelinesService) Get ¶
func (r *ProjectsLocationsDeliveryPipelinesService) Get(name string) *ProjectsLocationsDeliveryPipelinesGetCall
Get: Gets details of a single DeliveryPipeline.
- name: Name of the `DeliveryPipeline`. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}.
func (*ProjectsLocationsDeliveryPipelinesService) GetIamPolicy ¶
func (r *ProjectsLocationsDeliveryPipelinesService) GetIamPolicy(resource string) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsDeliveryPipelinesService) List ¶
func (r *ProjectsLocationsDeliveryPipelinesService) List(parent string) *ProjectsLocationsDeliveryPipelinesListCall
List: Lists DeliveryPipelines in a given project and location.
- parent: The parent, which owns this collection of pipelines. Format must be projects/{project_id}/locations/{location_name}.
func (*ProjectsLocationsDeliveryPipelinesService) Patch ¶
func (r *ProjectsLocationsDeliveryPipelinesService) Patch(name string, deliverypipeline *DeliveryPipeline) *ProjectsLocationsDeliveryPipelinesPatchCall
Patch: Updates the parameters of a single DeliveryPipeline.
- name: Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ locations/{location}/deliveryPipelines/a-z{0,62}.
func (*ProjectsLocationsDeliveryPipelinesService) RollbackTarget ¶ added in v0.141.0
func (r *ProjectsLocationsDeliveryPipelinesService) RollbackTarget(name string, rollbacktargetrequest *RollbackTargetRequest) *ProjectsLocationsDeliveryPipelinesRollbackTargetCall
RollbackTarget: Creates a `Rollout` to roll back the specified target.
- name: The `DeliveryPipeline` for which the rollback `Rollout` should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{p ipeline_name}.
func (*ProjectsLocationsDeliveryPipelinesService) SetIamPolicy ¶
func (r *ProjectsLocationsDeliveryPipelinesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsDeliveryPipelinesService) TestIamPermissions ¶
func (r *ProjectsLocationsDeliveryPipelinesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsDeliveryPipelinesSetIamPolicyCall ¶
type ProjectsLocationsDeliveryPipelinesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall ¶
type ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "clouddeploy.projects.locations.deliveryPipelines.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsGetCall ¶
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶
func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGetCall) Do ¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
Do executes the "clouddeploy.projects.locations.get" call. Exactly one of *Location or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Location.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall) Fields ¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsGetConfigCall ¶
type ProjectsLocationsGetConfigCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetConfigCall) Context ¶
func (c *ProjectsLocationsGetConfigCall) Context(ctx context.Context) *ProjectsLocationsGetConfigCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsGetConfigCall) Do ¶
func (c *ProjectsLocationsGetConfigCall) Do(opts ...googleapi.CallOption) (*Config, error)
Do executes the "clouddeploy.projects.locations.getConfig" call. Exactly one of *Config or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Config.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetConfigCall) Fields ¶
func (c *ProjectsLocationsGetConfigCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetConfigCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsGetConfigCall) Header ¶
func (c *ProjectsLocationsGetConfigCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsGetConfigCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetConfigCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetConfigCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "clouddeploy.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsOperationsCancelCall ¶
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "clouddeploy.projects.locations.operations.cancel" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall) Fields ¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsOperationsDeleteCall ¶
type ProjectsLocationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsDeleteCall) Context ¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsDeleteCall) Do ¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "clouddeploy.projects.locations.operations.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall) Fields ¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsDeleteCall) Header ¶
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsGetCall) Do ¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.operations.get" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall) Fields ¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsOperationsListCall) Do ¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
Do executes the "clouddeploy.projects.locations.operations.list" call. Exactly one of *ListOperationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListOperationsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall) Header ¶
func (c *ProjectsLocationsOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Delete ¶
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService) Get ¶
func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { DeliveryPipelines *ProjectsLocationsDeliveryPipelinesService Operations *ProjectsLocationsOperationsService Targets *ProjectsLocationsTargetsService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) GetConfig ¶
func (r *ProjectsLocationsService) GetConfig(name string) *ProjectsLocationsGetConfigCall
GetConfig: Gets the configuration for a location.
- name: Name of requested configuration.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLocationsTargetsCreateCall ¶
type ProjectsLocationsTargetsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsCreateCall) Context ¶
func (c *ProjectsLocationsTargetsCreateCall) Context(ctx context.Context) *ProjectsLocationsTargetsCreateCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsCreateCall) Do ¶
func (c *ProjectsLocationsTargetsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.targets.create" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsCreateCall) Fields ¶
func (c *ProjectsLocationsTargetsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsCreateCall) Header ¶
func (c *ProjectsLocationsTargetsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsCreateCall) RequestId ¶
func (c *ProjectsLocationsTargetsCreateCall) RequestId(requestId string) *ProjectsLocationsTargetsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsTargetsCreateCall) TargetId ¶
func (c *ProjectsLocationsTargetsCreateCall) TargetId(targetId string) *ProjectsLocationsTargetsCreateCall
TargetId sets the optional parameter "targetId": Required. ID of the `Target`.
func (*ProjectsLocationsTargetsCreateCall) ValidateOnly ¶
func (c *ProjectsLocationsTargetsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsCreateCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsTargetsDeleteCall ¶
type ProjectsLocationsTargetsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsDeleteCall) AllowMissing ¶
func (c *ProjectsLocationsTargetsDeleteCall) AllowMissing(allowMissing bool) *ProjectsLocationsTargetsDeleteCall
AllowMissing sets the optional parameter "allowMissing": If set to true, then deleting an already deleted or non-existing `Target` will succeed.
func (*ProjectsLocationsTargetsDeleteCall) Context ¶
func (c *ProjectsLocationsTargetsDeleteCall) Context(ctx context.Context) *ProjectsLocationsTargetsDeleteCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsDeleteCall) Do ¶
func (c *ProjectsLocationsTargetsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.targets.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsDeleteCall) Etag ¶
func (c *ProjectsLocationsTargetsDeleteCall) Etag(etag string) *ProjectsLocationsTargetsDeleteCall
Etag sets the optional parameter "etag": 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.
func (*ProjectsLocationsTargetsDeleteCall) Fields ¶
func (c *ProjectsLocationsTargetsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsDeleteCall) Header ¶
func (c *ProjectsLocationsTargetsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsDeleteCall) RequestId ¶
func (c *ProjectsLocationsTargetsDeleteCall) RequestId(requestId string) *ProjectsLocationsTargetsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee 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).
func (*ProjectsLocationsTargetsDeleteCall) ValidateOnly ¶
func (c *ProjectsLocationsTargetsDeleteCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsDeleteCall
ValidateOnly sets the optional parameter "validateOnly": If set, validate the request and preview the review, but do not actually post it.
type ProjectsLocationsTargetsGetCall ¶
type ProjectsLocationsTargetsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsGetCall) Context ¶
func (c *ProjectsLocationsTargetsGetCall) Context(ctx context.Context) *ProjectsLocationsTargetsGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsGetCall) Do ¶
func (c *ProjectsLocationsTargetsGetCall) Do(opts ...googleapi.CallOption) (*Target, error)
Do executes the "clouddeploy.projects.locations.targets.get" call. Exactly one of *Target or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Target.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsGetCall) Fields ¶
func (c *ProjectsLocationsTargetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsGetCall) Header ¶
func (c *ProjectsLocationsTargetsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsTargetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsGetCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
type ProjectsLocationsTargetsGetIamPolicyCall ¶
type ProjectsLocationsTargetsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTargetsGetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "clouddeploy.projects.locations.targets.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsGetIamPolicyCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsTargetsGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsTargetsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsTargetsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsTargetsListCall ¶
type ProjectsLocationsTargetsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsListCall) Context ¶
func (c *ProjectsLocationsTargetsListCall) Context(ctx context.Context) *ProjectsLocationsTargetsListCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsListCall) Do ¶
func (c *ProjectsLocationsTargetsListCall) Do(opts ...googleapi.CallOption) (*ListTargetsResponse, error)
Do executes the "clouddeploy.projects.locations.targets.list" call. Exactly one of *ListTargetsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTargetsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsListCall) Fields ¶
func (c *ProjectsLocationsTargetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsListCall) Filter ¶
func (c *ProjectsLocationsTargetsListCall) Filter(filter string) *ProjectsLocationsTargetsListCall
Filter sets the optional parameter "filter": Filter targets to be returned. See https://google.aip.dev/160 for more details.
func (*ProjectsLocationsTargetsListCall) Header ¶
func (c *ProjectsLocationsTargetsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsTargetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsTargetsListCall
IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.
func (*ProjectsLocationsTargetsListCall) OrderBy ¶
func (c *ProjectsLocationsTargetsListCall) OrderBy(orderBy string) *ProjectsLocationsTargetsListCall
OrderBy sets the optional parameter "orderBy": Field to sort by. See https://google.aip.dev/132#ordering for more details.
func (*ProjectsLocationsTargetsListCall) PageSize ¶
func (c *ProjectsLocationsTargetsListCall) PageSize(pageSize int64) *ProjectsLocationsTargetsListCall
PageSize sets the optional parameter "pageSize": 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.
func (*ProjectsLocationsTargetsListCall) PageToken ¶
func (c *ProjectsLocationsTargetsListCall) PageToken(pageToken string) *ProjectsLocationsTargetsListCall
PageToken sets the optional parameter "pageToken": 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.
func (*ProjectsLocationsTargetsListCall) Pages ¶
func (c *ProjectsLocationsTargetsListCall) Pages(ctx context.Context, f func(*ListTargetsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsTargetsPatchCall ¶
type ProjectsLocationsTargetsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsPatchCall) AllowMissing ¶
func (c *ProjectsLocationsTargetsPatchCall) AllowMissing(allowMissing bool) *ProjectsLocationsTargetsPatchCall
AllowMissing sets the optional parameter "allowMissing": If set to true, updating a `Target` that does not exist will result in the creation of a new `Target`.
func (*ProjectsLocationsTargetsPatchCall) Context ¶
func (c *ProjectsLocationsTargetsPatchCall) Context(ctx context.Context) *ProjectsLocationsTargetsPatchCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsPatchCall) Do ¶
func (c *ProjectsLocationsTargetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "clouddeploy.projects.locations.targets.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsPatchCall) Fields ¶
func (c *ProjectsLocationsTargetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsPatchCall) Header ¶
func (c *ProjectsLocationsTargetsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsTargetsPatchCall) RequestId ¶
func (c *ProjectsLocationsTargetsPatchCall) RequestId(requestId string) *ProjectsLocationsTargetsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since 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).
func (*ProjectsLocationsTargetsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsTargetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsTargetsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask is used to specify the fields to be overwritten in the Target resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
func (*ProjectsLocationsTargetsPatchCall) ValidateOnly ¶
func (c *ProjectsLocationsTargetsPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsTargetsPatchCall
ValidateOnly sets the optional parameter "validateOnly": If set to true, the request is validated and the user is provided with an expected result, but no actual change is made.
type ProjectsLocationsTargetsService ¶
type ProjectsLocationsTargetsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsTargetsService ¶
func NewProjectsLocationsTargetsService(s *Service) *ProjectsLocationsTargetsService
func (*ProjectsLocationsTargetsService) Create ¶
func (r *ProjectsLocationsTargetsService) Create(parent string, target *Target) *ProjectsLocationsTargetsCreateCall
Create: Creates a new Target in a given project and location.
- parent: The parent collection in which the `Target` should be created. Format should be projects/{project_id}/locations/{location_name}.
func (*ProjectsLocationsTargetsService) Delete ¶
func (r *ProjectsLocationsTargetsService) Delete(name string) *ProjectsLocationsTargetsDeleteCall
Delete: Deletes a single Target.
- name: The name of the `Target` to delete. Format should be projects/{project_id}/locations/{location_name}/targets/{target_name }.
func (*ProjectsLocationsTargetsService) Get ¶
func (r *ProjectsLocationsTargetsService) Get(name string) *ProjectsLocationsTargetsGetCall
Get: Gets details of a single Target.
- name: Name of the `Target`. Format must be projects/{project_id}/locations/{location_name}/targets/{target_name }.
func (*ProjectsLocationsTargetsService) GetIamPolicy ¶
func (r *ProjectsLocationsTargetsService) GetIamPolicy(resource string) *ProjectsLocationsTargetsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsTargetsService) List ¶
func (r *ProjectsLocationsTargetsService) List(parent string) *ProjectsLocationsTargetsListCall
List: Lists Targets in a given project and location.
- parent: The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}.
func (*ProjectsLocationsTargetsService) Patch ¶
func (r *ProjectsLocationsTargetsService) Patch(name string, target *Target) *ProjectsLocationsTargetsPatchCall
Patch: Updates the parameters of a single Target.
- name: Optional. Name of the `Target`. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.
func (*ProjectsLocationsTargetsService) SetIamPolicy ¶
func (r *ProjectsLocationsTargetsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsTargetsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsTargetsService) TestIamPermissions ¶
func (r *ProjectsLocationsTargetsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsTargetsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsTargetsSetIamPolicyCall ¶
type ProjectsLocationsTargetsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsTargetsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsTargetsSetIamPolicyCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsTargetsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "clouddeploy.projects.locations.targets.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsTargetsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsTargetsSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsTargetsTestIamPermissionsCall ¶
type ProjectsLocationsTargetsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsTargetsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsTargetsTestIamPermissionsCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*ProjectsLocationsTargetsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "clouddeploy.projects.locations.targets.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsTargetsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsTargetsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsTargetsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsTargetsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsService ¶
type ProjectsService struct { Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Release ¶
type Release struct { // Abandoned: Output only. Indicates whether this is an abandoned // release. Abandoned bool `json:"abandoned,omitempty"` // Annotations: 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 `json:"annotations,omitempty"` // BuildArtifacts: List of artifacts to pass through to Skaffold // command. BuildArtifacts []*BuildArtifact `json:"buildArtifacts,omitempty"` // Condition: Output only. Information around the state of the Release. Condition *ReleaseCondition `json:"condition,omitempty"` // CreateTime: Output only. Time at which the `Release` was created. CreateTime string `json:"createTime,omitempty"` // DeliveryPipelineSnapshot: Output only. Snapshot of the parent // pipeline taken at release creation time. DeliveryPipelineSnapshot *DeliveryPipeline `json:"deliveryPipelineSnapshot,omitempty"` // DeployParameters: Optional. The deploy parameters to use for all // targets in this release. DeployParameters map[string]string `json:"deployParameters,omitempty"` // Description: Description of the `Release`. Max length is 255 // characters. Description string `json:"description,omitempty"` // Etag: 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 `json:"etag,omitempty"` // Labels: 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 map[string]string `json:"labels,omitempty"` // Name: Optional. Name of the `Release`. Format is projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/a-z{0,62}. Name string `json:"name,omitempty"` // RenderEndTime: Output only. Time at which the render completed. RenderEndTime string `json:"renderEndTime,omitempty"` // RenderStartTime: Output only. Time at which the render began. RenderStartTime string `json:"renderStartTime,omitempty"` // RenderState: Output only. Current state of the render operation. // // Possible values: // "RENDER_STATE_UNSPECIFIED" - The render state is unspecified. // "SUCCEEDED" - All rendering operations have completed successfully. // "FAILED" - All rendering operations have completed, and one or more // have failed. // "IN_PROGRESS" - Rendering has started and is not complete. RenderState string `json:"renderState,omitempty"` // SkaffoldConfigPath: Filepath of the Skaffold config inside of the // config URI. SkaffoldConfigPath string `json:"skaffoldConfigPath,omitempty"` // SkaffoldConfigUri: Cloud Storage URI of tar.gz archive containing // Skaffold configuration. SkaffoldConfigUri string `json:"skaffoldConfigUri,omitempty"` // SkaffoldVersion: 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 `json:"skaffoldVersion,omitempty"` // TargetArtifacts: Output only. Map from target ID to the target // artifacts created during the render operation. TargetArtifacts map[string]TargetArtifact `json:"targetArtifacts,omitempty"` // TargetRenders: Output only. Map from target ID to details of the // render operation for that target. TargetRenders map[string]TargetRender `json:"targetRenders,omitempty"` // TargetSnapshots: Output only. Snapshot of the targets taken at // release creation time. TargetSnapshots []*Target `json:"targetSnapshots,omitempty"` // Uid: Output only. Unique identifier of the `Release`. Uid string `json:"uid,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Abandoned") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Abandoned") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Release: A `Release` resource in the Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
func (*Release) MarshalJSON ¶
type ReleaseCondition ¶ added in v0.111.0
type ReleaseCondition struct { // ReleaseReadyCondition: Details around the Releases's overall status. ReleaseReadyCondition *ReleaseReadyCondition `json:"releaseReadyCondition,omitempty"` // SkaffoldSupportedCondition: Details around the support state of the // release's skaffold version. SkaffoldSupportedCondition *SkaffoldSupportedCondition `json:"skaffoldSupportedCondition,omitempty"` // ForceSendFields is a list of field names (e.g. // "ReleaseReadyCondition") to unconditionally include in API requests. // By default, fields with empty or default values are omitted from API // requests. However, any non-pointer, non-interface field appearing in // ForceSendFields will be sent to the server regardless of whether the // field is empty or not. This may be used to include empty fields in // Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReleaseReadyCondition") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
ReleaseCondition: ReleaseCondition contains all conditions relevant to a Release.
func (*ReleaseCondition) MarshalJSON ¶ added in v0.111.0
func (s *ReleaseCondition) MarshalJSON() ([]byte, error)
type ReleaseNotificationEvent ¶ added in v0.75.0
type ReleaseNotificationEvent struct { // Message: Debug message for when a notification fails to send. Message string `json:"message,omitempty"` // Release: The name of the `Release`. Release string `json:"release,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReleaseNotificationEvent: 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) MarshalJSON ¶ added in v0.75.0
func (s *ReleaseNotificationEvent) MarshalJSON() ([]byte, error)
type ReleaseReadyCondition ¶ added in v0.111.0
type ReleaseReadyCondition struct { // Status: 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 `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "Status") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Status") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReleaseReadyCondition: ReleaseReadyCondition contains information around the status of the Release. If a release is not ready, you cannot create a rollout with the release.
func (*ReleaseReadyCondition) MarshalJSON ¶ added in v0.111.0
func (s *ReleaseReadyCondition) MarshalJSON() ([]byte, error)
type ReleaseRenderEvent ¶ added in v0.75.0
type ReleaseRenderEvent struct { // Message: Debug message for when a render transition occurs. Provides // further details as rendering progresses through render states. Message string `json:"message,omitempty"` // Release: The name of the `Release`. Release string `json:"release,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ReleaseRenderEvent: Payload proto for "clouddeploy.googleapis.com/release_render" Platform Log event that describes the render status change.
func (*ReleaseRenderEvent) MarshalJSON ¶ added in v0.75.0
func (s *ReleaseRenderEvent) MarshalJSON() ([]byte, error)
type RenderMetadata ¶ added in v0.115.0
type RenderMetadata struct { // CloudRun: Output only. Metadata associated with rendering for Cloud // Run. CloudRun *CloudRunRenderMetadata `json:"cloudRun,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRun") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudRun") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RenderMetadata: RenderMetadata includes information associated with a `Release` render.
func (*RenderMetadata) MarshalJSON ¶ added in v0.115.0
func (s *RenderMetadata) MarshalJSON() ([]byte, error)
type RetryJobRequest ¶ added in v0.98.0
type RetryJobRequest struct { // JobId: Required. The job ID for the Job to retry. JobId string `json:"jobId,omitempty"` // PhaseId: Required. The phase ID the Job to retry belongs to. PhaseId string `json:"phaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "JobId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "JobId") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RetryJobRequest: RetryJobRequest is the request object used by `RetryJob`.
func (*RetryJobRequest) MarshalJSON ¶ added in v0.98.0
func (s *RetryJobRequest) MarshalJSON() ([]byte, error)
type RetryJobResponse ¶ added in v0.98.0
type RetryJobResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
RetryJobResponse: The response object from 'RetryJob'.
type RollbackTargetConfig ¶ added in v0.141.0
type RollbackTargetConfig struct { // Rollout: Optional. The rollback `Rollout` to create. Rollout *Rollout `json:"rollout,omitempty"` // StartingPhaseId: Optional. The starting phase ID for the `Rollout`. // If unspecified, the `Rollout` will start in the stable phase. StartingPhaseId string `json:"startingPhaseId,omitempty"` // ForceSendFields is a list of field names (e.g. "Rollout") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Rollout") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RollbackTargetConfig: Configs for the Rollback rollout.
func (*RollbackTargetConfig) MarshalJSON ¶ added in v0.141.0
func (s *RollbackTargetConfig) MarshalJSON() ([]byte, error)
type RollbackTargetRequest ¶ added in v0.141.0
type RollbackTargetRequest struct { // ReleaseId: 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 `json:"releaseId,omitempty"` // RollbackConfig: Optional. Configs for the rollback `Rollout`. RollbackConfig *RollbackTargetConfig `json:"rollbackConfig,omitempty"` // RolloutId: Required. ID of the rollback `Rollout` to create. RolloutId string `json:"rolloutId,omitempty"` // RolloutToRollBack: Optional. If provided, this must be the latest // `Rollout` that is on the `Target`. RolloutToRollBack string `json:"rolloutToRollBack,omitempty"` // TargetId: Required. ID of the `Target` that is being rolled back. TargetId string `json:"targetId,omitempty"` // ValidateOnly: Optional. If set to true, the request is validated and // the user is provided with a `RollbackTargetResponse`. ValidateOnly bool `json:"validateOnly,omitempty"` // ForceSendFields is a list of field names (e.g. "ReleaseId") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ReleaseId") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RollbackTargetRequest: The request object for `RollbackTarget`.
func (*RollbackTargetRequest) MarshalJSON ¶ added in v0.141.0
func (s *RollbackTargetRequest) MarshalJSON() ([]byte, error)
type RollbackTargetResponse ¶ added in v0.141.0
type RollbackTargetResponse struct { // RollbackConfig: The config of the rollback `Rollout` created or will // be created. RollbackConfig *RollbackTargetConfig `json:"rollbackConfig,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "RollbackConfig") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "RollbackConfig") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
RollbackTargetResponse: The response object from `RollbackTarget`.
func (*RollbackTargetResponse) MarshalJSON ¶ added in v0.141.0
func (s *RollbackTargetResponse) MarshalJSON() ([]byte, error)
type Rollout ¶
type Rollout struct { // Annotations: 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 `json:"annotations,omitempty"` // ApprovalState: Output only. Approval state of the `Rollout`. // // Possible values: // "APPROVAL_STATE_UNSPECIFIED" - The `Rollout` has an unspecified // approval state. // "NEEDS_APPROVAL" - The `Rollout` requires approval. // "DOES_NOT_NEED_APPROVAL" - The `Rollout` does not require approval. // "APPROVED" - The `Rollout` has been approved. // "REJECTED" - The `Rollout` has been rejected. ApprovalState string `json:"approvalState,omitempty"` // ApproveTime: Output only. Time at which the `Rollout` was approved. ApproveTime string `json:"approveTime,omitempty"` // ControllerRollout: Output only. Name of the `ControllerRollout`. // Format is projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/{release}/rollouts/a-z{0,62}. ControllerRollout string `json:"controllerRollout,omitempty"` // CreateTime: Output only. Time at which the `Rollout` was created. CreateTime string `json:"createTime,omitempty"` // DeployEndTime: Output only. Time at which the `Rollout` finished // deploying. DeployEndTime string `json:"deployEndTime,omitempty"` // DeployFailureCause: Output only. The reason this rollout failed. This // will always be unspecified while the rollout is in progress. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The deploy operation did not complete // successfully; check Cloud Build logs. // "DEADLINE_EXCEEDED" - Deployment did not complete within the // alloted time. // "RELEASE_FAILED" - Release is in a failed state. // "RELEASE_ABANDONED" - Release is abandoned. // "VERIFICATION_CONFIG_NOT_FOUND" - No skaffold verify configuration // was found. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. DeployFailureCause string `json:"deployFailureCause,omitempty"` // DeployStartTime: Output only. Time at which the `Rollout` started // deploying. DeployStartTime string `json:"deployStartTime,omitempty"` // DeployingBuild: 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 `json:"deployingBuild,omitempty"` // Description: Description of the `Rollout` for user purposes. Max // length is 255 characters. Description string `json:"description,omitempty"` // EnqueueTime: Output only. Time at which the `Rollout` was enqueued. EnqueueTime string `json:"enqueueTime,omitempty"` // Etag: 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 `json:"etag,omitempty"` // FailureReason: Output only. Additional information about the rollout // failure, if available. FailureReason string `json:"failureReason,omitempty"` // Labels: 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 map[string]string `json:"labels,omitempty"` // Metadata: Output only. Metadata contains information about the // rollout. Metadata *Metadata `json:"metadata,omitempty"` // Name: Optional. Name of the `Rollout`. Format is projects/{project}/ // locations/{location}/deliveryPipelines/{deliveryPipeline}/ // releases/{release}/rollouts/a-z{0,62}. Name string `json:"name,omitempty"` // Phases: Output only. The phases that represent the workflows of this // `Rollout`. Phases []*Phase `json:"phases,omitempty"` // RollbackOfRollout: 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 `json:"rollbackOfRollout,omitempty"` // RolledBackByRollouts: Output only. Names of `Rollouts` that rolled // back this `Rollout`. RolledBackByRollouts []string `json:"rolledBackByRollouts,omitempty"` // State: Output only. Current state of the `Rollout`. // // Possible values: // "STATE_UNSPECIFIED" - The `Rollout` has an unspecified state. // "SUCCEEDED" - The `Rollout` has completed successfully. // "FAILED" - The `Rollout` has failed. // "IN_PROGRESS" - The `Rollout` is being deployed. // "PENDING_APPROVAL" - The `Rollout` needs approval. // "APPROVAL_REJECTED" - An approver rejected the `Rollout`. // "PENDING" - The `Rollout` is waiting for an earlier Rollout(s) to // complete on this `Target`. // "PENDING_RELEASE" - The `Rollout` is waiting for the `Release` to // be fully rendered. // "CANCELLING" - The `Rollout` is in the process of being cancelled. // "CANCELLED" - The `Rollout` has been cancelled. // "HALTED" - The `Rollout` is halted. State string `json:"state,omitempty"` // TargetId: Required. The ID of Target to which this `Rollout` is // deploying. TargetId string `json:"targetId,omitempty"` // Uid: Output only. Unique identifier of the `Rollout`. Uid string `json:"uid,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Rollout: A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.
func (*Rollout) MarshalJSON ¶
type RolloutNotificationEvent ¶ added in v0.75.0
type RolloutNotificationEvent struct { // Message: Debug message for when a notification fails to send. Message string `json:"message,omitempty"` // PipelineUid: Unique identifier of the `DeliveryPipeline`. PipelineUid string `json:"pipelineUid,omitempty"` // ReleaseUid: Unique identifier of the `Release`. ReleaseUid string `json:"releaseUid,omitempty"` // Rollout: The name of the `Rollout`. Rollout string `json:"rollout,omitempty"` // TargetId: ID of the `Target` that the rollout is deployed to. TargetId string `json:"targetId,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RolloutNotificationEvent: 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) MarshalJSON ¶ added in v0.75.0
func (s *RolloutNotificationEvent) MarshalJSON() ([]byte, error)
type RuntimeConfig ¶ added in v0.115.0
type RuntimeConfig struct { // CloudRun: Cloud Run runtime configuration. CloudRun *CloudRunConfig `json:"cloudRun,omitempty"` // Kubernetes: Kubernetes runtime configuration. Kubernetes *KubernetesConfig `json:"kubernetes,omitempty"` // ForceSendFields is a list of field names (e.g. "CloudRun") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "CloudRun") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
RuntimeConfig: RuntimeConfig contains the runtime specific configurations for a deployment strategy.
func (*RuntimeConfig) MarshalJSON ¶ added in v0.115.0
func (s *RuntimeConfig) MarshalJSON() ([]byte, error)
type SerialPipeline ¶
type SerialPipeline struct { // Stages: Each stage specifies configuration for a `Target`. The // ordering of this list defines the promotion flow. Stages []*Stage `json:"stages,omitempty"` // ForceSendFields is a list of field names (e.g. "Stages") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Stages") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SerialPipeline: SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`.
func (*SerialPipeline) MarshalJSON ¶
func (s *SerialPipeline) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.
type ServiceNetworking ¶ added in v0.115.0
type ServiceNetworking struct { // Deployment: Required. Name of the Kubernetes Deployment whose traffic // is managed by the specified Service. Deployment string `json:"deployment,omitempty"` // DisablePodOverprovisioning: 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 `json:"disablePodOverprovisioning,omitempty"` // Service: Required. Name of the Kubernetes Service. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Deployment") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Deployment") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
ServiceNetworking: Information about the Kubernetes Service networking configuration.
func (*ServiceNetworking) MarshalJSON ¶ added in v0.115.0
func (s *ServiceNetworking) MarshalJSON() ([]byte, error)
type SetIamPolicyRequest ¶
type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` // UpdateMask: OPTIONAL: A FieldMask specifying which fields of the // policy to modify. Only the fields in the mask will be modified. If no // mask is provided, the following default mask is used: `paths: // "bindings, etag" UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Policy") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Policy") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (*SetIamPolicyRequest) MarshalJSON ¶
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type SkaffoldSupportedCondition ¶ added in v0.111.0
type SkaffoldSupportedCondition struct { // MaintenanceModeTime: The time at which this release's version of // skaffold will enter maintenance mode. MaintenanceModeTime string `json:"maintenanceModeTime,omitempty"` // SkaffoldSupportState: The skaffold support state for this release's // version of skaffold. // // Possible values: // "SKAFFOLD_SUPPORT_STATE_UNSPECIFIED" - Default value. This value is // unused. // "SKAFFOLD_SUPPORT_STATE_SUPPORTED" - This skaffold version is // currently supported. // "SKAFFOLD_SUPPORT_STATE_MAINTENANCE_MODE" - This skaffold version // is in maintenance mode. // "SKAFFOLD_SUPPORT_STATE_UNSUPPORTED" - This skaffold version is no // longer supported. SkaffoldSupportState string `json:"skaffoldSupportState,omitempty"` // Status: True if the version of skaffold used by this release is // supported. Status bool `json:"status,omitempty"` // SupportExpirationTime: The time at which this release's version of // skaffold will no longer be supported. SupportExpirationTime string `json:"supportExpirationTime,omitempty"` // ForceSendFields is a list of field names (e.g. "MaintenanceModeTime") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaintenanceModeTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
SkaffoldSupportedCondition: SkaffoldSupportedCondition contains information about when support for the release's version of skaffold ends.
func (*SkaffoldSupportedCondition) MarshalJSON ¶ added in v0.111.0
func (s *SkaffoldSupportedCondition) MarshalJSON() ([]byte, error)
type SkaffoldVersion ¶
type SkaffoldVersion struct { // MaintenanceModeTime: The time at which this version of skaffold will // enter maintenance mode. MaintenanceModeTime string `json:"maintenanceModeTime,omitempty"` // SupportEndDate: Date when this version is expected to no longer be // supported. SupportEndDate *Date `json:"supportEndDate,omitempty"` // SupportExpirationTime: The time at which this version of skaffold // will no longer be supported. SupportExpirationTime string `json:"supportExpirationTime,omitempty"` // Version: Release version number. For example, "1.20.3". Version string `json:"version,omitempty"` // ForceSendFields is a list of field names (e.g. "MaintenanceModeTime") // to unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MaintenanceModeTime") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
SkaffoldVersion: Details of a supported Skaffold version.
func (*SkaffoldVersion) MarshalJSON ¶
func (s *SkaffoldVersion) MarshalJSON() ([]byte, error)
type Stage ¶
type Stage struct { // DeployParameters: Optional. The deploy parameters to use for the // target in this stage. DeployParameters []*DeployParameters `json:"deployParameters,omitempty"` // Profiles: Skaffold profiles to use when rendering the manifest for // this stage's `Target`. Profiles []string `json:"profiles,omitempty"` // Strategy: Optional. The strategy to use for a `Rollout` to this // stage. Strategy *Strategy `json:"strategy,omitempty"` // TargetId: 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 `json:"targetId,omitempty"` // ForceSendFields is a list of field names (e.g. "DeployParameters") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "DeployParameters") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
Stage: Stage specifies a location to which to deploy.
func (*Stage) MarshalJSON ¶
type Standard ¶ added in v0.98.0
type Standard struct { // Postdeploy: Optional. Configuration for the postdeploy job. If this // is not configured, postdeploy job will not be present. Postdeploy *Postdeploy `json:"postdeploy,omitempty"` // Predeploy: Optional. Configuration for the predeploy job. If this is // not configured, predeploy job will not be present. Predeploy *Predeploy `json:"predeploy,omitempty"` // Verify: Whether to verify a deployment. Verify bool `json:"verify,omitempty"` // ForceSendFields is a list of field names (e.g. "Postdeploy") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Postdeploy") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Standard: Standard represents the standard deployment strategy.
func (*Standard) MarshalJSON ¶ added in v0.98.0
type Status ¶
type Status struct { // Code: The status code, which should be an enum value of // google.rpc.Code. Code int64 `json:"code,omitempty"` // Details: A list of messages that carry the error details. There is a // common set of message types for APIs to use. Details []googleapi.RawMessage `json:"details,omitempty"` // Message: A developer-facing error message, which should be in // English. Any user-facing error message should be localized and sent // in the google.rpc.Status.details field, or localized by the client. Message string `json:"message,omitempty"` // ForceSendFields is a list of field names (e.g. "Code") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Code") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
func (*Status) MarshalJSON ¶
type Strategy ¶ added in v0.98.0
type Strategy struct { // Canary: Canary deployment strategy provides progressive percentage // based deployments to a Target. Canary *Canary `json:"canary,omitempty"` // Standard: Standard deployment strategy executes a single deploy and // allows verifying the deployment. Standard *Standard `json:"standard,omitempty"` // ForceSendFields is a list of field names (e.g. "Canary") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Canary") to include in API // requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Strategy: Strategy contains deployment strategy information.
func (*Strategy) MarshalJSON ¶ added in v0.98.0
type Target ¶
type Target struct { // Annotations: 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 `json:"annotations,omitempty"` // AnthosCluster: Optional. Information specifying an Anthos Cluster. AnthosCluster *AnthosCluster `json:"anthosCluster,omitempty"` // CreateTime: Output only. Time at which the `Target` was created. CreateTime string `json:"createTime,omitempty"` // DeployParameters: Optional. The deploy parameters to use for this // target. DeployParameters map[string]string `json:"deployParameters,omitempty"` // Description: Optional. Description of the `Target`. Max length is 255 // characters. Description string `json:"description,omitempty"` // Etag: 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 `json:"etag,omitempty"` // ExecutionConfigs: 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 `json:"executionConfigs,omitempty"` // Gke: Optional. Information specifying a GKE Cluster. Gke *GkeCluster `json:"gke,omitempty"` // Labels: 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 map[string]string `json:"labels,omitempty"` // MultiTarget: Optional. Information specifying a multiTarget. MultiTarget *MultiTarget `json:"multiTarget,omitempty"` // Name: Optional. Name of the `Target`. Format is // projects/{project}/locations/{location}/targets/a-z{0,62}. Name string `json:"name,omitempty"` // RequireApproval: Optional. Whether or not the `Target` requires // approval. RequireApproval bool `json:"requireApproval,omitempty"` // Run: Optional. Information specifying a Cloud Run deployment target. Run *CloudRunLocation `json:"run,omitempty"` // TargetId: Output only. Resource id of the `Target`. TargetId string `json:"targetId,omitempty"` // Uid: Output only. Unique identifier of the `Target`. Uid string `json:"uid,omitempty"` // UpdateTime: Output only. Most recent time at which the `Target` was // updated. UpdateTime string `json:"updateTime,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Annotations") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Annotations") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
Target: A `Target` resource in the Cloud Deploy API. A `Target` defines a location to which a Skaffold configuration can be deployed.
func (*Target) MarshalJSON ¶
type TargetArtifact ¶
type TargetArtifact struct { // ArtifactUri: 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 `json:"artifactUri,omitempty"` // ManifestPath: Output only. File path of the rendered manifest // relative to the URI. ManifestPath string `json:"manifestPath,omitempty"` // PhaseArtifacts: Output only. Map from the phase ID to the phase // artifacts for the `Target`. PhaseArtifacts map[string]PhaseArtifact `json:"phaseArtifacts,omitempty"` // SkaffoldConfigPath: Output only. File path of the resolved Skaffold // configuration relative to the URI. SkaffoldConfigPath string `json:"skaffoldConfigPath,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TargetArtifact: The artifacts produced by a target render operation.
func (*TargetArtifact) MarshalJSON ¶
func (s *TargetArtifact) MarshalJSON() ([]byte, error)
type TargetNotificationEvent ¶ added in v0.75.0
type TargetNotificationEvent struct { // Message: Debug message for when a notification fails to send. Message string `json:"message,omitempty"` // Target: The name of the `Target`. Target string `json:"target,omitempty"` // Type: Type of this notification, e.g. for a Pub/Sub failure. // // Possible values: // "TYPE_UNSPECIFIED" - Type is unspecified. // "TYPE_PUBSUB_NOTIFICATION_FAILURE" - A Pub/Sub notification failed // to be sent. // "TYPE_RESOURCE_STATE_CHANGE" - Resource state changed. // "TYPE_PROCESS_ABORTED" - A process aborted. // "TYPE_RESTRICTION_VIOLATED" - Restriction check failed. // "TYPE_RESOURCE_DELETED" - Resource deleted. // "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never // used. Use release_render log type instead. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Message") to include in // API requests with the JSON null value. By default, fields with empty // values are omitted from API requests. However, any field with an // empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TargetNotificationEvent: 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) MarshalJSON ¶ added in v0.75.0
func (s *TargetNotificationEvent) MarshalJSON() ([]byte, error)
type TargetRender ¶
type TargetRender struct { // FailureCause: Output only. Reason this render failed. This will // always be unspecified while the render in progress. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The render operation did not complete // successfully; check Cloud Build logs. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. // "CUSTOM_ACTION_NOT_FOUND" - The render operation did not complete // successfully because the custom action required for predeploy or // postdeploy was not found in the skaffold configuration. See // failure_message for additional details. FailureCause string `json:"failureCause,omitempty"` // FailureMessage: Output only. Additional information about the render // failure, if available. FailureMessage string `json:"failureMessage,omitempty"` // Metadata: Output only. Metadata related to the `Release` render for // this Target. Metadata *RenderMetadata `json:"metadata,omitempty"` // RenderingBuild: 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 `json:"renderingBuild,omitempty"` // RenderingState: Output only. Current state of the render operation // for this Target. // // Possible values: // "TARGET_RENDER_STATE_UNSPECIFIED" - The render operation state is // unspecified. // "SUCCEEDED" - The render operation has completed successfully. // "FAILED" - The render operation has failed. // "IN_PROGRESS" - The render operation is in progress. RenderingState string `json:"renderingState,omitempty"` // ForceSendFields is a list of field names (e.g. "FailureCause") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "FailureCause") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TargetRender: Details of rendering for a single target.
func (*TargetRender) MarshalJSON ¶
func (s *TargetRender) MarshalJSON() ([]byte, error)
type TargetsPresentCondition ¶
type TargetsPresentCondition struct { // MissingTargets: The list of Target names that do not exist. For // example, // projects/{project_id}/locations/{location_name}/targets/{target_name}. MissingTargets []string `json:"missingTargets,omitempty"` // Status: True if there aren't any missing Targets. Status bool `json:"status,omitempty"` // UpdateTime: Last time the condition was updated. UpdateTime string `json:"updateTime,omitempty"` // ForceSendFields is a list of field names (e.g. "MissingTargets") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "MissingTargets") to // include in API requests with the JSON null value. By default, fields // with empty values are omitted from API requests. However, any field // with an empty value appearing in NullFields will be sent to the // server as null. It is an error if a field in this list has a // non-empty value. This may be used to include null fields in Patch // requests. NullFields []string `json:"-"` }
TargetsPresentCondition: TargetsPresentCondition contains information on any Targets defined in the Delivery Pipeline that do not actually exist.
func (*TargetsPresentCondition) MarshalJSON ¶
func (s *TargetsPresentCondition) MarshalJSON() ([]byte, error)
type TargetsTypeCondition ¶ added in v0.106.0
type TargetsTypeCondition struct { // ErrorDetails: Human readable error message. ErrorDetails string `json:"errorDetails,omitempty"` // Status: 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 `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "ErrorDetails") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ErrorDetails") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TargetsTypeCondition: TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.
func (*TargetsTypeCondition) MarshalJSON ¶ added in v0.106.0
func (s *TargetsTypeCondition) MarshalJSON() ([]byte, error)
type TerminateJobRunRequest ¶ added in v0.115.0
type TerminateJobRunRequest struct { }
TerminateJobRunRequest: The request object used by `TerminateJobRun`.
type TerminateJobRunResponse ¶ added in v0.115.0
type TerminateJobRunResponse struct { // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` }
TerminateJobRunResponse: The response object from `TerminateJobRun`.
type TestIamPermissionsRequest ¶
type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,omitempty"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (*TestIamPermissionsRequest) MarshalJSON ¶
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶
type TestIamPermissionsResponse struct { // Permissions: A subset of `TestPermissionsRequest.permissions` that // the caller is allowed. Permissions []string `json:"permissions,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Permissions") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "Permissions") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
func (*TestIamPermissionsResponse) MarshalJSON ¶
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type VerifyJobRun ¶ added in v0.98.0
type VerifyJobRun struct { // ArtifactUri: Output only. URI of a directory containing the verify // artifacts. This contains the Skaffold event log. ArtifactUri string `json:"artifactUri,omitempty"` // Build: 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 `json:"build,omitempty"` // EventLogPath: Output only. File path of the Skaffold event log // relative to the artifact URI. EventLogPath string `json:"eventLogPath,omitempty"` // FailureCause: Output only. The reason the verify failed. This will // always be unspecified while the verify is in progress or if it // succeeded. // // Possible values: // "FAILURE_CAUSE_UNSPECIFIED" - No reason for failure is specified. // "CLOUD_BUILD_UNAVAILABLE" - 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). // "EXECUTION_FAILED" - The verify operation did not complete // successfully; check Cloud Build logs. // "DEADLINE_EXCEEDED" - The verify job run did not complete within // the alloted time. // "VERIFICATION_CONFIG_NOT_FOUND" - No Skaffold verify configuration // was found. // "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud // Deploy's request. See failure_message for additional details. FailureCause string `json:"failureCause,omitempty"` // FailureMessage: Output only. Additional information about the verify // failure, if available. FailureMessage string `json:"failureMessage,omitempty"` // ForceSendFields is a list of field names (e.g. "ArtifactUri") to // unconditionally include in API requests. By default, fields with // empty or default values are omitted from API requests. However, any // non-pointer, non-interface field appearing in ForceSendFields will be // sent to the server regardless of whether the field is empty or not. // This may be used to include empty fields in Patch requests. ForceSendFields []string `json:"-"` // NullFields is a list of field names (e.g. "ArtifactUri") to include // in API requests with the JSON null value. By default, fields with // empty values are omitted from API requests. However, any field with // an empty value appearing in NullFields will be sent to the server as // null. It is an error if a field in this list has a non-empty value. // This may be used to include null fields in Patch requests. NullFields []string `json:"-"` }
VerifyJobRun: VerifyJobRun contains information specific to a verify `JobRun`.
func (*VerifyJobRun) MarshalJSON ¶ added in v0.98.0
func (s *VerifyJobRun) MarshalJSON() ([]byte, error)