Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type Accelerator struct + Count int64 + ForceSendFields []string + NullFields []string + Type string + func (s *Accelerator) MarshalJSON() ([]byte, error) + type Action struct + AlwaysRun bool + Commands []string + ContainerName string + Credentials *Secret + DisableImagePrefetch bool + DisableStandardErrorCapture bool + EnableFuse bool + Entrypoint string + Environment map[string]string + ForceSendFields []string + IgnoreExitStatus bool + ImageUri string + Labels map[string]string + Mounts []*Mount + NullFields []string + PidNamespace string + PortMappings map[string]int64 + PublishExposedPorts bool + RunInBackground bool + Timeout string + func (s *Action) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type ContainerKilledEvent struct + ActionId int64 + ForceSendFields []string + NullFields []string + func (s *ContainerKilledEvent) MarshalJSON() ([]byte, error) + type ContainerStartedEvent struct + ActionId int64 + ForceSendFields []string + IpAddress string + NullFields []string + PortMappings map[string]int64 + func (s *ContainerStartedEvent) MarshalJSON() ([]byte, error) + type ContainerStoppedEvent struct + ActionId int64 + ExitStatus int64 + ForceSendFields []string + NullFields []string + Stderr string + func (s *ContainerStoppedEvent) MarshalJSON() ([]byte, error) + type DelayedEvent struct + Cause string + ForceSendFields []string + Metrics []string + NullFields []string + func (s *DelayedEvent) MarshalJSON() ([]byte, error) + type Disk struct + ForceSendFields []string + Name string + NullFields []string + SizeGb int64 + SourceImage string + Type string + func (s *Disk) MarshalJSON() ([]byte, error) + type Empty struct + type Event struct + ContainerKilled *ContainerKilledEvent + ContainerStarted *ContainerStartedEvent + ContainerStopped *ContainerStoppedEvent + Delayed *DelayedEvent + Description string + Failed *FailedEvent + ForceSendFields []string + NullFields []string + PullStarted *PullStartedEvent + PullStopped *PullStoppedEvent + Timestamp string + UnexpectedExitStatus *UnexpectedExitStatusEvent + WorkerAssigned *WorkerAssignedEvent + WorkerReleased *WorkerReleasedEvent + func (s *Event) MarshalJSON() ([]byte, error) + type ExistingDisk struct + Disk string + ForceSendFields []string + NullFields []string + func (s *ExistingDisk) MarshalJSON() ([]byte, error) + type FailedEvent struct + Cause string + Code string + ForceSendFields []string + NullFields []string + func (s *FailedEvent) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type Location struct + DisplayName string + ForceSendFields []string + Labels map[string]string + LocationId string + Metadata googleapi.RawMessage + Name string + NullFields []string + func (s *Location) MarshalJSON() ([]byte, error) + type Metadata struct + CreateTime string + EndTime string + Events []*Event + ForceSendFields []string + Labels map[string]string + NullFields []string + Pipeline *Pipeline + StartTime string + func (s *Metadata) MarshalJSON() ([]byte, error) + type Mount struct + Disk string + ForceSendFields []string + NullFields []string + Path string + ReadOnly bool + func (s *Mount) MarshalJSON() ([]byte, error) + type NFSMount struct + ForceSendFields []string + NullFields []string + Target string + func (s *NFSMount) MarshalJSON() ([]byte, error) + type Network struct + ForceSendFields []string + Network string + NullFields []string + Subnetwork string + UsePrivateAddress bool + func (s *Network) 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 PersistentDisk struct + ForceSendFields []string + NullFields []string + SizeGb int64 + SourceImage string + Type string + func (s *PersistentDisk) MarshalJSON() ([]byte, error) + type Pipeline struct + Actions []*Action + Environment map[string]string + ForceSendFields []string + NullFields []string + Resources *Resources + Timeout string + func (s *Pipeline) MarshalJSON() ([]byte, error) + type ProjectsLocationsGetCall struct + func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error) + func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Header() http.Header + func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall + type ProjectsLocationsListCall struct + func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) + func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Header() http.Header + func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error + type ProjectsLocationsOperationsCancelCall 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 ProjectsLocationsOperationsListCall struct + func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Header() http.Header + func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type ProjectsLocationsOperationsService struct + func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService + func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall + func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall + func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall + type ProjectsLocationsPipelinesRunCall struct + func (c *ProjectsLocationsPipelinesRunCall) Context(ctx context.Context) *ProjectsLocationsPipelinesRunCall + func (c *ProjectsLocationsPipelinesRunCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsPipelinesRunCall) Fields(s ...googleapi.Field) *ProjectsLocationsPipelinesRunCall + func (c *ProjectsLocationsPipelinesRunCall) Header() http.Header + type ProjectsLocationsPipelinesService struct + func NewProjectsLocationsPipelinesService(s *Service) *ProjectsLocationsPipelinesService + func (r *ProjectsLocationsPipelinesService) Run(parent string, runpipelinerequest *RunPipelineRequest) *ProjectsLocationsPipelinesRunCall + type ProjectsLocationsService struct + Operations *ProjectsLocationsOperationsService + Pipelines *ProjectsLocationsPipelinesService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall + func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type PullStartedEvent struct + ForceSendFields []string + ImageUri string + NullFields []string + func (s *PullStartedEvent) MarshalJSON() ([]byte, error) + type PullStoppedEvent struct + ForceSendFields []string + ImageUri string + NullFields []string + func (s *PullStoppedEvent) MarshalJSON() ([]byte, error) + type Resources struct + ForceSendFields []string + NullFields []string + Regions []string + VirtualMachine *VirtualMachine + Zones []string + func (s *Resources) MarshalJSON() ([]byte, error) + type RunPipelineRequest struct + ForceSendFields []string + Labels map[string]string + NullFields []string + Pipeline *Pipeline + func (s *RunPipelineRequest) MarshalJSON() ([]byte, error) + type RunPipelineResponse struct + type Secret struct + CipherText string + ForceSendFields []string + KeyName string + NullFields []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 ServiceAccount struct + Email string + ForceSendFields []string + NullFields []string + Scopes []string + func (s *ServiceAccount) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type UnexpectedExitStatusEvent struct + ActionId int64 + ExitStatus int64 + ForceSendFields []string + NullFields []string + func (s *UnexpectedExitStatusEvent) MarshalJSON() ([]byte, error) + type VirtualMachine struct + Accelerators []*Accelerator + BootDiskSizeGb int64 + BootImage string + CpuPlatform string + Disks []*Disk + DockerCacheImages []string + EnableStackdriverMonitoring bool + ForceSendFields []string + Labels map[string]string + MachineType string + Network *Network + NullFields []string + NvidiaDriverVersion string + Preemptible bool + ServiceAccount *ServiceAccount + Volumes []*Volume + func (s *VirtualMachine) MarshalJSON() ([]byte, error) + type Volume struct + ExistingDisk *ExistingDisk + ForceSendFields []string + NfsMount *NFSMount + NullFields []string + PersistentDisk *PersistentDisk + Volume string + func (s *Volume) MarshalJSON() ([]byte, error) + type WorkerAssignedEvent struct + ForceSendFields []string + Instance string + MachineType string + NullFields []string + Zone string + func (s *WorkerAssignedEvent) MarshalJSON() ([]byte, error) + type WorkerReleasedEvent struct + ForceSendFields []string + Instance string + NullFields []string + Zone string + func (s *WorkerReleasedEvent) MarshalJSON() ([]byte, error)