Documentation ¶
Index ¶
- Variables
- func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer)
- type ApprovalConfig
- type ApprovalResult
- func (*ApprovalResult) Descriptor() ([]byte, []int)deprecated
- func (x *ApprovalResult) GetApprovalTime() *timestamppb.Timestamp
- func (x *ApprovalResult) GetApproverAccount() string
- func (x *ApprovalResult) GetComment() string
- func (x *ApprovalResult) GetDecision() ApprovalResult_Decision
- func (x *ApprovalResult) GetUrl() string
- func (*ApprovalResult) ProtoMessage()
- func (x *ApprovalResult) ProtoReflect() protoreflect.Message
- func (x *ApprovalResult) Reset()
- func (x *ApprovalResult) String() string
- type ApprovalResult_Decision
- func (ApprovalResult_Decision) Descriptor() protoreflect.EnumDescriptor
- func (x ApprovalResult_Decision) Enum() *ApprovalResult_Decision
- func (ApprovalResult_Decision) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApprovalResult_Decision) Number() protoreflect.EnumNumber
- func (x ApprovalResult_Decision) String() string
- func (ApprovalResult_Decision) Type() protoreflect.EnumType
- type ApproveBuildRequest
- func (*ApproveBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveBuildRequest) GetApprovalResult() *ApprovalResult
- func (x *ApproveBuildRequest) GetName() string
- func (*ApproveBuildRequest) ProtoMessage()
- func (x *ApproveBuildRequest) ProtoReflect() protoreflect.Message
- func (x *ApproveBuildRequest) Reset()
- func (x *ApproveBuildRequest) String() string
- type ArtifactResult
- func (*ArtifactResult) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactResult) GetFileHash() []*FileHashes
- func (x *ArtifactResult) GetLocation() string
- func (*ArtifactResult) ProtoMessage()
- func (x *ArtifactResult) ProtoReflect() protoreflect.Message
- func (x *ArtifactResult) Reset()
- func (x *ArtifactResult) String() string
- type Artifacts
- func (*Artifacts) Descriptor() ([]byte, []int)deprecated
- func (x *Artifacts) GetImages() []string
- func (x *Artifacts) GetMavenArtifacts() []*Artifacts_MavenArtifact
- func (x *Artifacts) GetNpmPackages() []*Artifacts_NpmPackage
- func (x *Artifacts) GetObjects() *Artifacts_ArtifactObjects
- func (x *Artifacts) GetPythonPackages() []*Artifacts_PythonPackage
- func (*Artifacts) ProtoMessage()
- func (x *Artifacts) ProtoReflect() protoreflect.Message
- func (x *Artifacts) Reset()
- func (x *Artifacts) String() string
- type Artifacts_ArtifactObjects
- func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int)deprecated
- func (x *Artifacts_ArtifactObjects) GetLocation() string
- func (x *Artifacts_ArtifactObjects) GetPaths() []string
- func (x *Artifacts_ArtifactObjects) GetTiming() *TimeSpan
- func (*Artifacts_ArtifactObjects) ProtoMessage()
- func (x *Artifacts_ArtifactObjects) ProtoReflect() protoreflect.Message
- func (x *Artifacts_ArtifactObjects) Reset()
- func (x *Artifacts_ArtifactObjects) String() string
- type Artifacts_MavenArtifact
- func (*Artifacts_MavenArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *Artifacts_MavenArtifact) GetArtifactId() string
- func (x *Artifacts_MavenArtifact) GetGroupId() string
- func (x *Artifacts_MavenArtifact) GetPath() string
- func (x *Artifacts_MavenArtifact) GetRepository() string
- func (x *Artifacts_MavenArtifact) GetVersion() string
- func (*Artifacts_MavenArtifact) ProtoMessage()
- func (x *Artifacts_MavenArtifact) ProtoReflect() protoreflect.Message
- func (x *Artifacts_MavenArtifact) Reset()
- func (x *Artifacts_MavenArtifact) String() string
- type Artifacts_NpmPackage
- func (*Artifacts_NpmPackage) Descriptor() ([]byte, []int)deprecated
- func (x *Artifacts_NpmPackage) GetPackagePath() string
- func (x *Artifacts_NpmPackage) GetRepository() string
- func (*Artifacts_NpmPackage) ProtoMessage()
- func (x *Artifacts_NpmPackage) ProtoReflect() protoreflect.Message
- func (x *Artifacts_NpmPackage) Reset()
- func (x *Artifacts_NpmPackage) String() string
- type Artifacts_PythonPackage
- func (*Artifacts_PythonPackage) Descriptor() ([]byte, []int)deprecated
- func (x *Artifacts_PythonPackage) GetPaths() []string
- func (x *Artifacts_PythonPackage) GetRepository() string
- func (*Artifacts_PythonPackage) ProtoMessage()
- func (x *Artifacts_PythonPackage) ProtoReflect() protoreflect.Message
- func (x *Artifacts_PythonPackage) Reset()
- func (x *Artifacts_PythonPackage) String() string
- type Build
- func (*Build) Descriptor() ([]byte, []int)deprecated
- func (x *Build) GetApproval() *BuildApproval
- func (x *Build) GetArtifacts() *Artifacts
- func (x *Build) GetAvailableSecrets() *Secrets
- func (x *Build) GetBuildTriggerId() string
- func (x *Build) GetCreateTime() *timestamppb.Timestamp
- func (x *Build) GetFailureInfo() *Build_FailureInfo
- func (x *Build) GetFinishTime() *timestamppb.Timestamp
- func (x *Build) GetId() string
- func (x *Build) GetImages() []string
- func (x *Build) GetLogUrl() string
- func (x *Build) GetLogsBucket() string
- func (x *Build) GetName() string
- func (x *Build) GetOptions() *BuildOptions
- func (x *Build) GetProjectId() string
- func (x *Build) GetQueueTtl() *durationpb.Duration
- func (x *Build) GetResults() *Results
- func (x *Build) GetSecrets() []*Secret
- func (x *Build) GetServiceAccount() string
- func (x *Build) GetSource() *Source
- func (x *Build) GetSourceProvenance() *SourceProvenance
- func (x *Build) GetStartTime() *timestamppb.Timestamp
- func (x *Build) GetStatus() Build_Status
- func (x *Build) GetStatusDetail() string
- func (x *Build) GetSteps() []*BuildStep
- func (x *Build) GetSubstitutions() map[string]string
- func (x *Build) GetTags() []string
- func (x *Build) GetTimeout() *durationpb.Duration
- func (x *Build) GetTiming() map[string]*TimeSpan
- func (x *Build) GetWarnings() []*Build_Warning
- func (*Build) ProtoMessage()
- func (x *Build) ProtoReflect() protoreflect.Message
- func (x *Build) Reset()
- func (x *Build) String() string
- type BuildApproval
- func (*BuildApproval) Descriptor() ([]byte, []int)deprecated
- func (x *BuildApproval) GetConfig() *ApprovalConfig
- func (x *BuildApproval) GetResult() *ApprovalResult
- func (x *BuildApproval) GetState() BuildApproval_State
- func (*BuildApproval) ProtoMessage()
- func (x *BuildApproval) ProtoReflect() protoreflect.Message
- func (x *BuildApproval) Reset()
- func (x *BuildApproval) String() string
- type BuildApproval_State
- func (BuildApproval_State) Descriptor() protoreflect.EnumDescriptor
- func (x BuildApproval_State) Enum() *BuildApproval_State
- func (BuildApproval_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildApproval_State) Number() protoreflect.EnumNumber
- func (x BuildApproval_State) String() string
- func (BuildApproval_State) Type() protoreflect.EnumType
- type BuildOperationMetadata
- func (*BuildOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BuildOperationMetadata) GetBuild() *Build
- func (*BuildOperationMetadata) ProtoMessage()
- func (x *BuildOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *BuildOperationMetadata) Reset()
- func (x *BuildOperationMetadata) String() string
- type BuildOptions
- func (*BuildOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BuildOptions) GetAutomapSubstitutions() bool
- func (x *BuildOptions) GetDefaultLogsBucketBehavior() BuildOptions_DefaultLogsBucketBehavior
- func (x *BuildOptions) GetDiskSizeGb() int64
- func (x *BuildOptions) GetDynamicSubstitutions() bool
- func (x *BuildOptions) GetEnv() []string
- func (x *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption
- func (x *BuildOptions) GetLogging() BuildOptions_LoggingMode
- func (x *BuildOptions) GetMachineType() BuildOptions_MachineType
- func (x *BuildOptions) GetPool() *BuildOptions_PoolOption
- func (x *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption
- func (x *BuildOptions) GetSecretEnv() []string
- func (x *BuildOptions) GetSourceProvenanceHash() []Hash_HashType
- func (x *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption
- func (x *BuildOptions) GetVolumes() []*Volume
- func (x *BuildOptions) GetWorkerPool() stringdeprecated
- func (*BuildOptions) ProtoMessage()
- func (x *BuildOptions) ProtoReflect() protoreflect.Message
- func (x *BuildOptions) Reset()
- func (x *BuildOptions) String() string
- type BuildOptions_DefaultLogsBucketBehavior
- func (BuildOptions_DefaultLogsBucketBehavior) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_DefaultLogsBucketBehavior) Enum() *BuildOptions_DefaultLogsBucketBehavior
- func (BuildOptions_DefaultLogsBucketBehavior) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_DefaultLogsBucketBehavior) Number() protoreflect.EnumNumber
- func (x BuildOptions_DefaultLogsBucketBehavior) String() string
- func (BuildOptions_DefaultLogsBucketBehavior) Type() protoreflect.EnumType
- type BuildOptions_LogStreamingOption
- func (BuildOptions_LogStreamingOption) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_LogStreamingOption) Enum() *BuildOptions_LogStreamingOption
- func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_LogStreamingOption) Number() protoreflect.EnumNumber
- func (x BuildOptions_LogStreamingOption) String() string
- func (BuildOptions_LogStreamingOption) Type() protoreflect.EnumType
- type BuildOptions_LoggingMode
- func (BuildOptions_LoggingMode) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_LoggingMode) Enum() *BuildOptions_LoggingMode
- func (BuildOptions_LoggingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_LoggingMode) Number() protoreflect.EnumNumber
- func (x BuildOptions_LoggingMode) String() string
- func (BuildOptions_LoggingMode) Type() protoreflect.EnumType
- type BuildOptions_MachineType
- func (BuildOptions_MachineType) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_MachineType) Enum() *BuildOptions_MachineType
- func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_MachineType) Number() protoreflect.EnumNumber
- func (x BuildOptions_MachineType) String() string
- func (BuildOptions_MachineType) Type() protoreflect.EnumType
- type BuildOptions_PoolOption
- func (*BuildOptions_PoolOption) Descriptor() ([]byte, []int)deprecated
- func (x *BuildOptions_PoolOption) GetName() string
- func (*BuildOptions_PoolOption) ProtoMessage()
- func (x *BuildOptions_PoolOption) ProtoReflect() protoreflect.Message
- func (x *BuildOptions_PoolOption) Reset()
- func (x *BuildOptions_PoolOption) String() string
- type BuildOptions_SubstitutionOption
- func (BuildOptions_SubstitutionOption) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_SubstitutionOption) Enum() *BuildOptions_SubstitutionOption
- func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_SubstitutionOption) Number() protoreflect.EnumNumber
- func (x BuildOptions_SubstitutionOption) String() string
- func (BuildOptions_SubstitutionOption) Type() protoreflect.EnumType
- type BuildOptions_VerifyOption
- func (BuildOptions_VerifyOption) Descriptor() protoreflect.EnumDescriptor
- func (x BuildOptions_VerifyOption) Enum() *BuildOptions_VerifyOption
- func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x BuildOptions_VerifyOption) Number() protoreflect.EnumNumber
- func (x BuildOptions_VerifyOption) String() string
- func (BuildOptions_VerifyOption) Type() protoreflect.EnumType
- type BuildStep
- func (*BuildStep) Descriptor() ([]byte, []int)deprecated
- func (x *BuildStep) GetAllowExitCodes() []int32
- func (x *BuildStep) GetAllowFailure() bool
- func (x *BuildStep) GetArgs() []string
- func (x *BuildStep) GetAutomapSubstitutions() bool
- func (x *BuildStep) GetDir() string
- func (x *BuildStep) GetEntrypoint() string
- func (x *BuildStep) GetEnv() []string
- func (x *BuildStep) GetExitCode() int32
- func (x *BuildStep) GetId() string
- func (x *BuildStep) GetName() string
- func (x *BuildStep) GetPullTiming() *TimeSpan
- func (x *BuildStep) GetScript() string
- func (x *BuildStep) GetSecretEnv() []string
- func (x *BuildStep) GetStatus() Build_Status
- func (x *BuildStep) GetTimeout() *durationpb.Duration
- func (x *BuildStep) GetTiming() *TimeSpan
- func (x *BuildStep) GetVolumes() []*Volume
- func (x *BuildStep) GetWaitFor() []string
- func (*BuildStep) ProtoMessage()
- func (x *BuildStep) ProtoReflect() protoreflect.Message
- func (x *BuildStep) Reset()
- func (x *BuildStep) String() string
- type BuildTrigger
- func (*BuildTrigger) Descriptor() ([]byte, []int)deprecated
- func (x *BuildTrigger) GetAutodetect() bool
- func (x *BuildTrigger) GetBuild() *Build
- func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate
- func (x *BuildTrigger) GetCreateTime() *timestamppb.Timestamp
- func (x *BuildTrigger) GetDescription() string
- func (x *BuildTrigger) GetDisabled() bool
- func (x *BuildTrigger) GetFilename() string
- func (x *BuildTrigger) GetFilter() string
- func (x *BuildTrigger) GetGitFileSource() *GitFileSource
- func (x *BuildTrigger) GetGithub() *GitHubEventsConfig
- func (x *BuildTrigger) GetId() string
- func (x *BuildTrigger) GetIgnoredFiles() []string
- func (x *BuildTrigger) GetIncludedFiles() []string
- func (x *BuildTrigger) GetName() string
- func (x *BuildTrigger) GetPubsubConfig() *PubsubConfig
- func (x *BuildTrigger) GetRepositoryEventConfig() *RepositoryEventConfig
- func (x *BuildTrigger) GetResourceName() string
- func (x *BuildTrigger) GetServiceAccount() string
- func (x *BuildTrigger) GetSourceToBuild() *GitRepoSource
- func (x *BuildTrigger) GetSubstitutions() map[string]string
- func (x *BuildTrigger) GetTags() []string
- func (x *BuildTrigger) GetTriggerTemplate() *RepoSource
- func (x *BuildTrigger) GetWebhookConfig() *WebhookConfig
- func (*BuildTrigger) ProtoMessage()
- func (x *BuildTrigger) ProtoReflect() protoreflect.Message
- func (x *BuildTrigger) Reset()
- func (x *BuildTrigger) String() string
- type BuildTrigger_Autodetect
- type BuildTrigger_Build
- type BuildTrigger_Filename
- type BuildTrigger_GitFileSource
- type Build_FailureInfo
- func (*Build_FailureInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Build_FailureInfo) GetDetail() string
- func (x *Build_FailureInfo) GetType() Build_FailureInfo_FailureType
- func (*Build_FailureInfo) ProtoMessage()
- func (x *Build_FailureInfo) ProtoReflect() protoreflect.Message
- func (x *Build_FailureInfo) Reset()
- func (x *Build_FailureInfo) String() string
- type Build_FailureInfo_FailureType
- func (Build_FailureInfo_FailureType) Descriptor() protoreflect.EnumDescriptor
- func (x Build_FailureInfo_FailureType) Enum() *Build_FailureInfo_FailureType
- func (Build_FailureInfo_FailureType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Build_FailureInfo_FailureType) Number() protoreflect.EnumNumber
- func (x Build_FailureInfo_FailureType) String() string
- func (Build_FailureInfo_FailureType) Type() protoreflect.EnumType
- type Build_Status
- func (Build_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Build_Status) Enum() *Build_Status
- func (Build_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Build_Status) Number() protoreflect.EnumNumber
- func (x Build_Status) String() string
- func (Build_Status) Type() protoreflect.EnumType
- type Build_Warning
- func (*Build_Warning) Descriptor() ([]byte, []int)deprecated
- func (x *Build_Warning) GetPriority() Build_Warning_Priority
- func (x *Build_Warning) GetText() string
- func (*Build_Warning) ProtoMessage()
- func (x *Build_Warning) ProtoReflect() protoreflect.Message
- func (x *Build_Warning) Reset()
- func (x *Build_Warning) String() string
- type Build_Warning_Priority
- func (Build_Warning_Priority) Descriptor() protoreflect.EnumDescriptor
- func (x Build_Warning_Priority) Enum() *Build_Warning_Priority
- func (Build_Warning_Priority) EnumDescriptor() ([]byte, []int)deprecated
- func (x Build_Warning_Priority) Number() protoreflect.EnumNumber
- func (x Build_Warning_Priority) String() string
- func (Build_Warning_Priority) Type() protoreflect.EnumType
- type BuiltImage
- func (*BuiltImage) Descriptor() ([]byte, []int)deprecated
- func (x *BuiltImage) GetDigest() string
- func (x *BuiltImage) GetName() string
- func (x *BuiltImage) GetPushTiming() *TimeSpan
- func (*BuiltImage) ProtoMessage()
- func (x *BuiltImage) ProtoReflect() protoreflect.Message
- func (x *BuiltImage) Reset()
- func (x *BuiltImage) String() string
- type CancelBuildRequest
- func (*CancelBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelBuildRequest) GetId() string
- func (x *CancelBuildRequest) GetName() string
- func (x *CancelBuildRequest) GetProjectId() string
- func (*CancelBuildRequest) ProtoMessage()
- func (x *CancelBuildRequest) ProtoReflect() protoreflect.Message
- func (x *CancelBuildRequest) Reset()
- func (x *CancelBuildRequest) String() string
- type CloudBuildClient
- type CloudBuildServer
- type CreateBuildRequest
- func (*CreateBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildRequest) GetBuild() *Build
- func (x *CreateBuildRequest) GetParent() string
- func (x *CreateBuildRequest) GetProjectId() string
- func (*CreateBuildRequest) ProtoMessage()
- func (x *CreateBuildRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBuildRequest) Reset()
- func (x *CreateBuildRequest) String() string
- type CreateBuildTriggerRequest
- func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBuildTriggerRequest) GetParent() string
- func (x *CreateBuildTriggerRequest) GetProjectId() string
- func (x *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger
- func (*CreateBuildTriggerRequest) ProtoMessage()
- func (x *CreateBuildTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBuildTriggerRequest) Reset()
- func (x *CreateBuildTriggerRequest) String() string
- type CreateWorkerPoolOperationMetadata
- func (*CreateWorkerPoolOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerPoolOperationMetadata) GetCompleteTime() *timestamppb.Timestamp
- func (x *CreateWorkerPoolOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *CreateWorkerPoolOperationMetadata) GetWorkerPool() string
- func (*CreateWorkerPoolOperationMetadata) ProtoMessage()
- func (x *CreateWorkerPoolOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerPoolOperationMetadata) Reset()
- func (x *CreateWorkerPoolOperationMetadata) String() string
- type CreateWorkerPoolRequest
- func (*CreateWorkerPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerPoolRequest) GetParent() string
- func (x *CreateWorkerPoolRequest) GetValidateOnly() bool
- func (x *CreateWorkerPoolRequest) GetWorkerPool() *WorkerPool
- func (x *CreateWorkerPoolRequest) GetWorkerPoolId() string
- func (*CreateWorkerPoolRequest) ProtoMessage()
- func (x *CreateWorkerPoolRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerPoolRequest) Reset()
- func (x *CreateWorkerPoolRequest) String() string
- type DeleteBuildTriggerRequest
- func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBuildTriggerRequest) GetName() string
- func (x *DeleteBuildTriggerRequest) GetProjectId() string
- func (x *DeleteBuildTriggerRequest) GetTriggerId() string
- func (*DeleteBuildTriggerRequest) ProtoMessage()
- func (x *DeleteBuildTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBuildTriggerRequest) Reset()
- func (x *DeleteBuildTriggerRequest) String() string
- type DeleteWorkerPoolOperationMetadata
- func (*DeleteWorkerPoolOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkerPoolOperationMetadata) GetCompleteTime() *timestamppb.Timestamp
- func (x *DeleteWorkerPoolOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *DeleteWorkerPoolOperationMetadata) GetWorkerPool() string
- func (*DeleteWorkerPoolOperationMetadata) ProtoMessage()
- func (x *DeleteWorkerPoolOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerPoolOperationMetadata) Reset()
- func (x *DeleteWorkerPoolOperationMetadata) String() string
- type DeleteWorkerPoolRequest
- func (*DeleteWorkerPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkerPoolRequest) GetAllowMissing() bool
- func (x *DeleteWorkerPoolRequest) GetEtag() string
- func (x *DeleteWorkerPoolRequest) GetName() string
- func (x *DeleteWorkerPoolRequest) GetValidateOnly() bool
- func (*DeleteWorkerPoolRequest) ProtoMessage()
- func (x *DeleteWorkerPoolRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerPoolRequest) Reset()
- func (x *DeleteWorkerPoolRequest) String() string
- type FileHashes
- type GetBuildRequest
- func (*GetBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildRequest) GetId() string
- func (x *GetBuildRequest) GetName() string
- func (x *GetBuildRequest) GetProjectId() string
- func (*GetBuildRequest) ProtoMessage()
- func (x *GetBuildRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildRequest) Reset()
- func (x *GetBuildRequest) String() string
- type GetBuildTriggerRequest
- func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBuildTriggerRequest) GetName() string
- func (x *GetBuildTriggerRequest) GetProjectId() string
- func (x *GetBuildTriggerRequest) GetTriggerId() string
- func (*GetBuildTriggerRequest) ProtoMessage()
- func (x *GetBuildTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *GetBuildTriggerRequest) Reset()
- func (x *GetBuildTriggerRequest) String() string
- type GetWorkerPoolRequest
- func (*GetWorkerPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetWorkerPoolRequest) GetName() string
- func (*GetWorkerPoolRequest) ProtoMessage()
- func (x *GetWorkerPoolRequest) ProtoReflect() protoreflect.Message
- func (x *GetWorkerPoolRequest) Reset()
- func (x *GetWorkerPoolRequest) String() string
- type GitFileSource
- func (*GitFileSource) Descriptor() ([]byte, []int)deprecated
- func (m *GitFileSource) GetEnterpriseConfig() isGitFileSource_EnterpriseConfig
- func (x *GitFileSource) GetGithubEnterpriseConfig() string
- func (x *GitFileSource) GetPath() string
- func (x *GitFileSource) GetRepoType() GitFileSource_RepoType
- func (x *GitFileSource) GetRepository() string
- func (x *GitFileSource) GetRevision() string
- func (m *GitFileSource) GetSource() isGitFileSource_Source
- func (x *GitFileSource) GetUri() string
- func (*GitFileSource) ProtoMessage()
- func (x *GitFileSource) ProtoReflect() protoreflect.Message
- func (x *GitFileSource) Reset()
- func (x *GitFileSource) String() string
- type GitFileSource_GithubEnterpriseConfig
- type GitFileSource_RepoType
- func (GitFileSource_RepoType) Descriptor() protoreflect.EnumDescriptor
- func (x GitFileSource_RepoType) Enum() *GitFileSource_RepoType
- func (GitFileSource_RepoType) EnumDescriptor() ([]byte, []int)deprecated
- func (x GitFileSource_RepoType) Number() protoreflect.EnumNumber
- func (x GitFileSource_RepoType) String() string
- func (GitFileSource_RepoType) Type() protoreflect.EnumType
- type GitFileSource_Repository
- type GitHubEnterpriseConfig
- func (*GitHubEnterpriseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubEnterpriseConfig) GetAppId() int64
- func (x *GitHubEnterpriseConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *GitHubEnterpriseConfig) GetDisplayName() string
- func (x *GitHubEnterpriseConfig) GetHostUrl() string
- func (x *GitHubEnterpriseConfig) GetName() string
- func (x *GitHubEnterpriseConfig) GetPeeredNetwork() string
- func (x *GitHubEnterpriseConfig) GetSecrets() *GitHubEnterpriseSecrets
- func (x *GitHubEnterpriseConfig) GetSslCa() string
- func (x *GitHubEnterpriseConfig) GetWebhookKey() string
- func (*GitHubEnterpriseConfig) ProtoMessage()
- func (x *GitHubEnterpriseConfig) ProtoReflect() protoreflect.Message
- func (x *GitHubEnterpriseConfig) Reset()
- func (x *GitHubEnterpriseConfig) String() string
- type GitHubEnterpriseSecrets
- func (*GitHubEnterpriseSecrets) Descriptor() ([]byte, []int)deprecated
- func (x *GitHubEnterpriseSecrets) GetOauthClientIdVersionName() string
- func (x *GitHubEnterpriseSecrets) GetOauthSecretVersionName() string
- func (x *GitHubEnterpriseSecrets) GetPrivateKeyVersionName() string
- func (x *GitHubEnterpriseSecrets) GetWebhookSecretVersionName() string
- func (*GitHubEnterpriseSecrets) ProtoMessage()
- func (x *GitHubEnterpriseSecrets) ProtoReflect() protoreflect.Message
- func (x *GitHubEnterpriseSecrets) Reset()
- func (x *GitHubEnterpriseSecrets) String() string
- type GitHubEventsConfig
- func (*GitHubEventsConfig) Descriptor() ([]byte, []int)deprecated
- func (m *GitHubEventsConfig) GetEvent() isGitHubEventsConfig_Event
- func (x *GitHubEventsConfig) GetInstallationId() int64deprecated
- func (x *GitHubEventsConfig) GetName() string
- func (x *GitHubEventsConfig) GetOwner() string
- func (x *GitHubEventsConfig) GetPullRequest() *PullRequestFilter
- func (x *GitHubEventsConfig) GetPush() *PushFilter
- func (*GitHubEventsConfig) ProtoMessage()
- func (x *GitHubEventsConfig) ProtoReflect() protoreflect.Message
- func (x *GitHubEventsConfig) Reset()
- func (x *GitHubEventsConfig) String() string
- type GitHubEventsConfig_PullRequest
- type GitHubEventsConfig_Push
- type GitRepoSource
- func (*GitRepoSource) Descriptor() ([]byte, []int)deprecated
- func (m *GitRepoSource) GetEnterpriseConfig() isGitRepoSource_EnterpriseConfig
- func (x *GitRepoSource) GetGithubEnterpriseConfig() string
- func (x *GitRepoSource) GetRef() string
- func (x *GitRepoSource) GetRepoType() GitFileSource_RepoType
- func (x *GitRepoSource) GetRepository() string
- func (m *GitRepoSource) GetSource() isGitRepoSource_Source
- func (x *GitRepoSource) GetUri() string
- func (*GitRepoSource) ProtoMessage()
- func (x *GitRepoSource) ProtoReflect() protoreflect.Message
- func (x *GitRepoSource) Reset()
- func (x *GitRepoSource) String() string
- type GitRepoSource_GithubEnterpriseConfig
- type GitRepoSource_Repository
- type GitSource
- func (*GitSource) Descriptor() ([]byte, []int)deprecated
- func (x *GitSource) GetDir() string
- func (x *GitSource) GetRevision() string
- func (x *GitSource) GetUrl() string
- func (*GitSource) ProtoMessage()
- func (x *GitSource) ProtoReflect() protoreflect.Message
- func (x *GitSource) Reset()
- func (x *GitSource) String() string
- type Hash
- type Hash_HashType
- func (Hash_HashType) Descriptor() protoreflect.EnumDescriptor
- func (x Hash_HashType) Enum() *Hash_HashType
- func (Hash_HashType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Hash_HashType) Number() protoreflect.EnumNumber
- func (x Hash_HashType) String() string
- func (Hash_HashType) Type() protoreflect.EnumType
- type InlineSecret
- func (*InlineSecret) Descriptor() ([]byte, []int)deprecated
- func (x *InlineSecret) GetEnvMap() map[string][]byte
- func (x *InlineSecret) GetKmsKeyName() string
- func (*InlineSecret) ProtoMessage()
- func (x *InlineSecret) ProtoReflect() protoreflect.Message
- func (x *InlineSecret) Reset()
- func (x *InlineSecret) String() string
- type ListBuildTriggersRequest
- func (*ListBuildTriggersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildTriggersRequest) GetPageSize() int32
- func (x *ListBuildTriggersRequest) GetPageToken() string
- func (x *ListBuildTriggersRequest) GetParent() string
- func (x *ListBuildTriggersRequest) GetProjectId() string
- func (*ListBuildTriggersRequest) ProtoMessage()
- func (x *ListBuildTriggersRequest) ProtoReflect() protoreflect.Message
- func (x *ListBuildTriggersRequest) Reset()
- func (x *ListBuildTriggersRequest) String() string
- type ListBuildTriggersResponse
- func (*ListBuildTriggersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildTriggersResponse) GetNextPageToken() string
- func (x *ListBuildTriggersResponse) GetTriggers() []*BuildTrigger
- func (*ListBuildTriggersResponse) ProtoMessage()
- func (x *ListBuildTriggersResponse) ProtoReflect() protoreflect.Message
- func (x *ListBuildTriggersResponse) Reset()
- func (x *ListBuildTriggersResponse) String() string
- type ListBuildsRequest
- func (*ListBuildsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildsRequest) GetFilter() string
- func (x *ListBuildsRequest) GetPageSize() int32
- func (x *ListBuildsRequest) GetPageToken() string
- func (x *ListBuildsRequest) GetParent() string
- func (x *ListBuildsRequest) GetProjectId() string
- func (*ListBuildsRequest) ProtoMessage()
- func (x *ListBuildsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBuildsRequest) Reset()
- func (x *ListBuildsRequest) String() string
- type ListBuildsResponse
- func (*ListBuildsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBuildsResponse) GetBuilds() []*Build
- func (x *ListBuildsResponse) GetNextPageToken() string
- func (*ListBuildsResponse) ProtoMessage()
- func (x *ListBuildsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBuildsResponse) Reset()
- func (x *ListBuildsResponse) String() string
- type ListWorkerPoolsRequest
- func (*ListWorkerPoolsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerPoolsRequest) GetPageSize() int32
- func (x *ListWorkerPoolsRequest) GetPageToken() string
- func (x *ListWorkerPoolsRequest) GetParent() string
- func (*ListWorkerPoolsRequest) ProtoMessage()
- func (x *ListWorkerPoolsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkerPoolsRequest) Reset()
- func (x *ListWorkerPoolsRequest) String() string
- type ListWorkerPoolsResponse
- func (*ListWorkerPoolsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerPoolsResponse) GetNextPageToken() string
- func (x *ListWorkerPoolsResponse) GetWorkerPools() []*WorkerPool
- func (*ListWorkerPoolsResponse) ProtoMessage()
- func (x *ListWorkerPoolsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkerPoolsResponse) Reset()
- func (x *ListWorkerPoolsResponse) String() string
- type PrivatePoolV1Config
- func (*PrivatePoolV1Config) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePoolV1Config) GetNetworkConfig() *PrivatePoolV1Config_NetworkConfig
- func (x *PrivatePoolV1Config) GetPrivateServiceConnect() *PrivatePoolV1Config_PrivateServiceConnect
- func (x *PrivatePoolV1Config) GetWorkerConfig() *PrivatePoolV1Config_WorkerConfig
- func (*PrivatePoolV1Config) ProtoMessage()
- func (x *PrivatePoolV1Config) ProtoReflect() protoreflect.Message
- func (x *PrivatePoolV1Config) Reset()
- func (x *PrivatePoolV1Config) String() string
- type PrivatePoolV1Config_NetworkConfig
- func (*PrivatePoolV1Config_NetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePoolV1Config_NetworkConfig) GetEgressOption() PrivatePoolV1Config_NetworkConfig_EgressOption
- func (x *PrivatePoolV1Config_NetworkConfig) GetPeeredNetwork() string
- func (x *PrivatePoolV1Config_NetworkConfig) GetPeeredNetworkIpRange() string
- func (*PrivatePoolV1Config_NetworkConfig) ProtoMessage()
- func (x *PrivatePoolV1Config_NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *PrivatePoolV1Config_NetworkConfig) Reset()
- func (x *PrivatePoolV1Config_NetworkConfig) String() string
- type PrivatePoolV1Config_NetworkConfig_EgressOption
- func (PrivatePoolV1Config_NetworkConfig_EgressOption) Descriptor() protoreflect.EnumDescriptor
- func (x PrivatePoolV1Config_NetworkConfig_EgressOption) Enum() *PrivatePoolV1Config_NetworkConfig_EgressOption
- func (PrivatePoolV1Config_NetworkConfig_EgressOption) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrivatePoolV1Config_NetworkConfig_EgressOption) Number() protoreflect.EnumNumber
- func (x PrivatePoolV1Config_NetworkConfig_EgressOption) String() string
- func (PrivatePoolV1Config_NetworkConfig_EgressOption) Type() protoreflect.EnumType
- type PrivatePoolV1Config_PrivateServiceConnect
- func (*PrivatePoolV1Config_PrivateServiceConnect) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePoolV1Config_PrivateServiceConnect) GetNetworkAttachment() string
- func (x *PrivatePoolV1Config_PrivateServiceConnect) GetPublicIpAddressDisabled() bool
- func (x *PrivatePoolV1Config_PrivateServiceConnect) GetRouteAllTraffic() bool
- func (*PrivatePoolV1Config_PrivateServiceConnect) ProtoMessage()
- func (x *PrivatePoolV1Config_PrivateServiceConnect) ProtoReflect() protoreflect.Message
- func (x *PrivatePoolV1Config_PrivateServiceConnect) Reset()
- func (x *PrivatePoolV1Config_PrivateServiceConnect) String() string
- type PrivatePoolV1Config_WorkerConfig
- func (*PrivatePoolV1Config_WorkerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PrivatePoolV1Config_WorkerConfig) GetDiskSizeGb() int64
- func (x *PrivatePoolV1Config_WorkerConfig) GetMachineType() string
- func (*PrivatePoolV1Config_WorkerConfig) ProtoMessage()
- func (x *PrivatePoolV1Config_WorkerConfig) ProtoReflect() protoreflect.Message
- func (x *PrivatePoolV1Config_WorkerConfig) Reset()
- func (x *PrivatePoolV1Config_WorkerConfig) String() string
- type PubsubConfig
- func (*PubsubConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PubsubConfig) GetServiceAccountEmail() string
- func (x *PubsubConfig) GetState() PubsubConfig_State
- func (x *PubsubConfig) GetSubscription() string
- func (x *PubsubConfig) GetTopic() string
- func (*PubsubConfig) ProtoMessage()
- func (x *PubsubConfig) ProtoReflect() protoreflect.Message
- func (x *PubsubConfig) Reset()
- func (x *PubsubConfig) String() string
- type PubsubConfig_State
- func (PubsubConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x PubsubConfig_State) Enum() *PubsubConfig_State
- func (PubsubConfig_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x PubsubConfig_State) Number() protoreflect.EnumNumber
- func (x PubsubConfig_State) String() string
- func (PubsubConfig_State) Type() protoreflect.EnumType
- type PullRequestFilter
- func (*PullRequestFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PullRequestFilter) GetBranch() string
- func (x *PullRequestFilter) GetCommentControl() PullRequestFilter_CommentControl
- func (m *PullRequestFilter) GetGitRef() isPullRequestFilter_GitRef
- func (x *PullRequestFilter) GetInvertRegex() bool
- func (*PullRequestFilter) ProtoMessage()
- func (x *PullRequestFilter) ProtoReflect() protoreflect.Message
- func (x *PullRequestFilter) Reset()
- func (x *PullRequestFilter) String() string
- type PullRequestFilter_Branch
- type PullRequestFilter_CommentControl
- func (PullRequestFilter_CommentControl) Descriptor() protoreflect.EnumDescriptor
- func (x PullRequestFilter_CommentControl) Enum() *PullRequestFilter_CommentControl
- func (PullRequestFilter_CommentControl) EnumDescriptor() ([]byte, []int)deprecated
- func (x PullRequestFilter_CommentControl) Number() protoreflect.EnumNumber
- func (x PullRequestFilter_CommentControl) String() string
- func (PullRequestFilter_CommentControl) Type() protoreflect.EnumType
- type PushFilter
- func (*PushFilter) Descriptor() ([]byte, []int)deprecated
- func (x *PushFilter) GetBranch() string
- func (m *PushFilter) GetGitRef() isPushFilter_GitRef
- func (x *PushFilter) GetInvertRegex() bool
- func (x *PushFilter) GetTag() string
- func (*PushFilter) ProtoMessage()
- func (x *PushFilter) ProtoReflect() protoreflect.Message
- func (x *PushFilter) Reset()
- func (x *PushFilter) String() string
- type PushFilter_Branch
- type PushFilter_Tag
- type ReceiveTriggerWebhookRequest
- func (*ReceiveTriggerWebhookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReceiveTriggerWebhookRequest) GetBody() *httpbody.HttpBody
- func (x *ReceiveTriggerWebhookRequest) GetName() string
- func (x *ReceiveTriggerWebhookRequest) GetProjectId() string
- func (x *ReceiveTriggerWebhookRequest) GetSecret() string
- func (x *ReceiveTriggerWebhookRequest) GetTrigger() string
- func (*ReceiveTriggerWebhookRequest) ProtoMessage()
- func (x *ReceiveTriggerWebhookRequest) ProtoReflect() protoreflect.Message
- func (x *ReceiveTriggerWebhookRequest) Reset()
- func (x *ReceiveTriggerWebhookRequest) String() string
- type ReceiveTriggerWebhookResponse
- func (*ReceiveTriggerWebhookResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReceiveTriggerWebhookResponse) ProtoMessage()
- func (x *ReceiveTriggerWebhookResponse) ProtoReflect() protoreflect.Message
- func (x *ReceiveTriggerWebhookResponse) Reset()
- func (x *ReceiveTriggerWebhookResponse) String() string
- type RepoSource
- func (*RepoSource) Descriptor() ([]byte, []int)deprecated
- func (x *RepoSource) GetBranchName() string
- func (x *RepoSource) GetCommitSha() string
- func (x *RepoSource) GetDir() string
- func (x *RepoSource) GetInvertRegex() bool
- func (x *RepoSource) GetProjectId() string
- func (x *RepoSource) GetRepoName() string
- func (m *RepoSource) GetRevision() isRepoSource_Revision
- func (x *RepoSource) GetSubstitutions() map[string]string
- func (x *RepoSource) GetTagName() string
- func (*RepoSource) ProtoMessage()
- func (x *RepoSource) ProtoReflect() protoreflect.Message
- func (x *RepoSource) Reset()
- func (x *RepoSource) String() string
- type RepoSource_BranchName
- type RepoSource_CommitSha
- type RepoSource_TagName
- type RepositoryEventConfig
- func (*RepositoryEventConfig) Descriptor() ([]byte, []int)deprecated
- func (m *RepositoryEventConfig) GetFilter() isRepositoryEventConfig_Filter
- func (x *RepositoryEventConfig) GetPullRequest() *PullRequestFilter
- func (x *RepositoryEventConfig) GetPush() *PushFilter
- func (x *RepositoryEventConfig) GetRepository() string
- func (x *RepositoryEventConfig) GetRepositoryType() RepositoryEventConfig_RepositoryType
- func (*RepositoryEventConfig) ProtoMessage()
- func (x *RepositoryEventConfig) ProtoReflect() protoreflect.Message
- func (x *RepositoryEventConfig) Reset()
- func (x *RepositoryEventConfig) String() string
- type RepositoryEventConfig_PullRequest
- type RepositoryEventConfig_Push
- type RepositoryEventConfig_RepositoryType
- func (RepositoryEventConfig_RepositoryType) Descriptor() protoreflect.EnumDescriptor
- func (x RepositoryEventConfig_RepositoryType) Enum() *RepositoryEventConfig_RepositoryType
- func (RepositoryEventConfig_RepositoryType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RepositoryEventConfig_RepositoryType) Number() protoreflect.EnumNumber
- func (x RepositoryEventConfig_RepositoryType) String() string
- func (RepositoryEventConfig_RepositoryType) Type() protoreflect.EnumType
- type Results
- func (*Results) Descriptor() ([]byte, []int)deprecated
- func (x *Results) GetArtifactManifest() string
- func (x *Results) GetArtifactTiming() *TimeSpan
- func (x *Results) GetBuildStepImages() []string
- func (x *Results) GetBuildStepOutputs() [][]byte
- func (x *Results) GetImages() []*BuiltImage
- func (x *Results) GetMavenArtifacts() []*UploadedMavenArtifact
- func (x *Results) GetNpmPackages() []*UploadedNpmPackage
- func (x *Results) GetNumArtifacts() int64
- func (x *Results) GetPythonPackages() []*UploadedPythonPackage
- func (*Results) ProtoMessage()
- func (x *Results) ProtoReflect() protoreflect.Message
- func (x *Results) Reset()
- func (x *Results) String() string
- type RetryBuildRequest
- func (*RetryBuildRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetryBuildRequest) GetId() string
- func (x *RetryBuildRequest) GetName() string
- func (x *RetryBuildRequest) GetProjectId() string
- func (*RetryBuildRequest) ProtoMessage()
- func (x *RetryBuildRequest) ProtoReflect() protoreflect.Message
- func (x *RetryBuildRequest) Reset()
- func (x *RetryBuildRequest) String() string
- type RunBuildTriggerRequest
- func (*RunBuildTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunBuildTriggerRequest) GetName() string
- func (x *RunBuildTriggerRequest) GetProjectId() string
- func (x *RunBuildTriggerRequest) GetSource() *RepoSource
- func (x *RunBuildTriggerRequest) GetTriggerId() string
- func (*RunBuildTriggerRequest) ProtoMessage()
- func (x *RunBuildTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *RunBuildTriggerRequest) Reset()
- func (x *RunBuildTriggerRequest) String() string
- type Secret
- type SecretManagerSecret
- func (*SecretManagerSecret) Descriptor() ([]byte, []int)deprecated
- func (x *SecretManagerSecret) GetEnv() string
- func (x *SecretManagerSecret) GetVersionName() string
- func (*SecretManagerSecret) ProtoMessage()
- func (x *SecretManagerSecret) ProtoReflect() protoreflect.Message
- func (x *SecretManagerSecret) Reset()
- func (x *SecretManagerSecret) String() string
- type Secrets
- func (*Secrets) Descriptor() ([]byte, []int)deprecated
- func (x *Secrets) GetInline() []*InlineSecret
- func (x *Secrets) GetSecretManager() []*SecretManagerSecret
- func (*Secrets) ProtoMessage()
- func (x *Secrets) ProtoReflect() protoreflect.Message
- func (x *Secrets) Reset()
- func (x *Secrets) String() string
- type Source
- func (*Source) Descriptor() ([]byte, []int)deprecated
- func (x *Source) GetGitSource() *GitSource
- func (x *Source) GetRepoSource() *RepoSource
- func (m *Source) GetSource() isSource_Source
- func (x *Source) GetStorageSource() *StorageSource
- func (x *Source) GetStorageSourceManifest() *StorageSourceManifest
- func (*Source) ProtoMessage()
- func (x *Source) ProtoReflect() protoreflect.Message
- func (x *Source) Reset()
- func (x *Source) String() string
- type SourceProvenance
- func (*SourceProvenance) Descriptor() ([]byte, []int)deprecated
- func (x *SourceProvenance) GetFileHashes() map[string]*FileHashes
- func (x *SourceProvenance) GetResolvedRepoSource() *RepoSource
- func (x *SourceProvenance) GetResolvedStorageSource() *StorageSource
- func (x *SourceProvenance) GetResolvedStorageSourceManifest() *StorageSourceManifest
- func (*SourceProvenance) ProtoMessage()
- func (x *SourceProvenance) ProtoReflect() protoreflect.Message
- func (x *SourceProvenance) Reset()
- func (x *SourceProvenance) String() string
- type Source_GitSource
- type Source_RepoSource
- type Source_StorageSource
- type Source_StorageSourceManifest
- type StorageSource
- func (*StorageSource) Descriptor() ([]byte, []int)deprecated
- func (x *StorageSource) GetBucket() string
- func (x *StorageSource) GetGeneration() int64
- func (x *StorageSource) GetObject() string
- func (x *StorageSource) GetSourceFetcher() StorageSource_SourceFetcher
- func (*StorageSource) ProtoMessage()
- func (x *StorageSource) ProtoReflect() protoreflect.Message
- func (x *StorageSource) Reset()
- func (x *StorageSource) String() string
- type StorageSourceManifest
- func (*StorageSourceManifest) Descriptor() ([]byte, []int)deprecated
- func (x *StorageSourceManifest) GetBucket() string
- func (x *StorageSourceManifest) GetGeneration() int64
- func (x *StorageSourceManifest) GetObject() string
- func (*StorageSourceManifest) ProtoMessage()
- func (x *StorageSourceManifest) ProtoReflect() protoreflect.Message
- func (x *StorageSourceManifest) Reset()
- func (x *StorageSourceManifest) String() string
- type StorageSource_SourceFetcher
- func (StorageSource_SourceFetcher) Descriptor() protoreflect.EnumDescriptor
- func (x StorageSource_SourceFetcher) Enum() *StorageSource_SourceFetcher
- func (StorageSource_SourceFetcher) EnumDescriptor() ([]byte, []int)deprecated
- func (x StorageSource_SourceFetcher) Number() protoreflect.EnumNumber
- func (x StorageSource_SourceFetcher) String() string
- func (StorageSource_SourceFetcher) Type() protoreflect.EnumType
- type TimeSpan
- func (*TimeSpan) Descriptor() ([]byte, []int)deprecated
- func (x *TimeSpan) GetEndTime() *timestamppb.Timestamp
- func (x *TimeSpan) GetStartTime() *timestamppb.Timestamp
- func (*TimeSpan) ProtoMessage()
- func (x *TimeSpan) ProtoReflect() protoreflect.Message
- func (x *TimeSpan) Reset()
- func (x *TimeSpan) String() string
- type UnimplementedCloudBuildServer
- func (*UnimplementedCloudBuildServer) ApproveBuild(context.Context, *ApproveBuildRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) CancelBuild(context.Context, *CancelBuildRequest) (*Build, error)
- func (*UnimplementedCloudBuildServer) CreateBuild(context.Context, *CreateBuildRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error)
- func (*UnimplementedCloudBuildServer) CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*emptypb.Empty, error)
- func (*UnimplementedCloudBuildServer) DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) GetBuild(context.Context, *GetBuildRequest) (*Build, error)
- func (*UnimplementedCloudBuildServer) GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error)
- func (*UnimplementedCloudBuildServer) GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error)
- func (*UnimplementedCloudBuildServer) ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error)
- func (*UnimplementedCloudBuildServer) ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error)
- func (*UnimplementedCloudBuildServer) ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error)
- func (*UnimplementedCloudBuildServer) ReceiveTriggerWebhook(context.Context, *ReceiveTriggerWebhookRequest) (*ReceiveTriggerWebhookResponse, error)
- func (*UnimplementedCloudBuildServer) RetryBuild(context.Context, *RetryBuildRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedCloudBuildServer) UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error)
- func (*UnimplementedCloudBuildServer) UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*longrunningpb.Operation, error)
- type UpdateBuildTriggerRequest
- func (*UpdateBuildTriggerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBuildTriggerRequest) GetProjectId() string
- func (x *UpdateBuildTriggerRequest) GetTrigger() *BuildTrigger
- func (x *UpdateBuildTriggerRequest) GetTriggerId() string
- func (x *UpdateBuildTriggerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateBuildTriggerRequest) ProtoMessage()
- func (x *UpdateBuildTriggerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBuildTriggerRequest) Reset()
- func (x *UpdateBuildTriggerRequest) String() string
- type UpdateWorkerPoolOperationMetadata
- func (*UpdateWorkerPoolOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerPoolOperationMetadata) GetCompleteTime() *timestamppb.Timestamp
- func (x *UpdateWorkerPoolOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *UpdateWorkerPoolOperationMetadata) GetWorkerPool() string
- func (*UpdateWorkerPoolOperationMetadata) ProtoMessage()
- func (x *UpdateWorkerPoolOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerPoolOperationMetadata) Reset()
- func (x *UpdateWorkerPoolOperationMetadata) String() string
- type UpdateWorkerPoolRequest
- func (*UpdateWorkerPoolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerPoolRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateWorkerPoolRequest) GetValidateOnly() bool
- func (x *UpdateWorkerPoolRequest) GetWorkerPool() *WorkerPool
- func (*UpdateWorkerPoolRequest) ProtoMessage()
- func (x *UpdateWorkerPoolRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerPoolRequest) Reset()
- func (x *UpdateWorkerPoolRequest) String() string
- type UploadedMavenArtifact
- func (*UploadedMavenArtifact) Descriptor() ([]byte, []int)deprecated
- func (x *UploadedMavenArtifact) GetFileHashes() *FileHashes
- func (x *UploadedMavenArtifact) GetPushTiming() *TimeSpan
- func (x *UploadedMavenArtifact) GetUri() string
- func (*UploadedMavenArtifact) ProtoMessage()
- func (x *UploadedMavenArtifact) ProtoReflect() protoreflect.Message
- func (x *UploadedMavenArtifact) Reset()
- func (x *UploadedMavenArtifact) String() string
- type UploadedNpmPackage
- func (*UploadedNpmPackage) Descriptor() ([]byte, []int)deprecated
- func (x *UploadedNpmPackage) GetFileHashes() *FileHashes
- func (x *UploadedNpmPackage) GetPushTiming() *TimeSpan
- func (x *UploadedNpmPackage) GetUri() string
- func (*UploadedNpmPackage) ProtoMessage()
- func (x *UploadedNpmPackage) ProtoReflect() protoreflect.Message
- func (x *UploadedNpmPackage) Reset()
- func (x *UploadedNpmPackage) String() string
- type UploadedPythonPackage
- func (*UploadedPythonPackage) Descriptor() ([]byte, []int)deprecated
- func (x *UploadedPythonPackage) GetFileHashes() *FileHashes
- func (x *UploadedPythonPackage) GetPushTiming() *TimeSpan
- func (x *UploadedPythonPackage) GetUri() string
- func (*UploadedPythonPackage) ProtoMessage()
- func (x *UploadedPythonPackage) ProtoReflect() protoreflect.Message
- func (x *UploadedPythonPackage) Reset()
- func (x *UploadedPythonPackage) String() string
- type Volume
- type WebhookConfig
- func (*WebhookConfig) Descriptor() ([]byte, []int)deprecated
- func (m *WebhookConfig) GetAuthMethod() isWebhookConfig_AuthMethod
- func (x *WebhookConfig) GetSecret() string
- func (x *WebhookConfig) GetState() WebhookConfig_State
- func (*WebhookConfig) ProtoMessage()
- func (x *WebhookConfig) ProtoReflect() protoreflect.Message
- func (x *WebhookConfig) Reset()
- func (x *WebhookConfig) String() string
- type WebhookConfig_Secret
- type WebhookConfig_State
- func (WebhookConfig_State) Descriptor() protoreflect.EnumDescriptor
- func (x WebhookConfig_State) Enum() *WebhookConfig_State
- func (WebhookConfig_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x WebhookConfig_State) Number() protoreflect.EnumNumber
- func (x WebhookConfig_State) String() string
- func (WebhookConfig_State) Type() protoreflect.EnumType
- type WorkerPool
- func (*WorkerPool) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerPool) GetAnnotations() map[string]string
- func (m *WorkerPool) GetConfig() isWorkerPool_Config
- func (x *WorkerPool) GetCreateTime() *timestamppb.Timestamp
- func (x *WorkerPool) GetDeleteTime() *timestamppb.Timestamp
- func (x *WorkerPool) GetDisplayName() string
- func (x *WorkerPool) GetEtag() string
- func (x *WorkerPool) GetName() string
- func (x *WorkerPool) GetPrivatePoolV1Config() *PrivatePoolV1Config
- func (x *WorkerPool) GetState() WorkerPool_State
- func (x *WorkerPool) GetUid() string
- func (x *WorkerPool) GetUpdateTime() *timestamppb.Timestamp
- func (*WorkerPool) ProtoMessage()
- func (x *WorkerPool) ProtoReflect() protoreflect.Message
- func (x *WorkerPool) Reset()
- func (x *WorkerPool) String() string
- type WorkerPool_PrivatePoolV1Config
- type WorkerPool_State
- func (WorkerPool_State) Descriptor() protoreflect.EnumDescriptor
- func (x WorkerPool_State) Enum() *WorkerPool_State
- func (WorkerPool_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkerPool_State) Number() protoreflect.EnumNumber
- func (x WorkerPool_State) String() string
- func (WorkerPool_State) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( StorageSource_SourceFetcher_name = map[int32]string{ 0: "SOURCE_FETCHER_UNSPECIFIED", 1: "GSUTIL", 2: "GCS_FETCHER", } StorageSource_SourceFetcher_value = map[string]int32{ "SOURCE_FETCHER_UNSPECIFIED": 0, "GSUTIL": 1, "GCS_FETCHER": 2, } )
Enum value maps for StorageSource_SourceFetcher.
var ( Build_Status_name = map[int32]string{ 0: "STATUS_UNKNOWN", 10: "PENDING", 1: "QUEUED", 2: "WORKING", 3: "SUCCESS", 4: "FAILURE", 5: "INTERNAL_ERROR", 6: "TIMEOUT", 7: "CANCELLED", 9: "EXPIRED", } Build_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "PENDING": 10, "QUEUED": 1, "WORKING": 2, "SUCCESS": 3, "FAILURE": 4, "INTERNAL_ERROR": 5, "TIMEOUT": 6, "CANCELLED": 7, "EXPIRED": 9, } )
Enum value maps for Build_Status.
var ( Build_Warning_Priority_name = map[int32]string{ 0: "PRIORITY_UNSPECIFIED", 1: "INFO", 2: "WARNING", 3: "ALERT", } Build_Warning_Priority_value = map[string]int32{ "PRIORITY_UNSPECIFIED": 0, "INFO": 1, "WARNING": 2, "ALERT": 3, } )
Enum value maps for Build_Warning_Priority.
var ( Build_FailureInfo_FailureType_name = map[int32]string{ 0: "FAILURE_TYPE_UNSPECIFIED", 1: "PUSH_FAILED", 2: "PUSH_IMAGE_NOT_FOUND", 3: "PUSH_NOT_AUTHORIZED", 4: "LOGGING_FAILURE", 5: "USER_BUILD_STEP", 6: "FETCH_SOURCE_FAILED", } Build_FailureInfo_FailureType_value = map[string]int32{ "FAILURE_TYPE_UNSPECIFIED": 0, "PUSH_FAILED": 1, "PUSH_IMAGE_NOT_FOUND": 2, "PUSH_NOT_AUTHORIZED": 3, "LOGGING_FAILURE": 4, "USER_BUILD_STEP": 5, "FETCH_SOURCE_FAILED": 6, } )
Enum value maps for Build_FailureInfo_FailureType.
var ( Hash_HashType_name = map[int32]string{ 0: "NONE", 1: "SHA256", 2: "MD5", 4: "SHA512", } Hash_HashType_value = map[string]int32{ "NONE": 0, "SHA256": 1, "MD5": 2, "SHA512": 4, } )
Enum value maps for Hash_HashType.
var ( BuildApproval_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "PENDING", 2: "APPROVED", 3: "REJECTED", 5: "CANCELLED", } BuildApproval_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "PENDING": 1, "APPROVED": 2, "REJECTED": 3, "CANCELLED": 5, } )
Enum value maps for BuildApproval_State.
var ( ApprovalResult_Decision_name = map[int32]string{ 0: "DECISION_UNSPECIFIED", 1: "APPROVED", 2: "REJECTED", } ApprovalResult_Decision_value = map[string]int32{ "DECISION_UNSPECIFIED": 0, "APPROVED": 1, "REJECTED": 2, } )
Enum value maps for ApprovalResult_Decision.
var ( GitFileSource_RepoType_name = map[int32]string{ 0: "UNKNOWN", 1: "CLOUD_SOURCE_REPOSITORIES", 2: "GITHUB", 3: "BITBUCKET_SERVER", 4: "GITLAB", } GitFileSource_RepoType_value = map[string]int32{ "UNKNOWN": 0, "CLOUD_SOURCE_REPOSITORIES": 1, "GITHUB": 2, "BITBUCKET_SERVER": 3, "GITLAB": 4, } )
Enum value maps for GitFileSource_RepoType.
var ( RepositoryEventConfig_RepositoryType_name = map[int32]string{ 0: "REPOSITORY_TYPE_UNSPECIFIED", 1: "GITHUB", 2: "GITHUB_ENTERPRISE", 3: "GITLAB_ENTERPRISE", } RepositoryEventConfig_RepositoryType_value = map[string]int32{ "REPOSITORY_TYPE_UNSPECIFIED": 0, "GITHUB": 1, "GITHUB_ENTERPRISE": 2, "GITLAB_ENTERPRISE": 3, } )
Enum value maps for RepositoryEventConfig_RepositoryType.
var ( PubsubConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "OK", 2: "SUBSCRIPTION_DELETED", 3: "TOPIC_DELETED", 4: "SUBSCRIPTION_MISCONFIGURED", } PubsubConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "OK": 1, "SUBSCRIPTION_DELETED": 2, "TOPIC_DELETED": 3, "SUBSCRIPTION_MISCONFIGURED": 4, } )
Enum value maps for PubsubConfig_State.
var ( WebhookConfig_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "OK", 2: "SECRET_DELETED", } WebhookConfig_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "OK": 1, "SECRET_DELETED": 2, } )
Enum value maps for WebhookConfig_State.
var ( PullRequestFilter_CommentControl_name = map[int32]string{ 0: "COMMENTS_DISABLED", 1: "COMMENTS_ENABLED", 2: "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY", } PullRequestFilter_CommentControl_value = map[string]int32{ "COMMENTS_DISABLED": 0, "COMMENTS_ENABLED": 1, "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY": 2, } )
Enum value maps for PullRequestFilter_CommentControl.
var ( BuildOptions_VerifyOption_name = map[int32]string{ 0: "NOT_VERIFIED", 1: "VERIFIED", } BuildOptions_VerifyOption_value = map[string]int32{ "NOT_VERIFIED": 0, "VERIFIED": 1, } )
Enum value maps for BuildOptions_VerifyOption.
var ( BuildOptions_MachineType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "N1_HIGHCPU_8", 2: "N1_HIGHCPU_32", 5: "E2_HIGHCPU_8", 6: "E2_HIGHCPU_32", 7: "E2_MEDIUM", } BuildOptions_MachineType_value = map[string]int32{ "UNSPECIFIED": 0, "N1_HIGHCPU_8": 1, "N1_HIGHCPU_32": 2, "E2_HIGHCPU_8": 5, "E2_HIGHCPU_32": 6, "E2_MEDIUM": 7, } )
Enum value maps for BuildOptions_MachineType.
var ( BuildOptions_SubstitutionOption_name = map[int32]string{ 0: "MUST_MATCH", 1: "ALLOW_LOOSE", } BuildOptions_SubstitutionOption_value = map[string]int32{ "MUST_MATCH": 0, "ALLOW_LOOSE": 1, } )
Enum value maps for BuildOptions_SubstitutionOption.
var ( BuildOptions_LogStreamingOption_name = map[int32]string{ 0: "STREAM_DEFAULT", 1: "STREAM_ON", 2: "STREAM_OFF", } BuildOptions_LogStreamingOption_value = map[string]int32{ "STREAM_DEFAULT": 0, "STREAM_ON": 1, "STREAM_OFF": 2, } )
Enum value maps for BuildOptions_LogStreamingOption.
var ( BuildOptions_LoggingMode_name = map[int32]string{ 0: "LOGGING_UNSPECIFIED", 1: "LEGACY", 2: "GCS_ONLY", 3: "STACKDRIVER_ONLY", 5: "CLOUD_LOGGING_ONLY", 4: "NONE", } BuildOptions_LoggingMode_value = map[string]int32{ "LOGGING_UNSPECIFIED": 0, "LEGACY": 1, "GCS_ONLY": 2, "STACKDRIVER_ONLY": 3, "CLOUD_LOGGING_ONLY": 5, "NONE": 4, } )
Enum value maps for BuildOptions_LoggingMode.
var ( BuildOptions_DefaultLogsBucketBehavior_name = map[int32]string{ 0: "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED", 1: "REGIONAL_USER_OWNED_BUCKET", 2: "LEGACY_BUCKET", } BuildOptions_DefaultLogsBucketBehavior_value = map[string]int32{ "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED": 0, "REGIONAL_USER_OWNED_BUCKET": 1, "LEGACY_BUCKET": 2, } )
Enum value maps for BuildOptions_DefaultLogsBucketBehavior.
var ( WorkerPool_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "RUNNING", 3: "DELETING", 4: "DELETED", 5: "UPDATING", } WorkerPool_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "RUNNING": 2, "DELETING": 3, "DELETED": 4, "UPDATING": 5, } )
Enum value maps for WorkerPool_State.
var ( PrivatePoolV1Config_NetworkConfig_EgressOption_name = map[int32]string{ 0: "EGRESS_OPTION_UNSPECIFIED", 1: "NO_PUBLIC_EGRESS", 2: "PUBLIC_EGRESS", } PrivatePoolV1Config_NetworkConfig_EgressOption_value = map[string]int32{ "EGRESS_OPTION_UNSPECIFIED": 0, "NO_PUBLIC_EGRESS": 1, "PUBLIC_EGRESS": 2, } )
Enum value maps for PrivatePoolV1Config_NetworkConfig_EgressOption.
var File_google_devtools_cloudbuild_v1_cloudbuild_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudBuildServer ¶
func RegisterCloudBuildServer(s *grpc.Server, srv CloudBuildServer)
Types ¶
type ApprovalConfig ¶
type ApprovalConfig struct { // Whether or not approval is needed. If this is set on a build, it will // become pending when created, and will need to be explicitly approved // to start. ApprovalRequired bool `protobuf:"varint,1,opt,name=approval_required,json=approvalRequired,proto3" json:"approval_required,omitempty"` // contains filtered or unexported fields }
ApprovalConfig describes configuration for manual approval of a build.
func (*ApprovalConfig) Descriptor
deprecated
func (*ApprovalConfig) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalConfig.ProtoReflect.Descriptor instead.
func (*ApprovalConfig) GetApprovalRequired ¶
func (x *ApprovalConfig) GetApprovalRequired() bool
func (*ApprovalConfig) ProtoMessage ¶
func (*ApprovalConfig) ProtoMessage()
func (*ApprovalConfig) ProtoReflect ¶
func (x *ApprovalConfig) ProtoReflect() protoreflect.Message
func (*ApprovalConfig) Reset ¶
func (x *ApprovalConfig) Reset()
func (*ApprovalConfig) String ¶
func (x *ApprovalConfig) String() string
type ApprovalResult ¶
type ApprovalResult struct { // Output only. Email of the user that called the ApproveBuild API to // approve or reject a build at the time that the API was called. ApproverAccount string `protobuf:"bytes,2,opt,name=approver_account,json=approverAccount,proto3" json:"approver_account,omitempty"` // Output only. The time when the approval decision was made. ApprovalTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=approval_time,json=approvalTime,proto3" json:"approval_time,omitempty"` // Required. The decision of this manual approval. Decision ApprovalResult_Decision `` /* 129-byte string literal not displayed */ // Optional. An optional comment for this manual approval result. Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"` // Optional. An optional URL tied to this manual approval result. This field // is essentially the same as comment, except that it will be rendered by the // UI differently. An example use case is a link to an external job that // approved this Build. Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
func (*ApprovalResult) Descriptor
deprecated
func (*ApprovalResult) Descriptor() ([]byte, []int)
Deprecated: Use ApprovalResult.ProtoReflect.Descriptor instead.
func (*ApprovalResult) GetApprovalTime ¶
func (x *ApprovalResult) GetApprovalTime() *timestamppb.Timestamp
func (*ApprovalResult) GetApproverAccount ¶
func (x *ApprovalResult) GetApproverAccount() string
func (*ApprovalResult) GetComment ¶
func (x *ApprovalResult) GetComment() string
func (*ApprovalResult) GetDecision ¶
func (x *ApprovalResult) GetDecision() ApprovalResult_Decision
func (*ApprovalResult) GetUrl ¶
func (x *ApprovalResult) GetUrl() string
func (*ApprovalResult) ProtoMessage ¶
func (*ApprovalResult) ProtoMessage()
func (*ApprovalResult) ProtoReflect ¶
func (x *ApprovalResult) ProtoReflect() protoreflect.Message
func (*ApprovalResult) Reset ¶
func (x *ApprovalResult) Reset()
func (*ApprovalResult) String ¶
func (x *ApprovalResult) String() string
type ApprovalResult_Decision ¶
type ApprovalResult_Decision int32
Specifies whether or not this manual approval result is to approve or reject a build.
const ( // Default enum type. This should not be used. ApprovalResult_DECISION_UNSPECIFIED ApprovalResult_Decision = 0 // Build is approved. ApprovalResult_APPROVED ApprovalResult_Decision = 1 // Build is rejected. ApprovalResult_REJECTED ApprovalResult_Decision = 2 )
func (ApprovalResult_Decision) Descriptor ¶
func (ApprovalResult_Decision) Descriptor() protoreflect.EnumDescriptor
func (ApprovalResult_Decision) Enum ¶
func (x ApprovalResult_Decision) Enum() *ApprovalResult_Decision
func (ApprovalResult_Decision) EnumDescriptor
deprecated
func (ApprovalResult_Decision) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApprovalResult_Decision.Descriptor instead.
func (ApprovalResult_Decision) Number ¶
func (x ApprovalResult_Decision) Number() protoreflect.EnumNumber
func (ApprovalResult_Decision) String ¶
func (x ApprovalResult_Decision) String() string
func (ApprovalResult_Decision) Type ¶
func (ApprovalResult_Decision) Type() protoreflect.EnumType
type ApproveBuildRequest ¶
type ApproveBuildRequest struct { // Required. Name of the target build. // For example: "projects/{$project_id}/builds/{$build_id}" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Approval decision and metadata. ApprovalResult *ApprovalResult `protobuf:"bytes,2,opt,name=approval_result,json=approvalResult,proto3" json:"approval_result,omitempty"` // contains filtered or unexported fields }
Request to approve or reject a pending build.
func (*ApproveBuildRequest) Descriptor
deprecated
func (*ApproveBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApproveBuildRequest.ProtoReflect.Descriptor instead.
func (*ApproveBuildRequest) GetApprovalResult ¶
func (x *ApproveBuildRequest) GetApprovalResult() *ApprovalResult
func (*ApproveBuildRequest) GetName ¶
func (x *ApproveBuildRequest) GetName() string
func (*ApproveBuildRequest) ProtoMessage ¶
func (*ApproveBuildRequest) ProtoMessage()
func (*ApproveBuildRequest) ProtoReflect ¶
func (x *ApproveBuildRequest) ProtoReflect() protoreflect.Message
func (*ApproveBuildRequest) Reset ¶
func (x *ApproveBuildRequest) Reset()
func (*ApproveBuildRequest) String ¶
func (x *ApproveBuildRequest) String() string
type ArtifactResult ¶
type ArtifactResult struct { // The path of an artifact in a Cloud Storage bucket, with the // generation number. For example, // `gs://mybucket/path/to/output.jar#generation`. Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // The file hash of the artifact. FileHash []*FileHashes `protobuf:"bytes,2,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // contains filtered or unexported fields }
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
func (*ArtifactResult) Descriptor
deprecated
func (*ArtifactResult) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactResult.ProtoReflect.Descriptor instead.
func (*ArtifactResult) GetFileHash ¶
func (x *ArtifactResult) GetFileHash() []*FileHashes
func (*ArtifactResult) GetLocation ¶
func (x *ArtifactResult) GetLocation() string
func (*ArtifactResult) ProtoMessage ¶
func (*ArtifactResult) ProtoMessage()
func (*ArtifactResult) ProtoReflect ¶
func (x *ArtifactResult) ProtoReflect() protoreflect.Message
func (*ArtifactResult) Reset ¶
func (x *ArtifactResult) Reset()
func (*ArtifactResult) String ¶
func (x *ArtifactResult) String() string
type Artifacts ¶
type Artifacts struct { // A list of images to be pushed upon the successful completion of all build // steps. // // The images will be pushed using the builder service account's credentials. // // The digests of the pushed images will be stored in the Build resource's // results field. // // If any of the images fail to be pushed, the build is marked FAILURE. Images []string `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` // A list of objects to be uploaded to Cloud Storage upon successful // completion of all build steps. // // Files in the workspace matching specified paths globs will be uploaded to // the specified Cloud Storage location using the builder service account's // credentials. // // The location and generation of the uploaded objects will be stored in the // Build resource's results field. // // If any objects fail to be pushed, the build is marked FAILURE. Objects *Artifacts_ArtifactObjects `protobuf:"bytes,2,opt,name=objects,proto3" json:"objects,omitempty"` // A list of Maven artifacts to be uploaded to Artifact Registry upon // successful completion of all build steps. // // Artifacts in the workspace matching specified paths globs will be uploaded // to the specified Artifact Registry repository using the builder service // account's credentials. // // If any artifacts fail to be pushed, the build is marked FAILURE. MavenArtifacts []*Artifacts_MavenArtifact `protobuf:"bytes,3,rep,name=maven_artifacts,json=mavenArtifacts,proto3" json:"maven_artifacts,omitempty"` // A list of Python packages to be uploaded to Artifact Registry upon // successful completion of all build steps. // // The build service account credentials will be used to perform the upload. // // If any objects fail to be pushed, the build is marked FAILURE. PythonPackages []*Artifacts_PythonPackage `protobuf:"bytes,5,rep,name=python_packages,json=pythonPackages,proto3" json:"python_packages,omitempty"` // A list of npm packages to be uploaded to Artifact Registry upon // successful completion of all build steps. // // Npm packages in the specified paths will be uploaded // to the specified Artifact Registry repository using the builder service // account's credentials. // // If any packages fail to be pushed, the build is marked FAILURE. NpmPackages []*Artifacts_NpmPackage `protobuf:"bytes,6,rep,name=npm_packages,json=npmPackages,proto3" json:"npm_packages,omitempty"` // contains filtered or unexported fields }
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
func (*Artifacts) Descriptor
deprecated
func (*Artifacts) GetMavenArtifacts ¶ added in v1.5.0
func (x *Artifacts) GetMavenArtifacts() []*Artifacts_MavenArtifact
func (*Artifacts) GetNpmPackages ¶ added in v1.12.0
func (x *Artifacts) GetNpmPackages() []*Artifacts_NpmPackage
func (*Artifacts) GetObjects ¶
func (x *Artifacts) GetObjects() *Artifacts_ArtifactObjects
func (*Artifacts) GetPythonPackages ¶ added in v1.5.0
func (x *Artifacts) GetPythonPackages() []*Artifacts_PythonPackage
func (*Artifacts) ProtoMessage ¶
func (*Artifacts) ProtoMessage()
func (*Artifacts) ProtoReflect ¶
func (x *Artifacts) ProtoReflect() protoreflect.Message
type Artifacts_ArtifactObjects ¶
type Artifacts_ArtifactObjects struct { // Cloud Storage bucket and optional object path, in the form // "gs://bucket/path/to/somewhere/". (see [Bucket Name // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). // // Files in the workspace matching any path pattern will be uploaded to // Cloud Storage with this location as a prefix. Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` // Path globs used to match files in the build's workspace. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // Output only. Stores timing information for pushing all artifact objects. Timing *TimeSpan `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"` // contains filtered or unexported fields }
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
func (*Artifacts_ArtifactObjects) Descriptor
deprecated
func (*Artifacts_ArtifactObjects) Descriptor() ([]byte, []int)
Deprecated: Use Artifacts_ArtifactObjects.ProtoReflect.Descriptor instead.
func (*Artifacts_ArtifactObjects) GetLocation ¶
func (x *Artifacts_ArtifactObjects) GetLocation() string
func (*Artifacts_ArtifactObjects) GetPaths ¶
func (x *Artifacts_ArtifactObjects) GetPaths() []string
func (*Artifacts_ArtifactObjects) GetTiming ¶
func (x *Artifacts_ArtifactObjects) GetTiming() *TimeSpan
func (*Artifacts_ArtifactObjects) ProtoMessage ¶
func (*Artifacts_ArtifactObjects) ProtoMessage()
func (*Artifacts_ArtifactObjects) ProtoReflect ¶
func (x *Artifacts_ArtifactObjects) ProtoReflect() protoreflect.Message
func (*Artifacts_ArtifactObjects) Reset ¶
func (x *Artifacts_ArtifactObjects) Reset()
func (*Artifacts_ArtifactObjects) String ¶
func (x *Artifacts_ArtifactObjects) String() string
type Artifacts_MavenArtifact ¶ added in v1.5.0
type Artifacts_MavenArtifact struct { // Artifact Registry repository, in the form // "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" // // Artifact in the workspace specified by path will be uploaded to // Artifact Registry with this location as a prefix. Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Path to an artifact in the build's workspace to be uploaded to // Artifact Registry. // This can be either an absolute path, // e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar // or a relative path from /workspace, // e.g. my-app/target/my-app-1.0.SNAPSHOT.jar. Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // Maven `artifactId` value used when uploading the artifact to Artifact // Registry. ArtifactId string `protobuf:"bytes,3,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"` // Maven `groupId` value used when uploading the artifact to Artifact // Registry. GroupId string `protobuf:"bytes,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // Maven `version` value used when uploading the artifact to Artifact // Registry. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
func (*Artifacts_MavenArtifact) Descriptor
deprecated
added in
v1.5.0
func (*Artifacts_MavenArtifact) Descriptor() ([]byte, []int)
Deprecated: Use Artifacts_MavenArtifact.ProtoReflect.Descriptor instead.
func (*Artifacts_MavenArtifact) GetArtifactId ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) GetArtifactId() string
func (*Artifacts_MavenArtifact) GetGroupId ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) GetGroupId() string
func (*Artifacts_MavenArtifact) GetPath ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) GetPath() string
func (*Artifacts_MavenArtifact) GetRepository ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) GetRepository() string
func (*Artifacts_MavenArtifact) GetVersion ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) GetVersion() string
func (*Artifacts_MavenArtifact) ProtoMessage ¶ added in v1.5.0
func (*Artifacts_MavenArtifact) ProtoMessage()
func (*Artifacts_MavenArtifact) ProtoReflect ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) ProtoReflect() protoreflect.Message
func (*Artifacts_MavenArtifact) Reset ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) Reset()
func (*Artifacts_MavenArtifact) String ¶ added in v1.5.0
func (x *Artifacts_MavenArtifact) String() string
type Artifacts_NpmPackage ¶ added in v1.12.0
type Artifacts_NpmPackage struct { // Artifact Registry repository, in the form // "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" // // Npm package in the workspace specified by path will be zipped and // uploaded to Artifact Registry with this location as a prefix. Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Path to the package.json. // e.g. workspace/path/to/package PackagePath string `protobuf:"bytes,2,opt,name=package_path,json=packagePath,proto3" json:"package_path,omitempty"` // contains filtered or unexported fields }
Npm package to upload to Artifact Registry upon successful completion of all build steps.
func (*Artifacts_NpmPackage) Descriptor
deprecated
added in
v1.12.0
func (*Artifacts_NpmPackage) Descriptor() ([]byte, []int)
Deprecated: Use Artifacts_NpmPackage.ProtoReflect.Descriptor instead.
func (*Artifacts_NpmPackage) GetPackagePath ¶ added in v1.12.0
func (x *Artifacts_NpmPackage) GetPackagePath() string
func (*Artifacts_NpmPackage) GetRepository ¶ added in v1.12.0
func (x *Artifacts_NpmPackage) GetRepository() string
func (*Artifacts_NpmPackage) ProtoMessage ¶ added in v1.12.0
func (*Artifacts_NpmPackage) ProtoMessage()
func (*Artifacts_NpmPackage) ProtoReflect ¶ added in v1.12.0
func (x *Artifacts_NpmPackage) ProtoReflect() protoreflect.Message
func (*Artifacts_NpmPackage) Reset ¶ added in v1.12.0
func (x *Artifacts_NpmPackage) Reset()
func (*Artifacts_NpmPackage) String ¶ added in v1.12.0
func (x *Artifacts_NpmPackage) String() string
type Artifacts_PythonPackage ¶ added in v1.5.0
type Artifacts_PythonPackage struct { // Artifact Registry repository, in the form // "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY" // // Files in the workspace matching any path pattern will be uploaded to // Artifact Registry with this location as a prefix. Repository string `protobuf:"bytes,1,opt,name=repository,proto3" json:"repository,omitempty"` // Path globs used to match files in the build's workspace. For Python/ // Twine, this is usually `dist/*`, and sometimes additionally an `.asc` // file. Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
func (*Artifacts_PythonPackage) Descriptor
deprecated
added in
v1.5.0
func (*Artifacts_PythonPackage) Descriptor() ([]byte, []int)
Deprecated: Use Artifacts_PythonPackage.ProtoReflect.Descriptor instead.
func (*Artifacts_PythonPackage) GetPaths ¶ added in v1.5.0
func (x *Artifacts_PythonPackage) GetPaths() []string
func (*Artifacts_PythonPackage) GetRepository ¶ added in v1.5.0
func (x *Artifacts_PythonPackage) GetRepository() string
func (*Artifacts_PythonPackage) ProtoMessage ¶ added in v1.5.0
func (*Artifacts_PythonPackage) ProtoMessage()
func (*Artifacts_PythonPackage) ProtoReflect ¶ added in v1.5.0
func (x *Artifacts_PythonPackage) ProtoReflect() protoreflect.Message
func (*Artifacts_PythonPackage) Reset ¶ added in v1.5.0
func (x *Artifacts_PythonPackage) Reset()
func (*Artifacts_PythonPackage) String ¶ added in v1.5.0
func (x *Artifacts_PythonPackage) String() string
type Build ¶
type Build struct { // Output only. The 'Build' name with format: // `projects/{project}/locations/{location}/builds/{build}`, where {build} // is a unique identifier generated by the service. Name string `protobuf:"bytes,45,opt,name=name,proto3" json:"name,omitempty"` // Output only. Unique identifier of the build. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Output only. ID of the project. ProjectId string `protobuf:"bytes,16,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Output only. Status of the build. Status Build_Status `protobuf:"varint,2,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` // Output only. Customer-readable message about the current status. StatusDetail string `protobuf:"bytes,24,opt,name=status_detail,json=statusDetail,proto3" json:"status_detail,omitempty"` // The location of the source files to build. Source *Source `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Required. The operations to be performed on the workspace. Steps []*BuildStep `protobuf:"bytes,11,rep,name=steps,proto3" json:"steps,omitempty"` // Output only. Results of the build. Results *Results `protobuf:"bytes,10,opt,name=results,proto3" json:"results,omitempty"` // Output only. Time at which the request to create the build was received. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Time at which execution of the build was started. StartTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. Time at which execution of the build was finished. // // The difference between finish_time and start_time is the duration of the // build's execution. FinishTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=finish_time,json=finishTime,proto3" json:"finish_time,omitempty"` // Amount of time that this build should be allowed to run, to second // granularity. If this amount of time elapses, work on the build will cease // and the build status will be `TIMEOUT`. // // `timeout` starts ticking from `startTime`. // // Default time is 60 minutes. Timeout *durationpb.Duration `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout,omitempty"` // A list of images to be pushed upon the successful completion of all build // steps. // // The images are pushed using the builder service account's credentials. // // The digests of the pushed images will be stored in the `Build` resource's // results field. // // If any of the images fail to be pushed, the build status is marked // `FAILURE`. Images []string `protobuf:"bytes,13,rep,name=images,proto3" json:"images,omitempty"` // TTL in queue for this build. If provided and the build is enqueued longer // than this value, the build will expire and the build status will be // `EXPIRED`. // // The TTL starts ticking from create_time. QueueTtl *durationpb.Duration `protobuf:"bytes,40,opt,name=queue_ttl,json=queueTtl,proto3" json:"queue_ttl,omitempty"` // Artifacts produced by the build that should be uploaded upon // successful completion of all build steps. Artifacts *Artifacts `protobuf:"bytes,37,opt,name=artifacts,proto3" json:"artifacts,omitempty"` // Cloud Storage bucket where logs should be written (see // [Bucket Name // Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). // Logs file names will be of the format `${logs_bucket}/log-${build_id}.txt`. LogsBucket string `protobuf:"bytes,19,opt,name=logs_bucket,json=logsBucket,proto3" json:"logs_bucket,omitempty"` // Output only. A permanent fixed identifier for source. SourceProvenance *SourceProvenance `protobuf:"bytes,21,opt,name=source_provenance,json=sourceProvenance,proto3" json:"source_provenance,omitempty"` // Output only. The ID of the `BuildTrigger` that triggered this build, if it // was triggered automatically. BuildTriggerId string `protobuf:"bytes,22,opt,name=build_trigger_id,json=buildTriggerId,proto3" json:"build_trigger_id,omitempty"` // Special options for this build. Options *BuildOptions `protobuf:"bytes,23,opt,name=options,proto3" json:"options,omitempty"` // Output only. URL to logs for this build in Google Cloud Console. LogUrl string `protobuf:"bytes,25,opt,name=log_url,json=logUrl,proto3" json:"log_url,omitempty"` // Substitutions data for `Build` resource. Substitutions map[string]string `` /* 168-byte string literal not displayed */ // Tags for annotation of a `Build`. These are not docker tags. Tags []string `protobuf:"bytes,31,rep,name=tags,proto3" json:"tags,omitempty"` // Secrets to decrypt using Cloud Key Management Service. // Note: Secret Manager is the recommended technique // for managing sensitive data with Cloud Build. Use `available_secrets` to // configure builds to access secrets from Secret Manager. For instructions, // see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets Secrets []*Secret `protobuf:"bytes,32,rep,name=secrets,proto3" json:"secrets,omitempty"` // Output only. Stores timing information for phases of the build. Valid keys // are: // // * BUILD: time to execute all build steps. // * PUSH: time to push all artifacts including docker images and non docker // artifacts. // * FETCHSOURCE: time to fetch source. // * SETUPBUILD: time to set up build. // // If the build does not specify source or images, // these keys will not be included. Timing map[string]*TimeSpan `` /* 154-byte string literal not displayed */ // Output only. Describes this build's approval configuration, status, // and result. Approval *BuildApproval `protobuf:"bytes,44,opt,name=approval,proto3" json:"approval,omitempty"` // IAM service account whose credentials will be used at build runtime. // Must be of the format `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`. // ACCOUNT can be email address or uniqueId of the service account. ServiceAccount string `protobuf:"bytes,42,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // Secrets and secret environment variables. AvailableSecrets *Secrets `protobuf:"bytes,47,opt,name=available_secrets,json=availableSecrets,proto3" json:"available_secrets,omitempty"` // Output only. Non-fatal problems encountered during the execution of the // build. Warnings []*Build_Warning `protobuf:"bytes,49,rep,name=warnings,proto3" json:"warnings,omitempty"` // Output only. Contains information about the build when status=FAILURE. FailureInfo *Build_FailureInfo `protobuf:"bytes,51,opt,name=failure_info,json=failureInfo,proto3" json:"failure_info,omitempty"` // contains filtered or unexported fields }
A build resource in the Cloud Build API.
At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts.
Fields can include the following variables, which will be expanded when the build is created:
- $PROJECT_ID: the project ID of the build.
- $PROJECT_NUMBER: the project number of the build.
- $LOCATION: the location/region of the build.
- $BUILD_ID: the autogenerated ID of the build.
- $REPO_NAME: the source repository name specified by RepoSource.
- $BRANCH_NAME: the branch name specified by RepoSource.
- $TAG_NAME: the tag name specified by RepoSource.
- $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag.
- $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
func (*Build) Descriptor
deprecated
func (*Build) GetApproval ¶
func (x *Build) GetApproval() *BuildApproval
func (*Build) GetArtifacts ¶
func (*Build) GetAvailableSecrets ¶
func (*Build) GetBuildTriggerId ¶
func (*Build) GetCreateTime ¶
func (x *Build) GetCreateTime() *timestamppb.Timestamp
func (*Build) GetFailureInfo ¶
func (x *Build) GetFailureInfo() *Build_FailureInfo
func (*Build) GetFinishTime ¶
func (x *Build) GetFinishTime() *timestamppb.Timestamp
func (*Build) GetLogsBucket ¶
func (*Build) GetOptions ¶
func (x *Build) GetOptions() *BuildOptions
func (*Build) GetProjectId ¶
func (*Build) GetQueueTtl ¶
func (x *Build) GetQueueTtl() *durationpb.Duration
func (*Build) GetResults ¶
func (*Build) GetSecrets ¶
func (*Build) GetServiceAccount ¶
func (*Build) GetSourceProvenance ¶
func (x *Build) GetSourceProvenance() *SourceProvenance
func (*Build) GetStartTime ¶
func (x *Build) GetStartTime() *timestamppb.Timestamp
func (*Build) GetStatus ¶
func (x *Build) GetStatus() Build_Status
func (*Build) GetStatusDetail ¶
func (*Build) GetSubstitutions ¶
func (*Build) GetTimeout ¶
func (x *Build) GetTimeout() *durationpb.Duration
func (*Build) GetWarnings ¶
func (x *Build) GetWarnings() []*Build_Warning
func (*Build) ProtoMessage ¶
func (*Build) ProtoMessage()
func (*Build) ProtoReflect ¶
func (x *Build) ProtoReflect() protoreflect.Message
type BuildApproval ¶
type BuildApproval struct { // Output only. The state of this build's approval. State BuildApproval_State `protobuf:"varint,1,opt,name=state,proto3,enum=google.devtools.cloudbuild.v1.BuildApproval_State" json:"state,omitempty"` // Output only. Configuration for manual approval of this build. Config *ApprovalConfig `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"` // Output only. Result of manual approval for this Build. Result *ApprovalResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
BuildApproval describes a build's approval configuration, state, and result.
func (*BuildApproval) Descriptor
deprecated
func (*BuildApproval) Descriptor() ([]byte, []int)
Deprecated: Use BuildApproval.ProtoReflect.Descriptor instead.
func (*BuildApproval) GetConfig ¶
func (x *BuildApproval) GetConfig() *ApprovalConfig
func (*BuildApproval) GetResult ¶
func (x *BuildApproval) GetResult() *ApprovalResult
func (*BuildApproval) GetState ¶
func (x *BuildApproval) GetState() BuildApproval_State
func (*BuildApproval) ProtoMessage ¶
func (*BuildApproval) ProtoMessage()
func (*BuildApproval) ProtoReflect ¶
func (x *BuildApproval) ProtoReflect() protoreflect.Message
func (*BuildApproval) Reset ¶
func (x *BuildApproval) Reset()
func (*BuildApproval) String ¶
func (x *BuildApproval) String() string
type BuildApproval_State ¶
type BuildApproval_State int32
Specifies the current state of a build's approval.
const ( // Default enum type. This should not be used. BuildApproval_STATE_UNSPECIFIED BuildApproval_State = 0 // Build approval is pending. BuildApproval_PENDING BuildApproval_State = 1 // Build approval has been approved. BuildApproval_APPROVED BuildApproval_State = 2 // Build approval has been rejected. BuildApproval_REJECTED BuildApproval_State = 3 // Build was cancelled while it was still pending approval. BuildApproval_CANCELLED BuildApproval_State = 5 )
func (BuildApproval_State) Descriptor ¶
func (BuildApproval_State) Descriptor() protoreflect.EnumDescriptor
func (BuildApproval_State) Enum ¶
func (x BuildApproval_State) Enum() *BuildApproval_State
func (BuildApproval_State) EnumDescriptor
deprecated
func (BuildApproval_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildApproval_State.Descriptor instead.
func (BuildApproval_State) Number ¶
func (x BuildApproval_State) Number() protoreflect.EnumNumber
func (BuildApproval_State) String ¶
func (x BuildApproval_State) String() string
func (BuildApproval_State) Type ¶
func (BuildApproval_State) Type() protoreflect.EnumType
type BuildOperationMetadata ¶
type BuildOperationMetadata struct { // The build that the operation is tracking. Build *Build `protobuf:"bytes,1,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
Metadata for build operations.
func (*BuildOperationMetadata) Descriptor
deprecated
func (*BuildOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use BuildOperationMetadata.ProtoReflect.Descriptor instead.
func (*BuildOperationMetadata) GetBuild ¶
func (x *BuildOperationMetadata) GetBuild() *Build
func (*BuildOperationMetadata) ProtoMessage ¶
func (*BuildOperationMetadata) ProtoMessage()
func (*BuildOperationMetadata) ProtoReflect ¶
func (x *BuildOperationMetadata) ProtoReflect() protoreflect.Message
func (*BuildOperationMetadata) Reset ¶
func (x *BuildOperationMetadata) Reset()
func (*BuildOperationMetadata) String ¶
func (x *BuildOperationMetadata) String() string
type BuildOptions ¶
type BuildOptions struct { // Requested hash for SourceProvenance. SourceProvenanceHash []Hash_HashType `` /* 180-byte string literal not displayed */ // Requested verifiability options. RequestedVerifyOption BuildOptions_VerifyOption `` /* 188-byte string literal not displayed */ // Compute Engine machine type on which to run the build. MachineType BuildOptions_MachineType `` /* 155-byte string literal not displayed */ // Requested disk size for the VM that runs the build. Note that this is *NOT* // "disk free"; some of the space will be used by the operating system and // build utilities. Also note that this is the minimum disk size that will be // allocated for the build -- the build may run with a larger disk than // requested. At present, the maximum disk size is 2000GB; builds that request // more than the maximum are rejected with an error. DiskSizeGb int64 `protobuf:"varint,6,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` // Option to specify behavior when there is an error in the substitution // checks. // // NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot // be overridden in the build configuration file. SubstitutionOption BuildOptions_SubstitutionOption `` /* 183-byte string literal not displayed */ // Option to specify whether or not to apply bash style string // operations to the substitutions. // // NOTE: this is always enabled for triggered builds and cannot be // overridden in the build configuration file. DynamicSubstitutions bool `protobuf:"varint,17,opt,name=dynamic_substitutions,json=dynamicSubstitutions,proto3" json:"dynamic_substitutions,omitempty"` // Option to include built-in and custom substitutions as env variables // for all build steps. AutomapSubstitutions bool `protobuf:"varint,22,opt,name=automap_substitutions,json=automapSubstitutions,proto3" json:"automap_substitutions,omitempty"` // Option to define build log streaming behavior to Cloud // Storage. LogStreamingOption BuildOptions_LogStreamingOption `` /* 185-byte string literal not displayed */ // This field deprecated; please use `pool.name` instead. // // Deprecated: Marked as deprecated in google/devtools/cloudbuild/v1/cloudbuild.proto. WorkerPool string `protobuf:"bytes,7,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` // Optional. Specification for execution on a `WorkerPool`. // // See [running builds in a private // pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) // for more information. Pool *BuildOptions_PoolOption `protobuf:"bytes,19,opt,name=pool,proto3" json:"pool,omitempty"` // Option to specify the logging mode, which determines if and where build // logs are stored. Logging BuildOptions_LoggingMode `` /* 129-byte string literal not displayed */ // A list of global environment variable definitions that will exist for all // build steps in this build. If a variable is defined in both globally and in // a build step, the variable will use the build step value. // // The elements are of the form "KEY=VALUE" for the environment variable "KEY" // being given the value "VALUE". Env []string `protobuf:"bytes,12,rep,name=env,proto3" json:"env,omitempty"` // A list of global environment variables, which are encrypted using a Cloud // Key Management Service crypto key. These values must be specified in the // build's `Secret`. These variables will be available to all build steps // in this build. SecretEnv []string `protobuf:"bytes,13,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` // Global list of volumes to mount for ALL build steps // // Each volume is created as an empty volume prior to starting the build // process. Upon completion of the build, volumes and their contents are // discarded. Global volume names and paths cannot conflict with the volumes // defined a build step. // // Using a global volume in a build with only one step is not valid as // it is indicative of a build request with an incorrect configuration. Volumes []*Volume `protobuf:"bytes,14,rep,name=volumes,proto3" json:"volumes,omitempty"` // Optional. Option to specify how default logs buckets are setup. DefaultLogsBucketBehavior BuildOptions_DefaultLogsBucketBehavior `` /* 216-byte string literal not displayed */ // contains filtered or unexported fields }
Optional arguments to enable specific features of builds.
func (*BuildOptions) Descriptor
deprecated
func (*BuildOptions) Descriptor() ([]byte, []int)
Deprecated: Use BuildOptions.ProtoReflect.Descriptor instead.
func (*BuildOptions) GetAutomapSubstitutions ¶ added in v1.13.0
func (x *BuildOptions) GetAutomapSubstitutions() bool
func (*BuildOptions) GetDefaultLogsBucketBehavior ¶ added in v1.9.0
func (x *BuildOptions) GetDefaultLogsBucketBehavior() BuildOptions_DefaultLogsBucketBehavior
func (*BuildOptions) GetDiskSizeGb ¶
func (x *BuildOptions) GetDiskSizeGb() int64
func (*BuildOptions) GetDynamicSubstitutions ¶
func (x *BuildOptions) GetDynamicSubstitutions() bool
func (*BuildOptions) GetEnv ¶
func (x *BuildOptions) GetEnv() []string
func (*BuildOptions) GetLogStreamingOption ¶
func (x *BuildOptions) GetLogStreamingOption() BuildOptions_LogStreamingOption
func (*BuildOptions) GetLogging ¶
func (x *BuildOptions) GetLogging() BuildOptions_LoggingMode
func (*BuildOptions) GetMachineType ¶
func (x *BuildOptions) GetMachineType() BuildOptions_MachineType
func (*BuildOptions) GetPool ¶
func (x *BuildOptions) GetPool() *BuildOptions_PoolOption
func (*BuildOptions) GetRequestedVerifyOption ¶
func (x *BuildOptions) GetRequestedVerifyOption() BuildOptions_VerifyOption
func (*BuildOptions) GetSecretEnv ¶
func (x *BuildOptions) GetSecretEnv() []string
func (*BuildOptions) GetSourceProvenanceHash ¶
func (x *BuildOptions) GetSourceProvenanceHash() []Hash_HashType
func (*BuildOptions) GetSubstitutionOption ¶
func (x *BuildOptions) GetSubstitutionOption() BuildOptions_SubstitutionOption
func (*BuildOptions) GetVolumes ¶
func (x *BuildOptions) GetVolumes() []*Volume
func (*BuildOptions) GetWorkerPool
deprecated
func (x *BuildOptions) GetWorkerPool() string
Deprecated: Marked as deprecated in google/devtools/cloudbuild/v1/cloudbuild.proto.
func (*BuildOptions) ProtoMessage ¶
func (*BuildOptions) ProtoMessage()
func (*BuildOptions) ProtoReflect ¶
func (x *BuildOptions) ProtoReflect() protoreflect.Message
func (*BuildOptions) Reset ¶
func (x *BuildOptions) Reset()
func (*BuildOptions) String ¶
func (x *BuildOptions) String() string
type BuildOptions_DefaultLogsBucketBehavior ¶ added in v1.9.0
type BuildOptions_DefaultLogsBucketBehavior int32
Default Cloud Storage log bucket behavior options.
const ( // Unspecified. BuildOptions_DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED BuildOptions_DefaultLogsBucketBehavior = 0 // Bucket is located in user-owned project in the same region as the // build. The builder service account must have access to create and write // to Cloud Storage buckets in the build project. BuildOptions_REGIONAL_USER_OWNED_BUCKET BuildOptions_DefaultLogsBucketBehavior = 1 // Bucket is located in a Google-owned project and is not regionalized. BuildOptions_LEGACY_BUCKET BuildOptions_DefaultLogsBucketBehavior = 2 )
func (BuildOptions_DefaultLogsBucketBehavior) Descriptor ¶ added in v1.9.0
func (BuildOptions_DefaultLogsBucketBehavior) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_DefaultLogsBucketBehavior) EnumDescriptor
deprecated
added in
v1.9.0
func (BuildOptions_DefaultLogsBucketBehavior) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_DefaultLogsBucketBehavior.Descriptor instead.
func (BuildOptions_DefaultLogsBucketBehavior) Number ¶ added in v1.9.0
func (x BuildOptions_DefaultLogsBucketBehavior) Number() protoreflect.EnumNumber
func (BuildOptions_DefaultLogsBucketBehavior) String ¶ added in v1.9.0
func (x BuildOptions_DefaultLogsBucketBehavior) String() string
func (BuildOptions_DefaultLogsBucketBehavior) Type ¶ added in v1.9.0
func (BuildOptions_DefaultLogsBucketBehavior) Type() protoreflect.EnumType
type BuildOptions_LogStreamingOption ¶
type BuildOptions_LogStreamingOption int32
Specifies the behavior when writing build logs to Cloud Storage.
const ( // Service may automatically determine build log streaming behavior. BuildOptions_STREAM_DEFAULT BuildOptions_LogStreamingOption = 0 // Build logs should be streamed to Cloud Storage. BuildOptions_STREAM_ON BuildOptions_LogStreamingOption = 1 // Build logs should not be streamed to Cloud Storage; they will be // written when the build is completed. BuildOptions_STREAM_OFF BuildOptions_LogStreamingOption = 2 )
func (BuildOptions_LogStreamingOption) Descriptor ¶
func (BuildOptions_LogStreamingOption) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_LogStreamingOption) Enum ¶
func (x BuildOptions_LogStreamingOption) Enum() *BuildOptions_LogStreamingOption
func (BuildOptions_LogStreamingOption) EnumDescriptor
deprecated
func (BuildOptions_LogStreamingOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_LogStreamingOption.Descriptor instead.
func (BuildOptions_LogStreamingOption) Number ¶
func (x BuildOptions_LogStreamingOption) Number() protoreflect.EnumNumber
func (BuildOptions_LogStreamingOption) String ¶
func (x BuildOptions_LogStreamingOption) String() string
func (BuildOptions_LogStreamingOption) Type ¶
func (BuildOptions_LogStreamingOption) Type() protoreflect.EnumType
type BuildOptions_LoggingMode ¶
type BuildOptions_LoggingMode int32
Specifies the logging mode.
const ( // The service determines the logging mode. The default is `LEGACY`. Do not // rely on the default logging behavior as it may change in the future. BuildOptions_LOGGING_UNSPECIFIED BuildOptions_LoggingMode = 0 // Build logs are stored in Cloud Logging and Cloud Storage. BuildOptions_LEGACY BuildOptions_LoggingMode = 1 // Build logs are stored in Cloud Storage. BuildOptions_GCS_ONLY BuildOptions_LoggingMode = 2 // This option is the same as CLOUD_LOGGING_ONLY. // // Deprecated: Marked as deprecated in google/devtools/cloudbuild/v1/cloudbuild.proto. BuildOptions_STACKDRIVER_ONLY BuildOptions_LoggingMode = 3 // Build logs are stored in Cloud Logging. Selecting this option will not // allow [logs // streaming](https://cloud.google.com/sdk/gcloud/reference/builds/log). BuildOptions_CLOUD_LOGGING_ONLY BuildOptions_LoggingMode = 5 // Turn off all logging. No build logs will be captured. BuildOptions_NONE BuildOptions_LoggingMode = 4 )
func (BuildOptions_LoggingMode) Descriptor ¶
func (BuildOptions_LoggingMode) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_LoggingMode) Enum ¶
func (x BuildOptions_LoggingMode) Enum() *BuildOptions_LoggingMode
func (BuildOptions_LoggingMode) EnumDescriptor
deprecated
func (BuildOptions_LoggingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_LoggingMode.Descriptor instead.
func (BuildOptions_LoggingMode) Number ¶
func (x BuildOptions_LoggingMode) Number() protoreflect.EnumNumber
func (BuildOptions_LoggingMode) String ¶
func (x BuildOptions_LoggingMode) String() string
func (BuildOptions_LoggingMode) Type ¶
func (BuildOptions_LoggingMode) Type() protoreflect.EnumType
type BuildOptions_MachineType ¶
type BuildOptions_MachineType int32
Supported Compute Engine machine types. For more information, see [Machine types](https://cloud.google.com/compute/docs/machine-types).
const ( // Standard machine type. BuildOptions_UNSPECIFIED BuildOptions_MachineType = 0 // Highcpu machine with 8 CPUs. BuildOptions_N1_HIGHCPU_8 BuildOptions_MachineType = 1 // Highcpu machine with 32 CPUs. BuildOptions_N1_HIGHCPU_32 BuildOptions_MachineType = 2 // Highcpu e2 machine with 8 CPUs. BuildOptions_E2_HIGHCPU_8 BuildOptions_MachineType = 5 // Highcpu e2 machine with 32 CPUs. BuildOptions_E2_HIGHCPU_32 BuildOptions_MachineType = 6 // E2 machine with 1 CPU. BuildOptions_E2_MEDIUM BuildOptions_MachineType = 7 )
func (BuildOptions_MachineType) Descriptor ¶
func (BuildOptions_MachineType) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_MachineType) Enum ¶
func (x BuildOptions_MachineType) Enum() *BuildOptions_MachineType
func (BuildOptions_MachineType) EnumDescriptor
deprecated
func (BuildOptions_MachineType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_MachineType.Descriptor instead.
func (BuildOptions_MachineType) Number ¶
func (x BuildOptions_MachineType) Number() protoreflect.EnumNumber
func (BuildOptions_MachineType) String ¶
func (x BuildOptions_MachineType) String() string
func (BuildOptions_MachineType) Type ¶
func (BuildOptions_MachineType) Type() protoreflect.EnumType
type BuildOptions_PoolOption ¶
type BuildOptions_PoolOption struct { // The `WorkerPool` resource to execute the build on. // You must have `cloudbuild.workerpools.use` on the project hosting the // WorkerPool. // // Format projects/{project}/locations/{location}/workerPools/{workerPoolId} Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Details about how a build should be executed on a `WorkerPool`.
See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information.
func (*BuildOptions_PoolOption) Descriptor
deprecated
func (*BuildOptions_PoolOption) Descriptor() ([]byte, []int)
Deprecated: Use BuildOptions_PoolOption.ProtoReflect.Descriptor instead.
func (*BuildOptions_PoolOption) GetName ¶
func (x *BuildOptions_PoolOption) GetName() string
func (*BuildOptions_PoolOption) ProtoMessage ¶
func (*BuildOptions_PoolOption) ProtoMessage()
func (*BuildOptions_PoolOption) ProtoReflect ¶
func (x *BuildOptions_PoolOption) ProtoReflect() protoreflect.Message
func (*BuildOptions_PoolOption) Reset ¶
func (x *BuildOptions_PoolOption) Reset()
func (*BuildOptions_PoolOption) String ¶
func (x *BuildOptions_PoolOption) String() string
type BuildOptions_SubstitutionOption ¶
type BuildOptions_SubstitutionOption int32
Specifies the behavior when there is an error in the substitution checks.
const ( // Fails the build if error in substitutions checks, like missing // a substitution in the template or in the map. BuildOptions_MUST_MATCH BuildOptions_SubstitutionOption = 0 // Do not fail the build if error in substitutions checks. BuildOptions_ALLOW_LOOSE BuildOptions_SubstitutionOption = 1 )
func (BuildOptions_SubstitutionOption) Descriptor ¶
func (BuildOptions_SubstitutionOption) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_SubstitutionOption) Enum ¶
func (x BuildOptions_SubstitutionOption) Enum() *BuildOptions_SubstitutionOption
func (BuildOptions_SubstitutionOption) EnumDescriptor
deprecated
func (BuildOptions_SubstitutionOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_SubstitutionOption.Descriptor instead.
func (BuildOptions_SubstitutionOption) Number ¶
func (x BuildOptions_SubstitutionOption) Number() protoreflect.EnumNumber
func (BuildOptions_SubstitutionOption) String ¶
func (x BuildOptions_SubstitutionOption) String() string
func (BuildOptions_SubstitutionOption) Type ¶
func (BuildOptions_SubstitutionOption) Type() protoreflect.EnumType
type BuildOptions_VerifyOption ¶
type BuildOptions_VerifyOption int32
Specifies the manner in which the build should be verified, if at all.
If a verified build is requested, and any part of the process to generate and upload provenance fails, the build will also fail.
If the build does not request verification then that process may occur, but is not guaranteed to. If it does occur and fails, the build will not fail.
For more information, see [Viewing Build Provenance](https://cloud.google.com/build/docs/securing-builds/view-build-provenance).
const ( // Not a verifiable build (the default). BuildOptions_NOT_VERIFIED BuildOptions_VerifyOption = 0 // Build must be verified. BuildOptions_VERIFIED BuildOptions_VerifyOption = 1 )
func (BuildOptions_VerifyOption) Descriptor ¶
func (BuildOptions_VerifyOption) Descriptor() protoreflect.EnumDescriptor
func (BuildOptions_VerifyOption) Enum ¶
func (x BuildOptions_VerifyOption) Enum() *BuildOptions_VerifyOption
func (BuildOptions_VerifyOption) EnumDescriptor
deprecated
func (BuildOptions_VerifyOption) EnumDescriptor() ([]byte, []int)
Deprecated: Use BuildOptions_VerifyOption.Descriptor instead.
func (BuildOptions_VerifyOption) Number ¶
func (x BuildOptions_VerifyOption) Number() protoreflect.EnumNumber
func (BuildOptions_VerifyOption) String ¶
func (x BuildOptions_VerifyOption) String() string
func (BuildOptions_VerifyOption) Type ¶
func (BuildOptions_VerifyOption) Type() protoreflect.EnumType
type BuildStep ¶
type BuildStep struct { // Required. The name of the container image that will run this particular // build step. // // If the image is available in the host's Docker daemon's cache, it // will be run directly. If not, the host will attempt to pull the image // first, using the builder service account's credentials if necessary. // // The Docker daemon's cache will already have the latest versions of all of // the officially supported build steps // ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). // The Docker daemon will also have cached many of the layers for some popular // images, like "ubuntu", "debian", but they will be refreshed at the time you // attempt to use them. // // If you built an image in a previous build step, it will be stored in the // host's Docker daemon's cache and is available to use as the name for a // later build step. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A list of environment variable definitions to be used when running a step. // // The elements are of the form "KEY=VALUE" for the environment variable "KEY" // being given the value "VALUE". Env []string `protobuf:"bytes,2,rep,name=env,proto3" json:"env,omitempty"` // A list of arguments that will be presented to the step when it is started. // // If the image used to run the step's container has an entrypoint, the `args` // are used as arguments to that entrypoint. If the image does not define // an entrypoint, the first element in args is used as the entrypoint, // and the remainder will be used as arguments. Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Working directory to use when running this step's container. // // If this value is a relative path, it is relative to the build's working // directory. If this value is absolute, it may be outside the build's working // directory, in which case the contents of the path may not be persisted // across build step executions, unless a `volume` for that path is specified. // // If the build specifies a `RepoSource` with `dir` and a step with a `dir`, // which specifies an absolute path, the `RepoSource` `dir` is ignored for // the step's execution. Dir string `protobuf:"bytes,4,opt,name=dir,proto3" json:"dir,omitempty"` // Unique identifier for this build step, used in `wait_for` to // reference this build step as a dependency. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // The ID(s) of the step(s) that this build step depends on. // This build step will not start until all the build steps in `wait_for` // have completed successfully. If `wait_for` is empty, this build step will // start when all previous build steps in the `Build.Steps` list have // completed successfully. WaitFor []string `protobuf:"bytes,6,rep,name=wait_for,json=waitFor,proto3" json:"wait_for,omitempty"` // Entrypoint to be used instead of the build step image's default entrypoint. // If unset, the image's default entrypoint is used. Entrypoint string `protobuf:"bytes,7,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"` // A list of environment variables which are encrypted using a Cloud Key // Management Service crypto key. These values must be specified in the // build's `Secret`. SecretEnv []string `protobuf:"bytes,8,rep,name=secret_env,json=secretEnv,proto3" json:"secret_env,omitempty"` // List of volumes to mount into the build step. // // Each volume is created as an empty volume prior to execution of the // build step. Upon completion of the build, volumes and their contents are // discarded. // // Using a named volume in only one step is not valid as it is indicative // of a build request with an incorrect configuration. Volumes []*Volume `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"` // Output only. Stores timing information for executing this build step. Timing *TimeSpan `protobuf:"bytes,10,opt,name=timing,proto3" json:"timing,omitempty"` // Output only. Stores timing information for pulling this build step's // builder image only. PullTiming *TimeSpan `protobuf:"bytes,13,opt,name=pull_timing,json=pullTiming,proto3" json:"pull_timing,omitempty"` // Time limit for executing this build step. If not defined, the step has no // time limit and will be allowed to continue to run until either it completes // or the build itself times out. Timeout *durationpb.Duration `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout,omitempty"` // Output only. Status of the build step. At this time, build step status is // only updated on build completion; step status is not updated in real-time // as the build progresses. Status Build_Status `protobuf:"varint,12,opt,name=status,proto3,enum=google.devtools.cloudbuild.v1.Build_Status" json:"status,omitempty"` // Allow this build step to fail without failing the entire build. // // If false, the entire build will fail if this step fails. Otherwise, the // build will succeed, but this step will still have a failure status. // Error information will be reported in the failure_detail field. AllowFailure bool `protobuf:"varint,14,opt,name=allow_failure,json=allowFailure,proto3" json:"allow_failure,omitempty"` // Output only. Return code from running the step. ExitCode int32 `protobuf:"varint,16,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` // Allow this build step to fail without failing the entire build if and // only if the exit code is one of the specified codes. If allow_failure // is also specified, this field will take precedence. AllowExitCodes []int32 `protobuf:"varint,18,rep,packed,name=allow_exit_codes,json=allowExitCodes,proto3" json:"allow_exit_codes,omitempty"` // A shell script to be executed in the step. // // When script is provided, the user cannot specify the entrypoint or args. Script string `protobuf:"bytes,19,opt,name=script,proto3" json:"script,omitempty"` // Option to include built-in and custom substitutions as env variables // for this build step. This option will override the global option // in BuildOption. AutomapSubstitutions *bool `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
A step in the build pipeline.
func (*BuildStep) Descriptor
deprecated
func (*BuildStep) GetAllowExitCodes ¶ added in v1.5.0
func (*BuildStep) GetAllowFailure ¶ added in v1.5.0
func (*BuildStep) GetAutomapSubstitutions ¶ added in v1.13.0
func (*BuildStep) GetEntrypoint ¶
func (*BuildStep) GetExitCode ¶ added in v1.5.0
func (*BuildStep) GetPullTiming ¶
func (*BuildStep) GetSecretEnv ¶
func (*BuildStep) GetStatus ¶
func (x *BuildStep) GetStatus() Build_Status
func (*BuildStep) GetTimeout ¶
func (x *BuildStep) GetTimeout() *durationpb.Duration
func (*BuildStep) GetVolumes ¶
func (*BuildStep) GetWaitFor ¶
func (*BuildStep) ProtoMessage ¶
func (*BuildStep) ProtoMessage()
func (*BuildStep) ProtoReflect ¶
func (x *BuildStep) ProtoReflect() protoreflect.Message
type BuildTrigger ¶
type BuildTrigger struct { // The `Trigger` name with format: // `projects/{project}/locations/{location}/triggers/{trigger}`, where // {trigger} is a unique identifier generated by the service. ResourceName string `protobuf:"bytes,34,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"` // Output only. Unique identifier of the trigger. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Human-readable description of this trigger. Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"` // User-assigned name of the trigger. Must be unique within the project. // Trigger names must meet the following requirements: // // + They must contain only alphanumeric characters and dashes. // + They can be 1-64 characters long. // + They must begin and end with an alphanumeric character. Name string `protobuf:"bytes,21,opt,name=name,proto3" json:"name,omitempty"` // Tags for annotation of a `BuildTrigger` Tags []string `protobuf:"bytes,19,rep,name=tags,proto3" json:"tags,omitempty"` // Template describing the types of source changes to trigger a build. // // Branch and tag names in trigger templates are interpreted as regular // expressions. Any branch or tag change that matches that regular expression // will trigger a build. // // Mutually exclusive with `github`. TriggerTemplate *RepoSource `protobuf:"bytes,7,opt,name=trigger_template,json=triggerTemplate,proto3" json:"trigger_template,omitempty"` // GitHubEventsConfig describes the configuration of a trigger that creates // a build whenever a GitHub event is received. // // Mutually exclusive with `trigger_template`. Github *GitHubEventsConfig `protobuf:"bytes,13,opt,name=github,proto3" json:"github,omitempty"` // PubsubConfig describes the configuration of a trigger that // creates a build whenever a Pub/Sub message is published. PubsubConfig *PubsubConfig `protobuf:"bytes,29,opt,name=pubsub_config,json=pubsubConfig,proto3" json:"pubsub_config,omitempty"` // WebhookConfig describes the configuration of a trigger that // creates a build whenever a webhook is sent to a trigger's webhook URL. WebhookConfig *WebhookConfig `protobuf:"bytes,31,opt,name=webhook_config,json=webhookConfig,proto3" json:"webhook_config,omitempty"` // Template describing the Build request to make when the trigger is matched. // At least one of the template fields must be provided. // // Types that are assignable to BuildTemplate: // // *BuildTrigger_Autodetect // *BuildTrigger_Build // *BuildTrigger_Filename // *BuildTrigger_GitFileSource BuildTemplate isBuildTrigger_BuildTemplate `protobuf_oneof:"build_template"` // Output only. Time when the trigger was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // If true, the trigger will never automatically execute a build. Disabled bool `protobuf:"varint,9,opt,name=disabled,proto3" json:"disabled,omitempty"` // Substitutions for Build resource. The keys must match the following // regular expression: `^_[A-Z0-9_]+$`. Substitutions map[string]string `` /* 168-byte string literal not displayed */ // ignored_files and included_files are file glob matches using // https://golang.org/pkg/path/filepath/#Match extended with support for "**". // // If ignored_files and changed files are both empty, then they are // not used to determine whether or not to trigger a build. // // If ignored_files is not empty, then we ignore any files that match // any of the ignored_file globs. If the change has no files that are // outside of the ignored_files globs, then we do not trigger a build. IgnoredFiles []string `protobuf:"bytes,15,rep,name=ignored_files,json=ignoredFiles,proto3" json:"ignored_files,omitempty"` // If any of the files altered in the commit pass the ignored_files // filter and included_files is empty, then as far as this filter is // concerned, we should trigger the build. // // If any of the files altered in the commit pass the ignored_files // filter and included_files is not empty, then we make sure that at // least one of those files matches a included_files glob. If not, // then we do not trigger a build. IncludedFiles []string `protobuf:"bytes,16,rep,name=included_files,json=includedFiles,proto3" json:"included_files,omitempty"` // Optional. A Common Expression Language string. Filter string `protobuf:"bytes,30,opt,name=filter,proto3" json:"filter,omitempty"` // The repo and ref of the repository from which to build. This field // is used only for those triggers that do not respond to SCM events. // Triggers that respond to such events build source at whatever commit // caused the event. // This field is currently only used by Webhook, Pub/Sub, Manual, and Cron // triggers. SourceToBuild *GitRepoSource `protobuf:"bytes,26,opt,name=source_to_build,json=sourceToBuild,proto3" json:"source_to_build,omitempty"` // The service account used for all user-controlled operations including // UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. // If no service account is set, then the standard Cloud Build service account // ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. // Format: `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}` ServiceAccount string `protobuf:"bytes,33,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` // The configuration of a trigger that creates a build whenever an event from // Repo API is received. RepositoryEventConfig *RepositoryEventConfig `` /* 127-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for an automated build in response to source repository changes.
func (*BuildTrigger) Descriptor
deprecated
func (*BuildTrigger) Descriptor() ([]byte, []int)
Deprecated: Use BuildTrigger.ProtoReflect.Descriptor instead.
func (*BuildTrigger) GetAutodetect ¶
func (x *BuildTrigger) GetAutodetect() bool
func (*BuildTrigger) GetBuild ¶
func (x *BuildTrigger) GetBuild() *Build
func (*BuildTrigger) GetBuildTemplate ¶
func (m *BuildTrigger) GetBuildTemplate() isBuildTrigger_BuildTemplate
func (*BuildTrigger) GetCreateTime ¶
func (x *BuildTrigger) GetCreateTime() *timestamppb.Timestamp
func (*BuildTrigger) GetDescription ¶
func (x *BuildTrigger) GetDescription() string
func (*BuildTrigger) GetDisabled ¶
func (x *BuildTrigger) GetDisabled() bool
func (*BuildTrigger) GetFilename ¶
func (x *BuildTrigger) GetFilename() string
func (*BuildTrigger) GetFilter ¶
func (x *BuildTrigger) GetFilter() string
func (*BuildTrigger) GetGitFileSource ¶ added in v1.13.0
func (x *BuildTrigger) GetGitFileSource() *GitFileSource
func (*BuildTrigger) GetGithub ¶
func (x *BuildTrigger) GetGithub() *GitHubEventsConfig
func (*BuildTrigger) GetId ¶
func (x *BuildTrigger) GetId() string
func (*BuildTrigger) GetIgnoredFiles ¶
func (x *BuildTrigger) GetIgnoredFiles() []string
func (*BuildTrigger) GetIncludedFiles ¶
func (x *BuildTrigger) GetIncludedFiles() []string
func (*BuildTrigger) GetName ¶
func (x *BuildTrigger) GetName() string
func (*BuildTrigger) GetPubsubConfig ¶
func (x *BuildTrigger) GetPubsubConfig() *PubsubConfig
func (*BuildTrigger) GetRepositoryEventConfig ¶ added in v1.12.0
func (x *BuildTrigger) GetRepositoryEventConfig() *RepositoryEventConfig
func (*BuildTrigger) GetResourceName ¶
func (x *BuildTrigger) GetResourceName() string
func (*BuildTrigger) GetServiceAccount ¶
func (x *BuildTrigger) GetServiceAccount() string
func (*BuildTrigger) GetSourceToBuild ¶ added in v1.13.0
func (x *BuildTrigger) GetSourceToBuild() *GitRepoSource
func (*BuildTrigger) GetSubstitutions ¶
func (x *BuildTrigger) GetSubstitutions() map[string]string
func (*BuildTrigger) GetTags ¶
func (x *BuildTrigger) GetTags() []string
func (*BuildTrigger) GetTriggerTemplate ¶
func (x *BuildTrigger) GetTriggerTemplate() *RepoSource
func (*BuildTrigger) GetWebhookConfig ¶
func (x *BuildTrigger) GetWebhookConfig() *WebhookConfig
func (*BuildTrigger) ProtoMessage ¶
func (*BuildTrigger) ProtoMessage()
func (*BuildTrigger) ProtoReflect ¶
func (x *BuildTrigger) ProtoReflect() protoreflect.Message
func (*BuildTrigger) Reset ¶
func (x *BuildTrigger) Reset()
func (*BuildTrigger) String ¶
func (x *BuildTrigger) String() string
type BuildTrigger_Autodetect ¶
type BuildTrigger_Autodetect struct { // Autodetect build configuration. The following precedence is used (case // insensitive): // // 1. cloudbuild.yaml // 2. cloudbuild.yml // 3. cloudbuild.json // 4. Dockerfile // // Currently only available for GitHub App Triggers. Autodetect bool `protobuf:"varint,18,opt,name=autodetect,proto3,oneof"` }
type BuildTrigger_Build ¶
type BuildTrigger_Build struct { // Contents of the build template. Build *Build `protobuf:"bytes,4,opt,name=build,proto3,oneof"` }
type BuildTrigger_Filename ¶
type BuildTrigger_Filename struct { // Path, from the source root, to the build configuration file // (i.e. cloudbuild.yaml). Filename string `protobuf:"bytes,8,opt,name=filename,proto3,oneof"` }
type BuildTrigger_GitFileSource ¶ added in v1.13.0
type BuildTrigger_GitFileSource struct { // The file source describing the local or remote Build template. GitFileSource *GitFileSource `protobuf:"bytes,24,opt,name=git_file_source,json=gitFileSource,proto3,oneof"` }
type Build_FailureInfo ¶
type Build_FailureInfo struct { // The name of the failure. Type Build_FailureInfo_FailureType `` /* 127-byte string literal not displayed */ // Explains the failure issue in more detail using hard-coded text. Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` // contains filtered or unexported fields }
A fatal problem encountered during the execution of the build.
func (*Build_FailureInfo) Descriptor
deprecated
func (*Build_FailureInfo) Descriptor() ([]byte, []int)
Deprecated: Use Build_FailureInfo.ProtoReflect.Descriptor instead.
func (*Build_FailureInfo) GetDetail ¶
func (x *Build_FailureInfo) GetDetail() string
func (*Build_FailureInfo) GetType ¶
func (x *Build_FailureInfo) GetType() Build_FailureInfo_FailureType
func (*Build_FailureInfo) ProtoMessage ¶
func (*Build_FailureInfo) ProtoMessage()
func (*Build_FailureInfo) ProtoReflect ¶
func (x *Build_FailureInfo) ProtoReflect() protoreflect.Message
func (*Build_FailureInfo) Reset ¶
func (x *Build_FailureInfo) Reset()
func (*Build_FailureInfo) String ¶
func (x *Build_FailureInfo) String() string
type Build_FailureInfo_FailureType ¶
type Build_FailureInfo_FailureType int32
The name of a fatal problem encountered during the execution of the build.
const ( // Type unspecified Build_FailureInfo_FAILURE_TYPE_UNSPECIFIED Build_FailureInfo_FailureType = 0 // Unable to push the image to the repository. Build_FailureInfo_PUSH_FAILED Build_FailureInfo_FailureType = 1 // Final image not found. Build_FailureInfo_PUSH_IMAGE_NOT_FOUND Build_FailureInfo_FailureType = 2 // Unauthorized push of the final image. Build_FailureInfo_PUSH_NOT_AUTHORIZED Build_FailureInfo_FailureType = 3 // Backend logging failures. Should retry. Build_FailureInfo_LOGGING_FAILURE Build_FailureInfo_FailureType = 4 // A build step has failed. Build_FailureInfo_USER_BUILD_STEP Build_FailureInfo_FailureType = 5 // The source fetching has failed. Build_FailureInfo_FETCH_SOURCE_FAILED Build_FailureInfo_FailureType = 6 )
func (Build_FailureInfo_FailureType) Descriptor ¶
func (Build_FailureInfo_FailureType) Descriptor() protoreflect.EnumDescriptor
func (Build_FailureInfo_FailureType) Enum ¶
func (x Build_FailureInfo_FailureType) Enum() *Build_FailureInfo_FailureType
func (Build_FailureInfo_FailureType) EnumDescriptor
deprecated
func (Build_FailureInfo_FailureType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Build_FailureInfo_FailureType.Descriptor instead.
func (Build_FailureInfo_FailureType) Number ¶
func (x Build_FailureInfo_FailureType) Number() protoreflect.EnumNumber
func (Build_FailureInfo_FailureType) String ¶
func (x Build_FailureInfo_FailureType) String() string
func (Build_FailureInfo_FailureType) Type ¶
func (Build_FailureInfo_FailureType) Type() protoreflect.EnumType
type Build_Status ¶
type Build_Status int32
Possible status of a build or build step.
const ( // Status of the build is unknown. Build_STATUS_UNKNOWN Build_Status = 0 // Build has been created and is pending execution and queuing. It has not // been queued. Build_PENDING Build_Status = 10 // Build or step is queued; work has not yet begun. Build_QUEUED Build_Status = 1 // Build or step is being executed. Build_WORKING Build_Status = 2 // Build or step finished successfully. Build_SUCCESS Build_Status = 3 // Build or step failed to complete successfully. Build_FAILURE Build_Status = 4 // Build or step failed due to an internal cause. Build_INTERNAL_ERROR Build_Status = 5 // Build or step took longer than was allowed. Build_TIMEOUT Build_Status = 6 // Build or step was canceled by a user. Build_CANCELLED Build_Status = 7 // Build was enqueued for longer than the value of `queue_ttl`. Build_EXPIRED Build_Status = 9 )
func (Build_Status) Descriptor ¶
func (Build_Status) Descriptor() protoreflect.EnumDescriptor
func (Build_Status) Enum ¶
func (x Build_Status) Enum() *Build_Status
func (Build_Status) EnumDescriptor
deprecated
func (Build_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Build_Status.Descriptor instead.
func (Build_Status) Number ¶
func (x Build_Status) Number() protoreflect.EnumNumber
func (Build_Status) String ¶
func (x Build_Status) String() string
func (Build_Status) Type ¶
func (Build_Status) Type() protoreflect.EnumType
type Build_Warning ¶
type Build_Warning struct { // Explanation of the warning generated. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // The priority for this warning. Priority Build_Warning_Priority `` /* 128-byte string literal not displayed */ // contains filtered or unexported fields }
A non-fatal problem encountered during the execution of the build.
func (*Build_Warning) Descriptor
deprecated
func (*Build_Warning) Descriptor() ([]byte, []int)
Deprecated: Use Build_Warning.ProtoReflect.Descriptor instead.
func (*Build_Warning) GetPriority ¶
func (x *Build_Warning) GetPriority() Build_Warning_Priority
func (*Build_Warning) GetText ¶
func (x *Build_Warning) GetText() string
func (*Build_Warning) ProtoMessage ¶
func (*Build_Warning) ProtoMessage()
func (*Build_Warning) ProtoReflect ¶
func (x *Build_Warning) ProtoReflect() protoreflect.Message
func (*Build_Warning) Reset ¶
func (x *Build_Warning) Reset()
func (*Build_Warning) String ¶
func (x *Build_Warning) String() string
type Build_Warning_Priority ¶
type Build_Warning_Priority int32
The relative importance of this warning.
const ( // Should not be used. Build_Warning_PRIORITY_UNSPECIFIED Build_Warning_Priority = 0 // e.g. deprecation warnings and alternative feature highlights. Build_Warning_INFO Build_Warning_Priority = 1 // e.g. automated detection of possible issues with the build. Build_Warning_WARNING Build_Warning_Priority = 2 // e.g. alerts that a feature used in the build is pending removal Build_Warning_ALERT Build_Warning_Priority = 3 )
func (Build_Warning_Priority) Descriptor ¶
func (Build_Warning_Priority) Descriptor() protoreflect.EnumDescriptor
func (Build_Warning_Priority) Enum ¶
func (x Build_Warning_Priority) Enum() *Build_Warning_Priority
func (Build_Warning_Priority) EnumDescriptor
deprecated
func (Build_Warning_Priority) EnumDescriptor() ([]byte, []int)
Deprecated: Use Build_Warning_Priority.Descriptor instead.
func (Build_Warning_Priority) Number ¶
func (x Build_Warning_Priority) Number() protoreflect.EnumNumber
func (Build_Warning_Priority) String ¶
func (x Build_Warning_Priority) String() string
func (Build_Warning_Priority) Type ¶
func (Build_Warning_Priority) Type() protoreflect.EnumType
type BuiltImage ¶
type BuiltImage struct { // Name used to push the container image to Google Container Registry, as // presented to `docker push`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Docker Registry 2.0 digest. Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"` // Output only. Stores timing information for pushing the specified image. PushTiming *TimeSpan `protobuf:"bytes,4,opt,name=push_timing,json=pushTiming,proto3" json:"push_timing,omitempty"` // contains filtered or unexported fields }
An image built by the pipeline.
func (*BuiltImage) Descriptor
deprecated
func (*BuiltImage) Descriptor() ([]byte, []int)
Deprecated: Use BuiltImage.ProtoReflect.Descriptor instead.
func (*BuiltImage) GetDigest ¶
func (x *BuiltImage) GetDigest() string
func (*BuiltImage) GetName ¶
func (x *BuiltImage) GetName() string
func (*BuiltImage) GetPushTiming ¶
func (x *BuiltImage) GetPushTiming() *TimeSpan
func (*BuiltImage) ProtoMessage ¶
func (*BuiltImage) ProtoMessage()
func (*BuiltImage) ProtoReflect ¶
func (x *BuiltImage) ProtoReflect() protoreflect.Message
func (*BuiltImage) Reset ¶
func (x *BuiltImage) Reset()
func (*BuiltImage) String ¶
func (x *BuiltImage) String() string
type CancelBuildRequest ¶
type CancelBuildRequest struct { // The name of the `Build` to cancel. // Format: `projects/{project}/locations/{location}/builds/{build}` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Required. ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. ID of the build. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request to cancel an ongoing build.
func (*CancelBuildRequest) Descriptor
deprecated
func (*CancelBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelBuildRequest.ProtoReflect.Descriptor instead.
func (*CancelBuildRequest) GetId ¶
func (x *CancelBuildRequest) GetId() string
func (*CancelBuildRequest) GetName ¶
func (x *CancelBuildRequest) GetName() string
func (*CancelBuildRequest) GetProjectId ¶
func (x *CancelBuildRequest) GetProjectId() string
func (*CancelBuildRequest) ProtoMessage ¶
func (*CancelBuildRequest) ProtoMessage()
func (*CancelBuildRequest) ProtoReflect ¶
func (x *CancelBuildRequest) ProtoReflect() protoreflect.Message
func (*CancelBuildRequest) Reset ¶
func (x *CancelBuildRequest) Reset()
func (*CancelBuildRequest) String ¶
func (x *CancelBuildRequest) String() string
type CloudBuildClient ¶
type CloudBuildClient interface { // Starts a build with the specified configuration. // // This method returns a long-running `Operation`, which includes the build // ID. Pass the build ID to `GetBuild` to determine the build status (such as // `SUCCESS` or `FAILURE`). CreateBuild(ctx context.Context, in *CreateBuildRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Returns information about a previously requested build. // // The `Build` that is returned includes its status (such as `SUCCESS`, // `FAILURE`, or `WORKING`), and timing information. GetBuild(ctx context.Context, in *GetBuildRequest, opts ...grpc.CallOption) (*Build, error) // Lists previously requested builds. // // Previously requested builds may still be in-progress, or may have finished // successfully or unsuccessfully. ListBuilds(ctx context.Context, in *ListBuildsRequest, opts ...grpc.CallOption) (*ListBuildsResponse, error) // Cancels a build in progress. CancelBuild(ctx context.Context, in *CancelBuildRequest, opts ...grpc.CallOption) (*Build, error) // Creates a new build based on the specified build. // // This method creates a new build using the original build request, which may // or may not result in an identical build. // // For triggered builds: // // * Triggered builds resolve to a precise revision; therefore a retry of a // triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify `RepoSource`: // // * If the original build built from the tip of a branch, the retried build // will build from the tip of that branch, which may not be the same revision // as the original build. // * If the original build specified a commit sha or revision ID, the retried // build will use the identical source. // // For builds that specify `StorageSource`: // // * If the original build pulled source from Cloud Storage without // specifying the generation of the object, the new build will use the current // object, which may be different from the original build source. // * If the original build pulled source from Cloud Storage and specified the // generation of the object, the new build will attempt to use the same // object, which may or may not be available depending on the bucket's // lifecycle management settings. RetryBuild(ctx context.Context, in *RetryBuildRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Approves or rejects a pending build. // // If approved, the returned LRO will be analogous to the LRO returned from // a CreateBuild call. // // If rejected, the returned LRO will be immediately done. ApproveBuild(ctx context.Context, in *ApproveBuildRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Creates a new `BuildTrigger`. // // This API is experimental. CreateBuildTrigger(ctx context.Context, in *CreateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) // Returns information about a `BuildTrigger`. // // This API is experimental. GetBuildTrigger(ctx context.Context, in *GetBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) // Lists existing `BuildTrigger`s. // // This API is experimental. ListBuildTriggers(ctx context.Context, in *ListBuildTriggersRequest, opts ...grpc.CallOption) (*ListBuildTriggersResponse, error) // Deletes a `BuildTrigger` by its project ID and trigger ID. // // This API is experimental. DeleteBuildTrigger(ctx context.Context, in *DeleteBuildTriggerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Updates a `BuildTrigger` by its project ID and trigger ID. // // This API is experimental. UpdateBuildTrigger(ctx context.Context, in *UpdateBuildTriggerRequest, opts ...grpc.CallOption) (*BuildTrigger, error) // Runs a `BuildTrigger` at a particular source revision. // // To run a regional or global trigger, use the POST request // that includes the location endpoint in the path (ex. // v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The // POST request that does not include the location endpoint in the path can // only be used when running global triggers. RunBuildTrigger(ctx context.Context, in *RunBuildTriggerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // ReceiveTriggerWebhook [Experimental] is called when the API receives a // webhook request targeted at a specific trigger. ReceiveTriggerWebhook(ctx context.Context, in *ReceiveTriggerWebhookRequest, opts ...grpc.CallOption) (*ReceiveTriggerWebhookResponse, error) // Creates a `WorkerPool`. CreateWorkerPool(ctx context.Context, in *CreateWorkerPoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Returns details of a `WorkerPool`. GetWorkerPool(ctx context.Context, in *GetWorkerPoolRequest, opts ...grpc.CallOption) (*WorkerPool, error) // Deletes a `WorkerPool`. DeleteWorkerPool(ctx context.Context, in *DeleteWorkerPoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates a `WorkerPool`. UpdateWorkerPool(ctx context.Context, in *UpdateWorkerPoolRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Lists `WorkerPool`s. ListWorkerPools(ctx context.Context, in *ListWorkerPoolsRequest, opts ...grpc.CallOption) (*ListWorkerPoolsResponse, error) }
CloudBuildClient is the client API for CloudBuild service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewCloudBuildClient ¶
func NewCloudBuildClient(cc grpc.ClientConnInterface) CloudBuildClient
type CloudBuildServer ¶
type CloudBuildServer interface { // Starts a build with the specified configuration. // // This method returns a long-running `Operation`, which includes the build // ID. Pass the build ID to `GetBuild` to determine the build status (such as // `SUCCESS` or `FAILURE`). CreateBuild(context.Context, *CreateBuildRequest) (*longrunningpb.Operation, error) // Returns information about a previously requested build. // // The `Build` that is returned includes its status (such as `SUCCESS`, // `FAILURE`, or `WORKING`), and timing information. GetBuild(context.Context, *GetBuildRequest) (*Build, error) // Lists previously requested builds. // // Previously requested builds may still be in-progress, or may have finished // successfully or unsuccessfully. ListBuilds(context.Context, *ListBuildsRequest) (*ListBuildsResponse, error) // Cancels a build in progress. CancelBuild(context.Context, *CancelBuildRequest) (*Build, error) // Creates a new build based on the specified build. // // This method creates a new build using the original build request, which may // or may not result in an identical build. // // For triggered builds: // // * Triggered builds resolve to a precise revision; therefore a retry of a // triggered build will result in a build that uses the same revision. // // For non-triggered builds that specify `RepoSource`: // // * If the original build built from the tip of a branch, the retried build // will build from the tip of that branch, which may not be the same revision // as the original build. // * If the original build specified a commit sha or revision ID, the retried // build will use the identical source. // // For builds that specify `StorageSource`: // // * If the original build pulled source from Cloud Storage without // specifying the generation of the object, the new build will use the current // object, which may be different from the original build source. // * If the original build pulled source from Cloud Storage and specified the // generation of the object, the new build will attempt to use the same // object, which may or may not be available depending on the bucket's // lifecycle management settings. RetryBuild(context.Context, *RetryBuildRequest) (*longrunningpb.Operation, error) // Approves or rejects a pending build. // // If approved, the returned LRO will be analogous to the LRO returned from // a CreateBuild call. // // If rejected, the returned LRO will be immediately done. ApproveBuild(context.Context, *ApproveBuildRequest) (*longrunningpb.Operation, error) // Creates a new `BuildTrigger`. // // This API is experimental. CreateBuildTrigger(context.Context, *CreateBuildTriggerRequest) (*BuildTrigger, error) // Returns information about a `BuildTrigger`. // // This API is experimental. GetBuildTrigger(context.Context, *GetBuildTriggerRequest) (*BuildTrigger, error) // Lists existing `BuildTrigger`s. // // This API is experimental. ListBuildTriggers(context.Context, *ListBuildTriggersRequest) (*ListBuildTriggersResponse, error) // Deletes a `BuildTrigger` by its project ID and trigger ID. // // This API is experimental. DeleteBuildTrigger(context.Context, *DeleteBuildTriggerRequest) (*emptypb.Empty, error) // Updates a `BuildTrigger` by its project ID and trigger ID. // // This API is experimental. UpdateBuildTrigger(context.Context, *UpdateBuildTriggerRequest) (*BuildTrigger, error) // Runs a `BuildTrigger` at a particular source revision. // // To run a regional or global trigger, use the POST request // that includes the location endpoint in the path (ex. // v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The // POST request that does not include the location endpoint in the path can // only be used when running global triggers. RunBuildTrigger(context.Context, *RunBuildTriggerRequest) (*longrunningpb.Operation, error) // ReceiveTriggerWebhook [Experimental] is called when the API receives a // webhook request targeted at a specific trigger. ReceiveTriggerWebhook(context.Context, *ReceiveTriggerWebhookRequest) (*ReceiveTriggerWebhookResponse, error) // Creates a `WorkerPool`. CreateWorkerPool(context.Context, *CreateWorkerPoolRequest) (*longrunningpb.Operation, error) // Returns details of a `WorkerPool`. GetWorkerPool(context.Context, *GetWorkerPoolRequest) (*WorkerPool, error) // Deletes a `WorkerPool`. DeleteWorkerPool(context.Context, *DeleteWorkerPoolRequest) (*longrunningpb.Operation, error) // Updates a `WorkerPool`. UpdateWorkerPool(context.Context, *UpdateWorkerPoolRequest) (*longrunningpb.Operation, error) // Lists `WorkerPool`s. ListWorkerPools(context.Context, *ListWorkerPoolsRequest) (*ListWorkerPoolsResponse, error) }
CloudBuildServer is the server API for CloudBuild service.
type CreateBuildRequest ¶
type CreateBuildRequest struct { // The parent resource where this build will be created. // Format: `projects/{project}/locations/{location}` Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"` // Required. ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Build resource to create. Build *Build `protobuf:"bytes,2,opt,name=build,proto3" json:"build,omitempty"` // contains filtered or unexported fields }
Request to create a new build.
func (*CreateBuildRequest) Descriptor
deprecated
func (*CreateBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBuildRequest.ProtoReflect.Descriptor instead.
func (*CreateBuildRequest) GetBuild ¶
func (x *CreateBuildRequest) GetBuild() *Build
func (*CreateBuildRequest) GetParent ¶
func (x *CreateBuildRequest) GetParent() string
func (*CreateBuildRequest) GetProjectId ¶
func (x *CreateBuildRequest) GetProjectId() string
func (*CreateBuildRequest) ProtoMessage ¶
func (*CreateBuildRequest) ProtoMessage()
func (*CreateBuildRequest) ProtoReflect ¶
func (x *CreateBuildRequest) ProtoReflect() protoreflect.Message
func (*CreateBuildRequest) Reset ¶
func (x *CreateBuildRequest) Reset()
func (*CreateBuildRequest) String ¶
func (x *CreateBuildRequest) String() string
type CreateBuildTriggerRequest ¶
type CreateBuildTriggerRequest struct { // The parent resource where this trigger will be created. // Format: `projects/{project}/locations/{location}` Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` // Required. ID of the project for which to configure automatic builds. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. `BuildTrigger` to create. Trigger *BuildTrigger `protobuf:"bytes,2,opt,name=trigger,proto3" json:"trigger,omitempty"` // contains filtered or unexported fields }
Request to create a new `BuildTrigger`.
func (*CreateBuildTriggerRequest) Descriptor
deprecated
func (*CreateBuildTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBuildTriggerRequest.ProtoReflect.Descriptor instead.
func (*CreateBuildTriggerRequest) GetParent ¶
func (x *CreateBuildTriggerRequest) GetParent() string
func (*CreateBuildTriggerRequest) GetProjectId ¶
func (x *CreateBuildTriggerRequest) GetProjectId() string
func (*CreateBuildTriggerRequest) GetTrigger ¶
func (x *CreateBuildTriggerRequest) GetTrigger() *BuildTrigger
func (*CreateBuildTriggerRequest) ProtoMessage ¶
func (*CreateBuildTriggerRequest) ProtoMessage()
func (*CreateBuildTriggerRequest) ProtoReflect ¶
func (x *CreateBuildTriggerRequest) ProtoReflect() protoreflect.Message
func (*CreateBuildTriggerRequest) Reset ¶
func (x *CreateBuildTriggerRequest) Reset()
func (*CreateBuildTriggerRequest) String ¶
func (x *CreateBuildTriggerRequest) String() string
type CreateWorkerPoolOperationMetadata ¶
type CreateWorkerPoolOperationMetadata struct { // The resource name of the `WorkerPool` to create. // Format: // `projects/{project}/locations/{location}/workerPools/{worker_pool}`. WorkerPool string `protobuf:"bytes,1,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` // Time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time the operation was completed. CompleteTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"` // contains filtered or unexported fields }
Metadata for the `CreateWorkerPool` operation.
func (*CreateWorkerPoolOperationMetadata) Descriptor
deprecated
func (*CreateWorkerPoolOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerPoolOperationMetadata.ProtoReflect.Descriptor instead.
func (*CreateWorkerPoolOperationMetadata) GetCompleteTime ¶
func (x *CreateWorkerPoolOperationMetadata) GetCompleteTime() *timestamppb.Timestamp
func (*CreateWorkerPoolOperationMetadata) GetCreateTime ¶
func (x *CreateWorkerPoolOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*CreateWorkerPoolOperationMetadata) GetWorkerPool ¶
func (x *CreateWorkerPoolOperationMetadata) GetWorkerPool() string
func (*CreateWorkerPoolOperationMetadata) ProtoMessage ¶
func (*CreateWorkerPoolOperationMetadata) ProtoMessage()
func (*CreateWorkerPoolOperationMetadata) ProtoReflect ¶
func (x *CreateWorkerPoolOperationMetadata) ProtoReflect() protoreflect.Message
func (*CreateWorkerPoolOperationMetadata) Reset ¶
func (x *CreateWorkerPoolOperationMetadata) Reset()
func (*CreateWorkerPoolOperationMetadata) String ¶
func (x *CreateWorkerPoolOperationMetadata) String() string
type CreateWorkerPoolRequest ¶
type CreateWorkerPoolRequest struct { // Required. The parent resource where this worker pool will be created. // Format: `projects/{project}/locations/{location}`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. `WorkerPool` resource to create. WorkerPool *WorkerPool `protobuf:"bytes,2,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` // Required. Immutable. The ID to use for the `WorkerPool`, which will become // the final component of the resource name. // // This value should be 1-63 characters, and valid characters // are /[a-z][0-9]-/. WorkerPoolId string `protobuf:"bytes,3,opt,name=worker_pool_id,json=workerPoolId,proto3" json:"worker_pool_id,omitempty"` // If set, validate the request and preview the response, but do not actually // post it. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request to create a new `WorkerPool`.
func (*CreateWorkerPoolRequest) Descriptor
deprecated
func (*CreateWorkerPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerPoolRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkerPoolRequest) GetParent ¶
func (x *CreateWorkerPoolRequest) GetParent() string
func (*CreateWorkerPoolRequest) GetValidateOnly ¶
func (x *CreateWorkerPoolRequest) GetValidateOnly() bool
func (*CreateWorkerPoolRequest) GetWorkerPool ¶
func (x *CreateWorkerPoolRequest) GetWorkerPool() *WorkerPool
func (*CreateWorkerPoolRequest) GetWorkerPoolId ¶
func (x *CreateWorkerPoolRequest) GetWorkerPoolId() string
func (*CreateWorkerPoolRequest) ProtoMessage ¶
func (*CreateWorkerPoolRequest) ProtoMessage()
func (*CreateWorkerPoolRequest) ProtoReflect ¶
func (x *CreateWorkerPoolRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkerPoolRequest) Reset ¶
func (x *CreateWorkerPoolRequest) Reset()
func (*CreateWorkerPoolRequest) String ¶
func (x *CreateWorkerPoolRequest) String() string
type DeleteBuildTriggerRequest ¶
type DeleteBuildTriggerRequest struct { // The name of the `Trigger` to delete. // Format: `projects/{project}/locations/{location}/triggers/{trigger}` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Required. ID of the project that owns the trigger. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. ID of the `BuildTrigger` to delete. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
Request to delete a `BuildTrigger`.
func (*DeleteBuildTriggerRequest) Descriptor
deprecated
func (*DeleteBuildTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBuildTriggerRequest.ProtoReflect.Descriptor instead.
func (*DeleteBuildTriggerRequest) GetName ¶
func (x *DeleteBuildTriggerRequest) GetName() string
func (*DeleteBuildTriggerRequest) GetProjectId ¶
func (x *DeleteBuildTriggerRequest) GetProjectId() string
func (*DeleteBuildTriggerRequest) GetTriggerId ¶
func (x *DeleteBuildTriggerRequest) GetTriggerId() string
func (*DeleteBuildTriggerRequest) ProtoMessage ¶
func (*DeleteBuildTriggerRequest) ProtoMessage()
func (*DeleteBuildTriggerRequest) ProtoReflect ¶
func (x *DeleteBuildTriggerRequest) ProtoReflect() protoreflect.Message
func (*DeleteBuildTriggerRequest) Reset ¶
func (x *DeleteBuildTriggerRequest) Reset()
func (*DeleteBuildTriggerRequest) String ¶
func (x *DeleteBuildTriggerRequest) String() string
type DeleteWorkerPoolOperationMetadata ¶
type DeleteWorkerPoolOperationMetadata struct { // The resource name of the `WorkerPool` being deleted. // Format: // `projects/{project}/locations/{location}/workerPools/{worker_pool}`. WorkerPool string `protobuf:"bytes,1,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"` // Time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Time the operation was completed. CompleteTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=complete_time,json=completeTime,proto3" json:"complete_time,omitempty"` // contains filtered or unexported fields }
Metadata for the `DeleteWorkerPool` operation.
func (*DeleteWorkerPoolOperationMetadata) Descriptor
deprecated
func (*DeleteWorkerPoolOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerPoolOperationMetadata.ProtoReflect.Descriptor instead.
func (*DeleteWorkerPoolOperationMetadata) GetCompleteTime ¶
func (x *DeleteWorkerPoolOperationMetadata) GetCompleteTime() *timestamppb.Timestamp
func (*DeleteWorkerPoolOperationMetadata) GetCreateTime ¶
func (x *DeleteWorkerPoolOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*DeleteWorkerPoolOperationMetadata) GetWorkerPool ¶
func (x *DeleteWorkerPoolOperationMetadata) GetWorkerPool() string
func (*DeleteWorkerPoolOperationMetadata) ProtoMessage ¶
func (*DeleteWorkerPoolOperationMetadata) ProtoMessage()
func (*DeleteWorkerPoolOperationMetadata) ProtoReflect ¶
func (x *DeleteWorkerPoolOperationMetadata) ProtoReflect() protoreflect.Message
func (*DeleteWorkerPoolOperationMetadata) Reset ¶
func (x *DeleteWorkerPoolOperationMetadata) Reset()
func (*DeleteWorkerPoolOperationMetadata) String ¶
func (x *DeleteWorkerPoolOperationMetadata) String() string
type DeleteWorkerPoolRequest ¶
type DeleteWorkerPoolRequest struct { // Required. The name of the `WorkerPool` to delete. // Format: // `projects/{project}/locations/{location}/workerPools/{workerPool}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. If provided, it must match the server's etag on the workerpool // for the request to be processed. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // If set to true, and the `WorkerPool` is not found, the request will succeed // but no action will be taken on the server. AllowMissing bool `protobuf:"varint,3,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"` // If set, validate the request and preview the response, but do not actually // post it. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request to delete a `WorkerPool`.
func (*DeleteWorkerPoolRequest) Descriptor
deprecated
func (*DeleteWorkerPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerPoolRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkerPoolRequest) GetAllowMissing ¶
func (x *DeleteWorkerPoolRequest) GetAllowMissing() bool
func (*DeleteWorkerPoolRequest) GetEtag ¶
func (x *DeleteWorkerPoolRequest) GetEtag() string
func (*DeleteWorkerPoolRequest) GetName ¶
func (x *DeleteWorkerPoolRequest) GetName() string
func (*DeleteWorkerPoolRequest) GetValidateOnly ¶
func (x *DeleteWorkerPoolRequest) GetValidateOnly() bool
func (*DeleteWorkerPoolRequest) ProtoMessage ¶
func (*DeleteWorkerPoolRequest) ProtoMessage()
func (*DeleteWorkerPoolRequest) ProtoReflect ¶
func (x *DeleteWorkerPoolRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkerPoolRequest) Reset ¶
func (x *DeleteWorkerPoolRequest) Reset()
func (*DeleteWorkerPoolRequest) String ¶
func (x *DeleteWorkerPoolRequest) String() string
type FileHashes ¶
type FileHashes struct { // Collection of file hashes. FileHash []*Hash `protobuf:"bytes,1,rep,name=file_hash,json=fileHash,proto3" json:"file_hash,omitempty"` // contains filtered or unexported fields }
Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.
func (*FileHashes) Descriptor
deprecated
func (*FileHashes) Descriptor() ([]byte, []int)
Deprecated: Use FileHashes.ProtoReflect.Descriptor instead.
func (*FileHashes) GetFileHash ¶
func (x *FileHashes) GetFileHash() []*Hash
func (*FileHashes) ProtoMessage ¶
func (*FileHashes) ProtoMessage()
func (*FileHashes) ProtoReflect ¶
func (x *FileHashes) ProtoReflect() protoreflect.Message
func (*FileHashes) Reset ¶
func (x *FileHashes) Reset()
func (*FileHashes) String ¶
func (x *FileHashes) String() string
type GetBuildRequest ¶
type GetBuildRequest struct { // The name of the `Build` to retrieve. // Format: `projects/{project}/locations/{location}/builds/{build}` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Required. ID of the project. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. ID of the build. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
Request to get a build.
func (*GetBuildRequest) Descriptor
deprecated
func (*GetBuildRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBuildRequest.ProtoReflect.Descriptor instead.
func (*GetBuildRequest) GetId ¶
func (x *GetBuildRequest) GetId() string
func (*GetBuildRequest) GetName ¶
func (x *GetBuildRequest) GetName() string
func (*GetBuildRequest) GetProjectId ¶
func (x *GetBuildRequest) GetProjectId() string
func (*GetBuildRequest) ProtoMessage ¶
func (*GetBuildRequest) ProtoMessage()
func (*GetBuildRequest) ProtoReflect ¶
func (x *GetBuildRequest) ProtoReflect() protoreflect.Message
func (*GetBuildRequest) Reset ¶
func (x *GetBuildRequest) Reset()
func (*GetBuildRequest) String ¶
func (x *GetBuildRequest) String() string
type GetBuildTriggerRequest ¶
type GetBuildTriggerRequest struct { // The name of the `Trigger` to retrieve. // Format: `projects/{project}/locations/{location}/triggers/{trigger}` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Required. ID of the project that owns the trigger. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // Required. Identifier (`id` or `name`) of the `BuildTrigger` to get. TriggerId string `protobuf:"bytes,2,opt,name=trigger_id,json=triggerId,proto3" json:"trigger_id,omitempty"` // contains filtered or unexported fields }
Returns the `BuildTrigger` with the specified ID.
func (*GetBuildTriggerRequest) Descriptor
deprecated
func (*GetBuildTriggerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBuildTriggerRequest.ProtoReflect.Descriptor instead.
func (*GetBuildTriggerRequest) GetName ¶
func (x *GetBuildTriggerRequest) GetName() string
func (*GetBuildTriggerRequest) GetProjectId ¶
func (x *GetBuildTriggerRequest) GetProjectId() string
func (*GetBuildTriggerRequest) GetTriggerId ¶
func (x *GetBuildTriggerRequest) GetTriggerId() string
func (*GetBuildTriggerRequest) ProtoMessage ¶
func (*GetBuildTriggerRequest) ProtoMessage()
func (*GetBuildTriggerRequest) ProtoReflect ¶
func (x *GetBuildTriggerRequest) ProtoReflect() protoreflect.Message
func (*GetBuildTriggerRequest) Reset ¶
func (x *GetBuildTriggerRequest) Reset()
func (*GetBuildTriggerRequest) String ¶
func (x *GetBuildTriggerRequest) String() string
type GetWorkerPoolRequest ¶
type GetWorkerPoolRequest struct { // Required. The name of the `WorkerPool` to retrieve. // Format: `projects/{project}/locations/{location}/workerPools/{workerPool}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request to get a `WorkerPool` with the specified name.
func (*GetWorkerPoolRequest) Descriptor
deprecated
func (*GetWorkerPoolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerPoolRequest.ProtoReflect.Descriptor instead.
func (*GetWorkerPoolRequest) GetName ¶
func (x *GetWorkerPoolRequest) GetName() string
func (*GetWorkerPoolRequest) ProtoMessage ¶
func (*GetWorkerPoolRequest) ProtoMessage()
func (*GetWorkerPoolRequest) ProtoReflect ¶
func (x *GetWorkerPoolRequest) ProtoReflect() protoreflect.Message
func (*GetWorkerPoolRequest) Reset ¶
func (x *GetWorkerPoolRequest) Reset()
func (*GetWorkerPoolRequest) String ¶
func (x *GetWorkerPoolRequest) String() string
type GitFileSource ¶ added in v1.13.0
type GitFileSource struct { // The path of the file, with the repo root as the root of the path. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // The URI of the repo. // Either uri or repository can be specified. // If unspecified, the repo from which the trigger invocation originated is // assumed to be the repo from which to read the specified path. Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // The source of the SCM repo. // // Types that are assignable to Source: // // *GitFileSource_Repository Source isGitFileSource_Source `protobuf_oneof:"source"` // See RepoType above. RepoType GitFileSource_RepoType `` /* 144-byte string literal not displayed */ // The branch, tag, arbitrary ref, or SHA version of the repo to use when // resolving the filename (optional). // This field respects the same syntax/resolution as described here: // https://git-scm.com/docs/gitrevisions // If unspecified, the revision from which the trigger invocation originated // is assumed to be the revision from which to read the specified path. Revision string `protobuf:"bytes,4,opt,name=revision,proto3" json:"revision,omitempty"` // The resource name of the enterprise config that should be applied // to this source. // // Types that are assignable to EnterpriseConfig: // // *GitFileSource_GithubEnterpriseConfig EnterpriseConfig isGitFileSource_EnterpriseConfig `protobuf_oneof:"enterprise_config"` // contains filtered or unexported fields }
GitFileSource describes a file within a (possibly remote) code repository.
func (*GitFileSource) Descriptor
deprecated
added in
v1.13.0
func (*GitFileSource) Descriptor() ([]byte, []int)
Deprecated: Use GitFileSource.ProtoReflect.Descriptor instead.
func (*GitFileSource) GetEnterpriseConfig ¶ added in v1.13.0
func (m *GitFileSource) GetEnterpriseConfig() isGitFileSource_EnterpriseConfig
func (*GitFileSource) GetGithubEnterpriseConfig ¶ added in v1.13.0
func (x *GitFileSource) GetGithubEnterpriseConfig() string
func (*GitFileSource) GetPath ¶ added in v1.13.0
func (x *GitFileSource) GetPath() string
func (*GitFileSource) GetRepoType ¶ added in v1.13.0
func (x *GitFileSource) GetRepoType() GitFileSource_RepoType
func (*GitFileSource) GetRepository ¶ added in v1.13.0
func (x *GitFileSource) GetRepository() string
func (*GitFileSource) GetRevision ¶ added in v1.13.0
func (x *GitFileSource) GetRevision() string
func (*GitFileSource) GetSource ¶ added in v1.13.0
func (m *GitFileSource) GetSource() isGitFileSource_Source
func (*GitFileSource) GetUri ¶ added in v1.13.0
func (x *GitFileSource) GetUri() string
func (*GitFileSource) ProtoMessage ¶ added in v1.13.0
func (*GitFileSource) ProtoMessage()
func (*GitFileSource) ProtoReflect ¶ added in v1.13.0
func (x *GitFileSource) ProtoReflect() protoreflect.Message
func (*GitFileSource) Reset ¶ added in v1.13.0
func (x *GitFileSource) Reset()
func (*GitFileSource) String ¶ added in v1.13.0
func (x *GitFileSource) String() string
type GitFileSource_GithubEnterpriseConfig ¶ added in v1.13.0
type GitFileSource_GithubEnterpriseConfig struct { // The full resource name of the github enterprise config. // Format: // `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. // `projects/{project}/githubEnterpriseConfigs/{id}`. GithubEnterpriseConfig string `protobuf:"bytes,5,opt,name=github_enterprise_config,json=githubEnterpriseConfig,proto3,oneof"` }
type GitFileSource_RepoType ¶ added in v1.13.0
type GitFileSource_RepoType int32
The type of the repo, since it may not be explicit from the `repo` field (e.g from a URL).
const ( // The default, unknown repo type. Don't use it, instead use one of // the other repo types. GitFileSource_UNKNOWN GitFileSource_RepoType = 0 // A Google Cloud Source Repositories-hosted repo. GitFileSource_CLOUD_SOURCE_REPOSITORIES GitFileSource_RepoType = 1 // A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub // Enterprise). GitFileSource_GITHUB GitFileSource_RepoType = 2 // A Bitbucket Server-hosted repo. GitFileSource_BITBUCKET_SERVER GitFileSource_RepoType = 3 // A GitLab-hosted repo. GitFileSource_GITLAB GitFileSource_RepoType = 4 )
func (GitFileSource_RepoType) Descriptor ¶ added in v1.13.0
func (GitFileSource_RepoType) Descriptor() protoreflect.EnumDescriptor
func (GitFileSource_RepoType) Enum ¶ added in v1.13.0
func (x GitFileSource_RepoType) Enum() *GitFileSource_RepoType
func (GitFileSource_RepoType) EnumDescriptor
deprecated
added in
v1.13.0
func (GitFileSource_RepoType) EnumDescriptor() ([]byte, []int)
Deprecated: Use GitFileSource_RepoType.Descriptor instead.
func (GitFileSource_RepoType) Number ¶ added in v1.13.0
func (x GitFileSource_RepoType) Number() protoreflect.EnumNumber
func (GitFileSource_RepoType) String ¶ added in v1.13.0
func (x GitFileSource_RepoType) String() string
func (GitFileSource_RepoType) Type ¶ added in v1.13.0
func (GitFileSource_RepoType) Type() protoreflect.EnumType
type GitFileSource_Repository ¶ added in v1.13.0
type GitFileSource_Repository struct { // The fully qualified resource name of the Repos API repository. // Either URI or repository can be specified. // If unspecified, the repo from which the trigger invocation originated is // assumed to be the repo from which to read the specified path. Repository string `protobuf:"bytes,7,opt,name=repository,proto3,oneof"` }
type GitHubEnterpriseConfig ¶ added in v1.13.0
type GitHubEnterpriseConfig struct { // Optional. The full resource name for the GitHubEnterpriseConfig // For example: // "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}" Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // The URL of the github enterprise host the configuration is for. HostUrl string `protobuf:"bytes,3,opt,name=host_url,json=hostUrl,proto3" json:"host_url,omitempty"` // Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise // server. AppId int64 `protobuf:"varint,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // Output only. Time when the installation was associated with the project. CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // The key that should be attached to webhook calls to the ReceiveWebhook // endpoint. WebhookKey string `protobuf:"bytes,8,opt,name=webhook_key,json=webhookKey,proto3" json:"webhook_key,omitempty"` // Optional. The network to be used when reaching out to the GitHub // Enterprise server. The VPC network must be enabled for private // service connection. This should be set if the GitHub Enterprise server is // hosted on-premises and not reachable by public internet. // If this field is left empty, no network peering will occur and calls to // the GitHub Enterprise server will be made over the public internet. // Must be in the format // `projects/{project}/global/networks/{network}`, where {project} // is a project number or id and {network} is the name of a // VPC network in the project. PeeredNetwork string `protobuf:"bytes,9,opt,name=peered_network,json=peeredNetwork,proto3" json:"peered_network,omitempty"` // Names of secrets in Secret Manager. Secrets *GitHubEnterpriseSecrets `protobuf:"bytes,10,opt,name=secrets,proto3" json:"secrets,omitempty"` // Name to display for this config. DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Optional. SSL certificate to use for requests to GitHub Enterprise. SslCa string `protobuf:"bytes,12,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"` // contains filtered or unexported fields }
func (*GitHubEnterpriseConfig) Descriptor
deprecated
added in
v1.13.0
func (*GitHubEnterpriseConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitHubEnterpriseConfig.ProtoReflect.Descriptor instead.
func (*GitHubEnterpriseConfig) GetAppId ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetAppId() int64
func (*GitHubEnterpriseConfig) GetCreateTime ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetCreateTime() *timestamppb.Timestamp
func (*GitHubEnterpriseConfig) GetDisplayName ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetDisplayName() string
func (*GitHubEnterpriseConfig) GetHostUrl ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetHostUrl() string
func (*GitHubEnterpriseConfig) GetName ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetName() string
func (*GitHubEnterpriseConfig) GetPeeredNetwork ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetPeeredNetwork() string
func (*GitHubEnterpriseConfig) GetSecrets ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetSecrets() *GitHubEnterpriseSecrets
func (*GitHubEnterpriseConfig) GetSslCa ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetSslCa() string
func (*GitHubEnterpriseConfig) GetWebhookKey ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) GetWebhookKey() string
func (*GitHubEnterpriseConfig) ProtoMessage ¶ added in v1.13.0
func (*GitHubEnterpriseConfig) ProtoMessage()
func (*GitHubEnterpriseConfig) ProtoReflect ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) ProtoReflect() protoreflect.Message
func (*GitHubEnterpriseConfig) Reset ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) Reset()
func (*GitHubEnterpriseConfig) String ¶ added in v1.13.0
func (x *GitHubEnterpriseConfig) String() string
type GitHubEnterpriseSecrets ¶ added in v1.13.0
type GitHubEnterpriseSecrets struct { // The resource name for the private key secret version. PrivateKeyVersionName string `` /* 128-byte string literal not displayed */ // The resource name for the webhook secret secret version in Secret Manager. WebhookSecretVersionName string `` /* 137-byte string literal not displayed */ // The resource name for the OAuth secret secret version in Secret Manager. OauthSecretVersionName string `` /* 131-byte string literal not displayed */ // The resource name for the OAuth client ID secret version in Secret Manager. OauthClientIdVersionName string `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects/<project number>/secrets/<secret name>.
func (*GitHubEnterpriseSecrets) Descriptor
deprecated
added in
v1.13.0
func (*GitHubEnterpriseSecrets) Descriptor() ([]byte, []int)
Deprecated: Use GitHubEnterpriseSecrets.ProtoReflect.Descriptor instead.
func (*GitHubEnterpriseSecrets) GetOauthClientIdVersionName ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) GetOauthClientIdVersionName() string
func (*GitHubEnterpriseSecrets) GetOauthSecretVersionName ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) GetOauthSecretVersionName() string
func (*GitHubEnterpriseSecrets) GetPrivateKeyVersionName ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) GetPrivateKeyVersionName() string
func (*GitHubEnterpriseSecrets) GetWebhookSecretVersionName ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) GetWebhookSecretVersionName() string
func (*GitHubEnterpriseSecrets) ProtoMessage ¶ added in v1.13.0
func (*GitHubEnterpriseSecrets) ProtoMessage()
func (*GitHubEnterpriseSecrets) ProtoReflect ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) ProtoReflect() protoreflect.Message
func (*GitHubEnterpriseSecrets) Reset ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) Reset()
func (*GitHubEnterpriseSecrets) String ¶ added in v1.13.0
func (x *GitHubEnterpriseSecrets) String() string
type GitHubEventsConfig ¶
type GitHubEventsConfig struct { // The installationID that emits the GitHub event. // // Deprecated: Marked as deprecated in google/devtools/cloudbuild/v1/cloudbuild.proto. InstallationId int64 `protobuf:"varint,1,opt,name=installation_id,json=installationId,proto3" json:"installation_id,omitempty"` // Owner of the repository. For example: The owner for // https://github.com/googlecloudplatform/cloud-builders is // "googlecloudplatform". Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"` // Name of the repository. For example: The name for // https://github.com/googlecloudplatform/cloud-builders is "cloud-builders". Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // Filter describing the types of events to trigger a build. // Currently supported event types: push, pull_request. // // Types that are assignable to Event: // // *GitHubEventsConfig_PullRequest // *GitHubEventsConfig_Push Event isGitHubEventsConfig_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
func (*GitHubEventsConfig) Descriptor
deprecated
func (*GitHubEventsConfig) Descriptor() ([]byte, []int)
Deprecated: Use GitHubEventsConfig.ProtoReflect.Descriptor instead.
func (*GitHubEventsConfig) GetEvent ¶
func (m *GitHubEventsConfig) GetEvent() isGitHubEventsConfig_Event
func (*GitHubEventsConfig) GetInstallationId
deprecated
func (x *GitHubEventsConfig) GetInstallationId() int64
Deprecated: Marked as deprecated in google/devtools/cloudbuild/v1/cloudbuild.proto.
func (*GitHubEventsConfig) GetName ¶
func (x *GitHubEventsConfig) GetName() string
func (*GitHubEventsConfig) GetOwner ¶
func (x *GitHubEventsConfig) GetOwner() string
func (*GitHubEventsConfig) GetPullRequest ¶
func (x *GitHubEventsConfig) GetPullRequest() *PullRequestFilter
func (*GitHubEventsConfig) GetPush ¶
func (x *GitHubEventsConfig) GetPush() *PushFilter
func (*GitHubEventsConfig) ProtoMessage ¶
func (*GitHubEventsConfig) ProtoMessage()
func (*GitHubEventsConfig) ProtoReflect ¶
func (x *GitHubEventsConfig) ProtoReflect() protoreflect.Message
func (*GitHubEventsConfig) Reset ¶
func (x *GitHubEventsConfig) Reset()
func (*GitHubEventsConfig) String ¶
func (x *GitHubEventsConfig) String() string
type GitHubEventsConfig_PullRequest ¶
type GitHubEventsConfig_PullRequest struct { // filter to match changes in pull requests. PullRequest *PullRequestFilter `protobuf:"bytes,4,opt,name=pull_request,json=pullRequest,proto3,oneof"` }
type GitHubEventsConfig_Push ¶
type GitHubEventsConfig_Push struct { // filter to match changes in refs like branches, tags. Push *PushFilter `protobuf:"bytes,5,opt,name=push,proto3,oneof"` }
type GitRepoSource ¶ added in v1.13.0
type GitRepoSource struct { // The URI of the repo (e.g. https://github.com/user/repo.git). // Either `uri` or `repository` can be specified and is required. Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // The source of the SCM repo. // // Types that are assignable to Source: // // *GitRepoSource_Repository Source isGitRepoSource_Source `protobuf_oneof:"source"` // The branch or tag to use. Must start with "refs/" (required). Ref string `protobuf:"bytes,2,opt,name=ref,proto3" json:"ref,omitempty"` // See RepoType below. RepoType GitFileSource_RepoType `` /* 144-byte string literal not displayed */ // The resource name of the enterprise config that should be applied // to this source. // // Types that are assignable to EnterpriseConfig: // // *GitRepoSource_GithubEnterpriseConfig EnterpriseConfig isGitRepoSource_EnterpriseConfig `protobuf_oneof:"enterprise_config"` // contains filtered or unexported fields }
GitRepoSource describes a repo and ref of a code repository.
func (*GitRepoSource) Descriptor
deprecated
added in
v1.13.0
func (*GitRepoSource) Descriptor() ([]byte, []int)
Deprecated: Use GitRepoSource.ProtoReflect.Descriptor instead.
func (*GitRepoSource) GetEnterpriseConfig ¶ added in v1.13.0
func (m *GitRepoSource) GetEnterpriseConfig() isGitRepoSource_EnterpriseConfig
func (*GitRepoSource) GetGithubEnterpriseConfig ¶ added in v1.13.0
func (x *GitRepoSource) GetGithubEnterpriseConfig() string
func (*GitRepoSource) GetRef ¶ added in v1.13.0
func (x *GitRepoSource) GetRef() string
func (*GitRepoSource) GetRepoType ¶ added in v1.13.0
func (x *GitRepoSource) GetRepoType() GitFileSource_RepoType
func (*GitRepoSource) GetRepository ¶ added in v1.13.0
func (x *GitRepoSource) GetRepository() string
func (*GitRepoSource) GetSource ¶ added in v1.13.0
func (m *GitRepoSource) GetSource() isGitRepoSource_Source
func (*GitRepoSource) GetUri ¶ added in v1.13.0
func (x *GitRepoSource) GetUri() string
func (*GitRepoSource) ProtoMessage ¶ added in v1.13.0
func (*GitRepoSource) ProtoMessage()
func (*GitRepoSource) ProtoReflect ¶ added in v1.13.0
func (x *GitRepoSource) ProtoReflect() protoreflect.Message
func (*GitRepoSource) Reset ¶ added in v1.13.0
func (x *GitRepoSource) Reset()
func (*GitRepoSource) String ¶ added in v1.13.0
func (x *GitRepoSource) String() string
type GitRepoSource_GithubEnterpriseConfig ¶ added in v1.13.0
type GitRepoSource_GithubEnterpriseConfig struct { // The full resource name of the github enterprise config. // Format: // `projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}`. // `projects/{project}/githubEnterpriseConfigs/{id}`. GithubEnterpriseConfig string `protobuf:"by