Movatterモバイル変換


[0]ホーム

URL:


clouddeploy

package
v0.257.0Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:2

Details

Repository

github.com/googleapis/google-api-go-client

Links

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, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany 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 forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.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 OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)clouddeployService, err := clouddeploy.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

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

typeAbandonReleaseRequestadded inv0.85.0

type AbandonReleaseRequest struct {}

AbandonReleaseRequest: The request object used by `AbandonRelease`.

typeAbandonReleaseResponseadded inv0.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`.

typeAdvanceChildRolloutJobadded inv0.112.0

type AdvanceChildRolloutJob struct {}

AdvanceChildRolloutJob: An advanceChildRollout Job.

typeAdvanceChildRolloutJobRunadded inv0.112.0

type AdvanceChildRolloutJobRun struct {// Rollout: Output only. Name of the `ChildRollout`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{release}/rollouts/{rollout}`.Rolloutstring `json:"rollout,omitempty"`// RolloutPhaseId: Output only. the ID of the ChildRollout's Phase.RolloutPhaseIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AdvanceChildRolloutJobRun: AdvanceChildRolloutJobRun contains informationspecific to a advanceChildRollout `JobRun`.

func (AdvanceChildRolloutJobRun)MarshalJSONadded inv0.112.0

func (sAdvanceChildRolloutJobRun) MarshalJSON() ([]byte,error)

typeAdvanceRolloutOperationadded inv0.150.0

type AdvanceRolloutOperation struct {// DestinationPhase: Output only. The phase the rollout will be advanced to.DestinationPhasestring `json:"destinationPhase,omitempty"`// Rollout: Output only. The name of the rollout that initiates the// `AutomationRun`.Rolloutstring `json:"rollout,omitempty"`// SourcePhase: Output only. The phase of a deployment that initiated the// operation.SourcePhasestring `json:"sourcePhase,omitempty"`// Wait: Output only. How long the operation will be paused.Waitstring `json:"wait,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationPhase") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationPhase") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AdvanceRolloutOperation: Contains the information of an automatedadvance-rollout operation.

func (AdvanceRolloutOperation)MarshalJSONadded inv0.150.0

func (sAdvanceRolloutOperation) MarshalJSON() ([]byte,error)

typeAdvanceRolloutRequestadded inv0.115.0

type AdvanceRolloutRequest struct {// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// PhaseId: Required. The phase ID to advance the `Rollout` to.PhaseIdstring `json:"phaseId,omitempty"`// ForceSendFields is a list of field names (e.g. "OverrideDeployPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OverrideDeployPolicy") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AdvanceRolloutRequest: The request object used by `AdvanceRollout`.

func (AdvanceRolloutRequest)MarshalJSONadded inv0.115.0

func (sAdvanceRolloutRequest) MarshalJSON() ([]byte,error)

typeAdvanceRolloutResponseadded inv0.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`.

typeAdvanceRolloutRuleadded inv0.150.0

type AdvanceRolloutRule struct {// Condition: Output only. Information around the state of the Automation rule.Condition *AutomationRuleCondition `json:"condition,omitempty"`// Id: Required. ID of the rule. This id must be unique in the `Automation`// resource to which this rule belongs. The format is// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.Idstring `json:"id,omitempty"`// SourcePhases: Optional. Proceeds only after phase name matched any one in// the list. This value must consist of lower-case letters, numbers, and// hyphens, start with a letter and end with a letter or a number, and have a// max length of 63 characters. In other words, it must match the following// regex: `^a-z ([a-z0-9-]{0,61}[a-z0-9])?$`.SourcePhases []string `json:"sourcePhases,omitempty"`// Wait: Optional. How long to wait after a rollout is finished.Waitstring `json:"wait,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AdvanceRolloutRule: The `AdvanceRollout` automation rule will automaticallyadvance a successful Rollout to the next phase.

func (AdvanceRolloutRule)MarshalJSONadded inv0.150.0

func (sAdvanceRolloutRule) MarshalJSON() ([]byte,error)

typeAnthosClusteradded inv0.67.0

type AnthosCluster struct {// Membership: Optional. Membership of the GKE Hub-registered cluster to which// to apply the Skaffold configuration. Format is// `projects/{project}/locations/{location}/memberships/{membership_name}`.Membershipstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AnthosCluster: Information specifying an Anthos Cluster.

func (AnthosCluster)MarshalJSONadded inv0.67.0

func (sAnthosCluster) MarshalJSON() ([]byte,error)

typeApproveRolloutRequest

type ApproveRolloutRequest struct {// Approved: Required. True = approve; false = rejectApprovedbool `json:"approved,omitempty"`// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ApproveRolloutRequest: The request object used by `ApproveRollout`.

func (ApproveRolloutRequest)MarshalJSON

func (sApproveRolloutRequest) MarshalJSON() ([]byte,error)

typeApproveRolloutResponse

type ApproveRolloutResponse struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

ApproveRolloutResponse: The response object from `ApproveRollout`.

typeAssociatedEntitiesadded inv0.202.0

type AssociatedEntities struct {// AnthosClusters: Optional. Information specifying Anthos clusters as// associated entities.AnthosClusters []*AnthosCluster `json:"anthosClusters,omitempty"`// GkeClusters: Optional. Information specifying GKE clusters as associated// entities.GkeClusters []*GkeCluster `json:"gkeClusters,omitempty"`// ForceSendFields is a list of field names (e.g. "AnthosClusters") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AnthosClusters") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AssociatedEntities: Information about entities associated with a `Target`.

func (AssociatedEntities)MarshalJSONadded inv0.202.0

func (sAssociatedEntities) MarshalJSON() ([]byte,error)

typeAuditConfig

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.Servicestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AuditConfig: Specifies the audit configuration for a service. Theconfiguration determines which permission types are logged, and whatidentities, if any, are exempted from logging. An AuditConfig must have oneor more AuditLogConfigs. If there are AuditConfigs for both `allServices`and a specific service, the union of the two AuditConfigs is used for thatservice: the log_types specified in each AuditConfig are enabled, and theexempted_members in each AuditLogConfig are exempted. Example Policy withmultiple 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" ] } ] } ] } Forsampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READlogging. It also exempts `jose@example.com` from DATA_READ logging, and`aliya@example.com` from DATA_WRITE logging.

func (AuditConfig)MarshalJSON

func (sAuditConfig) MarshalJSON() ([]byte,error)

typeAuditLogConfig

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 listLogTypestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AuditLogConfig: Provides the configuration for logging a type ofpermissions. 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, whileexempting jose@example.com from DATA_READ logging.

func (AuditLogConfig)MarshalJSON

func (sAuditLogConfig) MarshalJSON() ([]byte,error)

typeAutomationadded inv0.150.0

type Automation struct {// Annotations: Optional. User annotations. These attributes can only be set// and used by the user, and not by Cloud Deploy. Annotations must meet the// following constraints: * Annotations are key/value pairs. * Valid annotation// keys have two segments: an optional prefix and name, separated by a slash// (`/`). * The name segment is required and must be 63 characters or less,// beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with// dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. *// The prefix is optional. If specified, the prefix must be a DNS subdomain: a// series of DNS labels separated by dots(`.`), not longer than 253 characters// in total, followed by a slash (`/`). See//https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set// for more details.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. Time at which the automation was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. Description of the `Automation`. Max length is 255// characters.Descriptionstring `json:"description,omitempty"`// Etag: Optional. The weak etag of the `Automation` resource. This checksum is// computed by the server based on the value of other fields, and may be sent// on update and delete requests to ensure the client has an up-to-date value// before proceeding.Etagstring `json:"etag,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 <= 63// characters.Labels map[string]string `json:"labels,omitempty"`// Name: Output only. Name of the `Automation`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline// }/automations/{automation}`.Namestring `json:"name,omitempty"`// Rules: Required. List of Automation rules associated with the Automation// resource. Must have at least one rule and limited to 250 rules per Delivery// Pipeline. Note: the order of the rules here is not the same as the order of// execution.Rules []*AutomationRule `json:"rules,omitempty"`// Selector: Required. Selected resources to which the automation will be// applied.Selector *AutomationResourceSelector `json:"selector,omitempty"`// ServiceAccount: Required. Email address of the user-managed IAM service// account that creates Cloud Deploy release and rollout resources.ServiceAccountstring `json:"serviceAccount,omitempty"`// Suspended: Optional. When Suspended, automation is deactivated from// execution.Suspendedbool `json:"suspended,omitempty"`// Uid: Output only. Unique identifier of the `Automation`.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Time at which the automation was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Automation: An `Automation` resource in the Cloud Deploy API. An`Automation` enables the automation of manually driven actions for aDelivery Pipeline, which includes Release promotion among Targets, Rolloutrepair and Rollout deployment strategy advancement. The intention ofAutomation is to reduce manual intervention in the continuous deliveryprocess.

func (Automation)MarshalJSONadded inv0.150.0

func (sAutomation) MarshalJSON() ([]byte,error)

typeAutomationEventadded inv0.144.0

type AutomationEvent struct {// Automation: The name of the `AutomationRun`.Automationstring `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.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

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

func (AutomationEvent)MarshalJSONadded inv0.144.0

func (sAutomationEvent) MarshalJSON() ([]byte,error)

typeAutomationResourceSelectoradded inv0.150.0

type AutomationResourceSelector struct {// Targets: Optional. Contains attributes about a target.Targets []*TargetAttribute `json:"targets,omitempty"`// ForceSendFields is a list of field names (e.g. "Targets") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Targets") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationResourceSelector: AutomationResourceSelector contains theinformation to select the resources to which an Automation is going to beapplied.

func (AutomationResourceSelector)MarshalJSONadded inv0.150.0

func (sAutomationResourceSelector) MarshalJSON() ([]byte,error)

typeAutomationRolloutMetadataadded inv0.150.0

type AutomationRolloutMetadata struct {// AdvanceAutomationRuns: Output only. The names of the AutomationRuns// initiated by an advance rollout rule.AdvanceAutomationRuns []string `json:"advanceAutomationRuns,omitempty"`// PromoteAutomationRun: Output only. The name of the AutomationRun initiated// by a promote release rule.PromoteAutomationRunstring `json:"promoteAutomationRun,omitempty"`// RepairAutomationRuns: Output only. The names of the AutomationRuns initiated// by a repair rollout rule.RepairAutomationRuns []string `json:"repairAutomationRuns,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvanceAutomationRuns") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvanceAutomationRuns") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationRolloutMetadata: AutomationRolloutMetadata containsAutomation-related actions that were performed on a rollout.

func (AutomationRolloutMetadata)MarshalJSONadded inv0.150.0

func (sAutomationRolloutMetadata) MarshalJSON() ([]byte,error)

typeAutomationRuleadded inv0.150.0

type AutomationRule struct {// AdvanceRolloutRule: Optional. The `AdvanceRolloutRule` will automatically// advance a successful Rollout.AdvanceRolloutRule *AdvanceRolloutRule `json:"advanceRolloutRule,omitempty"`// PromoteReleaseRule: Optional. `PromoteReleaseRule` will automatically// promote a release from the current target to a specified target.PromoteReleaseRule *PromoteReleaseRule `json:"promoteReleaseRule,omitempty"`// RepairRolloutRule: Optional. The `RepairRolloutRule` will automatically// repair a failed rollout.RepairRolloutRule *RepairRolloutRule `json:"repairRolloutRule,omitempty"`// TimedPromoteReleaseRule: Optional. The `TimedPromoteReleaseRule` will// automatically promote a release from the current target(s) to the specified// target(s) on a configured schedule.TimedPromoteReleaseRule *TimedPromoteReleaseRule `json:"timedPromoteReleaseRule,omitempty"`// ForceSendFields is a list of field names (e.g. "AdvanceRolloutRule") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvanceRolloutRule") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationRule: `AutomationRule` defines the automation activities.

func (AutomationRule)MarshalJSONadded inv0.150.0

func (sAutomationRule) MarshalJSON() ([]byte,error)

typeAutomationRuleConditionadded inv0.150.0

type AutomationRuleCondition struct {// TargetsPresentCondition: Optional. Details around targets enumerated in the// rule.TargetsPresentCondition *TargetsPresentCondition `json:"targetsPresentCondition,omitempty"`// TimedPromoteReleaseCondition: Optional. TimedPromoteReleaseCondition// contains rule conditions specific to a an Automation with a timed promote// release rule defined.TimedPromoteReleaseCondition *TimedPromoteReleaseCondition `json:"timedPromoteReleaseCondition,omitempty"`// ForceSendFields is a list of field names (e.g. "TargetsPresentCondition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "TargetsPresentCondition") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationRuleCondition: `AutomationRuleCondition` contains conditionsrelevant to an `Automation` rule.

func (AutomationRuleCondition)MarshalJSONadded inv0.150.0

func (sAutomationRuleCondition) MarshalJSON() ([]byte,error)

typeAutomationRunadded inv0.150.0

type AutomationRun struct {// AdvanceRolloutOperation: Output only. Advances a rollout to the next phase.AdvanceRolloutOperation *AdvanceRolloutOperation `json:"advanceRolloutOperation,omitempty"`// AutomationId: Output only. The ID of the automation that initiated the// operation.AutomationIdstring `json:"automationId,omitempty"`// AutomationSnapshot: Output only. Snapshot of the Automation taken at// AutomationRun creation time.AutomationSnapshot *Automation `json:"automationSnapshot,omitempty"`// CreateTime: Output only. Time at which the `AutomationRun` was created.CreateTimestring `json:"createTime,omitempty"`// Etag: Output only. The weak etag of the `AutomationRun` resource. This// checksum is computed by the server based on the value of other fields, and// may be sent on update and delete requests to ensure the client has an// up-to-date value before proceeding.Etagstring `json:"etag,omitempty"`// ExpireTime: Output only. Time the `AutomationRun` expires. An// `AutomationRun` expires after 14 days from its creation date.ExpireTimestring `json:"expireTime,omitempty"`// Name: Output only. Name of the `AutomationRun`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline// }/automationRuns/{automation_run}`.Namestring `json:"name,omitempty"`// PolicyViolation: Output only. Contains information about what policies// prevented the `AutomationRun` from proceeding.PolicyViolation *PolicyViolation `json:"policyViolation,omitempty"`// PromoteReleaseOperation: Output only. Promotes a release to a specified// 'Target'.PromoteReleaseOperation *PromoteReleaseOperation `json:"promoteReleaseOperation,omitempty"`// RepairRolloutOperation: Output only. Repairs a failed 'Rollout'.RepairRolloutOperation *RepairRolloutOperation `json:"repairRolloutOperation,omitempty"`// RuleId: Output only. The ID of the automation rule that initiated the// operation.RuleIdstring `json:"ruleId,omitempty"`// ServiceAccount: Output only. Email address of the user-managed IAM service// account that performs the operations against Cloud Deploy resources.ServiceAccountstring `json:"serviceAccount,omitempty"`// State: Output only. Current state of the `AutomationRun`.//// Possible values://   "STATE_UNSPECIFIED" - The `AutomationRun` has an unspecified state.//   "SUCCEEDED" - The `AutomationRun` has succeeded.//   "CANCELLED" - The `AutomationRun` was cancelled.//   "FAILED" - The `AutomationRun` has failed.//   "IN_PROGRESS" - The `AutomationRun` is in progress.//   "PENDING" - The `AutomationRun` is pending.//   "ABORTED" - The `AutomationRun` was aborted.Statestring `json:"state,omitempty"`// StateDescription: Output only. Explains the current state of the// `AutomationRun`. Present only when an explanation is needed.StateDescriptionstring `json:"stateDescription,omitempty"`// TargetId: Output only. The ID of the source target that initiates the// `AutomationRun`. The value of this field is the last segment of a target// name.TargetIdstring `json:"targetId,omitempty"`// TimedPromoteReleaseOperation: Output only. Promotes a release to a specified// 'Target' as defined in a Timed Promote Release rule.TimedPromoteReleaseOperation *TimedPromoteReleaseOperation `json:"timedPromoteReleaseOperation,omitempty"`// UpdateTime: Output only. Time at which the automationRun was updated.UpdateTimestring `json:"updateTime,omitempty"`// WaitUntilTime: Output only. Earliest time the `AutomationRun` will attempt// to resume. Wait-time is configured by `wait` in automation rule.WaitUntilTimestring `json:"waitUntilTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AdvanceRolloutOperation") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AdvanceRolloutOperation") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationRun: An `AutomationRun` resource in the Cloud Deploy API. An`AutomationRun` represents an execution instance of an automation rule.

func (AutomationRun)MarshalJSONadded inv0.150.0

func (sAutomationRun) MarshalJSON() ([]byte,error)

typeAutomationRunEventadded inv0.144.0

type AutomationRunEvent struct {// AutomationId: Identifier of the `Automation`.AutomationIdstring `json:"automationId,omitempty"`// AutomationRun: The name of the `AutomationRun`.AutomationRunstring `json:"automationRun,omitempty"`// DestinationTargetId: ID of the `Target` to which the `AutomationRun` is// created.DestinationTargetIdstring `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.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// RuleId: Identifier of the `Automation` rule.RuleIdstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AutomationRunEvent: Payload proto for"clouddeploy.googleapis.com/automation_run" Platform Log event thatdescribes the AutomationRun related events.

func (AutomationRunEvent)MarshalJSONadded inv0.144.0

func (sAutomationRunEvent) MarshalJSON() ([]byte,error)

typeBinding

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`. *// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub// ject/{subject_attribute_value}`: A single identity in a workforce identity// pool. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// group/{group_id}`: All workforce identities in a group. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// attribute.{attribute_name}/{attribute_value}`: All workforce identities with// a specific attribute value. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// *`: All identities in a workforce identity pool. *// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single// identity in a workload identity pool. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool// group. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}// `: All identities in a workload identity pool with a certain attribute. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity// pool. * `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. *// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool// _id}/subject/{subject_attribute_value}`: Deleted single identity in a// workforce identity pool. For example,// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po// ol-id/subject/my-subject-attribute-value`.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`. For an overview// of the IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Binding: Associates `members`, or principals, with a `role`.

func (Binding)MarshalJSON

func (sBinding) MarshalJSON() ([]byte,error)

typeBuildArtifact

type BuildArtifact struct {// Image: Optional. Image name in Skaffold configuration.Imagestring `json:"image,omitempty"`// Tag: Optional. Image tag to use. This will generally be the full path to an// image, such as "gcr.io/my-project/busybox:1.2.3" or// "gcr.io/my-project/busybox@sha256:abc123".Tagstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

BuildArtifact: Description of an a image to use during Skaffold rendering.

func (BuildArtifact)MarshalJSON

func (sBuildArtifact) MarshalJSON() ([]byte,error)

typeCanaryadded inv0.115.0

type Canary struct {// CanaryDeployment: Optional. Configures the progressive based deployment for// a Target.CanaryDeployment *CanaryDeployment `json:"canaryDeployment,omitempty"`// CustomCanaryDeployment: Optional. Configures the progressive based// deployment for a Target, but allows customizing at the phase level where a// phase represents each of the percentage deployments.CustomCanaryDeployment *CustomCanaryDeployment `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Canary: Canary represents the canary deployment strategy.

func (Canary)MarshalJSONadded inv0.115.0

func (sCanary) MarshalJSON() ([]byte,error)

typeCanaryDeploymentadded inv0.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. If the GatewayServiceMesh is configured for Kubernetes,// then the range for 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: Optional. Whether to run verify tests after each percentage// deployment via `skaffold verify`.Verifybool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CanaryDeployment: CanaryDeployment represents the canary deploymentconfiguration

func (CanaryDeployment)MarshalJSONadded inv0.115.0

func (sCanaryDeployment) MarshalJSON() ([]byte,error)

typeCancelAutomationRunRequestadded inv0.150.0

type CancelAutomationRunRequest struct {}

CancelAutomationRunRequest: The request object used by`CancelAutomationRun`.

typeCancelAutomationRunResponseadded inv0.150.0

type CancelAutomationRunResponse struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

CancelAutomationRunResponse: The response object from `CancelAutomationRun`.

typeCancelOperationRequest

type CancelOperationRequest struct {}

CancelOperationRequest: The request message for Operations.CancelOperation.

typeCancelRolloutRequestadded inv0.115.0

type CancelRolloutRequest struct {// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// ForceSendFields is a list of field names (e.g. "OverrideDeployPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OverrideDeployPolicy") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CancelRolloutRequest: The request object used by `CancelRollout`.

func (CancelRolloutRequest)MarshalJSONadded inv0.200.0

func (sCancelRolloutRequest) MarshalJSON() ([]byte,error)

typeCancelRolloutResponseadded inv0.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`.

typeChildRolloutJobsadded inv0.112.0

type ChildRolloutJobs struct {// AdvanceRolloutJobs: Output only. List of AdvanceChildRolloutJobsAdvanceRolloutJobs []*Job `json:"advanceRolloutJobs,omitempty"`// CreateRolloutJobs: Output only. List of CreateChildRolloutJobsCreateRolloutJobs []*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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ChildRolloutJobs: ChildRollouts job composition

func (ChildRolloutJobs)MarshalJSONadded inv0.112.0

func (sChildRolloutJobs) MarshalJSON() ([]byte,error)

typeCloudRunConfigadded inv0.115.0

type CloudRunConfig struct {// AutomaticTrafficControl: Optional. Whether Cloud Deploy should update the// traffic stanza in a Cloud Run Service on the user's behalf to facilitate// traffic splitting. This is required to be true for CanaryDeployments, but// optional for CustomCanaryDeployments.AutomaticTrafficControlbool `json:"automaticTrafficControl,omitempty"`// CanaryRevisionTags: Optional. A list of tags that are added to the canary// revision while the canary phase is in progress.CanaryRevisionTags []string `json:"canaryRevisionTags,omitempty"`// PriorRevisionTags: Optional. A list of tags that are added to the prior// revision while the canary phase is in progress.PriorRevisionTags []string `json:"priorRevisionTags,omitempty"`// StableRevisionTags: Optional. A list of tags that are added to the final// stable revision when the stable phase is applied.StableRevisionTags []string `json:"stableRevisionTags,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudRunConfig: CloudRunConfig contains the Cloud Run runtime configuration.

func (CloudRunConfig)MarshalJSONadded inv0.115.0

func (sCloudRunConfig) MarshalJSON() ([]byte,error)

typeCloudRunLocationadded inv0.97.0

type CloudRunLocation struct {// Location: Required. The location for the Cloud Run Service. Format must be// `projects/{project}/locations/{location}`.Locationstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudRunLocation: Information specifying where to deploy a Cloud RunService.

func (CloudRunLocation)MarshalJSONadded inv0.97.0

func (sCloudRunLocation) MarshalJSON() ([]byte,error)

typeCloudRunMetadataadded inv0.97.0

type CloudRunMetadata struct {// Job: Output only. The name of the Cloud Run job that is associated with a// `Rollout`. Format is// `projects/{project}/locations/{location}/jobs/{job_name}`.Jobstring `json:"job,omitempty"`// Revision: Output only. The Cloud Run Revision id associated with a// `Rollout`.Revisionstring `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}`.Servicestring `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. "Job") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Job") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudRunMetadata: CloudRunMetadata contains information from a Cloud Rundeployment.

func (CloudRunMetadata)MarshalJSONadded inv0.97.0

func (sCloudRunMetadata) MarshalJSON() ([]byte,error)

typeCloudRunRenderMetadataadded inv0.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}`.Servicestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudRunRenderMetadata: CloudRunRenderMetadata contains Cloud Runinformation associated with a `Release` render.

func (CloudRunRenderMetadata)MarshalJSONadded inv0.115.0

func (sCloudRunRenderMetadata) MarshalJSON() ([]byte,error)

typeConfig

type Config struct {// DefaultSkaffoldVersion: Default Skaffold version that is assigned when a// Release is created without specifying a Skaffold version.DefaultSkaffoldVersionstring `json:"defaultSkaffoldVersion,omitempty"`// Name: Name of the configuration.Namestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Config: Service-wide configuration.

func (Config)MarshalJSON

func (sConfig) MarshalJSON() ([]byte,error)

typeCreateChildRolloutJobadded inv0.112.0

type CreateChildRolloutJob struct {}

CreateChildRolloutJob: A createChildRollout Job.

typeCreateChildRolloutJobRunadded inv0.112.0

type CreateChildRolloutJobRun struct {// Rollout: Output only. Name of the `ChildRollout`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{release}/rollouts/{rollout}`.Rolloutstring `json:"rollout,omitempty"`// RolloutPhaseId: Output only. The ID of the childRollout Phase initiated by// this JobRun.RolloutPhaseIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CreateChildRolloutJobRun: CreateChildRolloutJobRun contains informationspecific to a createChildRollout `JobRun`.

func (CreateChildRolloutJobRun)MarshalJSONadded inv0.112.0

func (sCreateChildRolloutJobRun) MarshalJSON() ([]byte,error)

typeCustomCanaryDeploymentadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomCanaryDeployment: CustomCanaryDeployment represents the custom canarydeployment configuration.

func (CustomCanaryDeployment)MarshalJSONadded inv0.115.0

func (sCustomCanaryDeployment) MarshalJSON() ([]byte,error)

typeCustomMetadataadded inv0.154.0

type CustomMetadata struct {// Values: Output only. Key-value pairs provided by the user-defined operation.Values map[string]string `json:"values,omitempty"`// ForceSendFields is a list of field names (e.g. "Values") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Values") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomMetadata: CustomMetadata contains information from a user-definedoperation.

func (CustomMetadata)MarshalJSONadded inv0.154.0

func (sCustomMetadata) MarshalJSON() ([]byte,error)

typeCustomTargetadded inv0.154.0

type CustomTarget struct {// CustomTargetType: Required. The name of the CustomTargetType. Format must be// `projects/{project}/locations/{location}/customTargetTypes/{custom_target_typ// e}`.CustomTargetTypestring `json:"customTargetType,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomTargetType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomTargetType") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomTarget: Information specifying a Custom Target.

func (CustomTarget)MarshalJSONadded inv0.154.0

func (sCustomTarget) MarshalJSON() ([]byte,error)

typeCustomTargetDeployMetadataadded inv0.154.0

type CustomTargetDeployMetadata struct {// SkipMessage: Output only. Skip message provided in the results of a custom// deploy operation.SkipMessagestring `json:"skipMessage,omitempty"`// ForceSendFields is a list of field names (e.g. "SkipMessage") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "SkipMessage") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomTargetDeployMetadata: CustomTargetDeployMetadata contains informationfrom a Custom Target deploy operation.

func (CustomTargetDeployMetadata)MarshalJSONadded inv0.154.0

func (sCustomTargetDeployMetadata) MarshalJSON() ([]byte,error)

typeCustomTargetSkaffoldActionsadded inv0.154.0

type CustomTargetSkaffoldActions struct {// DeployAction: Required. The Skaffold custom action responsible for deploy// operations.DeployActionstring `json:"deployAction,omitempty"`// IncludeSkaffoldModules: Optional. List of Skaffold modules Cloud Deploy will// include in the Skaffold Config as required before performing diagnose.IncludeSkaffoldModules []*SkaffoldModules `json:"includeSkaffoldModules,omitempty"`// RenderAction: Optional. The Skaffold custom action responsible for render// operations. If not provided then Cloud Deploy will perform the render// operations via `skaffold render`.RenderActionstring `json:"renderAction,omitempty"`// ForceSendFields is a list of field names (e.g. "DeployAction") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeployAction") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomTargetSkaffoldActions: CustomTargetSkaffoldActions represents the`CustomTargetType` configuration using Skaffold custom actions.

func (CustomTargetSkaffoldActions)MarshalJSONadded inv0.154.0

func (sCustomTargetSkaffoldActions) MarshalJSON() ([]byte,error)

typeCustomTargetTypeadded inv0.154.0

type CustomTargetType 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"`// CreateTime: Output only. Time at which the `CustomTargetType` was created.CreateTimestring `json:"createTime,omitempty"`// CustomActions: Optional. Configures render and deploy for the// `CustomTargetType` using Skaffold custom actions.CustomActions *CustomTargetSkaffoldActions `json:"customActions,omitempty"`// CustomTargetTypeId: Output only. Resource id of the `CustomTargetType`.CustomTargetTypeIdstring `json:"customTargetTypeId,omitempty"`// Description: Optional. Description of the `CustomTargetType`. Max length is// 255 characters.Descriptionstring `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.Etagstring `json:"etag,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"`// Name: Identifier. Name of the `CustomTargetType`. Format is// `projects/{project}/locations/{location}/customTargetTypes/{customTargetType}// `. The `customTargetType` component must match// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `json:"name,omitempty"`// Uid: Output only. Unique identifier of the `CustomTargetType`.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Most recent time at which the `CustomTargetType`// was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomTargetType: A `CustomTargetType` resource in the Cloud Deploy API. A`CustomTargetType` defines a type of custom target that can be referenced ina `Target` in order to facilitate deploying to other systems besides thesupported runtimes.

func (CustomTargetType)MarshalJSONadded inv0.154.0

func (sCustomTargetType) MarshalJSON() ([]byte,error)

typeCustomTargetTypeNotificationEventadded inv0.191.0

type CustomTargetTypeNotificationEvent struct {// CustomTargetType: The name of the `CustomTargetType`.CustomTargetTypestring `json:"customTargetType,omitempty"`// CustomTargetTypeUid: Unique identifier of the `CustomTargetType`.CustomTargetTypeUidstring `json:"customTargetTypeUid,omitempty"`// Message: Debug message for when a notification fails to send.Messagestring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomTargetType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomTargetType") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CustomTargetTypeNotificationEvent: Payload proto for"clouddeploy.googleapis.com/customtargettype_notification" Platform Logevent that describes the failure to send a custom target type status changePub/Sub notification.

func (CustomTargetTypeNotificationEvent)MarshalJSONadded inv0.191.0

func (sCustomTargetTypeNotificationEvent) MarshalJSON() ([]byte,error)

typeDate

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.Dayint64 `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.Monthint64 `json:"month,omitempty"`// Year: Year of the date. Must be from 1 to 9999, or 0 to specify a date// without a year.Yearint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Date: Represents a whole or partial calendar date, such as a birthday. Thetime of day and time zone are either specified elsewhere or areinsignificant. The date is relative to the Gregorian Calendar. This canrepresent 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, ananniversary). * A year on its own, with a zero month and a zero day. * Ayear and month, with a zero day (for example, a credit card expirationdate). Related types: * google.type.TimeOfDay * google.type.DateTime *google.protobuf.Timestamp

func (Date)MarshalJSON

func (sDate) MarshalJSON() ([]byte,error)

typeDefaultPool

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.ArtifactStoragestring `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.ServiceAccountstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DefaultPool: Execution using the default Cloud Build pool.

func (DefaultPool)MarshalJSON

func (sDefaultPool) MarshalJSON() ([]byte,error)

typeDeliveryPipeline

type DeliveryPipeline struct {// Annotations: Optional. 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.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. Description of the `DeliveryPipeline`. Max length is// 255 characters.Descriptionstring `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.Etagstring `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: Identifier. Name of the `DeliveryPipeline`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// `. The `deliveryPipeline` component must match// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `json:"name,omitempty"`// SerialPipeline: Optional. SerialPipeline defines a sequential set of stages// for a `DeliveryPipeline`.SerialPipeline *SerialPipeline `json:"serialPipeline,omitempty"`// Suspended: Optional. When suspended, no new releases or rollouts can be// created, but in-progress ones will complete.Suspendedbool `json:"suspended,omitempty"`// Uid: Output only. Unique identifier of the `DeliveryPipeline`.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Most recent time at which the pipeline was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeliveryPipeline: A `DeliveryPipeline` resource in the Cloud Deploy API. A`DeliveryPipeline` defines a pipeline through which a Skaffold configurationcan progress.

func (DeliveryPipeline)MarshalJSON

func (sDeliveryPipeline) MarshalJSON() ([]byte,error)

typeDeliveryPipelineAttributeadded inv0.200.0

type DeliveryPipelineAttribute struct {// Id: Optional. ID of the `DeliveryPipeline`. The value of this field could be// one of the following: * The last segment of a pipeline name * "*", all// delivery pipelines in a locationIdstring `json:"id,omitempty"`// Labels: DeliveryPipeline labels.Labels map[string]string `json:"labels,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeliveryPipelineAttribute: Contains criteria for selectingDeliveryPipelines.

func (DeliveryPipelineAttribute)MarshalJSONadded inv0.200.0

func (sDeliveryPipelineAttribute) MarshalJSON() ([]byte,error)

typeDeliveryPipelineNotificationEventadded inv0.75.0

type DeliveryPipelineNotificationEvent struct {// DeliveryPipeline: The name of the `Delivery Pipeline`.DeliveryPipelinestring `json:"deliveryPipeline,omitempty"`// Message: Debug message for when a notification fails to send.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeliveryPipelineNotificationEvent: Payload proto for"clouddeploy.googleapis.com/deliverypipeline_notification" Platform Logevent that describes the failure to send delivery pipeline status changePub/Sub notification.

func (DeliveryPipelineNotificationEvent)MarshalJSONadded inv0.75.0

func (sDeliveryPipelineNotificationEvent) MarshalJSON() ([]byte,error)

typeDeployArtifactadded inv0.122.0

type DeployArtifact struct {// ArtifactUri: Output only. URI of a directory containing the artifacts. All// paths are relative to this location.ArtifactUristring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployArtifact: The artifacts produced by a deploy operation.

func (DeployArtifact)MarshalJSONadded inv0.122.0

func (sDeployArtifact) MarshalJSON() ([]byte,error)

typeDeployJobadded inv0.98.0

type DeployJob struct {}

DeployJob: A deploy Job.

typeDeployJobRunadded inv0.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}`.Buildstring `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// allotted 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.//   "DEPLOY_FEATURE_NOT_SUPPORTED" - The deploy operation had a feature// configured that is not supported.FailureCausestring `json:"failureCause,omitempty"`// FailureMessage: Output only. Additional information about the deploy// failure, if available.FailureMessagestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployJobRun: DeployJobRun contains information specific to a deploy`JobRun`.

func (DeployJobRun)MarshalJSONadded inv0.98.0

func (sDeployJobRun) MarshalJSON() ([]byte,error)

typeDeployJobRunMetadataadded inv0.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"`// Custom: Output only. Custom metadata provided by user-defined deploy// operation.Custom *CustomMetadata `json:"custom,omitempty"`// CustomTarget: Output only. Custom Target metadata associated with a// `DeployJobRun`.CustomTarget *CustomTargetDeployMetadata `json:"customTarget,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployJobRunMetadata: DeployJobRunMetadata surfaces information associatedwith a `DeployJobRun` to the user.

func (DeployJobRunMetadata)MarshalJSONadded inv0.98.0

func (sDeployJobRunMetadata) MarshalJSON() ([]byte,error)

typeDeployParametersadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployParameters: DeployParameters contains deploy parameters information.

func (DeployParameters)MarshalJSONadded inv0.129.0

func (sDeployParameters) MarshalJSON() ([]byte,error)

typeDeployPolicyadded inv0.200.0

type DeployPolicy struct {// Annotations: Optional. User annotations. These attributes can only be set// and used by the user, and not by Cloud Deploy. Annotations must meet the// following constraints: * Annotations are key/value pairs. * Valid annotation// keys have two segments: an optional prefix and name, separated by a slash// (`/`). * The name segment is required and must be 63 characters or less,// beginning and ending with an alphanumeric character (`[a-z0-9A-Z]`) with// dashes (`-`), underscores (`_`), dots (`.`), and alphanumerics between. *// The prefix is optional. If specified, the prefix must be a DNS subdomain: a// series of DNS labels separated by dots(`.`), not longer than 253 characters// in total, followed by a slash (`/`). See//https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set// for more details.Annotations map[string]string `json:"annotations,omitempty"`// CreateTime: Output only. Time at which the deploy policy was created.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. Description of the `DeployPolicy`. Max length is 255// characters.Descriptionstring `json:"description,omitempty"`// Etag: The weak etag of the `DeployPolicy` resource. This checksum is// computed by the server based on the value of other fields, and may be sent// on update and delete requests to ensure the client has an up-to-date value// before proceeding.Etagstring `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: Output only. Name of the `DeployPolicy`. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`. The// `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `json:"name,omitempty"`// Rules: Required. Rules to apply. At least one rule must be present.Rules []*PolicyRule `json:"rules,omitempty"`// Selectors: Required. Selected resources to which the policy will be applied.// At least one selector is required. If one selector matches the resource the// policy applies. For example, if there are two selectors and the action being// attempted matches one of them, the policy will apply to that action.Selectors []*DeployPolicyResourceSelector `json:"selectors,omitempty"`// Suspended: Optional. When suspended, the policy will not prevent actions// from occurring, even if the action violates the policy.Suspendedbool `json:"suspended,omitempty"`// Uid: Output only. Unique identifier of the `DeployPolicy`.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Most recent time at which the deploy policy was// updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployPolicy: A `DeployPolicy` resource in the Cloud Deploy API. A`DeployPolicy` inhibits manual or automation-driven actions within aDelivery Pipeline or Target.

func (DeployPolicy)MarshalJSONadded inv0.200.0

func (sDeployPolicy) MarshalJSON() ([]byte,error)

typeDeployPolicyEvaluationEventadded inv0.200.0

type DeployPolicyEvaluationEvent struct {// Allowed: Whether the request is allowed. Allowed is set as true if: (1) the// request complies with the policy; or (2) the request doesn't comply with the// policy but the policy was overridden; or (3) the request doesn't comply with// the policy but the policy was suspendedAllowedbool `json:"allowed,omitempty"`// DeliveryPipeline: The name of the `Delivery Pipeline`.DeliveryPipelinestring `json:"deliveryPipeline,omitempty"`// DeployPolicy: The name of the `DeployPolicy`.DeployPolicystring `json:"deployPolicy,omitempty"`// DeployPolicyUid: Unique identifier of the `DeployPolicy`.DeployPolicyUidstring `json:"deployPolicyUid,omitempty"`// Invoker: What invoked the action (e.g. a user or automation).//// Possible values://   "INVOKER_UNSPECIFIED" - Unspecified.//   "USER" - The action is user-driven. For example, creating a rollout// manually via a gcloud create command.//   "DEPLOY_AUTOMATION" - Automated action by Cloud Deploy.Invokerstring `json:"invoker,omitempty"`// Message: Debug message for when a deploy policy event occurs.Messagestring `json:"message,omitempty"`// Overrides: Things that could have overridden the policy verdict. Overrides// together with verdict decide whether the request is allowed.//// Possible values://   "POLICY_VERDICT_OVERRIDE_UNSPECIFIED" - This should never happen.//   "POLICY_OVERRIDDEN" - The policy was overridden.//   "POLICY_SUSPENDED" - The policy was suspended.Overrides []string `json:"overrides,omitempty"`// PipelineUid: Unique identifier of the `Delivery Pipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// Rule: Rule id.Rulestring `json:"rule,omitempty"`// RuleType: Rule type (e.g. Restrict Rollouts).RuleTypestring `json:"ruleType,omitempty"`// Target: The name of the `Target`. This is an optional field, as a `Target`// may not always be applicable to a policy.Targetstring `json:"target,omitempty"`// TargetUid: Unique identifier of the `Target`. This is an optional field, as// a `Target` may not always be applicable to a policy.TargetUidstring `json:"targetUid,omitempty"`// Verdict: The policy verdict of the request.//// Possible values://   "POLICY_VERDICT_UNSPECIFIED" - This should never happen.//   "ALLOWED_BY_POLICY" - Allowed by policy. This enum value is not currently// used but may be used in the future. Currently logs are only generated when a// request is denied by policy.//   "DENIED_BY_POLICY" - Denied by policy.Verdictstring `json:"verdict,omitempty"`// ForceSendFields is a list of field names (e.g. "Allowed") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Allowed") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployPolicyEvaluationEvent: Payload proto for"clouddeploy.googleapis.com/deploypolicy_evaluation" Platform Log event thatdescribes the deploy policy evaluation event.

func (DeployPolicyEvaluationEvent)MarshalJSONadded inv0.200.0

func (sDeployPolicyEvaluationEvent) MarshalJSON() ([]byte,error)

typeDeployPolicyNotificationEventadded inv0.191.0

type DeployPolicyNotificationEvent struct {// DeployPolicy: The name of the `DeployPolicy`.DeployPolicystring `json:"deployPolicy,omitempty"`// DeployPolicyUid: Unique identifier of the deploy policy.DeployPolicyUidstring `json:"deployPolicyUid,omitempty"`// Message: Debug message for when a deploy policy fails to send a pub/sub// notification.Messagestring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "DeployPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeployPolicy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployPolicyNotificationEvent: Payload proto for"clouddeploy.googleapis.com/deploypolicy_notification". Platform Log eventthat describes the failure to send a pub/sub notification when there is aDeployPolicy status change.

func (DeployPolicyNotificationEvent)MarshalJSONadded inv0.191.0

func (sDeployPolicyNotificationEvent) MarshalJSON() ([]byte,error)

typeDeployPolicyResourceSelectoradded inv0.200.0

type DeployPolicyResourceSelector struct {// DeliveryPipeline: Optional. Contains attributes about a delivery pipeline.DeliveryPipeline *DeliveryPipelineAttribute `json:"deliveryPipeline,omitempty"`// Target: Optional. Contains attributes about a target.Target *TargetAttribute `json:"target,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeployPolicyResourceSelector: Contains information on the resources toselect for a deploy policy. Attributes provided must all match the resourcein order for policy restrictions to apply. For example, if deliverypipelines attributes given are an id "prod" and labels "foo: bar", adelivery pipeline resource must match both that id and have that label inorder to be subject to the policy.

func (DeployPolicyResourceSelector)MarshalJSONadded inv0.200.0

func (sDeployPolicyResourceSelector) MarshalJSON() ([]byte,error)

typeDeploymentJobsadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

DeploymentJobs: Deployment job composition.

func (DeploymentJobs)MarshalJSONadded inv0.98.0

func (sDeploymentJobs) MarshalJSON() ([]byte,error)

typeEmpty

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 definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

typeExecutionConfig

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.ArtifactStoragestring `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.ExecutionTimeoutstring `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.ServiceAccountstring `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"`// Verbose: Optional. If true, additional logging will be enabled when running// builds in this execution environment.Verbosebool `json:"verbose,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.WorkerPoolstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ExecutionConfig: Configuration of the environment to use when callingSkaffold.

func (ExecutionConfig)MarshalJSON

func (sExecutionConfig) MarshalJSON() ([]byte,error)

typeExpr

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.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `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.Locationstring `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.Titlestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.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 semanticsof CEL are documented athttps://github.com/google/cel-spec. Example(Comparison): title: "Summary size limit" description: "Determines if asummary is less than 100 chars" expression: "document.summary.size() < 100"Example (Equality): title: "Requestor is owner" description: "Determines ifrequestor 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 messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.

func (Expr)MarshalJSON

func (sExpr) MarshalJSON() ([]byte,error)

typeGatewayServiceMeshadded inv0.115.0

type GatewayServiceMesh struct {// Deployment: Required. Name of the Kubernetes Deployment whose traffic is// managed by the specified HTTPRoute and Service.Deploymentstring `json:"deployment,omitempty"`// HttpRoute: Required. Name of the Gateway API HTTPRoute.HttpRoutestring `json:"httpRoute,omitempty"`// PodSelectorLabel: Optional. The label to use when selecting Pods for the// Deployment and Service resources. This label must already be present in both// resources.PodSelectorLabelstring `json:"podSelectorLabel,omitempty"`// RouteDestinations: Optional. Route destinations allow configuring the// Gateway API HTTPRoute to be deployed to additional clusters. This option is// available for multi-cluster service mesh set ups that require the route to// exist in the clusters that call the service. If unspecified, the HTTPRoute// will only be deployed to the Target cluster.RouteDestinations *RouteDestinations `json:"routeDestinations,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.RouteUpdateWaitTimestring `json:"routeUpdateWaitTime,omitempty"`// Service: Required. Name of the Kubernetes Service.Servicestring `json:"service,omitempty"`// StableCutbackDuration: Optional. The amount of time to migrate traffic back// from the canary Service to the original Service during the stable phase// deployment. If specified, must be between 15s and 3600s. If unspecified,// there is no cutback time.StableCutbackDurationstring `json:"stableCutbackDuration,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GatewayServiceMesh: Information about the Kubernetes Gateway API servicemesh configuration.

func (GatewayServiceMesh)MarshalJSONadded inv0.115.0

func (sGatewayServiceMesh) MarshalJSON() ([]byte,error)

typeGkeCluster

type GkeCluster struct {// Cluster: Optional. Information specifying a GKE Cluster. Format is// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`.Clusterstring `json:"cluster,omitempty"`// DnsEndpoint: Optional. If set, the cluster will be accessed using the DNS// endpoint. Note that both `dns_endpoint` and `internal_ip` cannot be set to// true.DnsEndpointbool `json:"dnsEndpoint,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).// Note that `internal_ip` and `dns_endpoint` cannot both be set to true.InternalIpbool `json:"internalIp,omitempty"`// ProxyUrl: Optional. If set, used to configure a proxy// (https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#proxy)// to the Kubernetes server.ProxyUrlstring `json:"proxyUrl,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GkeCluster: Information specifying a GKE Cluster.

func (GkeCluster)MarshalJSON

func (sGkeCluster) MarshalJSON() ([]byte,error)

typeIgnoreJobRequestadded inv0.115.0

type IgnoreJobRequest struct {// JobId: Required. The job ID for the Job to ignore.JobIdstring `json:"jobId,omitempty"`// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// PhaseId: Required. The phase ID the Job to ignore belongs to.PhaseIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

IgnoreJobRequest: The request object used by `IgnoreJob`.

func (IgnoreJobRequest)MarshalJSONadded inv0.115.0

func (sIgnoreJobRequest) MarshalJSON() ([]byte,error)

typeIgnoreJobResponseadded inv0.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`.

typeJobadded inv0.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.Idstring `json:"id,omitempty"`// JobRun: Output only. The name of the `JobRun` responsible for the most// recent invocation of this Job.JobRunstring `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.SkipMessagestring `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.Statestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Job: Job represents an operation for a `Rollout`.

func (Job)MarshalJSONadded inv0.98.0

func (sJob) MarshalJSON() ([]byte,error)

typeJobRunadded inv0.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.CreateTimestring `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.EndTimestring `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.Etagstring `json:"etag,omitempty"`// JobId: Output only. ID of the `Rollout` job this `JobRun` corresponds to.JobIdstring `json:"jobId,omitempty"`// Name: Output only. Name of the `JobRun`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{releases}/rollouts/{rollouts}/jobRuns/{uuid}`.Namestring `json:"name,omitempty"`// PhaseId: Output only. ID of the `Rollout` phase this `JobRun` belongs in.PhaseIdstring `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.StartTimestring `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.Statestring `json:"state,omitempty"`// Uid: Output only. Unique identifier of the `JobRun`.Uidstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

JobRun: A `JobRun` resource in the Cloud Deploy API. A `JobRun` containsinformation of a single `Rollout` job evaluation.

func (JobRun)MarshalJSONadded inv0.98.0

func (sJobRun) MarshalJSON() ([]byte,error)

typeJobRunNotificationEventadded inv0.98.0

type JobRunNotificationEvent struct {// JobRun: The name of the `JobRun`.JobRunstring `json:"jobRun,omitempty"`// Message: Debug message for when a notification fails to send.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// Release: The name of the `Release`.Releasestring `json:"release,omitempty"`// ReleaseUid: Unique identifier of the `Release`.ReleaseUidstring `json:"releaseUid,omitempty"`// Rollout: The name of the `Rollout`.Rolloutstring `json:"rollout,omitempty"`// RolloutUid: Unique identifier of the `Rollout`.RolloutUidstring `json:"rolloutUid,omitempty"`// TargetId: ID of the `Target`.TargetIdstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

JobRunNotificationEvent: Payload proto for"clouddeploy.googleapis.com/jobrun_notification" Platform Log event thatdescribes the failure to send JobRun resource update Pub/Sub notification.

func (JobRunNotificationEvent)MarshalJSONadded inv0.98.0

func (sJobRunNotificationEvent) MarshalJSON() ([]byte,error)

typeKubernetesConfigadded inv0.115.0

type KubernetesConfig struct {// GatewayServiceMesh: Optional. Kubernetes Gateway API service mesh// configuration.GatewayServiceMesh *GatewayServiceMesh `json:"gatewayServiceMesh,omitempty"`// ServiceNetworking: Optional. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

KubernetesConfig: KubernetesConfig contains the Kubernetes runtimeconfiguration.

func (KubernetesConfig)MarshalJSONadded inv0.115.0

func (sKubernetesConfig) MarshalJSON() ([]byte,error)

typeListAutomationRunsResponseadded inv0.150.0

type ListAutomationRunsResponse struct {// AutomationRuns: The `AutomationRuns` objects.AutomationRuns []*AutomationRun `json:"automationRuns,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.NextPageTokenstring `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. "AutomationRuns") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutomationRuns") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAutomationRunsResponse: The response object from `ListAutomationRuns`.

func (ListAutomationRunsResponse)MarshalJSONadded inv0.150.0

func (sListAutomationRunsResponse) MarshalJSON() ([]byte,error)

typeListAutomationsResponseadded inv0.150.0

type ListAutomationsResponse struct {// Automations: The `Automation` objects.Automations []*Automation `json:"automations,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.NextPageTokenstring `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. "Automations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Automations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAutomationsResponse: The response object from `ListAutomations`.

func (ListAutomationsResponse)MarshalJSONadded inv0.150.0

func (sListAutomationsResponse) MarshalJSON() ([]byte,error)

typeListCustomTargetTypesResponseadded inv0.154.0

type ListCustomTargetTypesResponse struct {// CustomTargetTypes: The `CustomTargetType` objects.CustomTargetTypes []*CustomTargetType `json:"customTargetTypes,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.NextPageTokenstring `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. "CustomTargetTypes") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomTargetTypes") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListCustomTargetTypesResponse: The response object from`ListCustomTargetTypes.`

func (ListCustomTargetTypesResponse)MarshalJSONadded inv0.154.0

func (sListCustomTargetTypesResponse) MarshalJSON() ([]byte,error)

typeListDeliveryPipelinesResponse

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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListDeliveryPipelinesResponse: The response object from`ListDeliveryPipelines`.

func (ListDeliveryPipelinesResponse)MarshalJSON

func (sListDeliveryPipelinesResponse) MarshalJSON() ([]byte,error)

typeListDeployPoliciesResponseadded inv0.200.0

type ListDeployPoliciesResponse struct {// DeployPolicies: The `DeployPolicy` objects.DeployPolicies []*DeployPolicy `json:"deployPolicies,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.NextPageTokenstring `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. "DeployPolicies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeployPolicies") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListDeployPoliciesResponse: The response object from `ListDeployPolicies`.

func (ListDeployPoliciesResponse)MarshalJSONadded inv0.200.0

func (sListDeployPoliciesResponse) MarshalJSON() ([]byte,error)

typeListJobRunsResponseadded inv0.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.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reachedUnreachable []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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListJobRunsResponse: ListJobRunsResponse is the response object returned by`ListJobRuns`.

func (ListJobRunsResponse)MarshalJSONadded inv0.98.0

func (sListJobRunsResponse) MarshalJSON() ([]byte,error)

typeListLocationsResponse

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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse)MarshalJSON

func (sListLocationsResponse) MarshalJSON() ([]byte,error)

typeListOperationsResponse

type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse)MarshalJSON

func (sListOperationsResponse) MarshalJSON() ([]byte,error)

typeListReleasesResponse

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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListReleasesResponse: The response object from `ListReleases`.

func (ListReleasesResponse)MarshalJSON

func (sListReleasesResponse) MarshalJSON() ([]byte,error)

typeListRolloutsResponse

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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListRolloutsResponse: ListRolloutsResponse is the response object returnedby `ListRollouts`.

func (ListRolloutsResponse)MarshalJSON

func (sListRolloutsResponse) MarshalJSON() ([]byte,error)

typeListTargetsResponse

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.NextPageTokenstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListTargetsResponse: The response object from `ListTargets`.

func (ListTargetsResponse)MarshalJSON

func (sListTargetsResponse) MarshalJSON() ([]byte,error)

typeLocation

type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `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".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Location: A resource that represents a Google Cloud location.

func (Location)MarshalJSON

func (sLocation) MarshalJSON() ([]byte,error)

typeMetadataadded inv0.97.0

type Metadata struct {// Automation: Output only. AutomationRolloutMetadata contains the information// about the interactions between Automation service and this rollout.Automation *AutomationRolloutMetadata `json:"automation,omitempty"`// CloudRun: Output only. The name of the Cloud Run Service that is associated// with a `Rollout`.CloudRun *CloudRunMetadata `json:"cloudRun,omitempty"`// Custom: Output only. Custom metadata provided by user-defined `Rollout`// operations.Custom *CustomMetadata `json:"custom,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Metadata: Metadata includes information associated with a `Rollout`.

func (Metadata)MarshalJSONadded inv0.97.0

func (sMetadata) MarshalJSON() ([]byte,error)

typeMultiTargetadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

MultiTarget: Information specifying a multiTarget.

func (MultiTarget)MarshalJSONadded inv0.112.0

func (sMultiTarget) MarshalJSON() ([]byte,error)

typeOneTimeWindowadded inv0.200.0

type OneTimeWindow struct {// EndDate: Required. End date.EndDate *Date `json:"endDate,omitempty"`// EndTime: Required. End time (exclusive). You may use 24:00 for the end of// the day.EndTime *TimeOfDay `json:"endTime,omitempty"`// StartDate: Required. Start date.StartDate *Date `json:"startDate,omitempty"`// StartTime: Required. Start time (inclusive). Use 00:00 for the beginning of// the day.StartTime *TimeOfDay `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndDate") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndDate") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OneTimeWindow: One-time window within which actions are restricted. Forexample, blocking actions over New Year's Eve from December 31st at 5pm toJanuary 1st at 9am.

func (OneTimeWindow)MarshalJSONadded inv0.200.0

func (sOneTimeWindow) MarshalJSON() ([]byte,error)

typeOperation

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.Donebool `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.Metadatagoogleapi.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}`.Namestring `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`.Responsegoogleapi.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Operation: This resource represents a long-running operation that is theresult of a network API call.

func (Operation)MarshalJSON

func (sOperation) MarshalJSON() ([]byte,error)

typeOperationMetadata

type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

OperationMetadata: Represents the metadata of the long-running operation.

func (OperationMetadata)MarshalJSON

func (sOperationMetadata) MarshalJSON() ([]byte,error)

typePhaseadded inv0.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.Idstring `json:"id,omitempty"`// SkipMessage: Output only. Additional information on why the Phase was// skipped, if available.SkipMessagestring `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.Statestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Phase: Phase represents a collection of jobs that are logically groupedtogether for a `Rollout`.

func (Phase)MarshalJSONadded inv0.98.0

func (sPhase) MarshalJSON() ([]byte,error)

typePhaseArtifactadded inv0.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.JobManifestsPathstring `json:"jobManifestsPath,omitempty"`// ManifestPath: Output only. File path of the rendered manifest relative to// the URI.ManifestPathstring `json:"manifestPath,omitempty"`// SkaffoldConfigPath: Output only. File path of the resolved Skaffold// configuration relative to the URI.SkaffoldConfigPathstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PhaseArtifact: Contains the paths to the artifacts, relative to the URI, fora phase.

func (PhaseArtifact)MarshalJSONadded inv0.115.0

func (sPhaseArtifact) MarshalJSON() ([]byte,error)

typePhaseConfigadded inv0.115.0

type PhaseConfig struct {// Percentage: Required. Percentage deployment for the phase.Percentageint64 `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])?$`.PhaseIdstring `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: Optional. Skaffold profiles to use when rendering the manifest for// this phase. These are in addition to the profiles list specified in the// `DeliveryPipeline` stage.Profiles []string `json:"profiles,omitempty"`// Verify: Optional. Whether to run verify tests after the deployment via// `skaffold verify`.Verifybool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PhaseConfig: PhaseConfig represents the configuration for a phase in thecustom canary deployment.

func (PhaseConfig)MarshalJSONadded inv0.115.0

func (sPhaseConfig) MarshalJSON() ([]byte,error)

typePipelineCondition

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PipelineCondition: PipelineCondition contains all conditions relevant to aDelivery Pipeline.

func (PipelineCondition)MarshalJSON

func (sPipelineCondition) MarshalJSON() ([]byte,error)

typePipelineReadyCondition

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.Statusbool `json:"status,omitempty"`// UpdateTime: Last time the condition was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PipelineReadyCondition: PipelineReadyCondition contains information aroundthe status of the Pipeline.

func (PipelineReadyCondition)MarshalJSON

func (sPipelineReadyCondition) MarshalJSON() ([]byte,error)

typePolicy

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.Etagstring `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).Versionint64 `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Policy: An Identity and Access Management (IAM) policy, which specifiesaccess controls for Google Cloud resources. A `Policy` is a collection of`bindings`. A `binding` binds one or more `members`, or principals, to asingle `role`. Principals can be user accounts, service accounts, Googlegroups, and domains (such as G Suite). A `role` is a named list ofpermissions; each `role` can be an IAM predefined role or a user-createdcustom role. For some types of Google Cloud resources, a `binding` can alsospecify a `condition`, which is a logical expression that allows access to aresource only if the expression evaluates to `true`. A condition can addconstraints based on attributes of the request, the resource, or both. Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "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.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 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

func (sPolicy) MarshalJSON() ([]byte,error)

typePolicyRuleadded inv0.200.0

type PolicyRule struct {// RolloutRestriction: Optional. Rollout restrictions.RolloutRestriction *RolloutRestriction `json:"rolloutRestriction,omitempty"`// ForceSendFields is a list of field names (e.g. "RolloutRestriction") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RolloutRestriction") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PolicyRule: Deploy Policy rule.

func (PolicyRule)MarshalJSONadded inv0.200.0

func (sPolicyRule) MarshalJSON() ([]byte,error)

typePolicyViolationadded inv0.200.0

type PolicyViolation struct {// PolicyViolationDetails: Policy violation details.PolicyViolationDetails []*PolicyViolationDetails `json:"policyViolationDetails,omitempty"`// ForceSendFields is a list of field names (e.g. "PolicyViolationDetails") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PolicyViolationDetails") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PolicyViolation: Returned from an action if one or more policies wereviolated, and therefore the action was prevented. Contains information aboutwhat policies were violated and why.

func (PolicyViolation)MarshalJSONadded inv0.200.0

func (sPolicyViolation) MarshalJSON() ([]byte,error)

typePolicyViolationDetailsadded inv0.200.0

type PolicyViolationDetails struct {// FailureMessage: User readable message about why the request violated a// policy. This is not intended for machine parsing.FailureMessagestring `json:"failureMessage,omitempty"`// Policy: Name of the policy that was violated. Policy resource will be in the// format of `projects/{project}/locations/{location}/policies/{policy}`.Policystring `json:"policy,omitempty"`// RuleId: Id of the rule that triggered the policy violation.RuleIdstring `json:"ruleId,omitempty"`// ForceSendFields is a list of field names (e.g. "FailureMessage") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FailureMessage") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PolicyViolationDetails: Policy violation details.

func (PolicyViolationDetails)MarshalJSONadded inv0.200.0

func (sPolicyViolationDetails) MarshalJSON() ([]byte,error)

typePostdeployadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Postdeploy: Postdeploy contains the postdeploy job configurationinformation.

func (Postdeploy)MarshalJSONadded inv0.135.0

func (sPostdeploy) MarshalJSON() ([]byte,error)

typePostdeployJobadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostdeployJob: A postdeploy Job.

func (PostdeployJob)MarshalJSONadded inv0.135.0

func (sPostdeployJob) MarshalJSON() ([]byte,error)

typePostdeployJobRunadded inv0.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}`.Buildstring `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// allotted time.//   "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud// Deploy's request. See failure_message for additional details.FailureCausestring `json:"failureCause,omitempty"`// FailureMessage: Output only. Additional information about the postdeploy// failure, if available.FailureMessagestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PostdeployJobRun: PostdeployJobRun contains information specific to apostdeploy `JobRun`.

func (PostdeployJobRun)MarshalJSONadded inv0.135.0

func (sPostdeployJobRun) MarshalJSON() ([]byte,error)

typePredeployadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Predeploy: Predeploy contains the predeploy job configuration information.

func (Predeploy)MarshalJSONadded inv0.135.0

func (sPredeploy) MarshalJSON() ([]byte,error)

typePredeployJobadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PredeployJob: A predeploy Job.

func (PredeployJob)MarshalJSONadded inv0.135.0

func (sPredeployJob) MarshalJSON() ([]byte,error)

typePredeployJobRunadded inv0.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}`.Buildstring `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// allotted time.//   "CLOUD_BUILD_REQUEST_FAILED" - Cloud Build failed to fulfill Cloud// Deploy's request. See failure_message for additional details.FailureCausestring `json:"failureCause,omitempty"`// FailureMessage: Output only. Additional information about the predeploy// failure, if available.FailureMessagestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PredeployJobRun: PredeployJobRun contains information specific to apredeploy `JobRun`.

func (PredeployJobRun)MarshalJSONadded inv0.135.0

func (sPredeployJobRun) MarshalJSON() ([]byte,error)

typePrivatePool

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.ArtifactStoragestring `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.ServiceAccountstring `json:"serviceAccount,omitempty"`// WorkerPool: Required. Resource name of the Cloud Build worker pool to use.// The format is `projects/{project}/locations/{location}/workerPools/{pool}`.WorkerPoolstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PrivatePool: Execution using a private Cloud Build pool.

func (PrivatePool)MarshalJSON

func (sPrivatePool) MarshalJSON() ([]byte,error)

typeProjectsLocationsCustomTargetTypesCreateCalladded inv0.154.0

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

func (*ProjectsLocationsCustomTargetTypesCreateCall)Contextadded inv0.154.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesCreateCall)CustomTargetTypeIdadded inv0.154.0

CustomTargetTypeId sets the optional parameter "customTargetTypeId":Required. ID of the `CustomTargetType`.

func (*ProjectsLocationsCustomTargetTypesCreateCall)Doadded inv0.154.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesCreateCall)Fieldsadded inv0.154.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesCreateCall)Headeradded inv0.154.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesCreateCall)RequestIdadded inv0.154.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsCustomTargetTypesCreateCall)ValidateOnlyadded inv0.154.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsCustomTargetTypesDeleteCalladded inv0.154.0

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

func (*ProjectsLocationsCustomTargetTypesDeleteCall)AllowMissingadded inv0.154.0

AllowMissing sets the optional parameter "allowMissing": If set to true,then deleting an already deleted or non-existing `CustomTargetType` willsucceed.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)Contextadded inv0.154.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)Doadded inv0.154.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)Etagadded inv0.154.0

Etag sets the optional parameter "etag": This checksum is computed by theserver based on the value of other fields, and may be sent on update anddelete requests to ensure the client has an up-to-date value beforeproceeding.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)Fieldsadded inv0.154.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)Headeradded inv0.154.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesDeleteCall)RequestIdadded inv0.154.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsCustomTargetTypesDeleteCall)ValidateOnlyadded inv0.154.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated but no actual change is made.

typeProjectsLocationsCustomTargetTypesGetCalladded inv0.154.0

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

func (*ProjectsLocationsCustomTargetTypesGetCall)Contextadded inv0.154.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesGetCall)Doadded inv0.154.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.get" call.Any non-2xx status code is an error. Response headers are in either*CustomTargetType.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsCustomTargetTypesGetCall)Fieldsadded inv0.154.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesGetCall)Headeradded inv0.154.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesGetCall)IfNoneMatchadded inv0.154.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsCustomTargetTypesGetIamPolicyCalladded inv0.160.0

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

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)Contextadded inv0.160.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)Doadded inv0.160.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)Fieldsadded inv0.160.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)Headeradded inv0.160.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)IfNoneMatchadded inv0.160.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsCustomTargetTypesGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.160.0

func (c *ProjectsLocationsCustomTargetTypesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsCustomTargetTypesGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsCustomTargetTypesListCalladded inv0.154.0

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

func (*ProjectsLocationsCustomTargetTypesListCall)Contextadded inv0.154.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesListCall)Doadded inv0.154.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.list" call.Any non-2xx status code is an error. Response headers are in either*ListCustomTargetTypesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesListCall)Fieldsadded inv0.154.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesListCall)Filteradded inv0.154.0

Filter sets the optional parameter "filter": Filter custom target types tobe returned. Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsCustomTargetTypesListCall)Headeradded inv0.154.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesListCall)IfNoneMatchadded inv0.154.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsCustomTargetTypesListCall)OrderByadded inv0.154.0

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsCustomTargetTypesListCall)PageSizeadded inv0.154.0

PageSize sets the optional parameter "pageSize": The maximum number of`CustomTargetType` objects to return. The service may return fewer than thisvalue. If unspecified, at most 50 `CustomTargetType` objects will bereturned. The maximum value is 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsCustomTargetTypesListCall)PageTokenadded inv0.154.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListCustomTargetTypes` call. Provide this to retrieve thesubsequent page. When paginating, all other provided parameters match thecall that provided the page token.

func (*ProjectsLocationsCustomTargetTypesListCall)Pagesadded inv0.154.0

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.

typeProjectsLocationsCustomTargetTypesPatchCalladded inv0.154.0

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

func (*ProjectsLocationsCustomTargetTypesPatchCall)AllowMissingadded inv0.154.0

AllowMissing sets the optional parameter "allowMissing": If set to true,updating a `CustomTargetType` that does not exist will result in thecreation of a new `CustomTargetType`.

func (*ProjectsLocationsCustomTargetTypesPatchCall)Contextadded inv0.154.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesPatchCall)Doadded inv0.154.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesPatchCall)Fieldsadded inv0.154.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesPatchCall)Headeradded inv0.154.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsCustomTargetTypesPatchCall)RequestIdadded inv0.154.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsCustomTargetTypesPatchCall)UpdateMaskadded inv0.154.0

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten by the update in the`CustomTargetType` resource. The fields specified in the update_mask arerelative to the resource, not the full request. A field will be overwrittenif it's in the mask. If the user doesn't provide a mask then all fields areoverwritten.

func (*ProjectsLocationsCustomTargetTypesPatchCall)ValidateOnlyadded inv0.154.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsCustomTargetTypesServiceadded inv0.154.0

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

funcNewProjectsLocationsCustomTargetTypesServiceadded inv0.154.0

func NewProjectsLocationsCustomTargetTypesService(s *Service) *ProjectsLocationsCustomTargetTypesService

func (*ProjectsLocationsCustomTargetTypesService)Createadded inv0.154.0

Create: Creates a new CustomTargetType in a given project and location.

  • parent: The parent collection in which the `CustomTargetType` must becreated. The format is `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsCustomTargetTypesService)Deleteadded inv0.154.0

Delete: Deletes a single CustomTargetType.

  • name: The name of the `CustomTargetType` to delete. Format must be`projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.

func (*ProjectsLocationsCustomTargetTypesService)Getadded inv0.154.0

Get: Gets details of a single CustomTargetType.

  • name: Name of the `CustomTargetType`. Format must be`projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}`.

func (*ProjectsLocationsCustomTargetTypesService)GetIamPolicyadded inv0.160.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsCustomTargetTypesService)Listadded inv0.154.0

List: Lists CustomTargetTypes in a given project and location.

  • parent: The parent that owns this collection of custom target types.Format must be `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsCustomTargetTypesService)Patchadded inv0.154.0

Patch: Updates a single CustomTargetType.

  • name: Identifier. Name of the `CustomTargetType`. Format is`projects/{project}/locations/{location}/customTargetTypes/{customTargetType}`. The `customTargetType` component must match`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsCustomTargetTypesService)SetIamPolicyadded inv0.160.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

typeProjectsLocationsCustomTargetTypesSetIamPolicyCalladded inv0.160.0

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

func (*ProjectsLocationsCustomTargetTypesSetIamPolicyCall)Contextadded inv0.160.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomTargetTypesSetIamPolicyCall)Doadded inv0.160.0

Do executes the "clouddeploy.projects.locations.customTargetTypes.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsCustomTargetTypesSetIamPolicyCall)Fieldsadded inv0.160.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsCustomTargetTypesSetIamPolicyCall)Headeradded inv0.160.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesAutomationRunsCancelCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsCancelCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsCancelCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automationRuns.cancel" call.Any non-2xx status code is an error. Response headers are in either*CancelAutomationRunResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsCancelCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsCancelCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesAutomationRunsGetCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsGetCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsGetCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automationRuns.get" call.Any non-2xx status code is an error. Response headers are in either*AutomationRun.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsGetCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsGetCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsGetCall)IfNoneMatchadded inv0.150.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesAutomationRunsListCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automationRuns.list" call.Any non-2xx status code is an error. Response headers are in either*ListAutomationRunsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Filteradded inv0.150.0

Filter sets the optional parameter "filter": Filter automationRuns to bereturned. All fields can be used in the filter.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)IfNoneMatchadded inv0.150.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)OrderByadded inv0.150.0

OrderBy sets the optional parameter "orderBy": Field to sort by.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)PageSizeadded inv0.150.0

PageSize sets the optional parameter "pageSize": The maximum number ofautomationRuns to return. The service may return fewer than this value. Ifunspecified, at most 50 automationRuns will be returned. The maximum valueis 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)PageTokenadded inv0.150.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListAutomationRuns` call. Provide this to retrieve thesubsequent page. When paginating, all other provided parameters match thecall that provided the page token.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsListCall)Pagesadded inv0.150.0

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.

typeProjectsLocationsDeliveryPipelinesAutomationRunsServiceadded inv0.150.0

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

funcNewProjectsLocationsDeliveryPipelinesAutomationRunsServiceadded inv0.150.0

func NewProjectsLocationsDeliveryPipelinesAutomationRunsService(s *Service) *ProjectsLocationsDeliveryPipelinesAutomationRunsService

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsService)Canceladded inv0.150.0

Cancel: Cancels an AutomationRun. The `state` of the `AutomationRun` aftercancelling is `CANCELLED`. `CancelAutomationRun` can be called onAutomationRun in the state `IN_PROGRESS` and `PENDING`; AutomationRun in adifferent state returns an `FAILED_PRECONDITION` error.

  • name: Name of the `AutomationRun`. Format is`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsService)Getadded inv0.150.0

Get: Gets details of a single AutomationRun.

  • name: Name of the `AutomationRun`. Format must be`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationRunsService)Listadded inv0.150.0

List: Lists AutomationRuns in a given project and location.

  • parent: The parent `Delivery Pipeline`, which owns this collection ofautomationRuns. Format must be`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.

typeProjectsLocationsDeliveryPipelinesAutomationsCreateCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)AutomationIdadded inv0.150.0

AutomationId sets the optional parameter "automationId": Required. ID of the`Automation`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automations.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)RequestIdadded inv0.150.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesAutomationsCreateCall)ValidateOnlyadded inv0.150.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesAutomationsDeleteCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)AllowMissingadded inv0.150.0

AllowMissing sets the optional parameter "allowMissing": If set to true,then deleting an already deleted or non-existing `Automation` will succeed.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automations.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)Etagadded inv0.150.0

Etag sets the optional parameter "etag": The weak etag of the request. Thischecksum is computed by the server based on the value of other fields, andmay be sent on update and delete requests to ensure the client has anup-to-date value before proceeding.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)RequestIdadded inv0.150.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesAutomationsDeleteCall)ValidateOnlyadded inv0.150.0

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and verify whether the resource exists, but do not actually postit.

typeProjectsLocationsDeliveryPipelinesAutomationsGetCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationsGetCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationsGetCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automations.get" call.Any non-2xx status code is an error. Response headers are in either*Automation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationsGetCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationsGetCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsGetCall)IfNoneMatchadded inv0.150.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesAutomationsListCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automations.list" call.Any non-2xx status code is an error. Response headers are in either*ListAutomationsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Filteradded inv0.150.0

Filter sets the optional parameter "filter": Filter automations to bereturned. All fields can be used in the filter.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)IfNoneMatchadded inv0.150.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)OrderByadded inv0.150.0

OrderBy sets the optional parameter "orderBy": Field to sort by.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)PageSizeadded inv0.150.0

PageSize sets the optional parameter "pageSize": The maximum number ofautomations to return. The service may return fewer than this value. Ifunspecified, at most 50 automations will be returned. The maximum value is1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)PageTokenadded inv0.150.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListAutomations` call. Provide this to retrieve thesubsequent page. When paginating, all other provided parameters match thecall that provided the page token.

func (*ProjectsLocationsDeliveryPipelinesAutomationsListCall)Pagesadded inv0.150.0

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.

typeProjectsLocationsDeliveryPipelinesAutomationsPatchCalladded inv0.150.0

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

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)AllowMissingadded inv0.150.0

AllowMissing sets the optional parameter "allowMissing": If set to true,updating a `Automation` that does not exist will result in the creation of anew `Automation`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)Contextadded inv0.150.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)Doadded inv0.150.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.automations.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)Fieldsadded inv0.150.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)Headeradded inv0.150.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)RequestIdadded inv0.150.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)UpdateMaskadded inv0.150.0

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten by the update in the`Automation` resource. The fields specified in the update_mask are relativeto the resource, not the full request. A field will be overwritten if it'sin the mask. If the user doesn't provide a mask then all fields areoverwritten.

func (*ProjectsLocationsDeliveryPipelinesAutomationsPatchCall)ValidateOnlyadded inv0.150.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesAutomationsServiceadded inv0.150.0

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

funcNewProjectsLocationsDeliveryPipelinesAutomationsServiceadded inv0.150.0

func NewProjectsLocationsDeliveryPipelinesAutomationsService(s *Service) *ProjectsLocationsDeliveryPipelinesAutomationsService

func (*ProjectsLocationsDeliveryPipelinesAutomationsService)Createadded inv0.150.0

Create: Creates a new Automation in a given project and location.

  • parent: The parent collection in which the `Automation` must be created.The format is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsService)Deleteadded inv0.150.0

Delete: Deletes a single Automation resource.

  • name: The name of the `Automation` to delete. The format is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsService)Getadded inv0.150.0

Get: Gets details of a single Automation.

  • name: Name of the `Automation`. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsService)Listadded inv0.150.0

List: Lists Automations in a given project and location.

  • parent: The parent `Delivery Pipeline`, which owns this collection ofautomations. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesAutomationsService)Patchadded inv0.150.0

Patch: Updates the parameters of a single Automation resource.

  • name: Output only. Name of the `Automation`. Format is`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}`.

typeProjectsLocationsDeliveryPipelinesCreateCall

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

func (*ProjectsLocationsDeliveryPipelinesCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesCreateCall)DeliveryPipelineId

DeliveryPipelineId sets the optional parameter "deliveryPipelineId":Required. ID of the `DeliveryPipeline`.

func (*ProjectsLocationsDeliveryPipelinesCreateCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesCreateCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesDeleteCall

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

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true,then deleting an already deleted or non-existing `DeliveryPipeline` willsucceed.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Etag

Etag sets the optional parameter "etag": This checksum is computed by theserver based on the value of other fields, and may be sent on update anddelete requests to ensure the client has an up-to-date value beforeproceeding.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Force

Force sets the optional parameter "force": If set to true, all childresources under this pipeline will also be deleted. Otherwise, the requestwill only work if the pipeline has no child resources.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the review, but do not actually post it.

typeProjectsLocationsDeliveryPipelinesGetCall

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

func (*ProjectsLocationsDeliveryPipelinesGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesGetCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.get" call.Any non-2xx status code is an error. Response headers are in either*DeliveryPipeline.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesGetIamPolicyCall

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

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsDeliveryPipelinesGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsDeliveryPipelinesListCall

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

func (*ProjectsLocationsDeliveryPipelinesListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesListCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.list" call.Any non-2xx status code is an error. Response headers are in either*ListDeliveryPipelinesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesListCall)Filter

Filter sets the optional parameter "filter": Filter pipelines to bereturned. Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsDeliveryPipelinesListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsDeliveryPipelinesListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofpipelines to return. The service may return fewer than this value. Ifunspecified, at most 50 pipelines will be returned. The maximum value is1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListDeliveryPipelines` call. Provide this to retrieve thesubsequent page. When paginating, all other provided parameters match thecall that provided the page token.

func (*ProjectsLocationsDeliveryPipelinesListCall)Pages

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.

typeProjectsLocationsDeliveryPipelinesPatchCall

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

func (*ProjectsLocationsDeliveryPipelinesPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true,updating a `DeliveryPipeline` that does not exist will result in thecreation of a new `DeliveryPipeline`.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten by the update in the`DeliveryPipeline` resource. The fields specified in the update_mask arerelative to the resource, not the full request. A field will be overwrittenif it's in the mask. If the user doesn't provide a mask then all fields areoverwritten.

func (*ProjectsLocationsDeliveryPipelinesPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesReleasesAbandonCalladded inv0.85.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall)Contextadded inv0.85.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall)Doadded inv0.85.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.abandon" call.Any non-2xx status code is an error. Response headers are in either*AbandonReleaseResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall)Fieldsadded inv0.85.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesAbandonCall)Headeradded inv0.85.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesCreateCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)OverrideDeployPolicyadded inv0.200.0

OverrideDeployPolicy sets the optional parameter "overrideDeployPolicy":Deploy policies to override. Format is`projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)ReleaseId

ReleaseId sets the optional parameter "releaseId": Required. ID of the`Release`.

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesReleasesCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesReleasesGetCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.get" call.Any non-2xx status code is an error. Response headers are in either*Release.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesReleasesListCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.list" call.Any non-2xx status code is an error. Response headers are in either*ListReleasesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Filter

Filter sets the optional parameter "filter": Filter releases to be returned.Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)PageSize

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 maximumvalue is 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListReleases` call. Provide this to retrieve the subsequentpage. When paginating, all other provided parameters match the call thatprovided the page token.

func (*ProjectsLocationsDeliveryPipelinesReleasesListCall)Pages

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.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCalladded inv0.115.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall)Contextadded inv0.115.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall)Doadded inv0.115.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.advance" call.Any non-2xx status code is an error. Response headers are in either*AdvanceRolloutResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall)Fieldsadded inv0.115.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsAdvanceCall)Headeradded inv0.115.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.approve" call.Any non-2xx status code is an error. Response headers are in either*ApproveRolloutResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsApproveCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCalladded inv0.115.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall)Contextadded inv0.115.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall)Doadded inv0.115.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.cancel" call.Any non-2xx status code is an error. Response headers are in either*CancelRolloutResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall)Fieldsadded inv0.115.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCancelCall)Headeradded inv0.115.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)OverrideDeployPolicyadded inv0.200.0

OverrideDeployPolicy sets the optional parameter "overrideDeployPolicy":Deploy policies to override. Format is`projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)RolloutId

RolloutId sets the optional parameter "rolloutId": Required. ID of the`Rollout`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)StartingPhaseIdadded inv0.109.0

StartingPhaseId sets the optional parameter "startingPhaseId": The startingphase ID for the `Rollout`. If empty the `Rollout` will start at the firstphase.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.get" call.Any non-2xx status code is an error. Response headers are in either*Rollout.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCalladded inv0.115.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall)Contextadded inv0.115.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall)Doadded inv0.115.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.ignoreJob" call.Any non-2xx status code is an error. Response headers are in either*IgnoreJobResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall)Fieldsadded inv0.115.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJobCall)Headeradded inv0.115.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCalladded inv0.98.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall)Contextadded inv0.98.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall)Doadded inv0.98.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.get" call.Any non-2xx status code is an error. Response headers are in either*JobRun.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall)Fieldsadded inv0.98.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall)Headeradded inv0.98.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGetCall)IfNoneMatchadded inv0.98.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCalladded inv0.98.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Contextadded inv0.98.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Doadded inv0.98.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.list" call.Any non-2xx status code is an error. Response headers are in either*ListJobRunsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Fieldsadded inv0.98.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Filteradded inv0.98.0

Filter sets the optional parameter "filter": Filter results to be returned.Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Headeradded inv0.98.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)IfNoneMatchadded inv0.98.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)OrderByadded inv0.98.0

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)PageSizeadded inv0.98.0

PageSize sets the optional parameter "pageSize": The maximum number of`JobRun` objects to return. The service may return fewer than this value. Ifunspecified, at most 50 `JobRun` objects will be returned. The maximum valueis 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)PageTokenadded inv0.98.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListJobRuns` call. Provide this to retrieve the subsequentpage. When paginating, all other provided parameters match the call thatprovided the page token.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListCall)Pagesadded inv0.98.0

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.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsServiceadded inv0.98.0

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

funcNewProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsServiceadded inv0.98.0

func NewProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService(s *Service) *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService)Getadded inv0.98.0

Get: Gets details of a single JobRun.

  • name: Name of the `JobRun`. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService)Listadded inv0.98.0

List: Lists JobRuns in a given project and location.

- parent: The `Rollout` which owns this collection of `JobRun` objects.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService)Terminateadded inv0.115.0

Terminate: Terminates a Job Run in a given project and location.

  • name: Name of the `JobRun`. Format must be`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}`.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCalladded inv0.115.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall)Contextadded inv0.115.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall)Doadded inv0.115.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.jobRuns.terminate" call.Any non-2xx status code is an error. Response headers are in either*TerminateJobRunResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall)Fieldsadded inv0.115.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminateCall)Headeradded inv0.115.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.list" call.Any non-2xx status code is an error. Response headers are in either*ListRolloutsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Filter

Filter sets the optional parameter "filter": Filter rollouts to be returned.Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)PageSize

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 maximumvalue is 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListRollouts` call. Provide this to retrieve the subsequentpage. When paginating, all other provided parameters match the call thatprovided the page token.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsListCall)Pages

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.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCalladded inv0.98.0

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

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall)Contextadded inv0.98.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall)Doadded inv0.98.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.releases.rollouts.retryJob" call.Any non-2xx status code is an error. Response headers are in either*RetryJobResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall)Fieldsadded inv0.98.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsRetryJobCall)Headeradded inv0.98.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesReleasesRolloutsService

type ProjectsLocationsDeliveryPipelinesReleasesRolloutsService struct {JobRuns *ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsService// contains filtered or unexported fields}

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)Advanceadded inv0.115.0

Advance: Advances a Rollout in a given project and location.

  • name: Name of the Rollout. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)Approve

Approve: Approves a Rollout.

  • name: Name of the Rollout. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)Canceladded inv0.115.0

Cancel: Cancels a Rollout in a given project and location.

  • name: Name of the Rollout. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)Create

Create: Creates a new Rollout in a given project and location.

  • parent: The parent collection in which the `Rollout` must be created. Theformat is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)Get

Get: Gets details of a single Rollout.

  • name: Name of the `Rollout`. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)IgnoreJobadded inv0.115.0

IgnoreJob: Ignores the specified Job in a Rollout.

  • rollout: Name of the Rollout. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)List

List: Lists Rollouts in a given project and location.

- parent: The `Release` which owns this collection of `Rollout` objects.

func (*ProjectsLocationsDeliveryPipelinesReleasesRolloutsService)RetryJobadded inv0.98.0

RetryJob: Retries the specified Job in a Rollout.

  • rollout: Name of the Rollout. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.

typeProjectsLocationsDeliveryPipelinesReleasesService

type ProjectsLocationsDeliveryPipelinesReleasesService struct {Rollouts *ProjectsLocationsDeliveryPipelinesReleasesRolloutsService// contains filtered or unexported fields}

func (*ProjectsLocationsDeliveryPipelinesReleasesService)Abandonadded inv0.85.0

Abandon: Abandons a Release in the Delivery Pipeline.

  • name: Name of the Release. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesService)Create

Create: Creates a new Release in a given project and location.

  • parent: The parent collection in which the `Release` is created. Theformat is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesService)Get

Get: Gets details of a single Release.

  • name: Name of the `Release`. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}`.

func (*ProjectsLocationsDeliveryPipelinesReleasesService)List

List: Lists Releases in a given project and location.

  • parent: The `DeliveryPipeline` which owns this collection of `Release`objects.

typeProjectsLocationsDeliveryPipelinesRollbackTargetCalladded inv0.141.0

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

func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall)Contextadded inv0.141.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall)Doadded inv0.141.0

Do executes the "clouddeploy.projects.locations.deliveryPipelines.rollbackTarget" call.Any non-2xx status code is an error. Response headers are in either*RollbackTargetResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall)Fieldsadded inv0.141.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesRollbackTargetCall)Headeradded inv0.141.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesService

type ProjectsLocationsDeliveryPipelinesService struct {AutomationRuns *ProjectsLocationsDeliveryPipelinesAutomationRunsServiceAutomations *ProjectsLocationsDeliveryPipelinesAutomationsServiceReleases *ProjectsLocationsDeliveryPipelinesReleasesService// contains filtered or unexported fields}

func (*ProjectsLocationsDeliveryPipelinesService)Create

Create: Creates a new DeliveryPipeline in a given project and location.

  • parent: The parent collection in which the `DeliveryPipeline` must becreated. The format is `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsDeliveryPipelinesService)Delete

Delete: Deletes a single DeliveryPipeline.

  • name: The name of the `DeliveryPipeline` to delete. The format is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesService)Get

Get: Gets details of a single DeliveryPipeline.

  • name: Name of the `DeliveryPipeline`. Format must be`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsDeliveryPipelinesService)List

List: Lists DeliveryPipelines in a given project and location.

  • parent: The parent, which owns this collection of pipelines. Format mustbe `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsDeliveryPipelinesService)Patch

Patch: Updates the parameters of a single DeliveryPipeline.

  • name: Identifier. Name of the `DeliveryPipeline`. Format is`projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}`. The `deliveryPipeline` component must match`[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsDeliveryPipelinesService)RollbackTargetadded inv0.141.0

RollbackTarget: Creates a `Rollout` to roll back the specified target.

  • name: The `DeliveryPipeline` for which the rollback `Rollout` must becreated. The format is`projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}`.

func (*ProjectsLocationsDeliveryPipelinesService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsDeliveryPipelinesService)TestIamPermissions

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsDeliveryPipelinesSetIamPolicyCall

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

func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeliveryPipelinesTestIamPermissionsCall

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

func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall)Do

Do executes the "clouddeploy.projects.locations.deliveryPipelines.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeliveryPipelinesTestIamPermissionsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsDeployPoliciesCreateCalladded inv0.200.0

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

func (*ProjectsLocationsDeployPoliciesCreateCall)Contextadded inv0.200.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesCreateCall)DeployPolicyIdadded inv0.200.0

DeployPolicyId sets the optional parameter "deployPolicyId": Required. ID ofthe `DeployPolicy`.

func (*ProjectsLocationsDeployPoliciesCreateCall)Doadded inv0.200.0

Do executes the "clouddeploy.projects.locations.deployPolicies.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesCreateCall)Fieldsadded inv0.200.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesCreateCall)Headeradded inv0.200.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesCreateCall)RequestIdadded inv0.200.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeployPoliciesCreateCall)ValidateOnlyadded inv0.200.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeployPoliciesDeleteCalladded inv0.200.0

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

func (*ProjectsLocationsDeployPoliciesDeleteCall)AllowMissingadded inv0.200.0

AllowMissing sets the optional parameter "allowMissing": If set to true,then deleting an already deleted or non-existing `DeployPolicy` willsucceed.

func (*ProjectsLocationsDeployPoliciesDeleteCall)Contextadded inv0.200.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesDeleteCall)Doadded inv0.200.0

Do executes the "clouddeploy.projects.locations.deployPolicies.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesDeleteCall)Etagadded inv0.200.0

Etag sets the optional parameter "etag": This checksum is computed by theserver based on the value of other fields, and may be sent on update anddelete requests to ensure the client has an up-to-date value beforeproceeding.

func (*ProjectsLocationsDeployPoliciesDeleteCall)Fieldsadded inv0.200.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesDeleteCall)Headeradded inv0.200.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesDeleteCall)RequestIdadded inv0.200.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeployPoliciesDeleteCall)ValidateOnlyadded inv0.200.0

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the review, but do not actually post it.

typeProjectsLocationsDeployPoliciesGetCalladded inv0.200.0

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

func (*ProjectsLocationsDeployPoliciesGetCall)Contextadded inv0.200.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesGetCall)Doadded inv0.200.0

Do executes the "clouddeploy.projects.locations.deployPolicies.get" call.Any non-2xx status code is an error. Response headers are in either*DeployPolicy.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesGetCall)Fieldsadded inv0.200.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesGetCall)Headeradded inv0.200.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesGetCall)IfNoneMatchadded inv0.200.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsDeployPoliciesGetIamPolicyCalladded inv0.217.0

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

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)Contextadded inv0.217.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)Doadded inv0.217.0

Do executes the "clouddeploy.projects.locations.deployPolicies.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)Fieldsadded inv0.217.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)Headeradded inv0.217.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)IfNoneMatchadded inv0.217.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeployPoliciesGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.217.0

func (c *ProjectsLocationsDeployPoliciesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsDeployPoliciesGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsDeployPoliciesListCalladded inv0.200.0

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

func (*ProjectsLocationsDeployPoliciesListCall)Contextadded inv0.200.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesListCall)Doadded inv0.200.0

Do executes the "clouddeploy.projects.locations.deployPolicies.list" call.Any non-2xx status code is an error. Response headers are in either*ListDeployPoliciesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesListCall)Fieldsadded inv0.200.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesListCall)Filteradded inv0.200.0

Filter sets the optional parameter "filter": Filter deploy policies to bereturned. Seehttps://google.aip.dev/160 for more details. All fields can beused in the filter.

func (*ProjectsLocationsDeployPoliciesListCall)Headeradded inv0.200.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesListCall)IfNoneMatchadded inv0.200.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsDeployPoliciesListCall)OrderByadded inv0.200.0

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsDeployPoliciesListCall)PageSizeadded inv0.200.0

PageSize sets the optional parameter "pageSize": The maximum number ofdeploy policies to return. The service may return fewer than this value. Ifunspecified, at most 50 deploy policies will be returned. The maximum valueis 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsDeployPoliciesListCall)PageTokenadded inv0.200.0

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListDeployPolicies` call. Provide this to retrieve thesubsequent page. When paginating, all other provided parameters match thecall that provided the page token.

func (*ProjectsLocationsDeployPoliciesListCall)Pagesadded inv0.200.0

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.

typeProjectsLocationsDeployPoliciesPatchCalladded inv0.200.0

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

func (*ProjectsLocationsDeployPoliciesPatchCall)AllowMissingadded inv0.200.0

AllowMissing sets the optional parameter "allowMissing": If set to true,updating a `DeployPolicy` that does not exist will result in the creation ofa new `DeployPolicy`.

func (*ProjectsLocationsDeployPoliciesPatchCall)Contextadded inv0.200.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesPatchCall)Doadded inv0.200.0

Do executes the "clouddeploy.projects.locations.deployPolicies.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesPatchCall)Fieldsadded inv0.200.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesPatchCall)Headeradded inv0.200.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsDeployPoliciesPatchCall)RequestIdadded inv0.200.0

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsDeployPoliciesPatchCall)UpdateMaskadded inv0.200.0

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten by the update in the`DeployPolicy` resource. The fields specified in the update_mask arerelative to the resource, not the full request. A field will be overwrittenif it's in the mask. If the user doesn't provide a mask then all fields areoverwritten.

func (*ProjectsLocationsDeployPoliciesPatchCall)ValidateOnlyadded inv0.200.0

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsDeployPoliciesServiceadded inv0.200.0

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

funcNewProjectsLocationsDeployPoliciesServiceadded inv0.200.0

func NewProjectsLocationsDeployPoliciesService(s *Service) *ProjectsLocationsDeployPoliciesService

func (*ProjectsLocationsDeployPoliciesService)Createadded inv0.200.0

Create: Creates a new DeployPolicy in a given project and location.

  • parent: The parent collection in which the `DeployPolicy` must be created.The format is `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsDeployPoliciesService)Deleteadded inv0.200.0

Delete: Deletes a single DeployPolicy.

  • name: The name of the `DeployPolicy` to delete. The format is`projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.

func (*ProjectsLocationsDeployPoliciesService)Getadded inv0.200.0

Get: Gets details of a single DeployPolicy.

  • name: Name of the `DeployPolicy`. Format must be`projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}`.

func (*ProjectsLocationsDeployPoliciesService)GetIamPolicyadded inv0.217.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsDeployPoliciesService)Listadded inv0.200.0

List: Lists DeployPolicies in a given project and location.

  • parent: The parent, which owns this collection of deploy policies. Formatmust be `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsDeployPoliciesService)Patchadded inv0.200.0

Patch: Updates the parameters of a single DeployPolicy.

  • name: Output only. Name of the `DeployPolicy`. Format is`projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.The `deployPolicy` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsDeployPoliciesService)SetIamPolicyadded inv0.217.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

typeProjectsLocationsDeployPoliciesSetIamPolicyCalladded inv0.217.0

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

func (*ProjectsLocationsDeployPoliciesSetIamPolicyCall)Contextadded inv0.217.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDeployPoliciesSetIamPolicyCall)Doadded inv0.217.0

Do executes the "clouddeploy.projects.locations.deployPolicies.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsDeployPoliciesSetIamPolicyCall)Fieldsadded inv0.217.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsDeployPoliciesSetIamPolicyCall)Headeradded inv0.217.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsGetCall

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

func (*ProjectsLocationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall)Do

Do executes the "clouddeploy.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsGetConfigCall

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

func (*ProjectsLocationsGetConfigCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetConfigCall)Do

Do executes the "clouddeploy.projects.locations.getConfig" call.Any non-2xx status code is an error. Response headers are in either*Config.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsGetConfigCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetConfigCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsListCall

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

func (*ProjectsLocationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall)Do

Do executes the "clouddeploy.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsListCall)ExtraLocationTypesadded inv0.230.0

func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*ProjectsLocationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filter

Filter sets the optional parameter "filter": A filter to narrow down resultsto 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

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.

func (*ProjectsLocationsListCall)Pages

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.

typeProjectsLocationsOperationsCancelCall

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

func (*ProjectsLocationsOperationsCancelCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall)Do

Do executes the "clouddeploy.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsCancelCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsDeleteCall

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

func (*ProjectsLocationsOperationsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall)Do

Do executes the "clouddeploy.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsGetCall

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

func (*ProjectsLocationsOperationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall)Do

Do executes the "clouddeploy.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsOperationsListCall

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

func (*ProjectsLocationsOperationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall)Do

Do executes the "clouddeploy.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsOperationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pages

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.

func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.252.0

func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.

typeProjectsLocationsOperationsService

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

func (*ProjectsLocationsOperationsService)Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.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

Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe 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

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService)List

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

typeProjectsLocationsService

type ProjectsLocationsService struct {CustomTargetTypes *ProjectsLocationsCustomTargetTypesServiceDeliveryPipelines *ProjectsLocationsDeliveryPipelinesServiceDeployPolicies *ProjectsLocationsDeployPoliciesServiceOperations *ProjectsLocationsOperationsServiceTargets *ProjectsLocationsTargetsService// contains filtered or unexported fields}

funcNewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService)Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)GetConfig

GetConfig: Gets the configuration for a location.

- name: Name of requested configuration.

func (*ProjectsLocationsService)List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

typeProjectsLocationsTargetsCreateCall

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

func (*ProjectsLocationsTargetsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsCreateCall)Do

Do executes the "clouddeploy.projects.locations.targets.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsCreateCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsTargetsCreateCall)TargetId

TargetId sets the optional parameter "targetId": Required. ID of the`Target`.

func (*ProjectsLocationsTargetsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsTargetsDeleteCall

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

func (*ProjectsLocationsTargetsDeleteCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set to true,then deleting an already deleted or non-existing `Target` will succeed.

func (*ProjectsLocationsTargetsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsDeleteCall)Do

Do executes the "clouddeploy.projects.locations.targets.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsDeleteCall)Etag

Etag sets the optional parameter "etag": This checksum is computed by theserver based on the value of other fields, and may be sent on update anddelete requests to ensure the client has an up-to-date value beforeproceeding.

func (*ProjectsLocationsTargetsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsTargetsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatethe request and preview the review, but do not actually post it.

typeProjectsLocationsTargetsGetCall

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

func (*ProjectsLocationsTargetsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsGetCall)Do

Do executes the "clouddeploy.projects.locations.targets.get" call.Any non-2xx status code is an error. Response headers are in either*Target.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsTargetsGetIamPolicyCall

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

func (*ProjectsLocationsTargetsGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsGetIamPolicyCall)Do

Do executes the "clouddeploy.projects.locations.targets.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsTargetsGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsTargetsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsTargetsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsTargetsListCall

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

func (*ProjectsLocationsTargetsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsListCall)Do

Do executes the "clouddeploy.projects.locations.targets.list" call.Any non-2xx status code is an error. Response headers are in either*ListTargetsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsTargetsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsListCall)Filter

Filter sets the optional parameter "filter": Filter targets to be returned.Seehttps://google.aip.dev/160 for more details.

func (*ProjectsLocationsTargetsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsTargetsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Field to sort by. Seehttps://google.aip.dev/132#ordering for more details.

func (*ProjectsLocationsTargetsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of`Target` objects to return. The service may return fewer than this value. Ifunspecified, at most 50 `Target` objects will be returned. The maximum valueis 1000; values above 1000 will be set to 1000.

func (*ProjectsLocationsTargetsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListTargets` call. Provide this to retrieve the subsequentpage. When paginating, all other provided parameters match the call thatprovided the page token.

func (*ProjectsLocationsTargetsListCall)Pages

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.

typeProjectsLocationsTargetsPatchCall

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

func (*ProjectsLocationsTargetsPatchCall)AllowMissing

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsPatchCall)Do

Do executes the "clouddeploy.projects.locations.targets.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsTargetsPatchCall)RequestId

RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server knows to ignore the request if it has already beencompleted. The server guarantees that for at least 60 minutes after thefirst request. For example, consider a situation where you make an initialrequest and the request times out. If you make the request again with thesame request ID, the server can check if original operation with the samerequest ID was received, and if so, will ignore the second request. Thisprevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsTargetsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten by the update in the `Target`resource. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it's in themask. If the user doesn't provide a mask then all fields are overwritten.

func (*ProjectsLocationsTargetsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set to true, therequest is validated and the user is provided with an expected result, butno actual change is made.

typeProjectsLocationsTargetsService

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

funcNewProjectsLocationsTargetsService

func NewProjectsLocationsTargetsService(s *Service) *ProjectsLocationsTargetsService

func (*ProjectsLocationsTargetsService)Create

Create: Creates a new Target in a given project and location.

  • parent: The parent collection in which the `Target` must be created. Theformat is `projects/{project_id}/locations/{location_name}`.

func (*ProjectsLocationsTargetsService)Delete

Delete: Deletes a single Target.

  • name: The name of the `Target` to delete. The format is`projects/{project_id}/locations/{location_name}/targets/{target_name}`.

func (*ProjectsLocationsTargetsService)Get

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

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsTargetsService)List

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

Patch: Updates the parameters of a single Target.

  • name: Identifier. Name of the `Target`. Format is`projects/{project}/locations/{location}/targets/{target}`. The `target`component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.

func (*ProjectsLocationsTargetsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsTargetsService)TestIamPermissions

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsTargetsSetIamPolicyCall

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

func (*ProjectsLocationsTargetsSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsSetIamPolicyCall)Do

Do executes the "clouddeploy.projects.locations.targets.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsTargetsSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsTargetsTestIamPermissionsCall

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

func (*ProjectsLocationsTargetsTestIamPermissionsCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsTargetsTestIamPermissionsCall)Do

Do executes the "clouddeploy.projects.locations.targets.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsTargetsTestIamPermissionsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsTargetsTestIamPermissionsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsService

type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}

funcNewProjectsService

func NewProjectsService(s *Service) *ProjectsService

typePromoteReleaseOperationadded inv0.150.0

type PromoteReleaseOperation struct {// Phase: Output only. The starting phase of the rollout created by this// operation.Phasestring `json:"phase,omitempty"`// Rollout: Output only. The name of the rollout that initiates the// `AutomationRun`.Rolloutstring `json:"rollout,omitempty"`// TargetId: Output only. The ID of the target that represents the promotion// stage to which the release will be promoted. The value of this field is the// last segment of a target name.TargetIdstring `json:"targetId,omitempty"`// Wait: Output only. How long the operation will be paused.Waitstring `json:"wait,omitempty"`// ForceSendFields is a list of field names (e.g. "Phase") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Phase") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PromoteReleaseOperation: Contains the information of an automatedpromote-release operation.

func (PromoteReleaseOperation)MarshalJSONadded inv0.150.0

func (sPromoteReleaseOperation) MarshalJSON() ([]byte,error)

typePromoteReleaseRuleadded inv0.150.0

type PromoteReleaseRule struct {// Condition: Output only. Information around the state of the Automation rule.Condition *AutomationRuleCondition `json:"condition,omitempty"`// DestinationPhase: Optional. The starting phase of the rollout created by// this operation. Default to the first phase.DestinationPhasestring `json:"destinationPhase,omitempty"`// DestinationTargetId: Optional. The ID of the stage in the pipeline to which// this `Release` is deploying. If unspecified, default it to the next stage in// the promotion flow. The value of this field could be one of the following: *// The last segment of a target name * "@next", the next target in the// promotion sequenceDestinationTargetIdstring `json:"destinationTargetId,omitempty"`// Id: Required. ID of the rule. This id must be unique in the `Automation`// resource to which this rule belongs. The format is// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.Idstring `json:"id,omitempty"`// Wait: Optional. How long the release need to be paused until being promoted// to the next target.Waitstring `json:"wait,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PromoteReleaseRule: The `PromoteRelease` rule will automatically promote arelease from the current target to a specified target.

func (PromoteReleaseRule)MarshalJSONadded inv0.150.0

func (sPromoteReleaseRule) MarshalJSON() ([]byte,error)

typeRelease

type Release struct {// Abandoned: Output only. Indicates whether this is an abandoned release.Abandonedbool `json:"abandoned,omitempty"`// 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"`// BuildArtifacts: Optional. 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.CreateTimestring `json:"createTime,omitempty"`// CustomTargetTypeSnapshots: Output only. Snapshot of the custom target types// referenced by the targets taken at release creation time.CustomTargetTypeSnapshots []*CustomTargetType `json:"customTargetTypeSnapshots,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: Optional. Description of the `Release`. Max length is 255// characters.Descriptionstring `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.Etagstring `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: Identifier. Name of the `Release`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{release}`. The `release` component must match// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `json:"name,omitempty"`// RenderEndTime: Output only. Time at which the render completed.RenderEndTimestring `json:"renderEndTime,omitempty"`// RenderStartTime: Output only. Time at which the render began.RenderStartTimestring `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.RenderStatestring `json:"renderState,omitempty"`// SkaffoldConfigPath: Optional. Filepath of the Skaffold config inside of the// config URI.SkaffoldConfigPathstring `json:"skaffoldConfigPath,omitempty"`// SkaffoldConfigUri: Optional. Cloud Storage URI of tar.gz archive containing// Skaffold configuration.SkaffoldConfigUristring `json:"skaffoldConfigUri,omitempty"`// SkaffoldVersion: Optional. The Skaffold version to use when operating on// this release, such as "1.20.0". Not all versions are valid; Cloud Deploy// supports a specific set of versions. If unset, the most recent supported// Skaffold version will be used.SkaffoldVersionstring `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"`// ToolVersions: Optional. The tool versions to use for this release and all// subsequent operations involving this release. If unset, then it will freeze// the tool versions at the time of release creation.ToolVersions *ToolVersions `json:"toolVersions,omitempty"`// Uid: Output only. Unique identifier of the `Release`.Uidstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Release: A `Release` resource in the Cloud Deploy API. A `Release` defines aspecific Skaffold configuration instance that can be deployed.

func (Release)MarshalJSON

func (sRelease) MarshalJSON() ([]byte,error)

typeReleaseConditionadded inv0.111.0

type ReleaseCondition struct {// DockerVersionSupportedCondition: Output only. Details around the support// state of the release's Docker version.DockerVersionSupportedCondition *ToolVersionSupportedCondition `json:"dockerVersionSupportedCondition,omitempty"`// HelmVersionSupportedCondition: Output only. Details around the support state// of the release's Helm version.HelmVersionSupportedCondition *ToolVersionSupportedCondition `json:"helmVersionSupportedCondition,omitempty"`// KptVersionSupportedCondition: Output only. Details around the support state// of the release's Kpt version.KptVersionSupportedCondition *ToolVersionSupportedCondition `json:"kptVersionSupportedCondition,omitempty"`// KubectlVersionSupportedCondition: Output only. Details around the support// state of the release's Kubectl version.KubectlVersionSupportedCondition *ToolVersionSupportedCondition `json:"kubectlVersionSupportedCondition,omitempty"`// KustomizeVersionSupportedCondition: Output only. Details around the support// state of the release's Kustomize version.KustomizeVersionSupportedCondition *ToolVersionSupportedCondition `json:"kustomizeVersionSupportedCondition,omitempty"`// 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"`// SkaffoldVersionSupportedCondition: Output only. Details around the support// state of the release's Skaffold version.SkaffoldVersionSupportedCondition *ToolVersionSupportedCondition `json:"skaffoldVersionSupportedCondition,omitempty"`// ForceSendFields is a list of field names (e.g.// "DockerVersionSupportedCondition") to unconditionally include in API// requests. By default, fields with empty or default values are omitted from// API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DockerVersionSupportedCondition")// to include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReleaseCondition: ReleaseCondition contains all conditions relevant to aRelease.

func (ReleaseCondition)MarshalJSONadded inv0.111.0

func (sReleaseCondition) MarshalJSON() ([]byte,error)

typeReleaseNotificationEventadded inv0.75.0

type ReleaseNotificationEvent struct {// Message: Debug message for when a notification fails to send.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// Release: The name of the `Release`.Releasestring `json:"release,omitempty"`// ReleaseUid: Unique identifier of the `Release`.ReleaseUidstring `json:"releaseUid,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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReleaseNotificationEvent: Payload proto for"clouddeploy.googleapis.com/release_notification" Platform Log event thatdescribes the failure to send release status change Pub/Sub notification.

func (ReleaseNotificationEvent)MarshalJSONadded inv0.75.0

func (sReleaseNotificationEvent) MarshalJSON() ([]byte,error)

typeReleaseReadyConditionadded inv0.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.Statusbool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReleaseReadyCondition: ReleaseReadyCondition contains information around thestatus of the Release. If a release is not ready, you cannot create arollout with the release.

func (ReleaseReadyCondition)MarshalJSONadded inv0.111.0

func (sReleaseReadyCondition) MarshalJSON() ([]byte,error)

typeReleaseRenderEventadded inv0.75.0

type ReleaseRenderEvent struct {// Message: Debug message for when a render transition occurs. Provides further// details as rendering progresses through render states.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// Release: The name of the release. release_uid is not in this log message// because we write some of these log messages at release creation time, before// we've generated the uid.Releasestring `json:"release,omitempty"`// ReleaseRenderState: The state of the release render.//// 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.ReleaseRenderStatestring `json:"releaseRenderState,omitempty"`// Type: Type of this notification, e.g. for a release render state change// event.//// 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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReleaseRenderEvent: Payload proto for"clouddeploy.googleapis.com/release_render" Platform Log event thatdescribes the render status change.

func (ReleaseRenderEvent)MarshalJSONadded inv0.75.0

func (sReleaseRenderEvent) MarshalJSON() ([]byte,error)

typeRenderMetadataadded inv0.115.0

type RenderMetadata struct {// CloudRun: Output only. Metadata associated with rendering for Cloud Run.CloudRun *CloudRunRenderMetadata `json:"cloudRun,omitempty"`// Custom: Output only. Custom metadata provided by user-defined render// operation.Custom *CustomMetadata `json:"custom,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RenderMetadata: RenderMetadata includes information associated with a`Release` render.

func (RenderMetadata)MarshalJSONadded inv0.115.0

func (sRenderMetadata) MarshalJSON() ([]byte,error)

typeRepairPhaseadded inv0.150.0

type RepairPhase struct {// Retry: Output only. Records of the retry attempts for retry repair mode.Retry *RetryPhase `json:"retry,omitempty"`// Rollback: Output only. Rollback attempt for rollback repair mode .Rollback *RollbackAttempt `json:"rollback,omitempty"`// ForceSendFields is a list of field names (e.g. "Retry") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Retry") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RepairPhase: RepairPhase tracks the repair attempts that have been made foreach `RepairPhaseConfig` specified in the `Automation` resource.

func (RepairPhase)MarshalJSONadded inv0.150.0

func (sRepairPhase) MarshalJSON() ([]byte,error)

typeRepairPhaseConfigadded inv0.200.0

type RepairPhaseConfig struct {// Retry: Optional. Retries a failed job.Retry *Retry `json:"retry,omitempty"`// Rollback: Optional. Rolls back a `Rollout`.Rollback *Rollback `json:"rollback,omitempty"`// ForceSendFields is a list of field names (e.g. "Retry") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Retry") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RepairPhaseConfig: Configuration of the repair phase.

func (RepairPhaseConfig)MarshalJSONadded inv0.200.0

func (sRepairPhaseConfig) MarshalJSON() ([]byte,error)

typeRepairRolloutOperationadded inv0.150.0

type RepairRolloutOperation struct {// CurrentRepairPhaseIndex: Output only. The index of the current repair action// in the repair sequence.CurrentRepairPhaseIndexint64 `json:"currentRepairPhaseIndex,omitempty,string"`// JobId: Output only. The job ID for the Job to repair.JobIdstring `json:"jobId,omitempty"`// PhaseId: Output only. The phase ID of the phase that includes the job being// repaired.PhaseIdstring `json:"phaseId,omitempty"`// RepairPhases: Output only. Records of the repair attempts. Each repair phase// may have multiple retry attempts or single rollback attempt.RepairPhases []*RepairPhase `json:"repairPhases,omitempty"`// Rollout: Output only. The name of the rollout that initiates the// `AutomationRun`.Rolloutstring `json:"rollout,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentRepairPhaseIndex") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentRepairPhaseIndex") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RepairRolloutOperation: Contains the information for an automated `repairrollout` operation.

func (RepairRolloutOperation)MarshalJSONadded inv0.150.0

func (sRepairRolloutOperation) MarshalJSON() ([]byte,error)

typeRepairRolloutRuleadded inv0.150.0

type RepairRolloutRule struct {// Condition: Output only. Information around the state of the 'Automation'// rule.Condition *AutomationRuleCondition `json:"condition,omitempty"`// Id: Required. ID of the rule. This id must be unique in the `Automation`// resource to which this rule belongs. The format is// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.Idstring `json:"id,omitempty"`// Jobs: Optional. Jobs to repair. Proceeds only after job name matched any one// in the list, or for all jobs if unspecified or empty. The phase that// includes the job must match the phase ID specified in `source_phase`. This// value must consist of lower-case letters, numbers, and hyphens, start with a// letter and end with a letter or a number, and have a max length of 63// characters. In other words, it must match the following regex: `^a-z// ([a-z0-9-]{0,61}[a-z0-9])?$`.Jobs []string `json:"jobs,omitempty"`// Phases: Optional. Phases within which jobs are subject to automatic repair// actions on failure. Proceeds only after phase name matched any one in the// list, or for all phases if unspecified. This value must consist of// lower-case letters, numbers, and hyphens, start with a letter and end with a// letter or a number, and have a max length of 63 characters. In other words,// it must match the following regex: `^a-z ([a-z0-9-]{0,61}[a-z0-9])?$`.Phases []string `json:"phases,omitempty"`// RepairPhases: Required. Defines the types of automatic repair phases for// failed jobs.RepairPhases []*RepairPhaseConfig `json:"repairPhases,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RepairRolloutRule: The `RepairRolloutRule` automation rule willautomatically repair a failed `Rollout`.

func (RepairRolloutRule)MarshalJSONadded inv0.150.0

func (sRepairRolloutRule) MarshalJSON() ([]byte,error)

typeRetryadded inv0.150.0

type Retry struct {// Attempts: Required. Total number of retries. Retry is skipped if set to 0;// The minimum value is 1, and the maximum value is 10.Attemptsint64 `json:"attempts,omitempty,string"`// BackoffMode: Optional. The pattern of how wait time will be increased.// Default is linear. Backoff mode will be ignored if `wait` is 0.//// Possible values://   "BACKOFF_MODE_UNSPECIFIED" - No WaitMode is specified.//   "BACKOFF_MODE_LINEAR" - Increases the wait time linearly.//   "BACKOFF_MODE_EXPONENTIAL" - Increases the wait time exponentially.BackoffModestring `json:"backoffMode,omitempty"`// Wait: Optional. How long to wait for the first retry. Default is 0, and the// maximum value is 14d.Waitstring `json:"wait,omitempty"`// ForceSendFields is a list of field names (e.g. "Attempts") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Attempts") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Retry: Retries the failed job.

func (Retry)MarshalJSONadded inv0.150.0

func (sRetry) MarshalJSON() ([]byte,error)

typeRetryAttemptadded inv0.150.0

type RetryAttempt struct {// Attempt: Output only. The index of this retry attempt.Attemptint64 `json:"attempt,omitempty,string"`// State: Output only. Valid state of this retry action.//// Possible values://   "REPAIR_STATE_UNSPECIFIED" - The `repair` has an unspecified state.//   "REPAIR_STATE_SUCCEEDED" - The `repair` action has succeeded.//   "REPAIR_STATE_CANCELLED" - The `repair` action was cancelled.//   "REPAIR_STATE_FAILED" - The `repair` action has failed.//   "REPAIR_STATE_IN_PROGRESS" - The `repair` action is in progress.//   "REPAIR_STATE_PENDING" - The `repair` action is pending.//   "REPAIR_STATE_ABORTED" - The `repair` action was aborted.Statestring `json:"state,omitempty"`// StateDesc: Output only. Description of the state of the Retry.StateDescstring `json:"stateDesc,omitempty"`// Wait: Output only. How long the operation will be paused.Waitstring `json:"wait,omitempty"`// ForceSendFields is a list of field names (e.g. "Attempt") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Attempt") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RetryAttempt: RetryAttempt represents an action of retrying the failed CloudDeploy job.

func (RetryAttempt)MarshalJSONadded inv0.150.0

func (sRetryAttempt) MarshalJSON() ([]byte,error)

typeRetryJobRequestadded inv0.98.0

type RetryJobRequest struct {// JobId: Required. The job ID for the Job to retry.JobIdstring `json:"jobId,omitempty"`// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// PhaseId: Required. The phase ID the Job to retry belongs to.PhaseIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RetryJobRequest: RetryJobRequest is the request object used by `RetryJob`.

func (RetryJobRequest)MarshalJSONadded inv0.98.0

func (sRetryJobRequest) MarshalJSON() ([]byte,error)

typeRetryJobResponseadded inv0.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'.

typeRetryPhaseadded inv0.150.0

type RetryPhase struct {// Attempts: Output only. Detail of a retry action.Attempts []*RetryAttempt `json:"attempts,omitempty"`// BackoffMode: Output only. The pattern of how the wait time of the retry// attempt is calculated.//// Possible values://   "BACKOFF_MODE_UNSPECIFIED" - No WaitMode is specified.//   "BACKOFF_MODE_LINEAR" - Increases the wait time linearly.//   "BACKOFF_MODE_EXPONENTIAL" - Increases the wait time exponentially.BackoffModestring `json:"backoffMode,omitempty"`// TotalAttempts: Output only. The number of attempts that have been made.TotalAttemptsint64 `json:"totalAttempts,omitempty,string"`// ForceSendFields is a list of field names (e.g. "Attempts") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Attempts") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RetryPhase: RetryPhase contains the retry attempts and the metadata forinitiating a new attempt.

func (RetryPhase)MarshalJSONadded inv0.150.0

func (sRetryPhase) MarshalJSON() ([]byte,error)

typeRollbackadded inv0.150.0

type Rollback struct {// DestinationPhase: Optional. The starting phase ID for the `Rollout`. If// unspecified, the `Rollout` will start in the stable phase.DestinationPhasestring `json:"destinationPhase,omitempty"`// DisableRollbackIfRolloutPending: Optional. If pending rollout exists on the// target, the rollback operation will be aborted.DisableRollbackIfRolloutPendingbool `json:"disableRollbackIfRolloutPending,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationPhase") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationPhase") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Rollback: Rolls back a `Rollout`.

func (Rollback)MarshalJSONadded inv0.150.0

func (sRollback) MarshalJSON() ([]byte,error)

typeRollbackAttemptadded inv0.150.0

type RollbackAttempt struct {// DestinationPhase: Output only. The phase to which the rollout will be rolled// back to.DestinationPhasestring `json:"destinationPhase,omitempty"`// DisableRollbackIfRolloutPending: Output only. If active rollout exists on// the target, abort this rollback.DisableRollbackIfRolloutPendingbool `json:"disableRollbackIfRolloutPending,omitempty"`// RolloutId: Output only. ID of the rollback `Rollout` to create.RolloutIdstring `json:"rolloutId,omitempty"`// State: Output only. Valid state of this rollback action.//// Possible values://   "REPAIR_STATE_UNSPECIFIED" - The `repair` has an unspecified state.//   "REPAIR_STATE_SUCCEEDED" - The `repair` action has succeeded.//   "REPAIR_STATE_CANCELLED" - The `repair` action was cancelled.//   "REPAIR_STATE_FAILED" - The `repair` action has failed.//   "REPAIR_STATE_IN_PROGRESS" - The `repair` action is in progress.//   "REPAIR_STATE_PENDING" - The `repair` action is pending.//   "REPAIR_STATE_ABORTED" - The `repair` action was aborted.Statestring `json:"state,omitempty"`// StateDesc: Output only. Description of the state of the Rollback.StateDescstring `json:"stateDesc,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationPhase") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationPhase") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RollbackAttempt: RollbackAttempt represents an action of rolling back aCloud Deploy 'Target'.

func (RollbackAttempt)MarshalJSONadded inv0.150.0

func (sRollbackAttempt) MarshalJSON() ([]byte,error)

typeRollbackTargetConfigadded inv0.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.StartingPhaseIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RollbackTargetConfig: Configs for the Rollback rollout.

func (RollbackTargetConfig)MarshalJSONadded inv0.141.0

func (sRollbackTargetConfig) MarshalJSON() ([]byte,error)

typeRollbackTargetRequestadded inv0.141.0

type RollbackTargetRequest struct {// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deploy_policy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// 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`.ReleaseIdstring `json:"releaseId,omitempty"`// RollbackConfig: Optional. Configs for the rollback `Rollout`.RollbackConfig *RollbackTargetConfig `json:"rollbackConfig,omitempty"`// RolloutId: Required. ID of the rollback `Rollout` to create.RolloutIdstring `json:"rolloutId,omitempty"`// RolloutToRollBack: Optional. If provided, this must be the latest `Rollout`// that is on the `Target`.RolloutToRollBackstring `json:"rolloutToRollBack,omitempty"`// TargetId: Required. ID of the `Target` that is being rolled back.TargetIdstring `json:"targetId,omitempty"`// ValidateOnly: Optional. If set to true, the request is validated and the// user is provided with a `RollbackTargetResponse`.ValidateOnlybool `json:"validateOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "OverrideDeployPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OverrideDeployPolicy") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RollbackTargetRequest: The request object for `RollbackTarget`.

func (RollbackTargetRequest)MarshalJSONadded inv0.141.0

func (sRollbackTargetRequest) MarshalJSON() ([]byte,error)

typeRollbackTargetResponseadded inv0.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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RollbackTargetResponse: The response object from `RollbackTarget`.

func (RollbackTargetResponse)MarshalJSONadded inv0.141.0

func (sRollbackTargetResponse) MarshalJSON() ([]byte,error)

typeRollout

type Rollout struct {// ActiveRepairAutomationRun: Output only. The AutomationRun actively repairing// the rollout.ActiveRepairAutomationRunstring `json:"activeRepairAutomationRun,omitempty"`// 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"`// 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.ApprovalStatestring `json:"approvalState,omitempty"`// ApproveTime: Output only. Time at which the `Rollout` was approved.ApproveTimestring `json:"approveTime,omitempty"`// ControllerRollout: Output only. Name of the `ControllerRollout`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{release}/rollouts/{rollout}`.ControllerRolloutstring `json:"controllerRollout,omitempty"`// CreateTime: Output only. Time at which the `Rollout` was created.CreateTimestring `json:"createTime,omitempty"`// DeployEndTime: Output only. Time at which the `Rollout` finished deploying.DeployEndTimestring `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 allotted// 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.//   "OPERATION_FEATURE_NOT_SUPPORTED" - A Rollout operation had a feature// configured that is not supported.DeployFailureCausestring `json:"deployFailureCause,omitempty"`// DeployStartTime: Output only. Time at which the `Rollout` started deploying.DeployStartTimestring `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}`.DeployingBuildstring `json:"deployingBuild,omitempty"`// Description: Optional. Description of the `Rollout` for user purposes. Max// length is 255 characters.Descriptionstring `json:"description,omitempty"`// EnqueueTime: Output only. Time at which the `Rollout` was enqueued.EnqueueTimestring `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.Etagstring `json:"etag,omitempty"`// FailureReason: Output only. Additional information about the rollout// failure, if available.FailureReasonstring `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: Identifier. Name of the `Rollout`. Format is// `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}// /releases/{release}/rollouts/{rollout}`. The `rollout` component must match// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `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.RollbackOfRolloutstring `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.Statestring `json:"state,omitempty"`// TargetId: Required. The ID of Target to which this `Rollout` is deploying.TargetIdstring `json:"targetId,omitempty"`// Uid: Output only. Unique identifier of the `Rollout`.Uidstring `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. "ActiveRepairAutomationRun")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ActiveRepairAutomationRun") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Rollout: A `Rollout` resource in the Cloud Deploy API. A `Rollout` containsinformation around a specific deployment to a `Target`.

func (Rollout)MarshalJSON

func (sRollout) MarshalJSON() ([]byte,error)

typeRolloutNotificationEventadded inv0.75.0

type RolloutNotificationEvent struct {// Message: Debug message for when a notification fails to send.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the `DeliveryPipeline`.PipelineUidstring `json:"pipelineUid,omitempty"`// Release: The name of the `Release`.Releasestring `json:"release,omitempty"`// ReleaseUid: Unique identifier of the `Release`.ReleaseUidstring `json:"releaseUid,omitempty"`// Rollout: The name of the `Rollout`.Rolloutstring `json:"rollout,omitempty"`// RolloutUid: Unique identifier of the `Rollout`.RolloutUidstring `json:"rolloutUid,omitempty"`// TargetId: ID of the `Target` that the rollout is deployed to.TargetIdstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutNotificationEvent: Payload proto for"clouddeploy.googleapis.com/rollout_notification" Platform Log event thatdescribes the failure to send rollout status change Pub/Sub notification.

func (RolloutNotificationEvent)MarshalJSONadded inv0.75.0

func (sRolloutNotificationEvent) MarshalJSON() ([]byte,error)

typeRolloutRestrictionadded inv0.200.0

type RolloutRestriction struct {// Actions: Optional. Rollout actions to be restricted as part of the policy.// If left empty, all actions will be restricted.//// Possible values://   "ROLLOUT_ACTIONS_UNSPECIFIED" - Unspecified.//   "ADVANCE" - Advance the rollout to the next phase.//   "APPROVE" - Approve the rollout.//   "CANCEL" - Cancel the rollout.//   "CREATE" - Create a rollout.//   "IGNORE_JOB" - Ignore a job result on the rollout.//   "RETRY_JOB" - Retry a job for a rollout.//   "ROLLBACK" - Rollback a rollout.//   "TERMINATE_JOBRUN" - Terminate a jobrun.Actions []string `json:"actions,omitempty"`// Id: Required. Restriction rule ID. Required and must be unique within a// DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.Idstring `json:"id,omitempty"`// Invokers: Optional. What invoked the action. If left empty, all invoker// types will be restricted.//// Possible values://   "INVOKER_UNSPECIFIED" - Unspecified.//   "USER" - The action is user-driven. For example, creating a rollout// manually via a gcloud create command.//   "DEPLOY_AUTOMATION" - Automated action by Cloud Deploy.Invokers []string `json:"invokers,omitempty"`// TimeWindows: Required. Time window within which actions are restricted.TimeWindows *TimeWindows `json:"timeWindows,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutRestriction: Rollout restrictions.

func (RolloutRestriction)MarshalJSONadded inv0.200.0

func (sRolloutRestriction) MarshalJSON() ([]byte,error)

typeRolloutUpdateEventadded inv0.150.0

type RolloutUpdateEvent struct {// Message: Debug message for when a rollout update event occurs.Messagestring `json:"message,omitempty"`// PipelineUid: Unique identifier of the pipeline.PipelineUidstring `json:"pipelineUid,omitempty"`// Release: The name of the `Release`.Releasestring `json:"release,omitempty"`// ReleaseUid: Unique identifier of the release.ReleaseUidstring `json:"releaseUid,omitempty"`// Rollout: The name of the rollout. rollout_uid is not in this log message// because we write some of these log messages at rollout creation time, before// we've generated the uid.Rolloutstring `json:"rollout,omitempty"`// RolloutUpdateType: The type of the rollout update.//// Possible values://   "ROLLOUT_UPDATE_TYPE_UNSPECIFIED" - Rollout update type unspecified.//   "PENDING" - Rollout state updated to pending (release has succeeded,// waiting on the rollout to start).//   "PENDING_RELEASE" - Rollout state updated to pending release.//   "IN_PROGRESS" - Rollout state updated to in progress.//   "CANCELLING" - Rollout state updated to cancelling.//   "CANCELLED" - Rollout state updated to cancelled.//   "HALTED" - Rollout state updated to halted.//   "SUCCEEDED" - Rollout state updated to succeeded.//   "FAILED" - Rollout state updated to failed.//   "APPROVAL_REQUIRED" - Rollout requires approval.//   "APPROVED" - Rollout has been approved.//   "REJECTED" - Rollout has been rejected.//   "ADVANCE_REQUIRED" - Rollout requires advance to the next phase.//   "ADVANCED" - Rollout has been advanced.RolloutUpdateTypestring `json:"rolloutUpdateType,omitempty"`// TargetId: ID of the target.TargetIdstring `json:"targetId,omitempty"`// Type: Type of this notification, e.g. for a rollout update event.//// 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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RolloutUpdateEvent: Payload proto for"clouddeploy.googleapis.com/rollout_update" Platform Log event thatdescribes the rollout update event.

func (RolloutUpdateEvent)MarshalJSONadded inv0.150.0

func (sRolloutUpdateEvent) MarshalJSON() ([]byte,error)

typeRouteDestinationsadded inv0.202.0

type RouteDestinations struct {// DestinationIds: Required. The clusters where the Gateway API HTTPRoute// resource will be deployed to. Valid entries include the associated entities// IDs configured in the Target resource and "@self" to include the Target// cluster.DestinationIds []string `json:"destinationIds,omitempty"`// PropagateService: Optional. Whether to propagate the Kubernetes Service to// the route destination clusters. The Service will always be deployed to the// Target cluster even if the HTTPRoute is not. This option may be used to// facilitate successful DNS lookup in the route destination clusters. Can only// be set to true if destinations are specified.PropagateServicebool `json:"propagateService,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationIds") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationIds") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RouteDestinations: Information about route destinations for the Gateway APIservice mesh.

func (RouteDestinations)MarshalJSONadded inv0.202.0

func (sRouteDestinations) MarshalJSON() ([]byte,error)

typeRuntimeConfigadded inv0.115.0

type RuntimeConfig struct {// CloudRun: Optional. Cloud Run runtime configuration.CloudRun *CloudRunConfig `json:"cloudRun,omitempty"`// Kubernetes: Optional. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

RuntimeConfig: RuntimeConfig contains the runtime specific configurationsfor a deployment strategy.

func (RuntimeConfig)MarshalJSONadded inv0.115.0

func (sRuntimeConfig) MarshalJSON() ([]byte,error)

typeSerialPipeline

type SerialPipeline struct {// Stages: Optional. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SerialPipeline: SerialPipeline defines a sequential set of stages for a`DeliveryPipeline`.

func (SerialPipeline)MarshalJSON

func (sSerialPipeline) MarshalJSON() ([]byte,error)

typeService

type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*Service,error)

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.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

NewService creates a new Service.

typeServiceNetworkingadded inv0.115.0

type ServiceNetworking struct {// Deployment: Required. Name of the Kubernetes Deployment whose traffic is// managed by the specified Service.Deploymentstring `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.DisablePodOverprovisioningbool `json:"disablePodOverprovisioning,omitempty"`// PodSelectorLabel: Optional. The label to use when selecting Pods for the// Deployment resource. This label must already be present in the Deployment.PodSelectorLabelstring `json:"podSelectorLabel,omitempty"`// Service: Required. Name of the Kubernetes Service.Servicestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ServiceNetworking: Information about the Kubernetes Service networkingconfiguration.

func (ServiceNetworking)MarshalJSONadded inv0.115.0

func (sServiceNetworking) MarshalJSON() ([]byte,error)

typeSetIamPolicyRequest

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"UpdateMaskstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SetIamPolicyRequest: Request message for `SetIamPolicy` method.

func (SetIamPolicyRequest)MarshalJSON

func (sSetIamPolicyRequest) MarshalJSON() ([]byte,error)

typeSkaffoldGCBRepoSourceadded inv0.177.0

type SkaffoldGCBRepoSource struct {// Path: Optional. Relative path from the repository root to the Skaffold// Config file.Pathstring `json:"path,omitempty"`// Ref: Optional. Branch or tag to use when cloning the repository.Refstring `json:"ref,omitempty"`// Repository: Required. Name of the Cloud Build V2 Repository. Format is// projects/{project}/locations/{location}/connections/{connection}/repositories// /{repository}.Repositorystring `json:"repository,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldGCBRepoSource: Cloud Build V2 Repository containing SkaffoldConfigs.

func (SkaffoldGCBRepoSource)MarshalJSONadded inv0.177.0

func (sSkaffoldGCBRepoSource) MarshalJSON() ([]byte,error)

typeSkaffoldGCSSourceadded inv0.154.0

type SkaffoldGCSSource struct {// Path: Optional. Relative path from the source to the Skaffold file.Pathstring `json:"path,omitempty"`// Source: Required. Cloud Storage source paths to copy recursively. For// example, providing "gs://my-bucket/dir/configs/*" will result in Skaffold// copying all files within the "dir/configs" directory in the bucket// "my-bucket".Sourcestring `json:"source,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldGCSSource: Cloud Storage bucket containing Skaffold Config modules.

func (SkaffoldGCSSource)MarshalJSONadded inv0.154.0

func (sSkaffoldGCSSource) MarshalJSON() ([]byte,error)

typeSkaffoldGitSourceadded inv0.154.0

type SkaffoldGitSource struct {// Path: Optional. Relative path from the repository root to the Skaffold file.Pathstring `json:"path,omitempty"`// Ref: Optional. Git branch or tag to use when cloning the repository.Refstring `json:"ref,omitempty"`// Repo: Required. Git repository the package should be cloned from.Repostring `json:"repo,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldGitSource: Git repository containing Skaffold Config modules.

func (SkaffoldGitSource)MarshalJSONadded inv0.154.0

func (sSkaffoldGitSource) MarshalJSON() ([]byte,error)

typeSkaffoldModulesadded inv0.154.0

type SkaffoldModules struct {// Configs: Optional. The Skaffold Config modules to use from the specified// source.Configs []string `json:"configs,omitempty"`// Git: Optional. Remote git repository containing the Skaffold Config modules.Git *SkaffoldGitSource `json:"git,omitempty"`// GoogleCloudBuildRepo: Optional. Cloud Build V2 repository containing the// Skaffold Config modules.GoogleCloudBuildRepo *SkaffoldGCBRepoSource `json:"googleCloudBuildRepo,omitempty"`// GoogleCloudStorage: Optional. Cloud Storage bucket containing the Skaffold// Config modules.GoogleCloudStorage *SkaffoldGCSSource `json:"googleCloudStorage,omitempty"`// ForceSendFields is a list of field names (e.g. "Configs") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Configs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldModules: Skaffold Config modules and their remote source.

func (SkaffoldModules)MarshalJSONadded inv0.154.0

func (sSkaffoldModules) MarshalJSON() ([]byte,error)

typeSkaffoldSupportedConditionadded inv0.111.0

type SkaffoldSupportedCondition struct {// MaintenanceModeTime: The time at which this release's version of Skaffold// will enter maintenance mode.MaintenanceModeTimestring `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.SkaffoldSupportStatestring `json:"skaffoldSupportState,omitempty"`// Status: True if the version of Skaffold used by this release is supported.Statusbool `json:"status,omitempty"`// SupportExpirationTime: The time at which this release's version of Skaffold// will no longer be supported.SupportExpirationTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldSupportedCondition: SkaffoldSupportedCondition contains informationabout when support for the release's version of Skaffold ends.

func (SkaffoldSupportedCondition)MarshalJSONadded inv0.111.0

func (sSkaffoldSupportedCondition) MarshalJSON() ([]byte,error)

typeSkaffoldVersion

type SkaffoldVersion struct {// MaintenanceModeTime: The time at which this version of Skaffold will enter// maintenance mode.MaintenanceModeTimestring `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.SupportExpirationTimestring `json:"supportExpirationTime,omitempty"`// Version: Release version number. For example, "1.20.3".Versionstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

SkaffoldVersion: Details of a supported Skaffold version.

func (SkaffoldVersion)MarshalJSON

func (sSkaffoldVersion) MarshalJSON() ([]byte,error)

typeStage

type Stage struct {// DeployParameters: Optional. The deploy parameters to use for the target in// this stage.DeployParameters []*DeployParameters `json:"deployParameters,omitempty"`// Profiles: Optional. 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: Optional. The target_id to which this stage points. This field// refers exclusively to the last segment of a target name. For example, this// field would just be `my-target` (rather than// `projects/project/locations/location/targets/my-target`). The location of// the `Target` is inferred to be the same as the location of the// `DeliveryPipeline` that contains this `Stage`.TargetIdstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Stage: Stage specifies a location to which to deploy.

func (Stage)MarshalJSON

func (sStage) MarshalJSON() ([]byte,error)

typeStandardadded inv0.98.0

type Standard struct {// Postdeploy: Optional. Configuration for the postdeploy job. If this is not// configured, the postdeploy job will not be present.Postdeploy *Postdeploy `json:"postdeploy,omitempty"`// Predeploy: Optional. Configuration for the predeploy job. If this is not// configured, the predeploy job will not be present.Predeploy *Predeploy `json:"predeploy,omitempty"`// Verify: Optional. Whether to verify a deployment via `skaffold verify`.Verifybool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Standard: Standard represents the standard deployment strategy.

func (Standard)MarshalJSONadded inv0.98.0

func (sStandard) MarshalJSON() ([]byte,error)

typeStatus

type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `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.Messagestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).

func (Status)MarshalJSON

func (sStatus) MarshalJSON() ([]byte,error)

typeStrategyadded inv0.98.0

type Strategy struct {// Canary: Optional. Canary deployment strategy provides progressive percentage// based deployments to a Target.Canary *Canary `json:"canary,omitempty"`// Standard: Optional. 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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Strategy: Strategy contains deployment strategy information.

func (Strategy)MarshalJSONadded inv0.98.0

func (sStrategy) MarshalJSON() ([]byte,error)

typeTarget

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"`// AssociatedEntities: Optional. Map of entity IDs to their associated// entities. Associated entities allows specifying places other than the// deployment target for specific features. For example, the Gateway API canary// can be configured to deploy the HTTPRoute to a different cluster(s) than the// deployment cluster using associated entities. An entity ID must consist of// lower-case letters, numbers, and hyphens, start with a letter and end with a// letter or a number, and have a max length of 63 characters. In other words,// it must match the following regex: `^a-z ([a-z0-9-]{0,61}[a-z0-9])?$`.AssociatedEntities map[string]AssociatedEntities `json:"associatedEntities,omitempty"`// CreateTime: Output only. Time at which the `Target` was created.CreateTimestring `json:"createTime,omitempty"`// CustomTarget: Optional. Information specifying a Custom Target.CustomTarget *CustomTarget `json:"customTarget,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.Descriptionstring `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.Etagstring `json:"etag,omitempty"`// ExecutionConfigs: Optional. Configurations for all execution that relates to// this `Target`. Each `ExecutionEnvironmentUsage` value may only be used in a// single configuration; using the same value multiple times is an error. When// one or more configurations are specified, they must include the `RENDER` and// `DEPLOY` `ExecutionEnvironmentUsage` values. When no configurations are// specified, execution will use the default specified in `DefaultPool`.ExecutionConfigs []*ExecutionConfig `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: Identifier. Name of the `Target`. Format is// `projects/{project}/locations/{location}/targets/{target}`. The `target`// component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`Namestring `json:"name,omitempty"`// RequireApproval: Optional. Whether or not the `Target` requires approval.RequireApprovalbool `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`.TargetIdstring `json:"targetId,omitempty"`// Uid: Output only. Unique identifier of the `Target`.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Most recent time at which the `Target` was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Target: A `Target` resource in the Cloud Deploy API. A `Target` defines alocation to which a Skaffold configuration can be deployed.

func (Target)MarshalJSON

func (sTarget) MarshalJSON() ([]byte,error)

typeTargetArtifact

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.ArtifactUristring `json:"artifactUri,omitempty"`// ManifestPath: Output only. File path of the rendered manifest relative to// the URI for the stable phase.ManifestPathstring `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 for the stable phase, relative to the URI.SkaffoldConfigPathstring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetArtifact: The artifacts produced by a target render operation.

func (TargetArtifact)MarshalJSON

func (sTargetArtifact) MarshalJSON() ([]byte,error)

typeTargetAttributeadded inv0.150.0

type TargetAttribute struct {// Id: Optional. ID of the `Target`. The value of this field could be one of// the following: * The last segment of a target name * "*", all targets in a// locationIdstring `json:"id,omitempty"`// Labels: Target labels.Labels map[string]string `json:"labels,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetAttribute: Contains criteria for selecting Targets. This could be usedto select targets for a Deploy Policy or for an Automation.

func (TargetAttribute)MarshalJSONadded inv0.150.0

func (sTargetAttribute) MarshalJSON() ([]byte,error)

typeTargetNotificationEventadded inv0.75.0

type TargetNotificationEvent struct {// Message: Debug message for when a notification fails to send.Messagestring `json:"message,omitempty"`// Target: The name of the `Target`.Targetstring `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_ROLLOUT_UPDATE" - Rollout updated.//   "TYPE_DEPLOY_POLICY_EVALUATION" - Deploy Policy evaluation.//   "TYPE_RENDER_STATUES_CHANGE" - Deprecated: This field is never used. Use// release_render log type instead.Typestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetNotificationEvent: Payload proto for"clouddeploy.googleapis.com/target_notification" Platform Log event thatdescribes the failure to send target status change Pub/Sub notification.

func (TargetNotificationEvent)MarshalJSONadded inv0.75.0

func (sTargetNotificationEvent) MarshalJSON() ([]byte,error)

typeTargetRender

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.//   "VERIFICATION_CONFIG_NOT_FOUND" - The render operation did not complete// successfully because the verification stanza required for verify was not// found on the Skaffold configuration.//   "CUSTOM_ACTION_NOT_FOUND" - The render operation did not complete// successfully because the custom action(s) required for Rollout jobs were not// found in the Skaffold configuration. See failure_message for additional// details.//   "DEPLOYMENT_STRATEGY_NOT_SUPPORTED" - Release failed during rendering// because the release configuration is not supported with the specified// deployment strategy.//   "RENDER_FEATURE_NOT_SUPPORTED" - The render operation had a feature// configured that is not supported.FailureCausestring `json:"failureCause,omitempty"`// FailureMessage: Output only. Additional information about the render// failure, if available.FailureMessagestring `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}`.RenderingBuildstring `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.RenderingStatestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetRender: Details of rendering for a single target.

func (TargetRender)MarshalJSON

func (sTargetRender) MarshalJSON() ([]byte,error)

typeTargetsadded inv0.205.0

type Targets struct {// DestinationTargetId: Optional. The destination target ID.DestinationTargetIdstring `json:"destinationTargetId,omitempty"`// SourceTargetId: Optional. The source target ID.SourceTargetIdstring `json:"sourceTargetId,omitempty"`// ForceSendFields is a list of field names (e.g. "DestinationTargetId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DestinationTargetId") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Targets: The targets involved in a single timed promotion.

func (Targets)MarshalJSONadded inv0.205.0

func (sTargets) MarshalJSON() ([]byte,error)

typeTargetsPresentCondition

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.Statusbool `json:"status,omitempty"`// UpdateTime: Last time the condition was updated.UpdateTimestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetsPresentCondition: `TargetsPresentCondition` contains information onany Targets referenced in the Delivery Pipeline that do not actually exist.

func (TargetsPresentCondition)MarshalJSON

func (sTargetsPresentCondition) MarshalJSON() ([]byte,error)

typeTargetsTypeConditionadded inv0.106.0

type TargetsTypeCondition struct {// ErrorDetails: Human readable error message.ErrorDetailsstring `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.Statusbool `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TargetsTypeCondition: TargetsTypeCondition contains information on whetherthe Targets defined in the Delivery Pipeline are of the same type.

func (TargetsTypeCondition)MarshalJSONadded inv0.106.0

func (sTargetsTypeCondition) MarshalJSON() ([]byte,error)

typeTerminateJobRunRequestadded inv0.115.0

type TerminateJobRunRequest struct {// OverrideDeployPolicy: Optional. Deploy policies to override. Format is// `projects/{project}/locations/{location}/deployPolicies/{deployPolicy}`.OverrideDeployPolicy []string `json:"overrideDeployPolicy,omitempty"`// ForceSendFields is a list of field names (e.g. "OverrideDeployPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OverrideDeployPolicy") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TerminateJobRunRequest: The request object used by `TerminateJobRun`.

func (TerminateJobRunRequest)MarshalJSONadded inv0.200.0

func (sTerminateJobRunRequest) MarshalJSON() ([]byte,error)

typeTerminateJobRunResponseadded inv0.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`.

typeTestIamPermissionsRequest

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TestIamPermissionsRequest: Request message for `TestIamPermissions` method.

func (TestIamPermissionsRequest)MarshalJSON

func (sTestIamPermissionsRequest) MarshalJSON() ([]byte,error)

typeTestIamPermissionsResponse

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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TestIamPermissionsResponse: Response message for `TestIamPermissions`method.

func (TestIamPermissionsResponse)MarshalJSON

func (sTestIamPermissionsResponse) MarshalJSON() ([]byte,error)

typeTimeOfDayadded inv0.200.0

type TimeOfDay struct {// Hours: Hours of a day in 24 hour format. Must be greater than or equal to 0// and typically must be less than or equal to 23. An API may choose to allow// the value "24:00:00" for scenarios like business closing time.Hoursint64 `json:"hours,omitempty"`// Minutes: Minutes of an hour. Must be greater than or equal to 0 and less// than or equal to 59.Minutesint64 `json:"minutes,omitempty"`// Nanos: Fractions of seconds, in nanoseconds. Must be greater than or equal// to 0 and less than or equal to 999,999,999.Nanosint64 `json:"nanos,omitempty"`// Seconds: Seconds of a minute. Must be greater than or equal to 0 and// typically must be less than or equal to 59. An API may allow the value 60 if// it allows leap-seconds.Secondsint64 `json:"seconds,omitempty"`// ForceSendFields is a list of field names (e.g. "Hours") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hours") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TimeOfDay: Represents a time of day. The date and time zone are either notsignificant or are specified elsewhere. An API may choose to allow leapseconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

func (TimeOfDay)MarshalJSONadded inv0.200.0

func (sTimeOfDay) MarshalJSON() ([]byte,error)

typeTimeWindowsadded inv0.200.0

type TimeWindows struct {// OneTimeWindows: Optional. One-time windows within which actions are// restricted.OneTimeWindows []*OneTimeWindow `json:"oneTimeWindows,omitempty"`// TimeZone: Required. The time zone in IANA format IANA Time Zone Database// (https://www.iana.org/time-zones) (e.g. America/New_York).TimeZonestring `json:"timeZone,omitempty"`// WeeklyWindows: Optional. Recurring weekly windows within which actions are// restricted.WeeklyWindows []*WeeklyWindow `json:"weeklyWindows,omitempty"`// ForceSendFields is a list of field names (e.g. "OneTimeWindows") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OneTimeWindows") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TimeWindows: Time windows within which actions are restricted. See thedocumentation(https://cloud.google.com/deploy/docs/deploy-policy#dates_times) for moreinformation on how to configure dates/times.

func (TimeWindows)MarshalJSONadded inv0.200.0

func (sTimeWindows) MarshalJSON() ([]byte,error)

typeTimedPromoteReleaseConditionadded inv0.205.0

type TimedPromoteReleaseCondition struct {// NextPromotionTime: Output only. When the next scheduled promotion(s) will// occur.NextPromotionTimestring `json:"nextPromotionTime,omitempty"`// TargetsList: Output only. A list of targets involved in the upcoming timed// promotion(s).TargetsList []*Targets `json:"targetsList,omitempty"`// ForceSendFields is a list of field names (e.g. "NextPromotionTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPromotionTime") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TimedPromoteReleaseCondition: `TimedPromoteReleaseCondition` containsconditions specific to an Automation with a Timed Promote Release ruledefined.

func (TimedPromoteReleaseCondition)MarshalJSONadded inv0.205.0

func (sTimedPromoteReleaseCondition) MarshalJSON() ([]byte,error)

typeTimedPromoteReleaseOperationadded inv0.205.0

type TimedPromoteReleaseOperation struct {// Phase: Output only. The starting phase of the rollout created by this// operation.Phasestring `json:"phase,omitempty"`// Release: Output only. The name of the release to be promoted.Releasestring `json:"release,omitempty"`// TargetId: Output only. The ID of the target that represents the promotion// stage to which the release will be promoted. The value of this field is the// last segment of a target name.TargetIdstring `json:"targetId,omitempty"`// ForceSendFields is a list of field names (e.g. "Phase") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Phase") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TimedPromoteReleaseOperation: Contains the information of an automated timedpromote-release operation.

func (TimedPromoteReleaseOperation)MarshalJSONadded inv0.205.0

func (sTimedPromoteReleaseOperation) MarshalJSON() ([]byte,error)

typeTimedPromoteReleaseRuleadded inv0.205.0

type TimedPromoteReleaseRule struct {// Condition: Output only. Information around the state of the Automation rule.Condition *AutomationRuleCondition `json:"condition,omitempty"`// DestinationPhase: Optional. The starting phase of the rollout created by// this rule. Default to the first phase.DestinationPhasestring `json:"destinationPhase,omitempty"`// DestinationTargetId: Optional. The ID of the stage in the pipeline to which// this `Release` is deploying. If unspecified, default it to the next stage in// the promotion flow. The value of this field could be one of the following: *// The last segment of a target name * "@next", the next target in the// promotion sequenceDestinationTargetIdstring `json:"destinationTargetId,omitempty"`// Id: Required. ID of the rule. This ID must be unique in the `Automation`// resource to which this rule belongs. The format is// `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.Idstring `json:"id,omitempty"`// Schedule: Required. Schedule in crontab format. e.g. "0 9 * * 1" for every// Monday at 9am.Schedulestring `json:"schedule,omitempty"`// TimeZone: Required. The time zone in IANA format IANA Time Zone Database// (https://www.iana.org/time-zones) (e.g. America/New_York).TimeZonestring `json:"timeZone,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

TimedPromoteReleaseRule: The `TimedPromoteReleaseRule` will automaticallypromote a release from the current target(s) to the specified target(s) on aconfigured schedule.

func (TimedPromoteReleaseRule)MarshalJSONadded inv0.205.0

func (sTimedPromoteReleaseRule) MarshalJSON() ([]byte,error)

typeToolVersionSupportedConditionadded inv0.257.0

type ToolVersionSupportedCondition struct {// MaintenanceModeTime: Output only. The time at which this release's version// of the Tool will enter maintenance mode.MaintenanceModeTimestring `json:"maintenanceModeTime,omitempty"`// Status: Output only. True if the version of Tool used by this release is// supported.Statusbool `json:"status,omitempty"`// SupportExpirationTime: Output only. The time at which this release's version// of the Tool will no longer be supported.SupportExpirationTimestring `json:"supportExpirationTime,omitempty"`// ToolVersionSupportState: Output only. The Tool support state for this// release's version of the Tool.//// Possible values://   "TOOL_VERSION_SUPPORT_STATE_UNSPECIFIED" - Default value. This value is// unused.//   "TOOL_VERSION_SUPPORT_STATE_SUPPORTED" - This Tool version is currently// supported.//   "TOOL_VERSION_SUPPORT_STATE_MAINTENANCE_MODE" - This Tool version is in// maintenance mode.//   "TOOL_VERSION_SUPPORT_STATE_UNSUPPORTED" - This Tool version is no longer// supported.ToolVersionSupportStatestring `json:"toolVersionSupportState,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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ToolVersionSupportedCondition: ToolVersionSupportedCondition containsinformation about when support for the release's version of a Tool ends.

func (ToolVersionSupportedCondition)MarshalJSONadded inv0.257.0

func (sToolVersionSupportedCondition) MarshalJSON() ([]byte,error)

typeToolVersionsadded inv0.257.0

type ToolVersions struct {// Docker: Optional. The docker version to use for Cloud Deploy operations.Dockerstring `json:"docker,omitempty"`// Helm: Optional. The helm version to use for Cloud Deploy operations.Helmstring `json:"helm,omitempty"`// Kpt: Optional. The kpt version to use for Cloud Deploy operations.Kptstring `json:"kpt,omitempty"`// Kubectl: Optional. The kubectl version to use for Cloud Deploy operations.Kubectlstring `json:"kubectl,omitempty"`// Kustomize: Optional. The kustomize version to use for Cloud Deploy// operations.Kustomizestring `json:"kustomize,omitempty"`// Skaffold: Optional. The skaffold version to use for Cloud Deploy operations.Skaffoldstring `json:"skaffold,omitempty"`// ForceSendFields is a list of field names (e.g. "Docker") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Docker") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ToolVersions: Details of ToolVersions for the release.

func (ToolVersions)MarshalJSONadded inv0.257.0

func (sToolVersions) MarshalJSON() ([]byte,error)

typeVerifyJobadded inv0.98.0

type VerifyJob struct {}

VerifyJob: A verify Job.

typeVerifyJobRunadded inv0.98.0

type VerifyJobRun struct {// ArtifactUri: Output only. URI of a directory containing the verify// artifacts. This contains the Skaffold event log.ArtifactUristring `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}`.Buildstring `json:"build,omitempty"`// EventLogPath: Output only. File path of the Skaffold event log relative to// the artifact URI.EventLogPathstring `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// allotted 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.FailureCausestring `json:"failureCause,omitempty"`// FailureMessage: Output only. Additional information about the verify// failure, if available.FailureMessagestring `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. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

VerifyJobRun: VerifyJobRun contains information specific to a verify`JobRun`.

func (VerifyJobRun)MarshalJSONadded inv0.98.0

func (sVerifyJobRun) MarshalJSON() ([]byte,error)

typeWeeklyWindowadded inv0.200.0

type WeeklyWindow struct {// DaysOfWeek: Optional. Days of week. If left empty, all days of the week will// be included.//// Possible values://   "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.//   "MONDAY" - Monday//   "TUESDAY" - Tuesday//   "WEDNESDAY" - Wednesday//   "THURSDAY" - Thursday//   "FRIDAY" - Friday//   "SATURDAY" - Saturday//   "SUNDAY" - SundayDaysOfWeek []string `json:"daysOfWeek,omitempty"`// EndTime: Optional. End time (exclusive). Use 24:00 to indicate midnight. If// you specify end_time you must also specify start_time. If left empty, this// will block for the entire day for the days specified in days_of_week.EndTime *TimeOfDay `json:"endTime,omitempty"`// StartTime: Optional. Start time (inclusive). Use 00:00 for the beginning of// the day. If you specify start_time you must also specify end_time. If left// empty, this will block for the entire day for the days specified in// days_of_week.StartTime *TimeOfDay `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "DaysOfWeek") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DaysOfWeek") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

WeeklyWindow: Weekly windows. For example, blocking actions every Saturdayand Sunday. Another example would be blocking actions every weekday from 5pmto midnight.

func (WeeklyWindow)MarshalJSONadded inv0.200.0

func (sWeeklyWindow) MarshalJSON() ([]byte,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp