Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + const GenomicsScope + type Accelerator struct + Count int64 + ForceSendFields []string + NullFields []string + Type string + func (s *Accelerator) MarshalJSON() ([]byte, error) + type Action struct + Commands []string + Credentials *Secret + Entrypoint string + Environment map[string]string + Flags []string + ForceSendFields []string + ImageUri string + Labels map[string]string + Mounts []*Mount + Name string + NullFields []string + PidNamespace string + PortMappings map[string]int64 + Timeout string + func (s *Action) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type CheckInRequest struct + DeadlineExpired *Empty + Event googleapi.RawMessage + Events []*TimestampedEvent + ForceSendFields []string + NullFields []string + Result *Status + WorkerStatus *WorkerStatus + func (s *CheckInRequest) MarshalJSON() ([]byte, error) + type CheckInResponse struct + Deadline string + ForceSendFields []string + Metadata googleapi.RawMessage + NullFields []string + func (s *CheckInResponse) MarshalJSON() ([]byte, error) + type ComputeEngine struct + DiskNames []string + ForceSendFields []string + InstanceName string + MachineType string + NullFields []string + Zone string + func (s *ComputeEngine) MarshalJSON() ([]byte, error) + 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 DiskStatus struct + ForceSendFields []string + FreeSpaceBytes uint64 + NullFields []string + TotalSpaceBytes uint64 + func (s *DiskStatus) MarshalJSON() ([]byte, error) + type Empty struct + type Event struct + Description string + Details googleapi.RawMessage + ForceSendFields []string + NullFields []string + Timestamp string + func (s *Event) MarshalJSON() ([]byte, error) + type FailedEvent struct + Cause string + Code string + ForceSendFields []string + NullFields []string + func (s *FailedEvent) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) 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 Network struct + ForceSendFields []string + Name 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 OperationEvent struct + Description string + EndTime string + ForceSendFields []string + NullFields []string + StartTime string + func (s *OperationEvent) MarshalJSON() ([]byte, error) + type OperationMetadata struct + ClientId string + CreateTime string + EndTime string + Events []*OperationEvent + ForceSendFields []string + Labels map[string]string + NullFields []string + ProjectId string + Request googleapi.RawMessage + RuntimeMetadata googleapi.RawMessage + StartTime string + func (s *OperationMetadata) 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 PipelinesRunCall struct + func (c *PipelinesRunCall) Context(ctx context.Context) *PipelinesRunCall + func (c *PipelinesRunCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *PipelinesRunCall) Fields(s ...googleapi.Field) *PipelinesRunCall + func (c *PipelinesRunCall) Header() http.Header + type PipelinesService struct + func NewPipelinesService(s *Service) *PipelinesService + func (r *PipelinesService) Run(runpipelinerequest *RunPipelineRequest) *PipelinesRunCall + type ProjectsOperationsCancelCall struct + func (c *ProjectsOperationsCancelCall) Context(ctx context.Context) *ProjectsOperationsCancelCall + func (c *ProjectsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsOperationsCancelCall + func (c *ProjectsOperationsCancelCall) Header() http.Header + type ProjectsOperationsGetCall struct + func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall + func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall + func (c *ProjectsOperationsGetCall) Header() http.Header + func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall + type ProjectsOperationsListCall struct + func (c *ProjectsOperationsListCall) Context(ctx context.Context) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *ProjectsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) Filter(filter string) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) Header() http.Header + func (c *ProjectsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) PageSize(pageSize int64) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) PageToken(pageToken string) *ProjectsOperationsListCall + func (c *ProjectsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type ProjectsOperationsService struct + func NewProjectsOperationsService(s *Service) *ProjectsOperationsService + func (r *ProjectsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsOperationsCancelCall + func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall + func (r *ProjectsOperationsService) List(name string) *ProjectsOperationsListCall + type ProjectsService struct + Operations *ProjectsOperationsService + Workers *ProjectsWorkersService + func NewProjectsService(s *Service) *ProjectsService + type ProjectsWorkersCheckInCall struct + func (c *ProjectsWorkersCheckInCall) Context(ctx context.Context) *ProjectsWorkersCheckInCall + func (c *ProjectsWorkersCheckInCall) Do(opts ...googleapi.CallOption) (*CheckInResponse, error) + func (c *ProjectsWorkersCheckInCall) Fields(s ...googleapi.Field) *ProjectsWorkersCheckInCall + func (c *ProjectsWorkersCheckInCall) Header() http.Header + type ProjectsWorkersService struct + func NewProjectsWorkersService(s *Service) *ProjectsWorkersService + func (r *ProjectsWorkersService) CheckIn(id string, checkinrequest *CheckInRequest) *ProjectsWorkersCheckInCall + 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 + ProjectId 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 RuntimeMetadata struct + ComputeEngine *ComputeEngine + ForceSendFields []string + NullFields []string + func (s *RuntimeMetadata) MarshalJSON() ([]byte, error) + type Secret struct + CipherText string + ForceSendFields []string + KeyName string + NullFields []string + func (s *Secret) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Pipelines *PipelinesService + Projects *ProjectsService + UserAgent string + Workers *WorkersService + 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 TimestampedEvent struct + Data googleapi.RawMessage + ForceSendFields []string + NullFields []string + Timestamp string + func (s *TimestampedEvent) 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 + EnableStackdriverMonitoring bool + ForceSendFields []string + Labels map[string]string + MachineType string + Network *Network + NullFields []string + NvidiaDriverVersion string + Preemptible bool + ServiceAccount *ServiceAccount + func (s *VirtualMachine) 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) + type WorkerStatus struct + AttachedDisks map[string]DiskStatus + BootDisk *DiskStatus + ForceSendFields []string + FreeRamBytes uint64 + NullFields []string + TotalRamBytes uint64 + UptimeSeconds int64 + func (s *WorkerStatus) MarshalJSON() ([]byte, error) + type WorkersCheckInCall struct + func (c *WorkersCheckInCall) Context(ctx context.Context) *WorkersCheckInCall + func (c *WorkersCheckInCall) Do(opts ...googleapi.CallOption) (*CheckInResponse, error) + func (c *WorkersCheckInCall) Fields(s ...googleapi.Field) *WorkersCheckInCall + func (c *WorkersCheckInCall) Header() http.Header + type WorkersService struct + func NewWorkersService(s *Service) *WorkersService + func (r *WorkersService) CheckIn(id string, checkinrequest *CheckInRequest) *WorkersCheckInCall