Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const BigqueryScope + const CloudPlatformScope + type Assignment struct + Assignee string + ForceSendFields []string + JobType string + Name string + NullFields []string + State string + func (s *Assignment) MarshalJSON() ([]byte, error) + type BiReservation struct + ForceSendFields []string + Name string + NullFields []string + Size int64 + UpdateTime string + func (s *BiReservation) MarshalJSON() ([]byte, error) + type CapacityCommitment struct + CommitmentEndTime string + FailureStatus *Status + ForceSendFields []string + Name string + NullFields []string + Plan string + RenewalPlan string + SlotCount int64 + State string + func (s *CapacityCommitment) MarshalJSON() ([]byte, error) + type CreateSlotPoolMetadata struct + ForceSendFields []string + NullFields []string + SlotPool string + func (s *CreateSlotPoolMetadata) MarshalJSON() ([]byte, error) + type Empty struct + type ListAssignmentsResponse struct + Assignments []*Assignment + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListAssignmentsResponse) MarshalJSON() ([]byte, error) + type ListCapacityCommitmentsResponse struct + CapacityCommitments []*CapacityCommitment + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *ListCapacityCommitmentsResponse) MarshalJSON() ([]byte, error) + type ListReservationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Reservations []*Reservation + func (s *ListReservationsResponse) MarshalJSON() ([]byte, error) + type MergeCapacityCommitmentsRequest struct + CapacityCommitmentIds []string + ForceSendFields []string + NullFields []string + func (s *MergeCapacityCommitmentsRequest) MarshalJSON() ([]byte, error) + type MoveAssignmentRequest struct + DestinationId string + ForceSendFields []string + NullFields []string + func (s *MoveAssignmentRequest) MarshalJSON() ([]byte, error) + type ProjectsLocationsCapacityCommitmentsCreateCall struct + func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsCreateCall + func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Do(opts ...googleapi.CallOption) (*CapacityCommitment, error) + func (c *ProjectsLocationsCapacityCommitmentsCreateCall) EnforceSingleAdminProjectPerOrg(enforceSingleAdminProjectPerOrg bool) *ProjectsLocationsCapacityCommitmentsCreateCall + func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsCreateCall + func (c *ProjectsLocationsCapacityCommitmentsCreateCall) Header() http.Header + type ProjectsLocationsCapacityCommitmentsDeleteCall struct + func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsDeleteCall + func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsDeleteCall + func (c *ProjectsLocationsCapacityCommitmentsDeleteCall) Header() http.Header + type ProjectsLocationsCapacityCommitmentsGetCall struct + func (c *ProjectsLocationsCapacityCommitmentsGetCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsGetCall + func (c *ProjectsLocationsCapacityCommitmentsGetCall) Do(opts ...googleapi.CallOption) (*CapacityCommitment, error) + func (c *ProjectsLocationsCapacityCommitmentsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsGetCall + func (c *ProjectsLocationsCapacityCommitmentsGetCall) Header() http.Header + func (c *ProjectsLocationsCapacityCommitmentsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCapacityCommitmentsGetCall + type ProjectsLocationsCapacityCommitmentsListCall struct + func (c *ProjectsLocationsCapacityCommitmentsListCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsListCall + func (c *ProjectsLocationsCapacityCommitmentsListCall) Do(opts ...googleapi.CallOption) (*ListCapacityCommitmentsResponse, error) + func (c *ProjectsLocationsCapacityCommitmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsListCall + func (c *ProjectsLocationsCapacityCommitmentsListCall) Header() http.Header + func (c *ProjectsLocationsCapacityCommitmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCapacityCommitmentsListCall + func (c *ProjectsLocationsCapacityCommitmentsListCall) PageSize(pageSize int64) *ProjectsLocationsCapacityCommitmentsListCall + func (c *ProjectsLocationsCapacityCommitmentsListCall) PageToken(pageToken string) *ProjectsLocationsCapacityCommitmentsListCall + func (c *ProjectsLocationsCapacityCommitmentsListCall) Pages(ctx context.Context, f func(*ListCapacityCommitmentsResponse) error) error + type ProjectsLocationsCapacityCommitmentsMergeCall struct + func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsMergeCall + func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Do(opts ...googleapi.CallOption) (*CapacityCommitment, error) + func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsMergeCall + func (c *ProjectsLocationsCapacityCommitmentsMergeCall) Header() http.Header + type ProjectsLocationsCapacityCommitmentsPatchCall struct + func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsPatchCall + func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Do(opts ...googleapi.CallOption) (*CapacityCommitment, error) + func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsPatchCall + func (c *ProjectsLocationsCapacityCommitmentsPatchCall) Header() http.Header + func (c *ProjectsLocationsCapacityCommitmentsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCapacityCommitmentsPatchCall + type ProjectsLocationsCapacityCommitmentsService struct + func NewProjectsLocationsCapacityCommitmentsService(s *Service) *ProjectsLocationsCapacityCommitmentsService + func (r *ProjectsLocationsCapacityCommitmentsService) Create(parent string, capacitycommitment *CapacityCommitment) *ProjectsLocationsCapacityCommitmentsCreateCall + func (r *ProjectsLocationsCapacityCommitmentsService) Delete(name string) *ProjectsLocationsCapacityCommitmentsDeleteCall + func (r *ProjectsLocationsCapacityCommitmentsService) Get(name string) *ProjectsLocationsCapacityCommitmentsGetCall + func (r *ProjectsLocationsCapacityCommitmentsService) List(parent string) *ProjectsLocationsCapacityCommitmentsListCall + func (r *ProjectsLocationsCapacityCommitmentsService) Merge(parent string, ...) *ProjectsLocationsCapacityCommitmentsMergeCall + func (r *ProjectsLocationsCapacityCommitmentsService) Patch(name string, capacitycommitment *CapacityCommitment) *ProjectsLocationsCapacityCommitmentsPatchCall + func (r *ProjectsLocationsCapacityCommitmentsService) Split(name string, splitcapacitycommitmentrequest *SplitCapacityCommitmentRequest) *ProjectsLocationsCapacityCommitmentsSplitCall + type ProjectsLocationsCapacityCommitmentsSplitCall struct + func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Context(ctx context.Context) *ProjectsLocationsCapacityCommitmentsSplitCall + func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Do(opts ...googleapi.CallOption) (*SplitCapacityCommitmentResponse, error) + func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Fields(s ...googleapi.Field) *ProjectsLocationsCapacityCommitmentsSplitCall + func (c *ProjectsLocationsCapacityCommitmentsSplitCall) Header() http.Header + type ProjectsLocationsGetBiReservationCall struct + func (c *ProjectsLocationsGetBiReservationCall) Context(ctx context.Context) *ProjectsLocationsGetBiReservationCall + func (c *ProjectsLocationsGetBiReservationCall) Do(opts ...googleapi.CallOption) (*BiReservation, error) + func (c *ProjectsLocationsGetBiReservationCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetBiReservationCall + func (c *ProjectsLocationsGetBiReservationCall) Header() http.Header + func (c *ProjectsLocationsGetBiReservationCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetBiReservationCall + type ProjectsLocationsReservationsAssignmentsCreateCall struct + func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Context(ctx context.Context) *ProjectsLocationsReservationsAssignmentsCreateCall + func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Do(opts ...googleapi.CallOption) (*Assignment, error) + func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsAssignmentsCreateCall + func (c *ProjectsLocationsReservationsAssignmentsCreateCall) Header() http.Header + type ProjectsLocationsReservationsAssignmentsDeleteCall struct + func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReservationsAssignmentsDeleteCall + func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsAssignmentsDeleteCall + func (c *ProjectsLocationsReservationsAssignmentsDeleteCall) Header() http.Header + type ProjectsLocationsReservationsAssignmentsListCall struct + func (c *ProjectsLocationsReservationsAssignmentsListCall) Context(ctx context.Context) *ProjectsLocationsReservationsAssignmentsListCall + func (c *ProjectsLocationsReservationsAssignmentsListCall) Do(opts ...googleapi.CallOption) (*ListAssignmentsResponse, error) + func (c *ProjectsLocationsReservationsAssignmentsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsAssignmentsListCall + func (c *ProjectsLocationsReservationsAssignmentsListCall) Header() http.Header + func (c *ProjectsLocationsReservationsAssignmentsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReservationsAssignmentsListCall + func (c *ProjectsLocationsReservationsAssignmentsListCall) PageSize(pageSize int64) *ProjectsLocationsReservationsAssignmentsListCall + func (c *ProjectsLocationsReservationsAssignmentsListCall) PageToken(pageToken string) *ProjectsLocationsReservationsAssignmentsListCall + func (c *ProjectsLocationsReservationsAssignmentsListCall) Pages(ctx context.Context, f func(*ListAssignmentsResponse) error) error + type ProjectsLocationsReservationsAssignmentsMoveCall struct + func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Context(ctx context.Context) *ProjectsLocationsReservationsAssignmentsMoveCall + func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Do(opts ...googleapi.CallOption) (*Assignment, error) + func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsAssignmentsMoveCall + func (c *ProjectsLocationsReservationsAssignmentsMoveCall) Header() http.Header + type ProjectsLocationsReservationsAssignmentsService struct + func NewProjectsLocationsReservationsAssignmentsService(s *Service) *ProjectsLocationsReservationsAssignmentsService + func (r *ProjectsLocationsReservationsAssignmentsService) Create(parent string, assignment *Assignment) *ProjectsLocationsReservationsAssignmentsCreateCall + func (r *ProjectsLocationsReservationsAssignmentsService) Delete(name string) *ProjectsLocationsReservationsAssignmentsDeleteCall + func (r *ProjectsLocationsReservationsAssignmentsService) List(parent string) *ProjectsLocationsReservationsAssignmentsListCall + func (r *ProjectsLocationsReservationsAssignmentsService) Move(name string, moveassignmentrequest *MoveAssignmentRequest) *ProjectsLocationsReservationsAssignmentsMoveCall + type ProjectsLocationsReservationsCreateCall struct + func (c *ProjectsLocationsReservationsCreateCall) Context(ctx context.Context) *ProjectsLocationsReservationsCreateCall + func (c *ProjectsLocationsReservationsCreateCall) Do(opts ...googleapi.CallOption) (*Reservation, error) + func (c *ProjectsLocationsReservationsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsCreateCall + func (c *ProjectsLocationsReservationsCreateCall) Header() http.Header + func (c *ProjectsLocationsReservationsCreateCall) ReservationId(reservationId string) *ProjectsLocationsReservationsCreateCall + type ProjectsLocationsReservationsDeleteCall struct + func (c *ProjectsLocationsReservationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsReservationsDeleteCall + func (c *ProjectsLocationsReservationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsReservationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsDeleteCall + func (c *ProjectsLocationsReservationsDeleteCall) Header() http.Header + type ProjectsLocationsReservationsGetCall struct + func (c *ProjectsLocationsReservationsGetCall) Context(ctx context.Context) *ProjectsLocationsReservationsGetCall + func (c *ProjectsLocationsReservationsGetCall) Do(opts ...googleapi.CallOption) (*Reservation, error) + func (c *ProjectsLocationsReservationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsGetCall + func (c *ProjectsLocationsReservationsGetCall) Header() http.Header + func (c *ProjectsLocationsReservationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsReservationsGetCall + type ProjectsLocationsReservationsListCall struct + func (c *ProjectsLocationsReservationsListCall) Context(ctx context.Context) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) Do(opts ...googleapi.CallOption) (*ListReservationsResponse, error) + func (c *ProjectsLocationsReservationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) Filter(filter string) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) Header() http.Header + func (c *ProjectsLocationsReservationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) PageSize(pageSize int64) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) PageToken(pageToken string) *ProjectsLocationsReservationsListCall + func (c *ProjectsLocationsReservationsListCall) Pages(ctx context.Context, f func(*ListReservationsResponse) error) error + type ProjectsLocationsReservationsPatchCall struct + func (c *ProjectsLocationsReservationsPatchCall) Context(ctx context.Context) *ProjectsLocationsReservationsPatchCall + func (c *ProjectsLocationsReservationsPatchCall) Do(opts ...googleapi.CallOption) (*Reservation, error) + func (c *ProjectsLocationsReservationsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsReservationsPatchCall + func (c *ProjectsLocationsReservationsPatchCall) Header() http.Header + func (c *ProjectsLocationsReservationsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsReservationsPatchCall + type ProjectsLocationsReservationsService struct + Assignments *ProjectsLocationsReservationsAssignmentsService + func NewProjectsLocationsReservationsService(s *Service) *ProjectsLocationsReservationsService + func (r *ProjectsLocationsReservationsService) Create(parent string, reservation *Reservation) *ProjectsLocationsReservationsCreateCall + func (r *ProjectsLocationsReservationsService) Delete(name string) *ProjectsLocationsReservationsDeleteCall + func (r *ProjectsLocationsReservationsService) Get(name string) *ProjectsLocationsReservationsGetCall + func (r *ProjectsLocationsReservationsService) List(parent string) *ProjectsLocationsReservationsListCall + func (r *ProjectsLocationsReservationsService) Patch(name string, reservation *Reservation) *ProjectsLocationsReservationsPatchCall + type ProjectsLocationsSearchAssignmentsCall struct + func (c *ProjectsLocationsSearchAssignmentsCall) Context(ctx context.Context) *ProjectsLocationsSearchAssignmentsCall + func (c *ProjectsLocationsSearchAssignmentsCall) Do(opts ...googleapi.CallOption) (*SearchAssignmentsResponse, error) + func (c *ProjectsLocationsSearchAssignmentsCall) Fields(s ...googleapi.Field) *ProjectsLocationsSearchAssignmentsCall + func (c *ProjectsLocationsSearchAssignmentsCall) Header() http.Header + func (c *ProjectsLocationsSearchAssignmentsCall) IfNoneMatch(entityTag string) *ProjectsLocationsSearchAssignmentsCall + func (c *ProjectsLocationsSearchAssignmentsCall) PageSize(pageSize int64) *ProjectsLocationsSearchAssignmentsCall + func (c *ProjectsLocationsSearchAssignmentsCall) PageToken(pageToken string) *ProjectsLocationsSearchAssignmentsCall + func (c *ProjectsLocationsSearchAssignmentsCall) Pages(ctx context.Context, f func(*SearchAssignmentsResponse) error) error + func (c *ProjectsLocationsSearchAssignmentsCall) Query(query string) *ProjectsLocationsSearchAssignmentsCall + type ProjectsLocationsService struct + CapacityCommitments *ProjectsLocationsCapacityCommitmentsService + Reservations *ProjectsLocationsReservationsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) GetBiReservation(name string) *ProjectsLocationsGetBiReservationCall + func (r *ProjectsLocationsService) SearchAssignments(parent string) *ProjectsLocationsSearchAssignmentsCall + func (r *ProjectsLocationsService) UpdateBiReservation(name string, bireservation *BiReservation) *ProjectsLocationsUpdateBiReservationCall + type ProjectsLocationsUpdateBiReservationCall struct + func (c *ProjectsLocationsUpdateBiReservationCall) Context(ctx context.Context) *ProjectsLocationsUpdateBiReservationCall + func (c *ProjectsLocationsUpdateBiReservationCall) Do(opts ...googleapi.CallOption) (*BiReservation, error) + func (c *ProjectsLocationsUpdateBiReservationCall) Fields(s ...googleapi.Field) *ProjectsLocationsUpdateBiReservationCall + func (c *ProjectsLocationsUpdateBiReservationCall) Header() http.Header + func (c *ProjectsLocationsUpdateBiReservationCall) UpdateMask(updateMask string) *ProjectsLocationsUpdateBiReservationCall + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type Reservation struct + ForceSendFields []string + IgnoreIdleSlots bool + Name string + NullFields []string + SlotCapacity int64 + func (s *Reservation) MarshalJSON() ([]byte, error) + type SearchAssignmentsResponse struct + Assignments []*Assignment + ForceSendFields []string + NextPageToken string + NullFields []string + func (s *SearchAssignmentsResponse) 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 SplitCapacityCommitmentRequest struct + ForceSendFields []string + NullFields []string + SlotCount int64 + func (s *SplitCapacityCommitmentRequest) MarshalJSON() ([]byte, error) + type SplitCapacityCommitmentResponse struct + First *CapacityCommitment + ForceSendFields []string + NullFields []string + Second *CapacityCommitment + func (s *SplitCapacityCommitmentResponse) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error)