Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + type ApprovalConfig struct + ApprovalRequired bool + ForceSendFields []string + NullFields []string + func (s *ApprovalConfig) MarshalJSON() ([]byte, error) + type ApprovalResult struct + ApprovalTime string + ApproverAccount string + Comment string + Decision string + ForceSendFields []string + NullFields []string + Url string + func (s *ApprovalResult) MarshalJSON() ([]byte, error) + type ArtifactObjects struct + ForceSendFields []string + Location string + NullFields []string + Paths []string + Timing *TimeSpan + func (s *ArtifactObjects) MarshalJSON() ([]byte, error) + type ArtifactResult struct + FileHash []*FileHashes + ForceSendFields []string + Location string + NullFields []string + func (s *ArtifactResult) MarshalJSON() ([]byte, error) + type Artifacts struct + ForceSendFields []string + Images []string + MavenArtifacts []*MavenArtifact + NullFields []string + Objects *ArtifactObjects + PythonPackages []*PythonPackage + func (s *Artifacts) MarshalJSON() ([]byte, error) + type BatchCreateBitbucketServerConnectedRepositoriesResponse struct + BitbucketServerConnectedRepositories []*BitbucketServerConnectedRepository + ForceSendFields []string + NullFields []string + func (s *BatchCreateBitbucketServerConnectedRepositoriesResponse) MarshalJSON() ([]byte, error) + type BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata struct + CompleteTime string + Config string + CreateTime string + ForceSendFields []string + NullFields []string + func (s *BatchCreateBitbucketServerConnectedRepositoriesResponseMetadata) MarshalJSON() ([]byte, error) + type BatchCreateGitLabConnectedRepositoriesResponse struct + ForceSendFields []string + GitlabConnectedRepositories []*GitLabConnectedRepository + NullFields []string + func (s *BatchCreateGitLabConnectedRepositoriesResponse) MarshalJSON() ([]byte, error) + type BatchCreateGitLabConnectedRepositoriesResponseMetadata struct + CompleteTime string + Config string + CreateTime string + ForceSendFields []string + NullFields []string + func (s *BatchCreateGitLabConnectedRepositoriesResponseMetadata) MarshalJSON() ([]byte, error) + type BatchCreateRepositoriesResponse struct + ForceSendFields []string + NullFields []string + Repositories []*Repository + func (s *BatchCreateRepositoriesResponse) MarshalJSON() ([]byte, error) + type BitbucketServerConnectedRepository struct + ForceSendFields []string + NullFields []string + Parent string + Repo *BitbucketServerRepositoryId + Status *Status + func (s *BitbucketServerConnectedRepository) MarshalJSON() ([]byte, error) + type BitbucketServerRepositoryId struct + ForceSendFields []string + NullFields []string + ProjectKey string + RepoSlug string + WebhookId int64 + func (s *BitbucketServerRepositoryId) MarshalJSON() ([]byte, error) + type Build struct + Approval *BuildApproval + Artifacts *Artifacts + AvailableSecrets *Secrets + BuildTriggerId string + CreateTime string + FailureInfo *FailureInfo + FinishTime string + ForceSendFields []string + Id string + Images []string + LogUrl string + LogsBucket string + Name string + NullFields []string + Options *BuildOptions + ProjectId string + QueueTtl string + Results *Results + Secrets []*Secret + ServiceAccount string + Source *Source + SourceProvenance *SourceProvenance + StartTime string + Status string + StatusDetail string + Steps []*BuildStep + Substitutions map[string]string + Tags []string + Timeout string + Timing map[string]TimeSpan + Warnings []*Warning + func (s *Build) MarshalJSON() ([]byte, error) + type BuildApproval struct + Config *ApprovalConfig + ForceSendFields []string + NullFields []string + Result *ApprovalResult + State string + func (s *BuildApproval) MarshalJSON() ([]byte, error) + type BuildOperationMetadata struct + Build *Build + ForceSendFields []string + NullFields []string + func (s *BuildOperationMetadata) MarshalJSON() ([]byte, error) + type BuildOptions struct + DiskSizeGb int64 + DynamicSubstitutions bool + Env []string + ForceSendFields []string + LogStreamingOption string + Logging string + MachineType string + NullFields []string + Pool *PoolOption + RequestedVerifyOption string + SecretEnv []string + SourceProvenanceHash []string + SubstitutionOption string + Volumes []*Volume + WorkerPool string + func (s *BuildOptions) MarshalJSON() ([]byte, error) + type BuildStep struct + AllowExitCodes []int64 + AllowFailure bool + Args []string + Dir string + Entrypoint string + Env []string + ExitCode int64 + ForceSendFields []string + Id string + Name string + NullFields []string + PullTiming *TimeSpan + Script string + SecretEnv []string + Status string + Timeout string + Timing *TimeSpan + Volumes []*Volume + WaitFor []string + func (s *BuildStep) MarshalJSON() ([]byte, error) + type BuiltImage struct + Digest string + ForceSendFields []string + Name string + NullFields []string + PushTiming *TimeSpan + func (s *BuiltImage) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type CreateBitbucketServerConfigOperationMetadata struct + BitbucketServerConfig string + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + func (s *CreateBitbucketServerConfigOperationMetadata) MarshalJSON() ([]byte, error) + type CreateGitHubEnterpriseConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GithubEnterpriseConfig string + NullFields []string + func (s *CreateGitHubEnterpriseConfigOperationMetadata) MarshalJSON() ([]byte, error) + type CreateGitLabConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GitlabConfig string + NullFields []string + func (s *CreateGitLabConfigOperationMetadata) MarshalJSON() ([]byte, error) + type CreateWorkerPoolOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + WorkerPool string + func (s *CreateWorkerPoolOperationMetadata) MarshalJSON() ([]byte, error) + type DeleteBitbucketServerConfigOperationMetadata struct + BitbucketServerConfig string + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + func (s *DeleteBitbucketServerConfigOperationMetadata) MarshalJSON() ([]byte, error) + type DeleteGitHubEnterpriseConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GithubEnterpriseConfig string + NullFields []string + func (s *DeleteGitHubEnterpriseConfigOperationMetadata) MarshalJSON() ([]byte, error) + type DeleteGitLabConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GitlabConfig string + NullFields []string + func (s *DeleteGitLabConfigOperationMetadata) MarshalJSON() ([]byte, error) + type DeleteWorkerPoolOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + WorkerPool string + func (s *DeleteWorkerPoolOperationMetadata) MarshalJSON() ([]byte, error) + type Empty struct + type FailureInfo struct + Detail string + ForceSendFields []string + NullFields []string + Type string + func (s *FailureInfo) MarshalJSON() ([]byte, error) + type FileHashes struct + FileHash []*Hash + ForceSendFields []string + NullFields []string + func (s *FileHashes) MarshalJSON() ([]byte, error) + type GitLabConnectedRepository struct + ForceSendFields []string + NullFields []string + Parent string + Repo *GitLabRepositoryId + Status *Status + func (s *GitLabConnectedRepository) MarshalJSON() ([]byte, error) + type GitLabRepositoryId struct + ForceSendFields []string + Id string + NullFields []string + WebhookId int64 + func (s *GitLabRepositoryId) MarshalJSON() ([]byte, error) + type GoogleDevtoolsCloudbuildV2OperationMetadata struct + ApiVersion string + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + RequestedCancellation bool + StatusMessage string + Target string + Verb string + func (s *GoogleDevtoolsCloudbuildV2OperationMetadata) MarshalJSON() ([]byte, error) + type HTTPDelivery struct + ForceSendFields []string + NullFields []string + Uri string + func (s *HTTPDelivery) MarshalJSON() ([]byte, error) + type Hash struct + ForceSendFields []string + NullFields []string + Type string + Value string + func (s *Hash) MarshalJSON() ([]byte, error) + type InlineSecret struct + EnvMap map[string]string + ForceSendFields []string + KmsKeyName string + NullFields []string + func (s *InlineSecret) MarshalJSON() ([]byte, error) + type ListWorkerPoolsResponse struct + ForceSendFields []string + NullFields []string + WorkerPools []*WorkerPool + func (s *ListWorkerPoolsResponse) MarshalJSON() ([]byte, error) + type MavenArtifact struct + ArtifactId string + ForceSendFields []string + GroupId string + NullFields []string + Path string + Repository string + Version string + func (s *MavenArtifact) MarshalJSON() ([]byte, error) + type NetworkConfig struct + ForceSendFields []string + NullFields []string + PeeredNetwork string + func (s *NetworkConfig) MarshalJSON() ([]byte, error) + type Notification struct + Filter string + ForceSendFields []string + HttpDelivery *HTTPDelivery + NullFields []string + SlackDelivery *SlackDelivery + SmtpDelivery *SMTPDelivery + StructDelivery googleapi.RawMessage + func (s *Notification) MarshalJSON() ([]byte, error) + type NotifierConfig struct + ApiVersion string + ForceSendFields []string + Kind string + Metadata *NotifierMetadata + NullFields []string + Spec *NotifierSpec + func (s *NotifierConfig) MarshalJSON() ([]byte, error) + type NotifierMetadata struct + ForceSendFields []string + Name string + Notifier string + NullFields []string + func (s *NotifierMetadata) MarshalJSON() ([]byte, error) + type NotifierSecret struct + ForceSendFields []string + Name string + NullFields []string + Value string + func (s *NotifierSecret) MarshalJSON() ([]byte, error) + type NotifierSecretRef struct + ForceSendFields []string + NullFields []string + SecretRef string + func (s *NotifierSecretRef) MarshalJSON() ([]byte, error) + type NotifierSpec struct + ForceSendFields []string + Notification *Notification + NullFields []string + Secrets []*NotifierSecret + func (s *NotifierSpec) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationMetadata struct + ApiVersion string + CancelRequested bool + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + StatusDetail string + Target string + Verb string + func (s *OperationMetadata) MarshalJSON() ([]byte, error) + type PoolOption struct + ForceSendFields []string + Name string + NullFields []string + func (s *PoolOption) MarshalJSON() ([]byte, error) + type ProcessAppManifestCallbackOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GithubEnterpriseConfig string + NullFields []string + func (s *ProcessAppManifestCallbackOperationMetadata) MarshalJSON() ([]byte, error) + type ProjectsLocationsOperationsCancelCall struct + func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header + type ProjectsLocationsOperationsGetCall struct + func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Header() http.Header + func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall + type ProjectsLocationsOperationsService struct + func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService + func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall + func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall + type ProjectsLocationsService struct + Operations *ProjectsLocationsOperationsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + WorkerPools *ProjectsWorkerPoolsService + func NewProjectsService(s *Service) *ProjectsService + type ProjectsWorkerPoolsCreateCall struct + func (c *ProjectsWorkerPoolsCreateCall) Context(ctx context.Context) *ProjectsWorkerPoolsCreateCall + func (c *ProjectsWorkerPoolsCreateCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsCreateCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsCreateCall + func (c *ProjectsWorkerPoolsCreateCall) Header() http.Header + func (c *ProjectsWorkerPoolsCreateCall) WorkerPoolId(workerPoolId string) *ProjectsWorkerPoolsCreateCall + type ProjectsWorkerPoolsDeleteCall struct + func (c *ProjectsWorkerPoolsDeleteCall) Context(ctx context.Context) *ProjectsWorkerPoolsDeleteCall + func (c *ProjectsWorkerPoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsWorkerPoolsDeleteCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsDeleteCall + func (c *ProjectsWorkerPoolsDeleteCall) Header() http.Header + type ProjectsWorkerPoolsGetCall struct + func (c *ProjectsWorkerPoolsGetCall) Context(ctx context.Context) *ProjectsWorkerPoolsGetCall + func (c *ProjectsWorkerPoolsGetCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsGetCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsGetCall + func (c *ProjectsWorkerPoolsGetCall) Header() http.Header + func (c *ProjectsWorkerPoolsGetCall) IfNoneMatch(entityTag string) *ProjectsWorkerPoolsGetCall + type ProjectsWorkerPoolsListCall struct + func (c *ProjectsWorkerPoolsListCall) Context(ctx context.Context) *ProjectsWorkerPoolsListCall + func (c *ProjectsWorkerPoolsListCall) Do(opts ...googleapi.CallOption) (*ListWorkerPoolsResponse, error) + func (c *ProjectsWorkerPoolsListCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsListCall + func (c *ProjectsWorkerPoolsListCall) Header() http.Header + func (c *ProjectsWorkerPoolsListCall) IfNoneMatch(entityTag string) *ProjectsWorkerPoolsListCall + type ProjectsWorkerPoolsPatchCall struct + func (c *ProjectsWorkerPoolsPatchCall) Context(ctx context.Context) *ProjectsWorkerPoolsPatchCall + func (c *ProjectsWorkerPoolsPatchCall) Do(opts ...googleapi.CallOption) (*WorkerPool, error) + func (c *ProjectsWorkerPoolsPatchCall) Fields(s ...googleapi.Field) *ProjectsWorkerPoolsPatchCall + func (c *ProjectsWorkerPoolsPatchCall) Header() http.Header + func (c *ProjectsWorkerPoolsPatchCall) UpdateMask(updateMask string) *ProjectsWorkerPoolsPatchCall + type ProjectsWorkerPoolsService struct + func NewProjectsWorkerPoolsService(s *Service) *ProjectsWorkerPoolsService + func (r *ProjectsWorkerPoolsService) Create(parent string, workerpool *WorkerPool) *ProjectsWorkerPoolsCreateCall + func (r *ProjectsWorkerPoolsService) Delete(name string) *ProjectsWorkerPoolsDeleteCall + func (r *ProjectsWorkerPoolsService) Get(name string) *ProjectsWorkerPoolsGetCall + func (r *ProjectsWorkerPoolsService) List(parent string) *ProjectsWorkerPoolsListCall + func (r *ProjectsWorkerPoolsService) Patch(name string, workerpool *WorkerPool) *ProjectsWorkerPoolsPatchCall + type PythonPackage struct + ForceSendFields []string + NullFields []string + Paths []string + Repository string + func (s *PythonPackage) MarshalJSON() ([]byte, error) + type RepoSource struct + BranchName string + CommitSha string + Dir string + ForceSendFields []string + InvertRegex bool + NullFields []string + ProjectId string + RepoName string + Substitutions map[string]string + TagName string + func (s *RepoSource) MarshalJSON() ([]byte, error) + type Repository struct + Annotations map[string]string + CreateTime string + Etag string + ForceSendFields []string + Name string + NullFields []string + RemoteUri string + UpdateTime string + func (s *Repository) MarshalJSON() ([]byte, error) + type Results struct + ArtifactManifest string + ArtifactTiming *TimeSpan + BuildStepImages []string + BuildStepOutputs []string + ForceSendFields []string + Images []*BuiltImage + MavenArtifacts []*UploadedMavenArtifact + NullFields []string + NumArtifacts int64 + PythonPackages []*UploadedPythonPackage + func (s *Results) MarshalJSON() ([]byte, error) + type RunWorkflowCustomOperationMetadata struct + ApiVersion string + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + PipelineRunId string + RequestedCancellation bool + Target string + Verb string + func (s *RunWorkflowCustomOperationMetadata) MarshalJSON() ([]byte, error) + type SMTPDelivery struct + ForceSendFields []string + FromAddress string + NullFields []string + Password *NotifierSecretRef + Port string + RecipientAddresses []string + SenderAddress string + Server string + func (s *SMTPDelivery) MarshalJSON() ([]byte, error) + type Secret struct + ForceSendFields []string + KmsKeyName string + NullFields []string + SecretEnv map[string]string + func (s *Secret) MarshalJSON() ([]byte, error) + type SecretManagerSecret struct + Env string + ForceSendFields []string + NullFields []string + VersionName string + func (s *SecretManagerSecret) MarshalJSON() ([]byte, error) + type Secrets struct + ForceSendFields []string + Inline []*InlineSecret + NullFields []string + SecretManager []*SecretManagerSecret + func (s *Secrets) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type SlackDelivery struct + ForceSendFields []string + NullFields []string + WebhookUri *NotifierSecretRef + func (s *SlackDelivery) MarshalJSON() ([]byte, error) + type Source struct + ForceSendFields []string + NullFields []string + RepoSource *RepoSource + StorageSource *StorageSource + StorageSourceManifest *StorageSourceManifest + func (s *Source) MarshalJSON() ([]byte, error) + type SourceProvenance struct + FileHashes map[string]FileHashes + ForceSendFields []string + NullFields []string + ResolvedRepoSource *RepoSource + ResolvedStorageSource *StorageSource + ResolvedStorageSourceManifest *StorageSourceManifest + func (s *SourceProvenance) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type StorageSource struct + Bucket string + ForceSendFields []string + Generation int64 + NullFields []string + Object string + func (s *StorageSource) MarshalJSON() ([]byte, error) + type StorageSourceManifest struct + Bucket string + ForceSendFields []string + Generation int64 + NullFields []string + Object string + func (s *StorageSourceManifest) MarshalJSON() ([]byte, error) + type TimeSpan struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *TimeSpan) MarshalJSON() ([]byte, error) + type UpdateBitbucketServerConfigOperationMetadata struct + BitbucketServerConfig string + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + func (s *UpdateBitbucketServerConfigOperationMetadata) MarshalJSON() ([]byte, error) + type UpdateGitHubEnterpriseConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GithubEnterpriseConfig string + NullFields []string + func (s *UpdateGitHubEnterpriseConfigOperationMetadata) MarshalJSON() ([]byte, error) + type UpdateGitLabConfigOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + GitlabConfig string + NullFields []string + func (s *UpdateGitLabConfigOperationMetadata) MarshalJSON() ([]byte, error) + type UpdateWorkerPoolOperationMetadata struct + CompleteTime string + CreateTime string + ForceSendFields []string + NullFields []string + WorkerPool string + func (s *UpdateWorkerPoolOperationMetadata) MarshalJSON() ([]byte, error) + type UploadedMavenArtifact struct + FileHashes *FileHashes + ForceSendFields []string + NullFields []string + PushTiming *TimeSpan + Uri string + func (s *UploadedMavenArtifact) MarshalJSON() ([]byte, error) + type UploadedPythonPackage struct + FileHashes *FileHashes + ForceSendFields []string + NullFields []string + PushTiming *TimeSpan + Uri string + func (s *UploadedPythonPackage) MarshalJSON() ([]byte, error) + type Volume struct + ForceSendFields []string + Name string + NullFields []string + Path string + func (s *Volume) MarshalJSON() ([]byte, error) + type Warning struct + ForceSendFields []string + NullFields []string + Priority string + Text string + func (s *Warning) MarshalJSON() ([]byte, error) + type WorkerConfig struct + DiskSizeGb int64 + ForceSendFields []string + MachineType string + NullFields []string + func (s *WorkerConfig) MarshalJSON() ([]byte, error) + type WorkerPool struct + CreateTime string + DeleteTime string + ForceSendFields []string + Name string + NetworkConfig *NetworkConfig + NullFields []string + Region string + State string + UpdateTime string + WorkerConfig *WorkerConfig + func (s *WorkerPool) MarshalJSON() ([]byte, error)