Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + 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 + NullFields []string + Objects *ArtifactObjects + func (s *Artifacts) MarshalJSON() ([]byte, error) + type Build struct + Artifacts *Artifacts + BuildTriggerId string + CreateTime string + 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 + func (s *Build) 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 + RequestedVerifyOption string + SecretEnv []string + SourceProvenanceHash []string + SubstitutionOption string + Volumes []*Volume + WorkerPool string + func (s *BuildOptions) MarshalJSON() ([]byte, error) + type BuildStep struct + Args []string + Dir string + Entrypoint string + Env []string + ForceSendFields []string + Id string + Name string + NullFields []string + PullTiming *TimeSpan + 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 Empty struct + type FileHashes struct + FileHash []*Hash + ForceSendFields []string + NullFields []string + func (s *FileHashes) 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 ListWorkerPoolsResponse struct + ForceSendFields []string + NullFields []string + WorkerPools []*WorkerPool + func (s *ListWorkerPoolsResponse) MarshalJSON() ([]byte, error) + type Network struct + ForceSendFields []string + Network string + NullFields []string + ProjectId string + Subnetwork string + func (s *Network) 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 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 + 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 + 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 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 Results struct + ArtifactManifest string + ArtifactTiming *TimeSpan + BuildStepImages []string + BuildStepOutputs []string + ForceSendFields []string + Images []*BuiltImage + NullFields []string + NumArtifacts int64 + func (s *Results) 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 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 + func (s *Source) MarshalJSON() ([]byte, error) + type SourceProvenance struct + FileHashes map[string]FileHashes + ForceSendFields []string + NullFields []string + ResolvedRepoSource *RepoSource + ResolvedStorageSource *StorageSource + 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 TimeSpan struct + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *TimeSpan) MarshalJSON() ([]byte, error) + type Volume struct + ForceSendFields []string + Name string + NullFields []string + Path string + func (s *Volume) MarshalJSON() ([]byte, error) + type WorkerConfig struct + DiskSizeGb int64 + ForceSendFields []string + MachineType string + Network *Network + NullFields []string + Tag string + func (s *WorkerConfig) MarshalJSON() ([]byte, error) + type WorkerPool struct + CreateTime string + DeleteTime string + ForceSendFields []string + Name string + NullFields []string + ProjectId string + Regions []string + ServiceAccountEmail string + Status string + UpdateTime string + WorkerConfig *WorkerConfig + WorkerCount int64 + func (s *WorkerPool) MarshalJSON() ([]byte, error)