Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + const ComputeScope + const GenomicsScope + type CancelOperationRequest struct + 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 ControllerConfig struct + Cmd string + Disks map[string]string + ForceSendFields []string + GcsLogPath string + GcsSinks map[string]RepeatedString + GcsSources map[string]RepeatedString + Image string + MachineType string + NullFields []string + Vars map[string]string + func (s *ControllerConfig) MarshalJSON() ([]byte, error) + type DelayedEvent struct + Cause string + ForceSendFields []string + Metrics []string + NullFields []string + func (s *DelayedEvent) MarshalJSON() ([]byte, error) + type Disk struct + AutoDelete bool + ForceSendFields []string + MountPoint string + Name string + NullFields []string + ReadOnly bool + SizeGb int64 + Source string + Type string + func (s *Disk) MarshalJSON() ([]byte, error) + type DockerExecutor struct + Cmd string + ForceSendFields []string + ImageName string + NullFields []string + func (s *DockerExecutor) 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 ListPipelinesResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Pipelines []*Pipeline + func (s *ListPipelinesResponse) MarshalJSON() ([]byte, error) + type LocalCopy struct + Disk string + ForceSendFields []string + NullFields []string + Path string + func (s *LocalCopy) MarshalJSON() ([]byte, error) + type LoggingOptions struct + ForceSendFields []string + GcsPath string + NullFields []string + func (s *LoggingOptions) 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 OperationsCancelCall struct + func (c *OperationsCancelCall) Context(ctx context.Context) *OperationsCancelCall + func (c *OperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *OperationsCancelCall) Fields(s ...googleapi.Field) *OperationsCancelCall + func (c *OperationsCancelCall) Header() http.Header + type OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsListCall struct + func (c *OperationsListCall) Context(ctx context.Context) *OperationsListCall + func (c *OperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *OperationsListCall) Fields(s ...googleapi.Field) *OperationsListCall + func (c *OperationsListCall) Filter(filter string) *OperationsListCall + func (c *OperationsListCall) Header() http.Header + func (c *OperationsListCall) IfNoneMatch(entityTag string) *OperationsListCall + func (c *OperationsListCall) PageSize(pageSize int64) *OperationsListCall + func (c *OperationsListCall) PageToken(pageToken string) *OperationsListCall + func (c *OperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type OperationsService struct + func NewOperationsService(s *Service) *OperationsService + func (r *OperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *OperationsCancelCall + func (r *OperationsService) Get(name string) *OperationsGetCall + func (r *OperationsService) List(name string) *OperationsListCall + type Pipeline struct + Description string + Docker *DockerExecutor + ForceSendFields []string + InputParameters []*PipelineParameter + Name string + NullFields []string + OutputParameters []*PipelineParameter + PipelineId string + ProjectId string + Resources *PipelineResources + func (s *Pipeline) MarshalJSON() ([]byte, error) + type PipelineParameter struct + DefaultValue string + Description string + ForceSendFields []string + LocalCopy *LocalCopy + Name string + NullFields []string + func (s *PipelineParameter) MarshalJSON() ([]byte, error) + type PipelineResources struct + AcceleratorCount int64 + AcceleratorType string + BootDiskSizeGb int64 + Disks []*Disk + ForceSendFields []string + MinimumCpuCores int64 + MinimumRamGb float64 + NoAddress bool + NullFields []string + Preemptible bool + Zones []string + func (s *PipelineResources) MarshalJSON() ([]byte, error) + func (s *PipelineResources) UnmarshalJSON(data []byte) error + type PipelinesCreateCall struct + func (c *PipelinesCreateCall) Context(ctx context.Context) *PipelinesCreateCall + func (c *PipelinesCreateCall) Do(opts ...googleapi.CallOption) (*Pipeline, error) + func (c *PipelinesCreateCall) Fields(s ...googleapi.Field) *PipelinesCreateCall + func (c *PipelinesCreateCall) Header() http.Header + type PipelinesDeleteCall struct + func (c *PipelinesDeleteCall) Context(ctx context.Context) *PipelinesDeleteCall + func (c *PipelinesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *PipelinesDeleteCall) Fields(s ...googleapi.Field) *PipelinesDeleteCall + func (c *PipelinesDeleteCall) Header() http.Header + type PipelinesGetCall struct + func (c *PipelinesGetCall) Context(ctx context.Context) *PipelinesGetCall + func (c *PipelinesGetCall) Do(opts ...googleapi.CallOption) (*Pipeline, error) + func (c *PipelinesGetCall) Fields(s ...googleapi.Field) *PipelinesGetCall + func (c *PipelinesGetCall) Header() http.Header + func (c *PipelinesGetCall) IfNoneMatch(entityTag string) *PipelinesGetCall + type PipelinesGetControllerConfigCall struct + func (c *PipelinesGetControllerConfigCall) Context(ctx context.Context) *PipelinesGetControllerConfigCall + func (c *PipelinesGetControllerConfigCall) Do(opts ...googleapi.CallOption) (*ControllerConfig, error) + func (c *PipelinesGetControllerConfigCall) Fields(s ...googleapi.Field) *PipelinesGetControllerConfigCall + func (c *PipelinesGetControllerConfigCall) Header() http.Header + func (c *PipelinesGetControllerConfigCall) IfNoneMatch(entityTag string) *PipelinesGetControllerConfigCall + func (c *PipelinesGetControllerConfigCall) OperationId(operationId string) *PipelinesGetControllerConfigCall + func (c *PipelinesGetControllerConfigCall) ValidationToken(validationToken uint64) *PipelinesGetControllerConfigCall + type PipelinesListCall struct + func (c *PipelinesListCall) Context(ctx context.Context) *PipelinesListCall + func (c *PipelinesListCall) Do(opts ...googleapi.CallOption) (*ListPipelinesResponse, error) + func (c *PipelinesListCall) Fields(s ...googleapi.Field) *PipelinesListCall + func (c *PipelinesListCall) Header() http.Header + func (c *PipelinesListCall) IfNoneMatch(entityTag string) *PipelinesListCall + func (c *PipelinesListCall) NamePrefix(namePrefix string) *PipelinesListCall + func (c *PipelinesListCall) PageSize(pageSize int64) *PipelinesListCall + func (c *PipelinesListCall) PageToken(pageToken string) *PipelinesListCall + func (c *PipelinesListCall) Pages(ctx context.Context, f func(*ListPipelinesResponse) error) error + func (c *PipelinesListCall) ProjectId(projectId string) *PipelinesListCall + 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) Create(pipeline *Pipeline) *PipelinesCreateCall + func (r *PipelinesService) Delete(pipelineId string) *PipelinesDeleteCall + func (r *PipelinesService) Get(pipelineId string) *PipelinesGetCall + func (r *PipelinesService) GetControllerConfig() *PipelinesGetControllerConfigCall + func (r *PipelinesService) List() *PipelinesListCall + func (r *PipelinesService) Run(runpipelinerequest *RunPipelineRequest) *PipelinesRunCall + func (r *PipelinesService) SetOperationStatus(setoperationstatusrequest *SetOperationStatusRequest) *PipelinesSetOperationStatusCall + type PipelinesSetOperationStatusCall struct + func (c *PipelinesSetOperationStatusCall) Context(ctx context.Context) *PipelinesSetOperationStatusCall + func (c *PipelinesSetOperationStatusCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *PipelinesSetOperationStatusCall) Fields(s ...googleapi.Field) *PipelinesSetOperationStatusCall + func (c *PipelinesSetOperationStatusCall) Header() http.Header + 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 RepeatedString struct + ForceSendFields []string + NullFields []string + Values []string + func (s *RepeatedString) MarshalJSON() ([]byte, error) + type RunPipelineArgs struct + ClientId string + ForceSendFields []string + Inputs map[string]string + KeepVmAliveOnFailureDuration string + Labels map[string]string + Logging *LoggingOptions + NullFields []string + Outputs map[string]string + ProjectId string + Resources *PipelineResources + ServiceAccount *ServiceAccount + func (s *RunPipelineArgs) MarshalJSON() ([]byte, error) + type RunPipelineRequest struct + EphemeralPipeline *Pipeline + ForceSendFields []string + NullFields []string + PipelineArgs *RunPipelineArgs + PipelineId string + 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 Service struct + BasePath string + Operations *OperationsService + Pipelines *PipelinesService + 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 SetOperationStatusRequest struct + ErrorCode string + ErrorMessage string + ForceSendFields []string + NullFields []string + OperationId string + TimestampEvents []*TimestampEvent + ValidationToken uint64 + func (s *SetOperationStatusRequest) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TimestampEvent struct + Description string + ForceSendFields []string + NullFields []string + Timestamp string + func (s *TimestampEvent) MarshalJSON() ([]byte, error) + type UnexpectedExitStatusEvent struct + ActionId int64 + ExitStatus int64 + ForceSendFields []string + NullFields []string + func (s *UnexpectedExitStatusEvent) 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)