Documentation ¶
Index ¶
- Variables
- func RegisterReservationServiceServer(s *grpc.Server, srv ReservationServiceServer)
- type Assignment
- func (*Assignment) Descriptor() ([]byte, []int)
- func (m *Assignment) GetAssignee() string
- func (m *Assignment) GetJobType() Assignment_JobType
- func (m *Assignment) GetName() string
- func (m *Assignment) GetState() Assignment_State
- func (*Assignment) ProtoMessage()
- func (m *Assignment) Reset()
- func (m *Assignment) String() string
- func (m *Assignment) XXX_DiscardUnknown()
- func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Assignment) XXX_Merge(src proto.Message)
- func (m *Assignment) XXX_Size() int
- func (m *Assignment) XXX_Unmarshal(b []byte) error
- type Assignment_JobType
- type Assignment_State
- type BiReservation
- func (*BiReservation) Descriptor() ([]byte, []int)
- func (m *BiReservation) GetName() string
- func (m *BiReservation) GetSize() int64
- func (m *BiReservation) GetUpdateTime() *timestamp.Timestamp
- func (*BiReservation) ProtoMessage()
- func (m *BiReservation) Reset()
- func (m *BiReservation) String() string
- func (m *BiReservation) XXX_DiscardUnknown()
- func (m *BiReservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BiReservation) XXX_Merge(src proto.Message)
- func (m *BiReservation) XXX_Size() int
- func (m *BiReservation) XXX_Unmarshal(b []byte) error
- type CapacityCommitment
- func (*CapacityCommitment) Descriptor() ([]byte, []int)
- func (m *CapacityCommitment) GetCommitmentEndTime() *timestamp.Timestamp
- func (m *CapacityCommitment) GetFailureStatus() *status.Status
- func (m *CapacityCommitment) GetName() string
- func (m *CapacityCommitment) GetPlan() CapacityCommitment_CommitmentPlan
- func (m *CapacityCommitment) GetRenewalPlan() CapacityCommitment_CommitmentPlan
- func (m *CapacityCommitment) GetSlotCount() int64
- func (m *CapacityCommitment) GetState() CapacityCommitment_State
- func (*CapacityCommitment) ProtoMessage()
- func (m *CapacityCommitment) Reset()
- func (m *CapacityCommitment) String() string
- func (m *CapacityCommitment) XXX_DiscardUnknown()
- func (m *CapacityCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CapacityCommitment) XXX_Merge(src proto.Message)
- func (m *CapacityCommitment) XXX_Size() int
- func (m *CapacityCommitment) XXX_Unmarshal(b []byte) error
- type CapacityCommitment_CommitmentPlan
- type CapacityCommitment_State
- type CreateAssignmentRequest
- func (*CreateAssignmentRequest) Descriptor() ([]byte, []int)
- func (m *CreateAssignmentRequest) GetAssignment() *Assignment
- func (m *CreateAssignmentRequest) GetParent() string
- func (*CreateAssignmentRequest) ProtoMessage()
- func (m *CreateAssignmentRequest) Reset()
- func (m *CreateAssignmentRequest) String() string
- func (m *CreateAssignmentRequest) XXX_DiscardUnknown()
- func (m *CreateAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateAssignmentRequest) XXX_Merge(src proto.Message)
- func (m *CreateAssignmentRequest) XXX_Size() int
- func (m *CreateAssignmentRequest) XXX_Unmarshal(b []byte) error
- type CreateCapacityCommitmentRequest
- func (*CreateCapacityCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *CreateCapacityCommitmentRequest) GetCapacityCommitment() *CapacityCommitment
- func (m *CreateCapacityCommitmentRequest) GetEnforceSingleAdminProjectPerOrg() bool
- func (m *CreateCapacityCommitmentRequest) GetParent() string
- func (*CreateCapacityCommitmentRequest) ProtoMessage()
- func (m *CreateCapacityCommitmentRequest) Reset()
- func (m *CreateCapacityCommitmentRequest) String() string
- func (m *CreateCapacityCommitmentRequest) XXX_DiscardUnknown()
- func (m *CreateCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateCapacityCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *CreateCapacityCommitmentRequest) XXX_Size() int
- func (m *CreateCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
- type CreateReservationRequest
- func (*CreateReservationRequest) Descriptor() ([]byte, []int)
- func (m *CreateReservationRequest) GetParent() string
- func (m *CreateReservationRequest) GetReservation() *Reservation
- func (m *CreateReservationRequest) GetReservationId() string
- func (*CreateReservationRequest) ProtoMessage()
- func (m *CreateReservationRequest) Reset()
- func (m *CreateReservationRequest) String() string
- func (m *CreateReservationRequest) XXX_DiscardUnknown()
- func (m *CreateReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateReservationRequest) XXX_Merge(src proto.Message)
- func (m *CreateReservationRequest) XXX_Size() int
- func (m *CreateReservationRequest) XXX_Unmarshal(b []byte) error
- type DeleteAssignmentRequest
- func (*DeleteAssignmentRequest) Descriptor() ([]byte, []int)
- func (m *DeleteAssignmentRequest) GetName() string
- func (*DeleteAssignmentRequest) ProtoMessage()
- func (m *DeleteAssignmentRequest) Reset()
- func (m *DeleteAssignmentRequest) String() string
- func (m *DeleteAssignmentRequest) XXX_DiscardUnknown()
- func (m *DeleteAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAssignmentRequest) XXX_Merge(src proto.Message)
- func (m *DeleteAssignmentRequest) XXX_Size() int
- func (m *DeleteAssignmentRequest) XXX_Unmarshal(b []byte) error
- type DeleteCapacityCommitmentRequest
- func (*DeleteCapacityCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *DeleteCapacityCommitmentRequest) GetName() string
- func (*DeleteCapacityCommitmentRequest) ProtoMessage()
- func (m *DeleteCapacityCommitmentRequest) Reset()
- func (m *DeleteCapacityCommitmentRequest) String() string
- func (m *DeleteCapacityCommitmentRequest) XXX_DiscardUnknown()
- func (m *DeleteCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteCapacityCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *DeleteCapacityCommitmentRequest) XXX_Size() int
- func (m *DeleteCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
- type DeleteReservationRequest
- func (*DeleteReservationRequest) Descriptor() ([]byte, []int)
- func (m *DeleteReservationRequest) GetName() string
- func (*DeleteReservationRequest) ProtoMessage()
- func (m *DeleteReservationRequest) Reset()
- func (m *DeleteReservationRequest) String() string
- func (m *DeleteReservationRequest) XXX_DiscardUnknown()
- func (m *DeleteReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteReservationRequest) XXX_Merge(src proto.Message)
- func (m *DeleteReservationRequest) XXX_Size() int
- func (m *DeleteReservationRequest) XXX_Unmarshal(b []byte) error
- type GetBiReservationRequest
- func (*GetBiReservationRequest) Descriptor() ([]byte, []int)
- func (m *GetBiReservationRequest) GetName() string
- func (*GetBiReservationRequest) ProtoMessage()
- func (m *GetBiReservationRequest) Reset()
- func (m *GetBiReservationRequest) String() string
- func (m *GetBiReservationRequest) XXX_DiscardUnknown()
- func (m *GetBiReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBiReservationRequest) XXX_Merge(src proto.Message)
- func (m *GetBiReservationRequest) XXX_Size() int
- func (m *GetBiReservationRequest) XXX_Unmarshal(b []byte) error
- type GetCapacityCommitmentRequest
- func (*GetCapacityCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *GetCapacityCommitmentRequest) GetName() string
- func (*GetCapacityCommitmentRequest) ProtoMessage()
- func (m *GetCapacityCommitmentRequest) Reset()
- func (m *GetCapacityCommitmentRequest) String() string
- func (m *GetCapacityCommitmentRequest) XXX_DiscardUnknown()
- func (m *GetCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetCapacityCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *GetCapacityCommitmentRequest) XXX_Size() int
- func (m *GetCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
- type GetReservationRequest
- func (*GetReservationRequest) Descriptor() ([]byte, []int)
- func (m *GetReservationRequest) GetName() string
- func (*GetReservationRequest) ProtoMessage()
- func (m *GetReservationRequest) Reset()
- func (m *GetReservationRequest) String() string
- func (m *GetReservationRequest) XXX_DiscardUnknown()
- func (m *GetReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReservationRequest) XXX_Merge(src proto.Message)
- func (m *GetReservationRequest) XXX_Size() int
- func (m *GetReservationRequest) XXX_Unmarshal(b []byte) error
- type ListAssignmentsRequest
- func (*ListAssignmentsRequest) Descriptor() ([]byte, []int)
- func (m *ListAssignmentsRequest) GetPageSize() int32
- func (m *ListAssignmentsRequest) GetPageToken() string
- func (m *ListAssignmentsRequest) GetParent() string
- func (*ListAssignmentsRequest) ProtoMessage()
- func (m *ListAssignmentsRequest) Reset()
- func (m *ListAssignmentsRequest) String() string
- func (m *ListAssignmentsRequest) XXX_DiscardUnknown()
- func (m *ListAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAssignmentsRequest) XXX_Merge(src proto.Message)
- func (m *ListAssignmentsRequest) XXX_Size() int
- func (m *ListAssignmentsRequest) XXX_Unmarshal(b []byte) error
- type ListAssignmentsResponse
- func (*ListAssignmentsResponse) Descriptor() ([]byte, []int)
- func (m *ListAssignmentsResponse) GetAssignments() []*Assignment
- func (m *ListAssignmentsResponse) GetNextPageToken() string
- func (*ListAssignmentsResponse) ProtoMessage()
- func (m *ListAssignmentsResponse) Reset()
- func (m *ListAssignmentsResponse) String() string
- func (m *ListAssignmentsResponse) XXX_DiscardUnknown()
- func (m *ListAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListAssignmentsResponse) XXX_Merge(src proto.Message)
- func (m *ListAssignmentsResponse) XXX_Size() int
- func (m *ListAssignmentsResponse) XXX_Unmarshal(b []byte) error
- type ListCapacityCommitmentsRequest
- func (*ListCapacityCommitmentsRequest) Descriptor() ([]byte, []int)
- func (m *ListCapacityCommitmentsRequest) GetPageSize() int32
- func (m *ListCapacityCommitmentsRequest) GetPageToken() string
- func (m *ListCapacityCommitmentsRequest) GetParent() string
- func (*ListCapacityCommitmentsRequest) ProtoMessage()
- func (m *ListCapacityCommitmentsRequest) Reset()
- func (m *ListCapacityCommitmentsRequest) String() string
- func (m *ListCapacityCommitmentsRequest) XXX_DiscardUnknown()
- func (m *ListCapacityCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCapacityCommitmentsRequest) XXX_Merge(src proto.Message)
- func (m *ListCapacityCommitmentsRequest) XXX_Size() int
- func (m *ListCapacityCommitmentsRequest) XXX_Unmarshal(b []byte) error
- type ListCapacityCommitmentsResponse
- func (*ListCapacityCommitmentsResponse) Descriptor() ([]byte, []int)
- func (m *ListCapacityCommitmentsResponse) GetCapacityCommitments() []*CapacityCommitment
- func (m *ListCapacityCommitmentsResponse) GetNextPageToken() string
- func (*ListCapacityCommitmentsResponse) ProtoMessage()
- func (m *ListCapacityCommitmentsResponse) Reset()
- func (m *ListCapacityCommitmentsResponse) String() string
- func (m *ListCapacityCommitmentsResponse) XXX_DiscardUnknown()
- func (m *ListCapacityCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListCapacityCommitmentsResponse) XXX_Merge(src proto.Message)
- func (m *ListCapacityCommitmentsResponse) XXX_Size() int
- func (m *ListCapacityCommitmentsResponse) XXX_Unmarshal(b []byte) error
- type ListReservationsRequest
- func (*ListReservationsRequest) Descriptor() ([]byte, []int)
- func (m *ListReservationsRequest) GetPageSize() int32
- func (m *ListReservationsRequest) GetPageToken() string
- func (m *ListReservationsRequest) GetParent() string
- func (*ListReservationsRequest) ProtoMessage()
- func (m *ListReservationsRequest) Reset()
- func (m *ListReservationsRequest) String() string
- func (m *ListReservationsRequest) XXX_DiscardUnknown()
- func (m *ListReservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReservationsRequest) XXX_Merge(src proto.Message)
- func (m *ListReservationsRequest) XXX_Size() int
- func (m *ListReservationsRequest) XXX_Unmarshal(b []byte) error
- type ListReservationsResponse
- func (*ListReservationsResponse) Descriptor() ([]byte, []int)
- func (m *ListReservationsResponse) GetNextPageToken() string
- func (m *ListReservationsResponse) GetReservations() []*Reservation
- func (*ListReservationsResponse) ProtoMessage()
- func (m *ListReservationsResponse) Reset()
- func (m *ListReservationsResponse) String() string
- func (m *ListReservationsResponse) XXX_DiscardUnknown()
- func (m *ListReservationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReservationsResponse) XXX_Merge(src proto.Message)
- func (m *ListReservationsResponse) XXX_Size() int
- func (m *ListReservationsResponse) XXX_Unmarshal(b []byte) error
- type MergeCapacityCommitmentsRequest
- func (*MergeCapacityCommitmentsRequest) Descriptor() ([]byte, []int)
- func (m *MergeCapacityCommitmentsRequest) GetCapacityCommitmentIds() []string
- func (m *MergeCapacityCommitmentsRequest) GetParent() string
- func (*MergeCapacityCommitmentsRequest) ProtoMessage()
- func (m *MergeCapacityCommitmentsRequest) Reset()
- func (m *MergeCapacityCommitmentsRequest) String() string
- func (m *MergeCapacityCommitmentsRequest) XXX_DiscardUnknown()
- func (m *MergeCapacityCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MergeCapacityCommitmentsRequest) XXX_Merge(src proto.Message)
- func (m *MergeCapacityCommitmentsRequest) XXX_Size() int
- func (m *MergeCapacityCommitmentsRequest) XXX_Unmarshal(b []byte) error
- type MoveAssignmentRequest
- func (*MoveAssignmentRequest) Descriptor() ([]byte, []int)
- func (m *MoveAssignmentRequest) GetDestinationId() string
- func (m *MoveAssignmentRequest) GetName() string
- func (*MoveAssignmentRequest) ProtoMessage()
- func (m *MoveAssignmentRequest) Reset()
- func (m *MoveAssignmentRequest) String() string
- func (m *MoveAssignmentRequest) XXX_DiscardUnknown()
- func (m *MoveAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MoveAssignmentRequest) XXX_Merge(src proto.Message)
- func (m *MoveAssignmentRequest) XXX_Size() int
- func (m *MoveAssignmentRequest) XXX_Unmarshal(b []byte) error
- type Reservation
- func (*Reservation) Descriptor() ([]byte, []int)
- func (m *Reservation) GetIgnoreIdleSlots() bool
- func (m *Reservation) GetName() string
- func (m *Reservation) GetSlotCapacity() int64
- func (*Reservation) ProtoMessage()
- func (m *Reservation) Reset()
- func (m *Reservation) String() string
- func (m *Reservation) XXX_DiscardUnknown()
- func (m *Reservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reservation) XXX_Merge(src proto.Message)
- func (m *Reservation) XXX_Size() int
- func (m *Reservation) XXX_Unmarshal(b []byte) error
- type ReservationServiceClient
- type ReservationServiceServer
- type SearchAssignmentsRequest
- func (*SearchAssignmentsRequest) Descriptor() ([]byte, []int)
- func (m *SearchAssignmentsRequest) GetPageSize() int32
- func (m *SearchAssignmentsRequest) GetPageToken() string
- func (m *SearchAssignmentsRequest) GetParent() string
- func (m *SearchAssignmentsRequest) GetQuery() string
- func (*SearchAssignmentsRequest) ProtoMessage()
- func (m *SearchAssignmentsRequest) Reset()
- func (m *SearchAssignmentsRequest) String() string
- func (m *SearchAssignmentsRequest) XXX_DiscardUnknown()
- func (m *SearchAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAssignmentsRequest) XXX_Merge(src proto.Message)
- func (m *SearchAssignmentsRequest) XXX_Size() int
- func (m *SearchAssignmentsRequest) XXX_Unmarshal(b []byte) error
- type SearchAssignmentsResponse
- func (*SearchAssignmentsResponse) Descriptor() ([]byte, []int)
- func (m *SearchAssignmentsResponse) GetAssignments() []*Assignment
- func (m *SearchAssignmentsResponse) GetNextPageToken() string
- func (*SearchAssignmentsResponse) ProtoMessage()
- func (m *SearchAssignmentsResponse) Reset()
- func (m *SearchAssignmentsResponse) String() string
- func (m *SearchAssignmentsResponse) XXX_DiscardUnknown()
- func (m *SearchAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchAssignmentsResponse) XXX_Merge(src proto.Message)
- func (m *SearchAssignmentsResponse) XXX_Size() int
- func (m *SearchAssignmentsResponse) XXX_Unmarshal(b []byte) error
- type SplitCapacityCommitmentRequest
- func (*SplitCapacityCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *SplitCapacityCommitmentRequest) GetName() string
- func (m *SplitCapacityCommitmentRequest) GetSlotCount() int64
- func (*SplitCapacityCommitmentRequest) ProtoMessage()
- func (m *SplitCapacityCommitmentRequest) Reset()
- func (m *SplitCapacityCommitmentRequest) String() string
- func (m *SplitCapacityCommitmentRequest) XXX_DiscardUnknown()
- func (m *SplitCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitCapacityCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *SplitCapacityCommitmentRequest) XXX_Size() int
- func (m *SplitCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
- type SplitCapacityCommitmentResponse
- func (*SplitCapacityCommitmentResponse) Descriptor() ([]byte, []int)
- func (m *SplitCapacityCommitmentResponse) GetFirst() *CapacityCommitment
- func (m *SplitCapacityCommitmentResponse) GetSecond() *CapacityCommitment
- func (*SplitCapacityCommitmentResponse) ProtoMessage()
- func (m *SplitCapacityCommitmentResponse) Reset()
- func (m *SplitCapacityCommitmentResponse) String() string
- func (m *SplitCapacityCommitmentResponse) XXX_DiscardUnknown()
- func (m *SplitCapacityCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SplitCapacityCommitmentResponse) XXX_Merge(src proto.Message)
- func (m *SplitCapacityCommitmentResponse) XXX_Size() int
- func (m *SplitCapacityCommitmentResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedReservationServiceServer
- func (*UnimplementedReservationServiceServer) CreateAssignment(ctx context.Context, req *CreateAssignmentRequest) (*Assignment, error)
- func (*UnimplementedReservationServiceServer) CreateCapacityCommitment(ctx context.Context, req *CreateCapacityCommitmentRequest) (*CapacityCommitment, error)
- func (*UnimplementedReservationServiceServer) CreateReservation(ctx context.Context, req *CreateReservationRequest) (*Reservation, error)
- func (*UnimplementedReservationServiceServer) DeleteAssignment(ctx context.Context, req *DeleteAssignmentRequest) (*empty.Empty, error)
- func (*UnimplementedReservationServiceServer) DeleteCapacityCommitment(ctx context.Context, req *DeleteCapacityCommitmentRequest) (*empty.Empty, error)
- func (*UnimplementedReservationServiceServer) DeleteReservation(ctx context.Context, req *DeleteReservationRequest) (*empty.Empty, error)
- func (*UnimplementedReservationServiceServer) GetBiReservation(ctx context.Context, req *GetBiReservationRequest) (*BiReservation, error)
- func (*UnimplementedReservationServiceServer) GetCapacityCommitment(ctx context.Context, req *GetCapacityCommitmentRequest) (*CapacityCommitment, error)
- func (*UnimplementedReservationServiceServer) GetReservation(ctx context.Context, req *GetReservationRequest) (*Reservation, error)
- func (*UnimplementedReservationServiceServer) ListAssignments(ctx context.Context, req *ListAssignmentsRequest) (*ListAssignmentsResponse, error)
- func (*UnimplementedReservationServiceServer) ListCapacityCommitments(ctx context.Context, req *ListCapacityCommitmentsRequest) (*ListCapacityCommitmentsResponse, error)
- func (*UnimplementedReservationServiceServer) ListReservations(ctx context.Context, req *ListReservationsRequest) (*ListReservationsResponse, error)
- func (*UnimplementedReservationServiceServer) MergeCapacityCommitments(ctx context.Context, req *MergeCapacityCommitmentsRequest) (*CapacityCommitment, error)
- func (*UnimplementedReservationServiceServer) MoveAssignment(ctx context.Context, req *MoveAssignmentRequest) (*Assignment, error)
- func (*UnimplementedReservationServiceServer) SearchAssignments(ctx context.Context, req *SearchAssignmentsRequest) (*SearchAssignmentsResponse, error)
- func (*UnimplementedReservationServiceServer) SplitCapacityCommitment(ctx context.Context, req *SplitCapacityCommitmentRequest) (*SplitCapacityCommitmentResponse, error)
- func (*UnimplementedReservationServiceServer) UpdateBiReservation(ctx context.Context, req *UpdateBiReservationRequest) (*BiReservation, error)
- func (*UnimplementedReservationServiceServer) UpdateCapacityCommitment(ctx context.Context, req *UpdateCapacityCommitmentRequest) (*CapacityCommitment, error)
- func (*UnimplementedReservationServiceServer) UpdateReservation(ctx context.Context, req *UpdateReservationRequest) (*Reservation, error)
- type UpdateBiReservationRequest
- func (*UpdateBiReservationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateBiReservationRequest) GetBiReservation() *BiReservation
- func (m *UpdateBiReservationRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateBiReservationRequest) ProtoMessage()
- func (m *UpdateBiReservationRequest) Reset()
- func (m *UpdateBiReservationRequest) String() string
- func (m *UpdateBiReservationRequest) XXX_DiscardUnknown()
- func (m *UpdateBiReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBiReservationRequest) XXX_Merge(src proto.Message)
- func (m *UpdateBiReservationRequest) XXX_Size() int
- func (m *UpdateBiReservationRequest) XXX_Unmarshal(b []byte) error
- type UpdateCapacityCommitmentRequest
- func (*UpdateCapacityCommitmentRequest) Descriptor() ([]byte, []int)
- func (m *UpdateCapacityCommitmentRequest) GetCapacityCommitment() *CapacityCommitment
- func (m *UpdateCapacityCommitmentRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateCapacityCommitmentRequest) ProtoMessage()
- func (m *UpdateCapacityCommitmentRequest) Reset()
- func (m *UpdateCapacityCommitmentRequest) String() string
- func (m *UpdateCapacityCommitmentRequest) XXX_DiscardUnknown()
- func (m *UpdateCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateCapacityCommitmentRequest) XXX_Merge(src proto.Message)
- func (m *UpdateCapacityCommitmentRequest) XXX_Size() int
- func (m *UpdateCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
- type UpdateReservationRequest
- func (*UpdateReservationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateReservationRequest) GetReservation() *Reservation
- func (m *UpdateReservationRequest) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateReservationRequest) ProtoMessage()
- func (m *UpdateReservationRequest) Reset()
- func (m *UpdateReservationRequest) String() string
- func (m *UpdateReservationRequest) XXX_DiscardUnknown()
- func (m *UpdateReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateReservationRequest) XXX_Merge(src proto.Message)
- func (m *UpdateReservationRequest) XXX_Size() int
- func (m *UpdateReservationRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var Assignment_JobType_name = map[int32]string{
0: "JOB_TYPE_UNSPECIFIED",
1: "PIPELINE",
2: "QUERY",
}
var Assignment_JobType_value = map[string]int32{
"JOB_TYPE_UNSPECIFIED": 0,
"PIPELINE": 1,
"QUERY": 2,
}
var Assignment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "ACTIVE",
}
var Assignment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"ACTIVE": 2,
}
var CapacityCommitment_CommitmentPlan_name = map[int32]string{
0: "COMMITMENT_PLAN_UNSPECIFIED",
3: "FLEX",
5: "TRIAL",
2: "MONTHLY",
4: "ANNUAL",
}
var CapacityCommitment_CommitmentPlan_value = map[string]int32{
"COMMITMENT_PLAN_UNSPECIFIED": 0,
"FLEX": 3,
"TRIAL": 5,
"MONTHLY": 2,
"ANNUAL": 4,
}
var CapacityCommitment_State_name = map[int32]string{
0: "STATE_UNSPECIFIED",
1: "PENDING",
2: "ACTIVE",
3: "FAILED",
}
var CapacityCommitment_State_value = map[string]int32{
"STATE_UNSPECIFIED": 0,
"PENDING": 1,
"ACTIVE": 2,
"FAILED": 3,
}
Functions ¶
func RegisterReservationServiceServer ¶
func RegisterReservationServiceServer(s *grpc.Server, srv ReservationServiceServer)
Types ¶
type Assignment ¶
type Assignment struct { // Output only. Name of the resource. E.g.: // `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource which will use the reservation. E.g. // `projects/myproject`, `folders/123`, or `organizations/456`. Assignee string `protobuf:"bytes,4,opt,name=assignee,proto3" json:"assignee,omitempty"` // Which type of jobs will use the reservation. JobType Assignment_JobType `` /* 144-byte string literal not displayed */ // Output only. State of the assignment. State Assignment_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.cloud.bigquery.reservation.v1.Assignment_State" json:"state,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A Assignment allows a project to submit jobs of a certain type using slots from the specified reservation.
func (*Assignment) Descriptor ¶
func (*Assignment) Descriptor() ([]byte, []int)
func (*Assignment) GetAssignee ¶
func (m *Assignment) GetAssignee() string
func (*Assignment) GetJobType ¶
func (m *Assignment) GetJobType() Assignment_JobType
func (*Assignment) GetName ¶
func (m *Assignment) GetName() string
func (*Assignment) GetState ¶
func (m *Assignment) GetState() Assignment_State
func (*Assignment) ProtoMessage ¶
func (*Assignment) ProtoMessage()
func (*Assignment) Reset ¶
func (m *Assignment) Reset()
func (*Assignment) String ¶
func (m *Assignment) String() string
func (*Assignment) XXX_DiscardUnknown ¶
func (m *Assignment) XXX_DiscardUnknown()
func (*Assignment) XXX_Marshal ¶
func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Assignment) XXX_Merge ¶
func (m *Assignment) XXX_Merge(src proto.Message)
func (*Assignment) XXX_Size ¶
func (m *Assignment) XXX_Size() int
func (*Assignment) XXX_Unmarshal ¶
func (m *Assignment) XXX_Unmarshal(b []byte) error
type Assignment_JobType ¶
type Assignment_JobType int32
Types of job, which could be specified when using the reservation.
const ( // Invalid type. Requests with this value will be rejected with // error code `google.rpc.Code.INVALID_ARGUMENT`. Assignment_JOB_TYPE_UNSPECIFIED Assignment_JobType = 0 // Pipeline (load/export) jobs from the project will use the reservation. Assignment_PIPELINE Assignment_JobType = 1 // Query jobs from the project will use the reservation. Assignment_QUERY Assignment_JobType = 2 )
func (Assignment_JobType) EnumDescriptor ¶
func (Assignment_JobType) EnumDescriptor() ([]byte, []int)
func (Assignment_JobType) String ¶
func (x Assignment_JobType) String() string
type Assignment_State ¶
type Assignment_State int32
Assignment will remain in PENDING state if no active capacity commitment is present. It will become ACTIVE when some capacity commitment becomes active.
const ( // Invalid state value. Assignment_STATE_UNSPECIFIED Assignment_State = 0 // Queries from assignee will be executed as on-demand, if related // assignment is pending. Assignment_PENDING Assignment_State = 1 // Assignment is ready. Assignment_ACTIVE Assignment_State = 2 )
func (Assignment_State) EnumDescriptor ¶
func (Assignment_State) EnumDescriptor() ([]byte, []int)
func (Assignment_State) String ¶
func (x Assignment_State) String() string
type BiReservation ¶
type BiReservation struct { // The resource name of the singleton BI reservation. // Reservation names have the form // `projects/{project_id}/locations/{location_id}/bireservation`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The last update timestamp of a reservation. UpdateTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Size of a reservation, in bytes. Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a BI Reservation.
func (*BiReservation) Descriptor ¶
func (*BiReservation) Descriptor() ([]byte, []int)
func (*BiReservation) GetName ¶
func (m *BiReservation) GetName() string
func (*BiReservation) GetSize ¶
func (m *BiReservation) GetSize() int64
func (*BiReservation) GetUpdateTime ¶
func (m *BiReservation) GetUpdateTime() *timestamp.Timestamp
func (*BiReservation) ProtoMessage ¶
func (*BiReservation) ProtoMessage()
func (*BiReservation) Reset ¶
func (m *BiReservation) Reset()
func (*BiReservation) String ¶
func (m *BiReservation) String() string
func (*BiReservation) XXX_DiscardUnknown ¶
func (m *BiReservation) XXX_DiscardUnknown()
func (*BiReservation) XXX_Marshal ¶
func (m *BiReservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BiReservation) XXX_Merge ¶
func (m *BiReservation) XXX_Merge(src proto.Message)
func (*BiReservation) XXX_Size ¶
func (m *BiReservation) XXX_Size() int
func (*BiReservation) XXX_Unmarshal ¶
func (m *BiReservation) XXX_Unmarshal(b []byte) error
type CapacityCommitment ¶
type CapacityCommitment struct { // Output only. The resource name of the capacity commitment, e.g., // `projects/myproject/locations/US/capacityCommitments/123` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Number of slots in this commitment. SlotCount int64 `protobuf:"varint,2,opt,name=slot_count,json=slotCount,proto3" json:"slot_count,omitempty"` // Capacity commitment commitment plan. Plan CapacityCommitment_CommitmentPlan `` /* 138-byte string literal not displayed */ // Output only. State of the commitment. State CapacityCommitment_State `` /* 131-byte string literal not displayed */ // Output only. The end of the current commitment period. It is applicable // only for ACTIVE capacity commitments. CommitmentEndTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=commitment_end_time,json=commitmentEndTime,proto3" json:"commitment_end_time,omitempty"` // Output only. For FAILED commitment plan, provides the reason of failure. FailureStatus *status.Status `protobuf:"bytes,7,opt,name=failure_status,json=failureStatus,proto3" json:"failure_status,omitempty"` // The plan this capacity commitment is converted to after commitment_end_time // passes. Once the plan is changed, committed period is extended according to // commitment plan. Only applicable for ANNUAL and TRIAL commitments. RenewalPlan CapacityCommitment_CommitmentPlan `` /* 171-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Capacity commitment is a way to purchase compute capacity for BigQuery jobs (in the form of slots) with some committed period of usage. Annual commitments renew by default. Commitments can be removed after their commitment end time passes.
In order to remove annual commitment, its plan needs to be changed to monthly or flex first.
A capacity commitment resource exists as a child resource of the admin project.
func (*CapacityCommitment) Descriptor ¶
func (*CapacityCommitment) Descriptor() ([]byte, []int)
func (*CapacityCommitment) GetCommitmentEndTime ¶
func (m *CapacityCommitment) GetCommitmentEndTime() *timestamp.Timestamp
func (*CapacityCommitment) GetFailureStatus ¶
func (m *CapacityCommitment) GetFailureStatus() *status.Status
func (*CapacityCommitment) GetName ¶
func (m *CapacityCommitment) GetName() string
func (*CapacityCommitment) GetPlan ¶
func (m *CapacityCommitment) GetPlan() CapacityCommitment_CommitmentPlan
func (*CapacityCommitment) GetRenewalPlan ¶
func (m *CapacityCommitment) GetRenewalPlan() CapacityCommitment_CommitmentPlan
func (*CapacityCommitment) GetSlotCount ¶
func (m *CapacityCommitment) GetSlotCount() int64
func (*CapacityCommitment) GetState ¶
func (m *CapacityCommitment) GetState() CapacityCommitment_State
func (*CapacityCommitment) ProtoMessage ¶
func (*CapacityCommitment) ProtoMessage()
func (*CapacityCommitment) Reset ¶
func (m *CapacityCommitment) Reset()
func (*CapacityCommitment) String ¶
func (m *CapacityCommitment) String() string
func (*CapacityCommitment) XXX_DiscardUnknown ¶
func (m *CapacityCommitment) XXX_DiscardUnknown()
func (*CapacityCommitment) XXX_Marshal ¶
func (m *CapacityCommitment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CapacityCommitment) XXX_Merge ¶
func (m *CapacityCommitment) XXX_Merge(src proto.Message)
func (*CapacityCommitment) XXX_Size ¶
func (m *CapacityCommitment) XXX_Size() int
func (*CapacityCommitment) XXX_Unmarshal ¶
func (m *CapacityCommitment) XXX_Unmarshal(b []byte) error
type CapacityCommitment_CommitmentPlan ¶
type CapacityCommitment_CommitmentPlan int32
Commitment plan defines the current committed period. Capacity commitment cannot be deleted during it's committed period.
const ( // Invalid plan value. Requests with this value will be rejected with // error code `google.rpc.Code.INVALID_ARGUMENT`. CapacityCommitment_COMMITMENT_PLAN_UNSPECIFIED CapacityCommitment_CommitmentPlan = 0 // Flex commitments have committed period of 1 minute after becoming ACTIVE. // After that, they are not in a committed period anymore and can be removed // any time. CapacityCommitment_FLEX CapacityCommitment_CommitmentPlan = 3 // Trial commitments have a committed period of 182 days after becoming // ACTIVE. After that, they are converted to a new commitment based on the // `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so // that it can be deleted right after committed period ends. CapacityCommitment_TRIAL CapacityCommitment_CommitmentPlan = 5 // Monthly commitments have a committed period of 30 days after becoming // ACTIVE. After that, they are not in a committed period anymore and can be // removed any time. CapacityCommitment_MONTHLY CapacityCommitment_CommitmentPlan = 2 // Annual commitments have a committed period of 365 days after becoming // ACTIVE. After that they are converted to a new commitment based on the // renewal_plan. CapacityCommitment_ANNUAL CapacityCommitment_CommitmentPlan = 4 )
func (CapacityCommitment_CommitmentPlan) EnumDescriptor ¶
func (CapacityCommitment_CommitmentPlan) EnumDescriptor() ([]byte, []int)
func (CapacityCommitment_CommitmentPlan) String ¶
func (x CapacityCommitment_CommitmentPlan) String() string
type CapacityCommitment_State ¶
type CapacityCommitment_State int32
Capacity commitment can either become ACTIVE right away or transition from PENDING to ACTIVE or FAILED.
const ( // Invalid state value. CapacityCommitment_STATE_UNSPECIFIED CapacityCommitment_State = 0 // Capacity commitment is pending provisioning. Pending capacity commitment // does not contribute to the parent's slot_capacity. CapacityCommitment_PENDING CapacityCommitment_State = 1 // Once slots are provisioned, capacity commitment becomes active. // slot_count is added to the parent's slot_capacity. CapacityCommitment_ACTIVE CapacityCommitment_State = 2 // Capacity commitment is failed to be activated by the backend. CapacityCommitment_FAILED CapacityCommitment_State = 3 )
func (CapacityCommitment_State) EnumDescriptor ¶
func (CapacityCommitment_State) EnumDescriptor() ([]byte, []int)
func (CapacityCommitment_State) String ¶
func (x CapacityCommitment_State) String() string
type CreateAssignmentRequest ¶
type CreateAssignmentRequest struct { // Required. The parent resource name of the assignment // E.g. `projects/myproject/locations/US/reservations/team1-prod` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Assignment resource to create. Assignment *Assignment `protobuf:"bytes,2,opt,name=assignment,proto3" json:"assignment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment]. Note: "bigquery.reservationAssignments.create" permission is required on the related assignee.
func (*CreateAssignmentRequest) Descriptor ¶
func (*CreateAssignmentRequest) Descriptor() ([]byte, []int)
func (*CreateAssignmentRequest) GetAssignment ¶
func (m *CreateAssignmentRequest) GetAssignment() *Assignment
func (*CreateAssignmentRequest) GetParent ¶
func (m *CreateAssignmentRequest) GetParent() string
func (*CreateAssignmentRequest) ProtoMessage ¶
func (*CreateAssignmentRequest) ProtoMessage()
func (*CreateAssignmentRequest) Reset ¶
func (m *CreateAssignmentRequest) Reset()
func (*CreateAssignmentRequest) String ¶
func (m *CreateAssignmentRequest) String() string
func (*CreateAssignmentRequest) XXX_DiscardUnknown ¶
func (m *CreateAssignmentRequest) XXX_DiscardUnknown()
func (*CreateAssignmentRequest) XXX_Marshal ¶
func (m *CreateAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateAssignmentRequest) XXX_Merge ¶
func (m *CreateAssignmentRequest) XXX_Merge(src proto.Message)
func (*CreateAssignmentRequest) XXX_Size ¶
func (m *CreateAssignmentRequest) XXX_Size() int
func (*CreateAssignmentRequest) XXX_Unmarshal ¶
func (m *CreateAssignmentRequest) XXX_Unmarshal(b []byte) error
type CreateCapacityCommitmentRequest ¶
type CreateCapacityCommitmentRequest struct { // Required. Resource name of the parent reservation. E.g., // projects/myproject/locations/US Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Content of the capacity commitment to create. CapacityCommitment *CapacityCommitment `protobuf:"bytes,2,opt,name=capacity_commitment,json=capacityCommitment,proto3" json:"capacity_commitment,omitempty"` // If true, fail the request if another project in the organization has a // capacity commitment. EnforceSingleAdminProjectPerOrg bool `` /* 163-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment].
func (*CreateCapacityCommitmentRequest) Descriptor ¶
func (*CreateCapacityCommitmentRequest) Descriptor() ([]byte, []int)
func (*CreateCapacityCommitmentRequest) GetCapacityCommitment ¶
func (m *CreateCapacityCommitmentRequest) GetCapacityCommitment() *CapacityCommitment
func (*CreateCapacityCommitmentRequest) GetEnforceSingleAdminProjectPerOrg ¶
func (m *CreateCapacityCommitmentRequest) GetEnforceSingleAdminProjectPerOrg() bool
func (*CreateCapacityCommitmentRequest) GetParent ¶
func (m *CreateCapacityCommitmentRequest) GetParent() string
func (*CreateCapacityCommitmentRequest) ProtoMessage ¶
func (*CreateCapacityCommitmentRequest) ProtoMessage()
func (*CreateCapacityCommitmentRequest) Reset ¶
func (m *CreateCapacityCommitmentRequest) Reset()
func (*CreateCapacityCommitmentRequest) String ¶
func (m *CreateCapacityCommitmentRequest) String() string
func (*CreateCapacityCommitmentRequest) XXX_DiscardUnknown ¶
func (m *CreateCapacityCommitmentRequest) XXX_DiscardUnknown()
func (*CreateCapacityCommitmentRequest) XXX_Marshal ¶
func (m *CreateCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateCapacityCommitmentRequest) XXX_Merge ¶
func (m *CreateCapacityCommitmentRequest) XXX_Merge(src proto.Message)
func (*CreateCapacityCommitmentRequest) XXX_Size ¶
func (m *CreateCapacityCommitmentRequest) XXX_Size() int
func (*CreateCapacityCommitmentRequest) XXX_Unmarshal ¶
func (m *CreateCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
type CreateReservationRequest ¶
type CreateReservationRequest struct { // Required. Project, location. E.g., // `projects/myproject/locations/US` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The reservation ID. This field must only contain lower case alphanumeric // characters or dash. Max length is 64 characters. ReservationId string `protobuf:"bytes,2,opt,name=reservation_id,json=reservationId,proto3" json:"reservation_id,omitempty"` // Definition of the new reservation to create. Reservation *Reservation `protobuf:"bytes,3,opt,name=reservation,proto3" json:"reservation,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation].
func (*CreateReservationRequest) Descriptor ¶
func (*CreateReservationRequest) Descriptor() ([]byte, []int)
func (*CreateReservationRequest) GetParent ¶
func (m *CreateReservationRequest) GetParent() string
func (*CreateReservationRequest) GetReservation ¶
func (m *CreateReservationRequest) GetReservation() *Reservation
func (*CreateReservationRequest) GetReservationId ¶
func (m *CreateReservationRequest) GetReservationId() string
func (*CreateReservationRequest) ProtoMessage ¶
func (*CreateReservationRequest) ProtoMessage()
func (*CreateReservationRequest) Reset ¶
func (m *CreateReservationRequest) Reset()
func (*CreateReservationRequest) String ¶
func (m *CreateReservationRequest) String() string
func (*CreateReservationRequest) XXX_DiscardUnknown ¶
func (m *CreateReservationRequest) XXX_DiscardUnknown()
func (*CreateReservationRequest) XXX_Marshal ¶
func (m *CreateReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateReservationRequest) XXX_Merge ¶
func (m *CreateReservationRequest) XXX_Merge(src proto.Message)
func (*CreateReservationRequest) XXX_Size ¶
func (m *CreateReservationRequest) XXX_Size() int
func (*CreateReservationRequest) XXX_Unmarshal ¶
func (m *CreateReservationRequest) XXX_Unmarshal(b []byte) error
type DeleteAssignmentRequest ¶
type DeleteAssignmentRequest struct { // Required. Name of the resource, e.g. // `projects/myproject/locations/US/reservations/team1-prod/assignments/123` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment]. Note: "bigquery.reservationAssignments.delete" permission is required on the related assignee.
func (*DeleteAssignmentRequest) Descriptor ¶
func (*DeleteAssignmentRequest) Descriptor() ([]byte, []int)
func (*DeleteAssignmentRequest) GetName ¶
func (m *DeleteAssignmentRequest) GetName() string
func (*DeleteAssignmentRequest) ProtoMessage ¶
func (*DeleteAssignmentRequest) ProtoMessage()
func (*DeleteAssignmentRequest) Reset ¶
func (m *DeleteAssignmentRequest) Reset()
func (*DeleteAssignmentRequest) String ¶
func (m *DeleteAssignmentRequest) String() string
func (*DeleteAssignmentRequest) XXX_DiscardUnknown ¶
func (m *DeleteAssignmentRequest) XXX_DiscardUnknown()
func (*DeleteAssignmentRequest) XXX_Marshal ¶
func (m *DeleteAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAssignmentRequest) XXX_Merge ¶
func (m *DeleteAssignmentRequest) XXX_Merge(src proto.Message)
func (*DeleteAssignmentRequest) XXX_Size ¶
func (m *DeleteAssignmentRequest) XXX_Size() int
func (*DeleteAssignmentRequest) XXX_Unmarshal ¶
func (m *DeleteAssignmentRequest) XXX_Unmarshal(b []byte) error
type DeleteCapacityCommitmentRequest ¶
type DeleteCapacityCommitmentRequest struct { // Required. Resource name of the capacity commitment to delete. E.g., // projects/myproject/locations/US/capacityCommitments/123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment].
func (*DeleteCapacityCommitmentRequest) Descriptor ¶
func (*DeleteCapacityCommitmentRequest) Descriptor() ([]byte, []int)
func (*DeleteCapacityCommitmentRequest) GetName ¶
func (m *DeleteCapacityCommitmentRequest) GetName() string
func (*DeleteCapacityCommitmentRequest) ProtoMessage ¶
func (*DeleteCapacityCommitmentRequest) ProtoMessage()
func (*DeleteCapacityCommitmentRequest) Reset ¶
func (m *DeleteCapacityCommitmentRequest) Reset()
func (*DeleteCapacityCommitmentRequest) String ¶
func (m *DeleteCapacityCommitmentRequest) String() string
func (*DeleteCapacityCommitmentRequest) XXX_DiscardUnknown ¶
func (m *DeleteCapacityCommitmentRequest) XXX_DiscardUnknown()
func (*DeleteCapacityCommitmentRequest) XXX_Marshal ¶
func (m *DeleteCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteCapacityCommitmentRequest) XXX_Merge ¶
func (m *DeleteCapacityCommitmentRequest) XXX_Merge(src proto.Message)
func (*DeleteCapacityCommitmentRequest) XXX_Size ¶
func (m *DeleteCapacityCommitmentRequest) XXX_Size() int
func (*DeleteCapacityCommitmentRequest) XXX_Unmarshal ¶
func (m *DeleteCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
type DeleteReservationRequest ¶
type DeleteReservationRequest struct { // Required. Resource name of the reservation to retrieve. E.g., // `projects/myproject/locations/US/reservations/team1-prod` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation].
func (*DeleteReservationRequest) Descriptor ¶
func (*DeleteReservationRequest) Descriptor() ([]byte, []int)
func (*DeleteReservationRequest) GetName ¶
func (m *DeleteReservationRequest) GetName() string
func (*DeleteReservationRequest) ProtoMessage ¶
func (*DeleteReservationRequest) ProtoMessage()
func (*DeleteReservationRequest) Reset ¶
func (m *DeleteReservationRequest) Reset()
func (*DeleteReservationRequest) String ¶
func (m *DeleteReservationRequest) String() string
func (*DeleteReservationRequest) XXX_DiscardUnknown ¶
func (m *DeleteReservationRequest) XXX_DiscardUnknown()
func (*DeleteReservationRequest) XXX_Marshal ¶
func (m *DeleteReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteReservationRequest) XXX_Merge ¶
func (m *DeleteReservationRequest) XXX_Merge(src proto.Message)
func (*DeleteReservationRequest) XXX_Size ¶
func (m *DeleteReservationRequest) XXX_Size() int
func (*DeleteReservationRequest) XXX_Unmarshal ¶
func (m *DeleteReservationRequest) XXX_Unmarshal(b []byte) error
type GetBiReservationRequest ¶
type GetBiReservationRequest struct { // Required. Name of the requested reservation, for example: // `projects/{project_id}/locations/{location_id}/bireservation` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to get a singleton BI reservation.
func (*GetBiReservationRequest) Descriptor ¶
func (*GetBiReservationRequest) Descriptor() ([]byte, []int)
func (*GetBiReservationRequest) GetName ¶
func (m *GetBiReservationRequest) GetName() string
func (*GetBiReservationRequest) ProtoMessage ¶
func (*GetBiReservationRequest) ProtoMessage()
func (*GetBiReservationRequest) Reset ¶
func (m *GetBiReservationRequest) Reset()
func (*GetBiReservationRequest) String ¶
func (m *GetBiReservationRequest) String() string
func (*GetBiReservationRequest) XXX_DiscardUnknown ¶
func (m *GetBiReservationRequest) XXX_DiscardUnknown()
func (*GetBiReservationRequest) XXX_Marshal ¶
func (m *GetBiReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBiReservationRequest) XXX_Merge ¶
func (m *GetBiReservationRequest) XXX_Merge(src proto.Message)
func (*GetBiReservationRequest) XXX_Size ¶
func (m *GetBiReservationRequest) XXX_Size() int
func (*GetBiReservationRequest) XXX_Unmarshal ¶
func (m *GetBiReservationRequest) XXX_Unmarshal(b []byte) error
type GetCapacityCommitmentRequest ¶
type GetCapacityCommitmentRequest struct { // Required. Resource name of the capacity commitment to retrieve. E.g., // projects/myproject/locations/US/capacityCommitments/123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment].
func (*GetCapacityCommitmentRequest) Descriptor ¶
func (*GetCapacityCommitmentRequest) Descriptor() ([]byte, []int)
func (*GetCapacityCommitmentRequest) GetName ¶
func (m *GetCapacityCommitmentRequest) GetName() string
func (*GetCapacityCommitmentRequest) ProtoMessage ¶
func (*GetCapacityCommitmentRequest) ProtoMessage()
func (*GetCapacityCommitmentRequest) Reset ¶
func (m *GetCapacityCommitmentRequest) Reset()
func (*GetCapacityCommitmentRequest) String ¶
func (m *GetCapacityCommitmentRequest) String() string
func (*GetCapacityCommitmentRequest) XXX_DiscardUnknown ¶
func (m *GetCapacityCommitmentRequest) XXX_DiscardUnknown()
func (*GetCapacityCommitmentRequest) XXX_Marshal ¶
func (m *GetCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetCapacityCommitmentRequest) XXX_Merge ¶
func (m *GetCapacityCommitmentRequest) XXX_Merge(src proto.Message)
func (*GetCapacityCommitmentRequest) XXX_Size ¶
func (m *GetCapacityCommitmentRequest) XXX_Size() int
func (*GetCapacityCommitmentRequest) XXX_Unmarshal ¶
func (m *GetCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
type GetReservationRequest ¶
type GetReservationRequest struct { // Required. Resource name of the reservation to retrieve. E.g., // `projects/myproject/locations/US/reservations/team1-prod` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation].
func (*GetReservationRequest) Descriptor ¶
func (*GetReservationRequest) Descriptor() ([]byte, []int)
func (*GetReservationRequest) GetName ¶
func (m *GetReservationRequest) GetName() string
func (*GetReservationRequest) ProtoMessage ¶
func (*GetReservationRequest) ProtoMessage()
func (*GetReservationRequest) Reset ¶
func (m *GetReservationRequest) Reset()
func (*GetReservationRequest) String ¶
func (m *GetReservationRequest) String() string
func (*GetReservationRequest) XXX_DiscardUnknown ¶
func (m *GetReservationRequest) XXX_DiscardUnknown()
func (*GetReservationRequest) XXX_Marshal ¶
func (m *GetReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetReservationRequest) XXX_Merge ¶
func (m *GetReservationRequest) XXX_Merge(src proto.Message)
func (*GetReservationRequest) XXX_Size ¶
func (m *GetReservationRequest) XXX_Size() int
func (*GetReservationRequest) XXX_Unmarshal ¶
func (m *GetReservationRequest) XXX_Unmarshal(b []byte) error
type ListAssignmentsRequest ¶
type ListAssignmentsRequest struct { // Required. The parent resource name e.g.: // // `projects/myproject/locations/US/reservations/team1-prod` // // Or: // // `projects/myproject/locations/US/reservations/-` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous List request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments].
func (*ListAssignmentsRequest) Descriptor ¶
func (*ListAssignmentsRequest) Descriptor() ([]byte, []int)
func (*ListAssignmentsRequest) GetPageSize ¶
func (m *ListAssignmentsRequest) GetPageSize() int32
func (*ListAssignmentsRequest) GetPageToken ¶
func (m *ListAssignmentsRequest) GetPageToken() string
func (*ListAssignmentsRequest) GetParent ¶
func (m *ListAssignmentsRequest) GetParent() string
func (*ListAssignmentsRequest) ProtoMessage ¶
func (*ListAssignmentsRequest) ProtoMessage()
func (*ListAssignmentsRequest) Reset ¶
func (m *ListAssignmentsRequest) Reset()
func (*ListAssignmentsRequest) String ¶
func (m *ListAssignmentsRequest) String() string
func (*ListAssignmentsRequest) XXX_DiscardUnknown ¶
func (m *ListAssignmentsRequest) XXX_DiscardUnknown()
func (*ListAssignmentsRequest) XXX_Marshal ¶
func (m *ListAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAssignmentsRequest) XXX_Merge ¶
func (m *ListAssignmentsRequest) XXX_Merge(src proto.Message)
func (*ListAssignmentsRequest) XXX_Size ¶
func (m *ListAssignmentsRequest) XXX_Size() int
func (*ListAssignmentsRequest) XXX_Unmarshal ¶
func (m *ListAssignmentsRequest) XXX_Unmarshal(b []byte) error
type ListAssignmentsResponse ¶
type ListAssignmentsResponse struct { // List of assignments visible to the user. Assignments []*Assignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response for [ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments].
func (*ListAssignmentsResponse) Descriptor ¶
func (*ListAssignmentsResponse) Descriptor() ([]byte, []int)
func (*ListAssignmentsResponse) GetAssignments ¶
func (m *ListAssignmentsResponse) GetAssignments() []*Assignment
func (*ListAssignmentsResponse) GetNextPageToken ¶
func (m *ListAssignmentsResponse) GetNextPageToken() string
func (*ListAssignmentsResponse) ProtoMessage ¶
func (*ListAssignmentsResponse) ProtoMessage()
func (*ListAssignmentsResponse) Reset ¶
func (m *ListAssignmentsResponse) Reset()
func (*ListAssignmentsResponse) String ¶
func (m *ListAssignmentsResponse) String() string
func (*ListAssignmentsResponse) XXX_DiscardUnknown ¶
func (m *ListAssignmentsResponse) XXX_DiscardUnknown()
func (*ListAssignmentsResponse) XXX_Marshal ¶
func (m *ListAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListAssignmentsResponse) XXX_Merge ¶
func (m *ListAssignmentsResponse) XXX_Merge(src proto.Message)
func (*ListAssignmentsResponse) XXX_Size ¶
func (m *ListAssignmentsResponse) XXX_Size() int
func (*ListAssignmentsResponse) XXX_Unmarshal ¶
func (m *ListAssignmentsResponse) XXX_Unmarshal(b []byte) error
type ListCapacityCommitmentsRequest ¶
type ListCapacityCommitmentsRequest struct { // Required. Resource name of the parent reservation. E.g., // projects/myproject/locations/US Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous List request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments].
func (*ListCapacityCommitmentsRequest) Descriptor ¶
func (*ListCapacityCommitmentsRequest) Descriptor() ([]byte, []int)
func (*ListCapacityCommitmentsRequest) GetPageSize ¶
func (m *ListCapacityCommitmentsRequest) GetPageSize() int32
func (*ListCapacityCommitmentsRequest) GetPageToken ¶
func (m *ListCapacityCommitmentsRequest) GetPageToken() string
func (*ListCapacityCommitmentsRequest) GetParent ¶
func (m *ListCapacityCommitmentsRequest) GetParent() string
func (*ListCapacityCommitmentsRequest) ProtoMessage ¶
func (*ListCapacityCommitmentsRequest) ProtoMessage()
func (*ListCapacityCommitmentsRequest) Reset ¶
func (m *ListCapacityCommitmentsRequest) Reset()
func (*ListCapacityCommitmentsRequest) String ¶
func (m *ListCapacityCommitmentsRequest) String() string
func (*ListCapacityCommitmentsRequest) XXX_DiscardUnknown ¶
func (m *ListCapacityCommitmentsRequest) XXX_DiscardUnknown()
func (*ListCapacityCommitmentsRequest) XXX_Marshal ¶
func (m *ListCapacityCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCapacityCommitmentsRequest) XXX_Merge ¶
func (m *ListCapacityCommitmentsRequest) XXX_Merge(src proto.Message)
func (*ListCapacityCommitmentsRequest) XXX_Size ¶
func (m *ListCapacityCommitmentsRequest) XXX_Size() int
func (*ListCapacityCommitmentsRequest) XXX_Unmarshal ¶
func (m *ListCapacityCommitmentsRequest) XXX_Unmarshal(b []byte) error
type ListCapacityCommitmentsResponse ¶
type ListCapacityCommitmentsResponse struct { // List of capacity commitments visible to the user. CapacityCommitments []*CapacityCommitment `protobuf:"bytes,1,rep,name=capacity_commitments,json=capacityCommitments,proto3" json:"capacity_commitments,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response for [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments].
func (*ListCapacityCommitmentsResponse) Descriptor ¶
func (*ListCapacityCommitmentsResponse) Descriptor() ([]byte, []int)
func (*ListCapacityCommitmentsResponse) GetCapacityCommitments ¶
func (m *ListCapacityCommitmentsResponse) GetCapacityCommitments() []*CapacityCommitment
func (*ListCapacityCommitmentsResponse) GetNextPageToken ¶
func (m *ListCapacityCommitmentsResponse) GetNextPageToken() string
func (*ListCapacityCommitmentsResponse) ProtoMessage ¶
func (*ListCapacityCommitmentsResponse) ProtoMessage()
func (*ListCapacityCommitmentsResponse) Reset ¶
func (m *ListCapacityCommitmentsResponse) Reset()
func (*ListCapacityCommitmentsResponse) String ¶
func (m *ListCapacityCommitmentsResponse) String() string
func (*ListCapacityCommitmentsResponse) XXX_DiscardUnknown ¶
func (m *ListCapacityCommitmentsResponse) XXX_DiscardUnknown()
func (*ListCapacityCommitmentsResponse) XXX_Marshal ¶
func (m *ListCapacityCommitmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListCapacityCommitmentsResponse) XXX_Merge ¶
func (m *ListCapacityCommitmentsResponse) XXX_Merge(src proto.Message)
func (*ListCapacityCommitmentsResponse) XXX_Size ¶
func (m *ListCapacityCommitmentsResponse) XXX_Size() int
func (*ListCapacityCommitmentsResponse) XXX_Unmarshal ¶
func (m *ListCapacityCommitmentsResponse) XXX_Unmarshal(b []byte) error
type ListReservationsRequest ¶
type ListReservationsRequest struct { // Required. The parent resource name containing project and location, e.g.: // "projects/myproject/locations/US" Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The maximum number of items to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous List request, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations].
func (*ListReservationsRequest) Descriptor ¶
func (*ListReservationsRequest) Descriptor() ([]byte, []int)
func (*ListReservationsRequest) GetPageSize ¶
func (m *ListReservationsRequest) GetPageSize() int32
func (*ListReservationsRequest) GetPageToken ¶
func (m *ListReservationsRequest) GetPageToken() string
func (*ListReservationsRequest) GetParent ¶
func (m *ListReservationsRequest) GetParent() string
func (*ListReservationsRequest) ProtoMessage ¶
func (*ListReservationsRequest) ProtoMessage()
func (*ListReservationsRequest) Reset ¶
func (m *ListReservationsRequest) Reset()
func (*ListReservationsRequest) String ¶
func (m *ListReservationsRequest) String() string
func (*ListReservationsRequest) XXX_DiscardUnknown ¶
func (m *ListReservationsRequest) XXX_DiscardUnknown()
func (*ListReservationsRequest) XXX_Marshal ¶
func (m *ListReservationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListReservationsRequest) XXX_Merge ¶
func (m *ListReservationsRequest) XXX_Merge(src proto.Message)
func (*ListReservationsRequest) XXX_Size ¶
func (m *ListReservationsRequest) XXX_Size() int
func (*ListReservationsRequest) XXX_Unmarshal ¶
func (m *ListReservationsRequest) XXX_Unmarshal(b []byte) error
type ListReservationsResponse ¶
type ListReservationsResponse struct { // List of reservations visible to the user. Reservations []*Reservation `protobuf:"bytes,1,rep,name=reservations,proto3" json:"reservations,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response for [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations].
func (*ListReservationsResponse) Descriptor ¶
func (*ListReservationsResponse) Descriptor() ([]byte, []int)
func (*ListReservationsResponse) GetNextPageToken ¶
func (m *ListReservationsResponse) GetNextPageToken() string
func (*ListReservationsResponse) GetReservations ¶
func (m *ListReservationsResponse) GetReservations() []*Reservation
func (*ListReservationsResponse) ProtoMessage ¶
func (*ListReservationsResponse) ProtoMessage()
func (*ListReservationsResponse) Reset ¶
func (m *ListReservationsResponse) Reset()
func (*ListReservationsResponse) String ¶
func (m *ListReservationsResponse) String() string
func (*ListReservationsResponse) XXX_DiscardUnknown ¶
func (m *ListReservationsResponse) XXX_DiscardUnknown()
func (*ListReservationsResponse) XXX_Marshal ¶
func (m *ListReservationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListReservationsResponse) XXX_Merge ¶
func (m *ListReservationsResponse) XXX_Merge(src proto.Message)
func (*ListReservationsResponse) XXX_Size ¶
func (m *ListReservationsResponse) XXX_Size() int
func (*ListReservationsResponse) XXX_Unmarshal ¶
func (m *ListReservationsResponse) XXX_Unmarshal(b []byte) error
type MergeCapacityCommitmentsRequest ¶
type MergeCapacityCommitmentsRequest struct { // Parent resource that identifies admin project and location e.g., // projects/myproject/locations/us Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Ids of capacity commitments to merge. // These capacity commitments must exist under admin project and location // specified in the parent. CapacityCommitmentIds []string `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments].
func (*MergeCapacityCommitmentsRequest) Descriptor ¶
func (*MergeCapacityCommitmentsRequest) Descriptor() ([]byte, []int)
func (*MergeCapacityCommitmentsRequest) GetCapacityCommitmentIds ¶
func (m *MergeCapacityCommitmentsRequest) GetCapacityCommitmentIds() []string
func (*MergeCapacityCommitmentsRequest) GetParent ¶
func (m *MergeCapacityCommitmentsRequest) GetParent() string
func (*MergeCapacityCommitmentsRequest) ProtoMessage ¶
func (*MergeCapacityCommitmentsRequest) ProtoMessage()
func (*MergeCapacityCommitmentsRequest) Reset ¶
func (m *MergeCapacityCommitmentsRequest) Reset()
func (*MergeCapacityCommitmentsRequest) String ¶
func (m *MergeCapacityCommitmentsRequest) String() string
func (*MergeCapacityCommitmentsRequest) XXX_DiscardUnknown ¶
func (m *MergeCapacityCommitmentsRequest) XXX_DiscardUnknown()
func (*MergeCapacityCommitmentsRequest) XXX_Marshal ¶
func (m *MergeCapacityCommitmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MergeCapacityCommitmentsRequest) XXX_Merge ¶
func (m *MergeCapacityCommitmentsRequest) XXX_Merge(src proto.Message)
func (*MergeCapacityCommitmentsRequest) XXX_Size ¶
func (m *MergeCapacityCommitmentsRequest) XXX_Size() int
func (*MergeCapacityCommitmentsRequest) XXX_Unmarshal ¶
func (m *MergeCapacityCommitmentsRequest) XXX_Unmarshal(b []byte) error
type MoveAssignmentRequest ¶
type MoveAssignmentRequest struct { // Required. The resource name of the assignment, // e.g. // `projects/myproject/locations/US/reservations/team1-prod/assignments/123` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The new reservation ID, e.g.: // `projects/myotherproject/locations/US/reservations/team2-prod` DestinationId string `protobuf:"bytes,3,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment].
**Note**: "bigquery.reservationAssignments.create" permission is required on the destination_id.
**Note**: "bigquery.reservationAssignments.create" and "bigquery.reservationAssignments.delete" permission are required on the related assignee.
func (*MoveAssignmentRequest) Descriptor ¶
func (*MoveAssignmentRequest) Descriptor() ([]byte, []int)
func (*MoveAssignmentRequest) GetDestinationId ¶
func (m *MoveAssignmentRequest) GetDestinationId() string
func (*MoveAssignmentRequest) GetName ¶
func (m *MoveAssignmentRequest) GetName() string
func (*MoveAssignmentRequest) ProtoMessage ¶
func (*MoveAssignmentRequest) ProtoMessage()
func (*MoveAssignmentRequest) Reset ¶
func (m *MoveAssignmentRequest) Reset()
func (*MoveAssignmentRequest) String ¶
func (m *MoveAssignmentRequest) String() string
func (*MoveAssignmentRequest) XXX_DiscardUnknown ¶
func (m *MoveAssignmentRequest) XXX_DiscardUnknown()
func (*MoveAssignmentRequest) XXX_Marshal ¶
func (m *MoveAssignmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MoveAssignmentRequest) XXX_Merge ¶
func (m *MoveAssignmentRequest) XXX_Merge(src proto.Message)
func (*MoveAssignmentRequest) XXX_Size ¶
func (m *MoveAssignmentRequest) XXX_Size() int
func (*MoveAssignmentRequest) XXX_Unmarshal ¶
func (m *MoveAssignmentRequest) XXX_Unmarshal(b []byte) error
type Reservation ¶
type Reservation struct { // The resource name of the reservation, e.g., // `projects/*/locations/*/reservations/team1-prod`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Minimum slots available to this reservation. A slot is a unit of // computational power in BigQuery, and serves as the unit of parallelism. // // Queries using this reservation might use more slots during runtime if // ignore_idle_slots is set to false. // // If the new reservation's slot capacity exceed the parent's slot capacity or // if total slot capacity of the new reservation and its siblings exceeds the // parent's slot capacity, the request will fail with // `google.rpc.Code.RESOURCE_EXHAUSTED`. SlotCapacity int64 `protobuf:"varint,2,opt,name=slot_capacity,json=slotCapacity,proto3" json:"slot_capacity,omitempty"` // If false, any query using this reservation will use idle slots from other // reservations within the same admin project. If true, a query using this // reservation will execute with the slot capacity specified above at most. IgnoreIdleSlots bool `protobuf:"varint,4,opt,name=ignore_idle_slots,json=ignoreIdleSlots,proto3" json:"ignore_idle_slots,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A reservation is a mechanism used to guarantee slots to users.
func (*Reservation) Descriptor ¶
func (*Reservation) Descriptor() ([]byte, []int)
func (*Reservation) GetIgnoreIdleSlots ¶
func (m *Reservation) GetIgnoreIdleSlots() bool
func (*Reservation) GetName ¶
func (m *Reservation) GetName() string
func (*Reservation) GetSlotCapacity ¶
func (m *Reservation) GetSlotCapacity() int64
func (*Reservation) ProtoMessage ¶
func (*Reservation) ProtoMessage()
func (*Reservation) Reset ¶
func (m *Reservation) Reset()
func (*Reservation) String ¶
func (m *Reservation) String() string
func (*Reservation) XXX_DiscardUnknown ¶
func (m *Reservation) XXX_DiscardUnknown()
func (*Reservation) XXX_Marshal ¶
func (m *Reservation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Reservation) XXX_Merge ¶
func (m *Reservation) XXX_Merge(src proto.Message)
func (*Reservation) XXX_Size ¶
func (m *Reservation) XXX_Size() int
func (*Reservation) XXX_Unmarshal ¶
func (m *Reservation) XXX_Unmarshal(b []byte) error
type ReservationServiceClient ¶
type ReservationServiceClient interface { // Creates a new reservation resource. CreateReservation(ctx context.Context, in *CreateReservationRequest, opts ...grpc.CallOption) (*Reservation, error) // Lists all the reservations for the project in the specified location. ListReservations(ctx context.Context, in *ListReservationsRequest, opts ...grpc.CallOption) (*ListReservationsResponse, error) // Returns information about the reservation. GetReservation(ctx context.Context, in *GetReservationRequest, opts ...grpc.CallOption) (*Reservation, error) // Deletes a reservation. // Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has // assignments. DeleteReservation(ctx context.Context, in *DeleteReservationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates an existing reservation resource. UpdateReservation(ctx context.Context, in *UpdateReservationRequest, opts ...grpc.CallOption) (*Reservation, error) // Creates a new capacity commitment resource. CreateCapacityCommitment(ctx context.Context, in *CreateCapacityCommitmentRequest, opts ...grpc.CallOption) (*CapacityCommitment, error) // Lists all the capacity commitments for the admin project. ListCapacityCommitments(ctx context.Context, in *ListCapacityCommitmentsRequest, opts ...grpc.CallOption) (*ListCapacityCommitmentsResponse, error) // Returns information about the capacity commitment. GetCapacityCommitment(ctx context.Context, in *GetCapacityCommitmentRequest, opts ...grpc.CallOption) (*CapacityCommitment, error) // Deletes a capacity commitment. Attempting to delete capacity commitment // before its commitment_end_time will fail with the error code // `google.rpc.Code.FAILED_PRECONDITION`. DeleteCapacityCommitment(ctx context.Context, in *DeleteCapacityCommitmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Updates an existing capacity commitment. // // Only `plan` and `renewal_plan` fields can be updated. // // Plan can only be changed to a plan of a longer commitment period. // Attempting to change to a plan with shorter commitment period will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. UpdateCapacityCommitment(ctx context.Context, in *UpdateCapacityCommitmentRequest, opts ...grpc.CallOption) (*CapacityCommitment, error) // Splits capacity commitment to two commitments of the same plan and // `commitment_end_time`. // // A common use case is to enable downgrading commitments. // // For example, in order to downgrade from 10000 slots to 8000, you might // split a 10000 capacity commitment into commitments of 2000 and 8000. Then, // you would change the plan of the first one to `FLEX` and then delete it. SplitCapacityCommitment(ctx context.Context, in *SplitCapacityCommitmentRequest, opts ...grpc.CallOption) (*SplitCapacityCommitmentResponse, error) // Merges capacity commitments of the same plan into a single commitment. // // The resulting capacity commitment has the greater commitment_end_time // out of the to-be-merged capacity commitments. // // Attempting to merge capacity commitments of different plan will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. MergeCapacityCommitments(ctx context.Context, in *MergeCapacityCommitmentsRequest, opts ...grpc.CallOption) (*CapacityCommitment, error) // Creates an assignment object which allows the given project to submit jobs // of a certain type using slots from the specified reservation. // // Currently a // resource (project, folder, organization) can only have one assignment per // each (job_type, location) combination, and that reservation will be used // for all jobs of the matching type. // // Different assignments can be created on different levels of the // projects, folders or organization hierarchy. During query execution, // the assignment is looked up at the project, folder and organization levels // in that order. The first assignment found is applied to the query. // // When creating assignments, it does not matter if other assignments exist at // higher levels. // // Example: // // * The organization `organizationA` contains two projects, `project1` // and `project2`. // * Assignments for all three entities (`organizationA`, `project1`, and // `project2`) could all be created and mapped to the same or different // reservations. // // Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have // 'bigquery.admin' permissions on the project using the reservation // and the project that owns this reservation. // // Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment // does not match location of the reservation. CreateAssignment(ctx context.Context, in *CreateAssignmentRequest, opts ...grpc.CallOption) (*Assignment, error) // Lists assignments. // // Only explicitly created assignments will be returned. // // Example: // // * Organization `organizationA` contains two projects, `project1` and // `project2`. // * Reservation `res1` exists and was created previously. // * CreateAssignment was used previously to define the following // associations between entities and reservations: `<organizationA, res1>` // and `<project1, res1>` // // In this example, ListAssignments will just return the above two assignments // for reservation `res1`, and no expansion/merge will happen. // // The wildcard "-" can be used for // reservations in the request. In that case all assignments belongs to the // specified project and location will be listed. // // **Note** "-" cannot be used for projects nor locations. ListAssignments(ctx context.Context, in *ListAssignmentsRequest, opts ...grpc.CallOption) (*ListAssignmentsResponse, error) // Deletes a assignment. No expansion will happen. // // Example: // // * Organization `organizationA` contains two projects, `project1` and // `project2`. // * Reservation `res1` exists and was created previously. // * CreateAssignment was used previously to define the following // associations between entities and reservations: `<organizationA, res1>` // and `<project1, res1>` // // In this example, deletion of the `<organizationA, res1>` assignment won't // affect the other assignment `<project1, res1>`. After said deletion, // queries from `project1` will still use `res1` while queries from // `project2` will switch to use on-demand mode. DeleteAssignment(ctx context.Context, in *DeleteAssignmentRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Looks up assignments for a specified resource for a particular region. // If the request is about a project: // // 1. Assignments created on the project will be returned if they exist. // 2. Otherwise assignments created on the closest ancestor will be // returned. // 3. Assignments for different JobTypes will all be returned. // // The same logic applies if the request is about a folder. // // If the request is about an organization, then assignments created on the // organization will be returned (organization doesn't have ancestors). // // Comparing to ListAssignments, there are some behavior // differences: // // 1. permission on the assignee will be verified in this API. // 2. Hierarchy lookup (project->folder->organization) happens in this API. // 3. Parent here is `projects/*/locations/*`, instead of // `projects/*/locations/*reservations/*`. // // **Note** "-" cannot be used for projects // nor locations. SearchAssignments(ctx context.Context, in *SearchAssignmentsRequest, opts ...grpc.CallOption) (*SearchAssignmentsResponse, error) // Moves an assignment under a new reservation. // // This differs from removing an existing assignment and recreating a new one // by providing a transactional change that ensures an assignee always has an // associated reservation. MoveAssignment(ctx context.Context, in *MoveAssignmentRequest, opts ...grpc.CallOption) (*Assignment, error) // Retrieves a BI reservation. GetBiReservation(ctx context.Context, in *GetBiReservationRequest, opts ...grpc.CallOption) (*BiReservation, error) // Updates a BI reservation. // // Only fields specified in the `field_mask` are updated. // // A singleton BI reservation always exists with default size 0. // In order to reserve BI capacity it needs to be updated to an amount // greater than 0. In order to release BI capacity reservation size // must be set to 0. UpdateBiReservation(ctx context.Context, in *UpdateBiReservationRequest, opts ...grpc.CallOption) (*BiReservation, error) }
ReservationServiceClient is the client API for ReservationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewReservationServiceClient ¶
func NewReservationServiceClient(cc grpc.ClientConnInterface) ReservationServiceClient
type ReservationServiceServer ¶
type ReservationServiceServer interface { // Creates a new reservation resource. CreateReservation(context.Context, *CreateReservationRequest) (*Reservation, error) // Lists all the reservations for the project in the specified location. ListReservations(context.Context, *ListReservationsRequest) (*ListReservationsResponse, error) // Returns information about the reservation. GetReservation(context.Context, *GetReservationRequest) (*Reservation, error) // Deletes a reservation. // Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has // assignments. DeleteReservation(context.Context, *DeleteReservationRequest) (*empty.Empty, error) // Updates an existing reservation resource. UpdateReservation(context.Context, *UpdateReservationRequest) (*Reservation, error) // Creates a new capacity commitment resource. CreateCapacityCommitment(context.Context, *CreateCapacityCommitmentRequest) (*CapacityCommitment, error) // Lists all the capacity commitments for the admin project. ListCapacityCommitments(context.Context, *ListCapacityCommitmentsRequest) (*ListCapacityCommitmentsResponse, error) // Returns information about the capacity commitment. GetCapacityCommitment(context.Context, *GetCapacityCommitmentRequest) (*CapacityCommitment, error) // Deletes a capacity commitment. Attempting to delete capacity commitment // before its commitment_end_time will fail with the error code // `google.rpc.Code.FAILED_PRECONDITION`. DeleteCapacityCommitment(context.Context, *DeleteCapacityCommitmentRequest) (*empty.Empty, error) // Updates an existing capacity commitment. // // Only `plan` and `renewal_plan` fields can be updated. // // Plan can only be changed to a plan of a longer commitment period. // Attempting to change to a plan with shorter commitment period will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. UpdateCapacityCommitment(context.Context, *UpdateCapacityCommitmentRequest) (*CapacityCommitment, error) // Splits capacity commitment to two commitments of the same plan and // `commitment_end_time`. // // A common use case is to enable downgrading commitments. // // For example, in order to downgrade from 10000 slots to 8000, you might // split a 10000 capacity commitment into commitments of 2000 and 8000. Then, // you would change the plan of the first one to `FLEX` and then delete it. SplitCapacityCommitment(context.Context, *SplitCapacityCommitmentRequest) (*SplitCapacityCommitmentResponse, error) // Merges capacity commitments of the same plan into a single commitment. // // The resulting capacity commitment has the greater commitment_end_time // out of the to-be-merged capacity commitments. // // Attempting to merge capacity commitments of different plan will fail // with the error code `google.rpc.Code.FAILED_PRECONDITION`. MergeCapacityCommitments(context.Context, *MergeCapacityCommitmentsRequest) (*CapacityCommitment, error) // Creates an assignment object which allows the given project to submit jobs // of a certain type using slots from the specified reservation. // // Currently a // resource (project, folder, organization) can only have one assignment per // each (job_type, location) combination, and that reservation will be used // for all jobs of the matching type. // // Different assignments can be created on different levels of the // projects, folders or organization hierarchy. During query execution, // the assignment is looked up at the project, folder and organization levels // in that order. The first assignment found is applied to the query. // // When creating assignments, it does not matter if other assignments exist at // higher levels. // // Example: // // * The organization `organizationA` contains two projects, `project1` // and `project2`. // * Assignments for all three entities (`organizationA`, `project1`, and // `project2`) could all be created and mapped to the same or different // reservations. // // Returns `google.rpc.Code.PERMISSION_DENIED` if user does not have // 'bigquery.admin' permissions on the project using the reservation // and the project that owns this reservation. // // Returns `google.rpc.Code.INVALID_ARGUMENT` when location of the assignment // does not match location of the reservation. CreateAssignment(context.Context, *CreateAssignmentRequest) (*Assignment, error) // Lists assignments. // // Only explicitly created assignments will be returned. // // Example: // // * Organization `organizationA` contains two projects, `project1` and // `project2`. // * Reservation `res1` exists and was created previously. // * CreateAssignment was used previously to define the following // associations between entities and reservations: `<organizationA, res1>` // and `<project1, res1>` // // In this example, ListAssignments will just return the above two assignments // for reservation `res1`, and no expansion/merge will happen. // // The wildcard "-" can be used for // reservations in the request. In that case all assignments belongs to the // specified project and location will be listed. // // **Note** "-" cannot be used for projects nor locations. ListAssignments(context.Context, *ListAssignmentsRequest) (*ListAssignmentsResponse, error) // Deletes a assignment. No expansion will happen. // // Example: // // * Organization `organizationA` contains two projects, `project1` and // `project2`. // * Reservation `res1` exists and was created previously. // * CreateAssignment was used previously to define the following // associations between entities and reservations: `<organizationA, res1>` // and `<project1, res1>` // // In this example, deletion of the `<organizationA, res1>` assignment won't // affect the other assignment `<project1, res1>`. After said deletion, // queries from `project1` will still use `res1` while queries from // `project2` will switch to use on-demand mode. DeleteAssignment(context.Context, *DeleteAssignmentRequest) (*empty.Empty, error) // Looks up assignments for a specified resource for a particular region. // If the request is about a project: // // 1. Assignments created on the project will be returned if they exist. // 2. Otherwise assignments created on the closest ancestor will be // returned. // 3. Assignments for different JobTypes will all be returned. // // The same logic applies if the request is about a folder. // // If the request is about an organization, then assignments created on the // organization will be returned (organization doesn't have ancestors). // // Comparing to ListAssignments, there are some behavior // differences: // // 1. permission on the assignee will be verified in this API. // 2. Hierarchy lookup (project->folder->organization) happens in this API. // 3. Parent here is `projects/*/locations/*`, instead of // `projects/*/locations/*reservations/*`. // // **Note** "-" cannot be used for projects // nor locations. SearchAssignments(context.Context, *SearchAssignmentsRequest) (*SearchAssignmentsResponse, error) // Moves an assignment under a new reservation. // // This differs from removing an existing assignment and recreating a new one // by providing a transactional change that ensures an assignee always has an // associated reservation. MoveAssignment(context.Context, *MoveAssignmentRequest) (*Assignment, error) // Retrieves a BI reservation. GetBiReservation(context.Context, *GetBiReservationRequest) (*BiReservation, error) // Updates a BI reservation. // // Only fields specified in the `field_mask` are updated. // // A singleton BI reservation always exists with default size 0. // In order to reserve BI capacity it needs to be updated to an amount // greater than 0. In order to release BI capacity reservation size // must be set to 0. UpdateBiReservation(context.Context, *UpdateBiReservationRequest) (*BiReservation, error) }
ReservationServiceServer is the server API for ReservationService service.
type SearchAssignmentsRequest ¶
type SearchAssignmentsRequest struct { // Required. The resource name of the admin project(containing project and // location), e.g.: // "projects/myproject/locations/US". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Please specify resource name as assignee in the query. // // Examples: // // * `assignee=projects/myproject` // * `assignee=folders/123` // * `assignee=organizations/456` Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` // The maximum number of items to return per page. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // The next_page_token value returned from a previous List request, if any. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments]. Note: "bigquery.reservationAssignments.search" permission is required on the related assignee.
func (*SearchAssignmentsRequest) Descriptor ¶
func (*SearchAssignmentsRequest) Descriptor() ([]byte, []int)
func (*SearchAssignmentsRequest) GetPageSize ¶
func (m *SearchAssignmentsRequest) GetPageSize() int32
func (*SearchAssignmentsRequest) GetPageToken ¶
func (m *SearchAssignmentsRequest) GetPageToken() string
func (*SearchAssignmentsRequest) GetParent ¶
func (m *SearchAssignmentsRequest) GetParent() string
func (*SearchAssignmentsRequest) GetQuery ¶
func (m *SearchAssignmentsRequest) GetQuery() string
func (*SearchAssignmentsRequest) ProtoMessage ¶
func (*SearchAssignmentsRequest) ProtoMessage()
func (*SearchAssignmentsRequest) Reset ¶
func (m *SearchAssignmentsRequest) Reset()
func (*SearchAssignmentsRequest) String ¶
func (m *SearchAssignmentsRequest) String() string
func (*SearchAssignmentsRequest) XXX_DiscardUnknown ¶
func (m *SearchAssignmentsRequest) XXX_DiscardUnknown()
func (*SearchAssignmentsRequest) XXX_Marshal ¶
func (m *SearchAssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAssignmentsRequest) XXX_Merge ¶
func (m *SearchAssignmentsRequest) XXX_Merge(src proto.Message)
func (*SearchAssignmentsRequest) XXX_Size ¶
func (m *SearchAssignmentsRequest) XXX_Size() int
func (*SearchAssignmentsRequest) XXX_Unmarshal ¶
func (m *SearchAssignmentsRequest) XXX_Unmarshal(b []byte) error
type SearchAssignmentsResponse ¶
type SearchAssignmentsResponse struct { // List of assignments visible to the user. Assignments []*Assignment `protobuf:"bytes,1,rep,name=assignments,proto3" json:"assignments,omitempty"` // Token to retrieve the next page of results, or empty if there are no // more results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response for [ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments].
func (*SearchAssignmentsResponse) Descriptor ¶
func (*SearchAssignmentsResponse) Descriptor() ([]byte, []int)
func (*SearchAssignmentsResponse) GetAssignments ¶
func (m *SearchAssignmentsResponse) GetAssignments() []*Assignment
func (*SearchAssignmentsResponse) GetNextPageToken ¶
func (m *SearchAssignmentsResponse) GetNextPageToken() string
func (*SearchAssignmentsResponse) ProtoMessage ¶
func (*SearchAssignmentsResponse) ProtoMessage()
func (*SearchAssignmentsResponse) Reset ¶
func (m *SearchAssignmentsResponse) Reset()
func (*SearchAssignmentsResponse) String ¶
func (m *SearchAssignmentsResponse) String() string
func (*SearchAssignmentsResponse) XXX_DiscardUnknown ¶
func (m *SearchAssignmentsResponse) XXX_DiscardUnknown()
func (*SearchAssignmentsResponse) XXX_Marshal ¶
func (m *SearchAssignmentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchAssignmentsResponse) XXX_Merge ¶
func (m *SearchAssignmentsResponse) XXX_Merge(src proto.Message)
func (*SearchAssignmentsResponse) XXX_Size ¶
func (m *SearchAssignmentsResponse) XXX_Size() int
func (*SearchAssignmentsResponse) XXX_Unmarshal ¶
func (m *SearchAssignmentsResponse) XXX_Unmarshal(b []byte) error
type SplitCapacityCommitmentRequest ¶
type SplitCapacityCommitmentRequest struct { // Required. The resource name e.g.,: // projects/myproject/locations/US/capacityCommitments/123 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Number of slots in the capacity commitment after the split. SlotCount int64 `protobuf:"varint,2,opt,name=slot_count,json=slotCount,proto3" json:"slot_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment].
func (*SplitCapacityCommitmentRequest) Descriptor ¶
func (*SplitCapacityCommitmentRequest) Descriptor() ([]byte, []int)
func (*SplitCapacityCommitmentRequest) GetName ¶
func (m *SplitCapacityCommitmentRequest) GetName() string
func (*SplitCapacityCommitmentRequest) GetSlotCount ¶
func (m *SplitCapacityCommitmentRequest) GetSlotCount() int64
func (*SplitCapacityCommitmentRequest) ProtoMessage ¶
func (*SplitCapacityCommitmentRequest) ProtoMessage()
func (*SplitCapacityCommitmentRequest) Reset ¶
func (m *SplitCapacityCommitmentRequest) Reset()
func (*SplitCapacityCommitmentRequest) String ¶
func (m *SplitCapacityCommitmentRequest) String() string
func (*SplitCapacityCommitmentRequest) XXX_DiscardUnknown ¶
func (m *SplitCapacityCommitmentRequest) XXX_DiscardUnknown()
func (*SplitCapacityCommitmentRequest) XXX_Marshal ¶
func (m *SplitCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitCapacityCommitmentRequest) XXX_Merge ¶
func (m *SplitCapacityCommitmentRequest) XXX_Merge(src proto.Message)
func (*SplitCapacityCommitmentRequest) XXX_Size ¶
func (m *SplitCapacityCommitmentRequest) XXX_Size() int
func (*SplitCapacityCommitmentRequest) XXX_Unmarshal ¶
func (m *SplitCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
type SplitCapacityCommitmentResponse ¶
type SplitCapacityCommitmentResponse struct { // First capacity commitment, result of a split. First *CapacityCommitment `protobuf:"bytes,1,opt,name=first,proto3" json:"first,omitempty"` // Second capacity commitment, result of a split. Second *CapacityCommitment `protobuf:"bytes,2,opt,name=second,proto3" json:"second,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response for [ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment].
func (*SplitCapacityCommitmentResponse) Descriptor ¶
func (*SplitCapacityCommitmentResponse) Descriptor() ([]byte, []int)
func (*SplitCapacityCommitmentResponse) GetFirst ¶
func (m *SplitCapacityCommitmentResponse) GetFirst() *CapacityCommitment
func (*SplitCapacityCommitmentResponse) GetSecond ¶
func (m *SplitCapacityCommitmentResponse) GetSecond() *CapacityCommitment
func (*SplitCapacityCommitmentResponse) ProtoMessage ¶
func (*SplitCapacityCommitmentResponse) ProtoMessage()
func (*SplitCapacityCommitmentResponse) Reset ¶
func (m *SplitCapacityCommitmentResponse) Reset()
func (*SplitCapacityCommitmentResponse) String ¶
func (m *SplitCapacityCommitmentResponse) String() string
func (*SplitCapacityCommitmentResponse) XXX_DiscardUnknown ¶
func (m *SplitCapacityCommitmentResponse) XXX_DiscardUnknown()
func (*SplitCapacityCommitmentResponse) XXX_Marshal ¶
func (m *SplitCapacityCommitmentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SplitCapacityCommitmentResponse) XXX_Merge ¶
func (m *SplitCapacityCommitmentResponse) XXX_Merge(src proto.Message)
func (*SplitCapacityCommitmentResponse) XXX_Size ¶
func (m *SplitCapacityCommitmentResponse) XXX_Size() int
func (*SplitCapacityCommitmentResponse) XXX_Unmarshal ¶
func (m *SplitCapacityCommitmentResponse) XXX_Unmarshal(b []byte) error
type UnimplementedReservationServiceServer ¶
type UnimplementedReservationServiceServer struct { }
UnimplementedReservationServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedReservationServiceServer) CreateAssignment ¶
func (*UnimplementedReservationServiceServer) CreateAssignment(ctx context.Context, req *CreateAssignmentRequest) (*Assignment, error)
func (*UnimplementedReservationServiceServer) CreateCapacityCommitment ¶
func (*UnimplementedReservationServiceServer) CreateCapacityCommitment(ctx context.Context, req *CreateCapacityCommitmentRequest) (*CapacityCommitment, error)
func (*UnimplementedReservationServiceServer) CreateReservation ¶
func (*UnimplementedReservationServiceServer) CreateReservation(ctx context.Context, req *CreateReservationRequest) (*Reservation, error)
func (*UnimplementedReservationServiceServer) DeleteAssignment ¶
func (*UnimplementedReservationServiceServer) DeleteAssignment(ctx context.Context, req *DeleteAssignmentRequest) (*empty.Empty, error)
func (*UnimplementedReservationServiceServer) DeleteCapacityCommitment ¶
func (*UnimplementedReservationServiceServer) DeleteCapacityCommitment(ctx context.Context, req *DeleteCapacityCommitmentRequest) (*empty.Empty, error)
func (*UnimplementedReservationServiceServer) DeleteReservation ¶
func (*UnimplementedReservationServiceServer) DeleteReservation(ctx context.Context, req *DeleteReservationRequest) (*empty.Empty, error)
func (*UnimplementedReservationServiceServer) GetBiReservation ¶
func (*UnimplementedReservationServiceServer) GetBiReservation(ctx context.Context, req *GetBiReservationRequest) (*BiReservation, error)
func (*UnimplementedReservationServiceServer) GetCapacityCommitment ¶
func (*UnimplementedReservationServiceServer) GetCapacityCommitment(ctx context.Context, req *GetCapacityCommitmentRequest) (*CapacityCommitment, error)
func (*UnimplementedReservationServiceServer) GetReservation ¶
func (*UnimplementedReservationServiceServer) GetReservation(ctx context.Context, req *GetReservationRequest) (*Reservation, error)
func (*UnimplementedReservationServiceServer) ListAssignments ¶
func (*UnimplementedReservationServiceServer) ListAssignments(ctx context.Context, req *ListAssignmentsRequest) (*ListAssignmentsResponse, error)
func (*UnimplementedReservationServiceServer) ListCapacityCommitments ¶
func (*UnimplementedReservationServiceServer) ListCapacityCommitments(ctx context.Context, req *ListCapacityCommitmentsRequest) (*ListCapacityCommitmentsResponse, error)
func (*UnimplementedReservationServiceServer) ListReservations ¶
func (*UnimplementedReservationServiceServer) ListReservations(ctx context.Context, req *ListReservationsRequest) (*ListReservationsResponse, error)
func (*UnimplementedReservationServiceServer) MergeCapacityCommitments ¶
func (*UnimplementedReservationServiceServer) MergeCapacityCommitments(ctx context.Context, req *MergeCapacityCommitmentsRequest) (*CapacityCommitment, error)
func (*UnimplementedReservationServiceServer) MoveAssignment ¶
func (*UnimplementedReservationServiceServer) MoveAssignment(ctx context.Context, req *MoveAssignmentRequest) (*Assignment, error)
func (*UnimplementedReservationServiceServer) SearchAssignments ¶
func (*UnimplementedReservationServiceServer) SearchAssignments(ctx context.Context, req *SearchAssignmentsRequest) (*SearchAssignmentsResponse, error)
func (*UnimplementedReservationServiceServer) SplitCapacityCommitment ¶
func (*UnimplementedReservationServiceServer) SplitCapacityCommitment(ctx context.Context, req *SplitCapacityCommitmentRequest) (*SplitCapacityCommitmentResponse, error)
func (*UnimplementedReservationServiceServer) UpdateBiReservation ¶
func (*UnimplementedReservationServiceServer) UpdateBiReservation(ctx context.Context, req *UpdateBiReservationRequest) (*BiReservation, error)
func (*UnimplementedReservationServiceServer) UpdateCapacityCommitment ¶
func (*UnimplementedReservationServiceServer) UpdateCapacityCommitment(ctx context.Context, req *UpdateCapacityCommitmentRequest) (*CapacityCommitment, error)
func (*UnimplementedReservationServiceServer) UpdateReservation ¶
func (*UnimplementedReservationServiceServer) UpdateReservation(ctx context.Context, req *UpdateReservationRequest) (*Reservation, error)
type UpdateBiReservationRequest ¶
type UpdateBiReservationRequest struct { // A reservation to update. BiReservation *BiReservation `protobuf:"bytes,1,opt,name=bi_reservation,json=biReservation,proto3" json:"bi_reservation,omitempty"` // A list of fields to be updated in this request. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request to update a BI reservation.
func (*UpdateBiReservationRequest) Descriptor ¶
func (*UpdateBiReservationRequest) Descriptor() ([]byte, []int)
func (*UpdateBiReservationRequest) GetBiReservation ¶
func (m *UpdateBiReservationRequest) GetBiReservation() *BiReservation
func (*UpdateBiReservationRequest) GetUpdateMask ¶
func (m *UpdateBiReservationRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateBiReservationRequest) ProtoMessage ¶
func (*UpdateBiReservationRequest) ProtoMessage()
func (*UpdateBiReservationRequest) Reset ¶
func (m *UpdateBiReservationRequest) Reset()
func (*UpdateBiReservationRequest) String ¶
func (m *UpdateBiReservationRequest) String() string
func (*UpdateBiReservationRequest) XXX_DiscardUnknown ¶
func (m *UpdateBiReservationRequest) XXX_DiscardUnknown()
func (*UpdateBiReservationRequest) XXX_Marshal ¶
func (m *UpdateBiReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBiReservationRequest) XXX_Merge ¶
func (m *UpdateBiReservationRequest) XXX_Merge(src proto.Message)
func (*UpdateBiReservationRequest) XXX_Size ¶
func (m *UpdateBiReservationRequest) XXX_Size() int
func (*UpdateBiReservationRequest) XXX_Unmarshal ¶
func (m *UpdateBiReservationRequest) XXX_Unmarshal(b []byte) error
type UpdateCapacityCommitmentRequest ¶
type UpdateCapacityCommitmentRequest struct { // Content of the capacity commitment to update. CapacityCommitment *CapacityCommitment `protobuf:"bytes,1,opt,name=capacity_commitment,json=capacityCommitment,proto3" json:"capacity_commitment,omitempty"` // Standard field mask for the set of fields to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment].
func (*UpdateCapacityCommitmentRequest) Descriptor ¶
func (*UpdateCapacityCommitmentRequest) Descriptor() ([]byte, []int)
func (*UpdateCapacityCommitmentRequest) GetCapacityCommitment ¶
func (m *UpdateCapacityCommitmentRequest) GetCapacityCommitment() *CapacityCommitment
func (*UpdateCapacityCommitmentRequest) GetUpdateMask ¶
func (m *UpdateCapacityCommitmentRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateCapacityCommitmentRequest) ProtoMessage ¶
func (*UpdateCapacityCommitmentRequest) ProtoMessage()
func (*UpdateCapacityCommitmentRequest) Reset ¶
func (m *UpdateCapacityCommitmentRequest) Reset()
func (*UpdateCapacityCommitmentRequest) String ¶
func (m *UpdateCapacityCommitmentRequest) String() string
func (*UpdateCapacityCommitmentRequest) XXX_DiscardUnknown ¶
func (m *UpdateCapacityCommitmentRequest) XXX_DiscardUnknown()
func (*UpdateCapacityCommitmentRequest) XXX_Marshal ¶
func (m *UpdateCapacityCommitmentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateCapacityCommitmentRequest) XXX_Merge ¶
func (m *UpdateCapacityCommitmentRequest) XXX_Merge(src proto.Message)
func (*UpdateCapacityCommitmentRequest) XXX_Size ¶
func (m *UpdateCapacityCommitmentRequest) XXX_Size() int
func (*UpdateCapacityCommitmentRequest) XXX_Unmarshal ¶
func (m *UpdateCapacityCommitmentRequest) XXX_Unmarshal(b []byte) error
type UpdateReservationRequest ¶
type UpdateReservationRequest struct { // Content of the reservation to update. Reservation *Reservation `protobuf:"bytes,1,opt,name=reservation,proto3" json:"reservation,omitempty"` // Standard field mask for the set of fields to be updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request for [ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation].
func (*UpdateReservationRequest) Descriptor ¶
func (*UpdateReservationRequest) Descriptor() ([]byte, []int)
func (*UpdateReservationRequest) GetReservation ¶
func (m *UpdateReservationRequest) GetReservation() *Reservation
func (*UpdateReservationRequest) GetUpdateMask ¶
func (m *UpdateReservationRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateReservationRequest) ProtoMessage ¶
func (*UpdateReservationRequest) ProtoMessage()
func (*UpdateReservationRequest) Reset ¶
func (m *UpdateReservationRequest) Reset()
func (*UpdateReservationRequest) String ¶
func (m *UpdateReservationRequest) String() string
func (*UpdateReservationRequest) XXX_DiscardUnknown ¶
func (m *UpdateReservationRequest) XXX_DiscardUnknown()
func (*UpdateReservationRequest) XXX_Marshal ¶
func (m *UpdateReservationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateReservationRequest) XXX_Merge ¶
func (m *UpdateReservationRequest) XXX_Merge(src proto.Message)
func (*UpdateReservationRequest) XXX_Size ¶
func (m *UpdateReservationRequest) XXX_Size() int
func (*UpdateReservationRequest) XXX_Unmarshal ¶
func (m *UpdateReservationRequest) XXX_Unmarshal(b []byte) error