Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 Changes in this version + const CloudPlatformScope + type AcceleratorConfig struct + ForceSendFields []string + NullFields []string + Topology string + Type string + func (s *AcceleratorConfig) MarshalJSON() ([]byte, error) + type AcceleratorType struct + AcceleratorConfigs []*AcceleratorConfig + ForceSendFields []string + Name string + NullFields []string + Type string + func (s *AcceleratorType) MarshalJSON() ([]byte, error) + type AccessConfig struct + ExternalIp string + ForceSendFields []string + NullFields []string + func (s *AccessConfig) MarshalJSON() ([]byte, error) + type AttachedDisk struct + ForceSendFields []string + Mode string + NullFields []string + SourceDisk string + func (s *AttachedDisk) MarshalJSON() ([]byte, error) + type Empty struct + type GenerateServiceIdentityRequest struct + type GenerateServiceIdentityResponse struct + ForceSendFields []string + Identity *ServiceIdentity + NullFields []string + func (s *GenerateServiceIdentityResponse) MarshalJSON() ([]byte, error) + type GetGuestAttributesRequest struct + ForceSendFields []string + NullFields []string + QueryPath string + WorkerIds []string + func (s *GetGuestAttributesRequest) MarshalJSON() ([]byte, error) + type GetGuestAttributesResponse struct + ForceSendFields []string + GuestAttributes []*GuestAttributes + NullFields []string + func (s *GetGuestAttributesResponse) MarshalJSON() ([]byte, error) + type GuestAttributes struct + ForceSendFields []string + NullFields []string + QueryPath string + QueryValue *GuestAttributesValue + func (s *GuestAttributes) MarshalJSON() ([]byte, error) + type GuestAttributesEntry struct + ForceSendFields []string + Key string + Namespace string + NullFields []string + Value string + func (s *GuestAttributesEntry) MarshalJSON() ([]byte, error) + type GuestAttributesValue struct + ForceSendFields []string + Items []*GuestAttributesEntry + NullFields []string + func (s *GuestAttributesValue) MarshalJSON() ([]byte, error) + type ListAcceleratorTypesResponse struct + AcceleratorTypes []*AcceleratorType + ForceSendFields []string + NextPageToken string + NullFields []string + Unreachable []string + func (s *ListAcceleratorTypesResponse) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListNodesResponse struct + ForceSendFields []string + NextPageToken string + Nodes []*Node + NullFields []string + Unreachable []string + func (s *ListNodesResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type ListRuntimeVersionsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + RuntimeVersions []*RuntimeVersion + Unreachable []string + func (s *ListRuntimeVersionsResponse) 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 NetworkConfig struct + CanIpForward bool + EnableExternalIps bool + ForceSendFields []string + Network string + NullFields []string + Subnetwork string + func (s *NetworkConfig) MarshalJSON() ([]byte, error) + type NetworkEndpoint struct + AccessConfig *AccessConfig + ForceSendFields []string + IpAddress string + NullFields []string + Port int64 + func (s *NetworkEndpoint) MarshalJSON() ([]byte, error) + type Node struct + AcceleratorConfig *AcceleratorConfig + AcceleratorType string + ApiVersion string + CidrBlock string + CreateTime string + DataDisks []*AttachedDisk + Description string + ForceSendFields []string + Health string + HealthDescription string + Id int64 + Labels map[string]string + Metadata map[string]string + MultisliceNode bool + Name string + NetworkConfig *NetworkConfig + NetworkEndpoints []*NetworkEndpoint + NullFields []string + QueuedResource string + RuntimeVersion string + SchedulingConfig *SchedulingConfig + ServiceAccount *ServiceAccount + ShieldedInstanceConfig *ShieldedInstanceConfig + State string + Symptoms []*Symptom + Tags []string + func (s *Node) 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 ProjectsLocationsAcceleratorTypesGetCall struct + func (c *ProjectsLocationsAcceleratorTypesGetCall) Context(ctx context.Context) *ProjectsLocationsAcceleratorTypesGetCall + func (c *ProjectsLocationsAcceleratorTypesGetCall) Do(opts ...googleapi.CallOption) (*AcceleratorType, error) + func (c *ProjectsLocationsAcceleratorTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAcceleratorTypesGetCall + func (c *ProjectsLocationsAcceleratorTypesGetCall) Header() http.Header + func (c *ProjectsLocationsAcceleratorTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAcceleratorTypesGetCall + type ProjectsLocationsAcceleratorTypesListCall struct + func (c *ProjectsLocationsAcceleratorTypesListCall) Context(ctx context.Context) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) Do(opts ...googleapi.CallOption) (*ListAcceleratorTypesResponse, error) + func (c *ProjectsLocationsAcceleratorTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) Filter(filter string) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) Header() http.Header + func (c *ProjectsLocationsAcceleratorTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) OrderBy(orderBy string) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) PageSize(pageSize int64) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) PageToken(pageToken string) *ProjectsLocationsAcceleratorTypesListCall + func (c *ProjectsLocationsAcceleratorTypesListCall) Pages(ctx context.Context, f func(*ListAcceleratorTypesResponse) error) error + type ProjectsLocationsAcceleratorTypesService struct + func NewProjectsLocationsAcceleratorTypesService(s *Service) *ProjectsLocationsAcceleratorTypesService + func (r *ProjectsLocationsAcceleratorTypesService) Get(name string) *ProjectsLocationsAcceleratorTypesGetCall + func (r *ProjectsLocationsAcceleratorTypesService) List(parent string) *ProjectsLocationsAcceleratorTypesListCall + type ProjectsLocationsGenerateServiceIdentityCall struct + func (c *ProjectsLocationsGenerateServiceIdentityCall) Context(ctx context.Context) *ProjectsLocationsGenerateServiceIdentityCall + func (c *ProjectsLocationsGenerateServiceIdentityCall) Do(opts ...googleapi.CallOption) (*GenerateServiceIdentityResponse, error) + func (c *ProjectsLocationsGenerateServiceIdentityCall) Fields(s ...googleapi.Field) *ProjectsLocationsGenerateServiceIdentityCall + func (c *ProjectsLocationsGenerateServiceIdentityCall) Header() http.Header + 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 ProjectsLocationsNodesCreateCall struct + func (c *ProjectsLocationsNodesCreateCall) Context(ctx context.Context) *ProjectsLocationsNodesCreateCall + func (c *ProjectsLocationsNodesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsNodesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesCreateCall + func (c *ProjectsLocationsNodesCreateCall) Header() http.Header + func (c *ProjectsLocationsNodesCreateCall) NodeId(nodeId string) *ProjectsLocationsNodesCreateCall + type ProjectsLocationsNodesDeleteCall struct + func (c *ProjectsLocationsNodesDeleteCall) Context(ctx context.Context) *ProjectsLocationsNodesDeleteCall + func (c *ProjectsLocationsNodesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsNodesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesDeleteCall + func (c *ProjectsLocationsNodesDeleteCall) Header() http.Header + type ProjectsLocationsNodesGetCall struct + func (c *ProjectsLocationsNodesGetCall) Context(ctx context.Context) *ProjectsLocationsNodesGetCall + func (c *ProjectsLocationsNodesGetCall) Do(opts ...googleapi.CallOption) (*Node, error) + func (c *ProjectsLocationsNodesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesGetCall + func (c *ProjectsLocationsNodesGetCall) Header() http.Header + func (c *ProjectsLocationsNodesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNodesGetCall + type ProjectsLocationsNodesGetGuestAttributesCall struct + func (c *ProjectsLocationsNodesGetGuestAttributesCall) Context(ctx context.Context) *ProjectsLocationsNodesGetGuestAttributesCall + func (c *ProjectsLocationsNodesGetGuestAttributesCall) Do(opts ...googleapi.CallOption) (*GetGuestAttributesResponse, error) + func (c *ProjectsLocationsNodesGetGuestAttributesCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesGetGuestAttributesCall + func (c *ProjectsLocationsNodesGetGuestAttributesCall) Header() http.Header + type ProjectsLocationsNodesListCall struct + func (c *ProjectsLocationsNodesListCall) Context(ctx context.Context) *ProjectsLocationsNodesListCall + func (c *ProjectsLocationsNodesListCall) Do(opts ...googleapi.CallOption) (*ListNodesResponse, error) + func (c *ProjectsLocationsNodesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesListCall + func (c *ProjectsLocationsNodesListCall) Header() http.Header + func (c *ProjectsLocationsNodesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNodesListCall + func (c *ProjectsLocationsNodesListCall) PageSize(pageSize int64) *ProjectsLocationsNodesListCall + func (c *ProjectsLocationsNodesListCall) PageToken(pageToken string) *ProjectsLocationsNodesListCall + func (c *ProjectsLocationsNodesListCall) Pages(ctx context.Context, f func(*ListNodesResponse) error) error + type ProjectsLocationsNodesPatchCall struct + func (c *ProjectsLocationsNodesPatchCall) Context(ctx context.Context) *ProjectsLocationsNodesPatchCall + func (c *ProjectsLocationsNodesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsNodesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesPatchCall + func (c *ProjectsLocationsNodesPatchCall) Header() http.Header + func (c *ProjectsLocationsNodesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsNodesPatchCall + type ProjectsLocationsNodesService struct + func NewProjectsLocationsNodesService(s *Service) *ProjectsLocationsNodesService + func (r *ProjectsLocationsNodesService) Create(parent string, node *Node) *ProjectsLocationsNodesCreateCall + func (r *ProjectsLocationsNodesService) Delete(name string) *ProjectsLocationsNodesDeleteCall + func (r *ProjectsLocationsNodesService) Get(name string) *ProjectsLocationsNodesGetCall + func (r *ProjectsLocationsNodesService) GetGuestAttributes(name string, getguestattributesrequest *GetGuestAttributesRequest) *ProjectsLocationsNodesGetGuestAttributesCall + func (r *ProjectsLocationsNodesService) List(parent string) *ProjectsLocationsNodesListCall + func (r *ProjectsLocationsNodesService) Patch(name string, node *Node) *ProjectsLocationsNodesPatchCall + func (r *ProjectsLocationsNodesService) Start(name string, startnoderequest *StartNodeRequest) *ProjectsLocationsNodesStartCall + func (r *ProjectsLocationsNodesService) Stop(name string, stopnoderequest *StopNodeRequest) *ProjectsLocationsNodesStopCall + type ProjectsLocationsNodesStartCall struct + func (c *ProjectsLocationsNodesStartCall) Context(ctx context.Context) *ProjectsLocationsNodesStartCall + func (c *ProjectsLocationsNodesStartCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsNodesStartCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesStartCall + func (c *ProjectsLocationsNodesStartCall) Header() http.Header + type ProjectsLocationsNodesStopCall struct + func (c *ProjectsLocationsNodesStopCall) Context(ctx context.Context) *ProjectsLocationsNodesStopCall + func (c *ProjectsLocationsNodesStopCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsNodesStopCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodesStopCall + func (c *ProjectsLocationsNodesStopCall) Header() http.Header + 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 ProjectsLocationsOperationsDeleteCall struct + func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) 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) *ProjectsLocationsOperationsCancelCall + func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall + func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall + func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall + type ProjectsLocationsRuntimeVersionsGetCall struct + func (c *ProjectsLocationsRuntimeVersionsGetCall) Context(ctx context.Context) *ProjectsLocationsRuntimeVersionsGetCall + func (c *ProjectsLocationsRuntimeVersionsGetCall) Do(opts ...googleapi.CallOption) (*RuntimeVersion, error) + func (c *ProjectsLocationsRuntimeVersionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeVersionsGetCall + func (c *ProjectsLocationsRuntimeVersionsGetCall) Header() http.Header + func (c *ProjectsLocationsRuntimeVersionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRuntimeVersionsGetCall + type ProjectsLocationsRuntimeVersionsListCall struct + func (c *ProjectsLocationsRuntimeVersionsListCall) Context(ctx context.Context) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) Do(opts ...googleapi.CallOption) (*ListRuntimeVersionsResponse, error) + func (c *ProjectsLocationsRuntimeVersionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) Filter(filter string) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) Header() http.Header + func (c *ProjectsLocationsRuntimeVersionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) OrderBy(orderBy string) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) PageSize(pageSize int64) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) PageToken(pageToken string) *ProjectsLocationsRuntimeVersionsListCall + func (c *ProjectsLocationsRuntimeVersionsListCall) Pages(ctx context.Context, f func(*ListRuntimeVersionsResponse) error) error + type ProjectsLocationsRuntimeVersionsService struct + func NewProjectsLocationsRuntimeVersionsService(s *Service) *ProjectsLocationsRuntimeVersionsService + func (r *ProjectsLocationsRuntimeVersionsService) Get(name string) *ProjectsLocationsRuntimeVersionsGetCall + func (r *ProjectsLocationsRuntimeVersionsService) List(parent string) *ProjectsLocationsRuntimeVersionsListCall + type ProjectsLocationsService struct + AcceleratorTypes *ProjectsLocationsAcceleratorTypesService + Nodes *ProjectsLocationsNodesService + Operations *ProjectsLocationsOperationsService + RuntimeVersions *ProjectsLocationsRuntimeVersionsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) GenerateServiceIdentity(parent string, generateserviceidentityrequest *GenerateServiceIdentityRequest) *ProjectsLocationsGenerateServiceIdentityCall + 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 RuntimeVersion struct + ForceSendFields []string + Name string + NullFields []string + Version string + func (s *RuntimeVersion) MarshalJSON() ([]byte, error) + type SchedulingConfig struct + ForceSendFields []string + NullFields []string + Preemptible bool + Reserved bool + func (s *SchedulingConfig) 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 + Scope []string + func (s *ServiceAccount) MarshalJSON() ([]byte, error) + type ServiceIdentity struct + Email string + ForceSendFields []string + NullFields []string + func (s *ServiceIdentity) MarshalJSON() ([]byte, error) + type ShieldedInstanceConfig struct + EnableSecureBoot bool + ForceSendFields []string + NullFields []string + func (s *ShieldedInstanceConfig) MarshalJSON() ([]byte, error) + type StartNodeRequest struct + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type StopNodeRequest struct + type Symptom struct + CreateTime string + Details string + ForceSendFields []string + NullFields []string + SymptomType string + WorkerId string + func (s *Symptom) MarshalJSON() ([]byte, error)