reservation

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Assignment_JobType_name = map[int32]string{
	0: "JOB_TYPE_UNSPECIFIED",
	1: "PIPELINE",
	2: "QUERY",
}
View Source
var Assignment_JobType_value = map[string]int32{
	"JOB_TYPE_UNSPECIFIED": 0,
	"PIPELINE":             1,
	"QUERY":                2,
}
View Source
var Assignment_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "PENDING",
	2: "ACTIVE",
}
View Source
var Assignment_State_value = map[string]int32{
	"STATE_UNSPECIFIED": 0,
	"PENDING":           1,
	"ACTIVE":            2,
}
View Source
var CapacityCommitment_CommitmentPlan_name = map[int32]string{
	0: "COMMITMENT_PLAN_UNSPECIFIED",
	3: "FLEX",
	2: "MONTHLY",
	4: "ANNUAL",
}
View Source
var CapacityCommitment_CommitmentPlan_value = map[string]int32{
	"COMMITMENT_PLAN_UNSPECIFIED": 0,
	"FLEX":                        3,
	"MONTHLY":                     2,
	"ANNUAL":                      4,
}
View Source
var CapacityCommitment_State_name = map[int32]string{
	0: "STATE_UNSPECIFIED",
	1: "PENDING",
	2: "ACTIVE",
	3: "FAILED",
}
View Source
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, 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 `` /* 149-byte string literal not displayed */
	// Output only. State of the assignment.
	State                Assignment_State `` /* 128-byte string literal not displayed */
	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 `` /* 143-byte string literal not displayed */
	// Output only. State of the commitment.
	State CapacityCommitment_State `` /* 136-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 MONTHLY and ANNUAL commitments.
	RenewalPlan          CapacityCommitment_CommitmentPlan `` /* 176-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. Monthly and annual commitments renew by default. Only flex commitments can be removed. In order to remove monthly or annual commitments, their plan needs to be changed to 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 (*CapacityCommitment) GetRenewalPlan

func (*CapacityCommitment) GetSlotCount

func (m *CapacityCommitment) GetSlotCount() int64

func (*CapacityCommitment) GetState

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
	// Monthly commitments have a committed period of 30 days after becoming
	// ACTIVE.
	CapacityCommitment_MONTHLY CapacityCommitment_CommitmentPlan = 2
	// Annual commitments have a committed period of 365 days after becoming
	// ACTIVE.
	CapacityCommitment_ANNUAL CapacityCommitment_CommitmentPlan = 4
)

func (CapacityCommitment_CommitmentPlan) EnumDescriptor

func (CapacityCommitment_CommitmentPlan) EnumDescriptor() ([]byte, []int)

func (CapacityCommitment_CommitmentPlan) 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.v1beta1.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 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"`
	// Content 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.v1beta1.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.v1beta1.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.v1beta1.ReservationService.DeleteCapacityCommitment].

func (*DeleteCapacityCommitmentRequest) Descriptor

func (*DeleteCapacityCommitmentRequest) Descriptor() ([]byte, []int)

func (*DeleteCapacityCommitmentRequest) GetName

func (*DeleteCapacityCommitmentRequest) ProtoMessage

func (*DeleteCapacityCommitmentRequest) ProtoMessage()

func (*DeleteCapacityCommitmentRequest) Reset

func (*DeleteCapacityCommitmentRequest) 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.v1beta1.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.v1beta1.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 (*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.v1beta1.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.
	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.v1beta1.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.v1beta1.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.v1beta1.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 (*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.v1beta1.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 (*ListCapacityCommitmentsResponse) 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.
	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"`
	// Can be used to filter out reservations based on names, capacity, etc, e.g.:
	// filter="reservation.slot_capacity > 200"
	// filter="reservation.name = \"*dev/*\""
	// Advanced filtering syntax can be
	// [here](https://cloud.google.com/logging/docs/view/advanced-filters).
	Filter               string   `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The request for [ReservationService.ListReservations][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations].

func (*ListReservationsRequest) Descriptor

func (*ListReservationsRequest) Descriptor() ([]byte, []int)

func (*ListReservationsRequest) GetFilter

func (m *ListReservationsRequest) GetFilter() string

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.v1beta1.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.v1beta1.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 (*MergeCapacityCommitmentsRequest) 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.v1beta1.ReservationService.MoveAssignment]. Note: "bigquery.reservationAssignments.create" permission is required on the destination_id. Note: "bigquery.reservationAssignments.create" and "bigquery.reservationAssignments.delete" permission is 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)
	// 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 renewal_plan field can be updated.
	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 to do that is to perform a downgrade
	// e.g., in order to downgrade from 10000 slots to 8000, one might split 10000
	// capacity commitment to 2000 and 8000, 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 one. Resulting capacity
	// commitment has the longer commitment_end_time out of the two. 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)
	// 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. E.g:
	// organizationA contains project1 and project2. Reservation res1 exists.
	// CreateAssignment was invoked previously and following assignments were
	// created explicitly:
	//   <organizationA, res1>
	//   <project1, res1>
	// Then this API will just return the above two assignments for reservation
	// res1, and no expansion/merge will happen. 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.
	// E.g:
	// organizationA contains project1 and project2. Reservation res1 exists.
	// CreateAssignment was invoked previously and following assignments were
	// created explicitly:
	//   <organizationA, res1>
	//   <project1, res1>
	// Then deletion of <organizationA, res1> won't affect <project1, res1>. After
	// deletion of <organizationA, res1>, queries from project1 will still use
	// res1, while queries from project2 will 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.
	// 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 a assignment under a new reservation. Customers can do this by
	// deleting the existing assignment followed by creating another assignment
	// under the new reservation, but this method provides a transactional way to
	// do so, to make sure the assignee always has an associated reservation.
	// Without the method customers might see some queries run on-demand which
	// might be unexpected.
	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.
	// 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.

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)
	// 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 renewal_plan field can be updated.
	UpdateCapacityCommitment(context.Context, *UpdateCapacityCommitmentRequest) (*CapacityCommitment, error)
	// Splits capacity commitment to two commitments of the same plan and
	// commitment_end_time. A common use case to do that is to perform a downgrade
	// e.g., in order to downgrade from 10000 slots to 8000, one might split 10000
	// capacity commitment to 2000 and 8000, 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 one. Resulting capacity
	// commitment has the longer commitment_end_time out of the two. 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)
	// 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. E.g:
	// organizationA contains project1 and project2. Reservation res1 exists.
	// CreateAssignment was invoked previously and following assignments were
	// created explicitly:
	//   <organizationA, res1>
	//   <project1, res1>
	// Then this API will just return the above two assignments for reservation
	// res1, and no expansion/merge will happen. 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.
	// E.g:
	// organizationA contains project1 and project2. Reservation res1 exists.
	// CreateAssignment was invoked previously and following assignments were
	// created explicitly:
	//   <organizationA, res1>
	//   <project1, res1>
	// Then deletion of <organizationA, res1> won't affect <project1, res1>. After
	// deletion of <organizationA, res1>, queries from project1 will still use
	// res1, while queries from project2 will 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.
	// 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 a assignment under a new reservation. Customers can do this by
	// deleting the existing assignment followed by creating another assignment
	// under the new reservation, but this method provides a transactional way to
	// do so, to make sure the assignee always has an associated reservation.
	// Without the method customers might see some queries run on-demand which
	// might be unexpected.
	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.
	// 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.
	// e.g., "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.
	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.v1beta1.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.v1beta1.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.v1beta1.ReservationService.SplitCapacityCommitment].

func (*SplitCapacityCommitmentRequest) Descriptor

func (*SplitCapacityCommitmentRequest) Descriptor() ([]byte, []int)

func (*SplitCapacityCommitmentRequest) GetName

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 (*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.v1beta1.ReservationService.SplitCapacityCommitment].

func (*SplitCapacityCommitmentResponse) Descriptor

func (*SplitCapacityCommitmentResponse) Descriptor() ([]byte, []int)

func (*SplitCapacityCommitmentResponse) GetFirst

func (*SplitCapacityCommitmentResponse) GetSecond

func (*SplitCapacityCommitmentResponse) ProtoMessage

func (*SplitCapacityCommitmentResponse) ProtoMessage()

func (*SplitCapacityCommitmentResponse) Reset

func (*SplitCapacityCommitmentResponse) 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) CreateReservation

func (*UnimplementedReservationServiceServer) DeleteAssignment

func (*UnimplementedReservationServiceServer) DeleteCapacityCommitment

func (*UnimplementedReservationServiceServer) DeleteReservation

func (*UnimplementedReservationServiceServer) GetBiReservation

func (*UnimplementedReservationServiceServer) GetCapacityCommitment

func (*UnimplementedReservationServiceServer) GetReservation

func (*UnimplementedReservationServiceServer) ListAssignments

func (*UnimplementedReservationServiceServer) ListCapacityCommitments

func (*UnimplementedReservationServiceServer) ListReservations

func (*UnimplementedReservationServiceServer) MergeCapacityCommitments

func (*UnimplementedReservationServiceServer) MoveAssignment

func (*UnimplementedReservationServiceServer) SearchAssignments

func (*UnimplementedReservationServiceServer) SplitCapacityCommitment

func (*UnimplementedReservationServiceServer) UpdateBiReservation

func (*UnimplementedReservationServiceServer) UpdateCapacityCommitment

func (*UnimplementedReservationServiceServer) UpdateReservation

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.v1beta1.ReservationService.UpdateCapacityCommitment].

func (*UpdateCapacityCommitmentRequest) Descriptor

func (*UpdateCapacityCommitmentRequest) Descriptor() ([]byte, []int)

func (*UpdateCapacityCommitmentRequest) GetCapacityCommitment

func (m *UpdateCapacityCommitmentRequest) GetCapacityCommitment() *CapacityCommitment

func (*UpdateCapacityCommitmentRequest) GetUpdateMask

func (*UpdateCapacityCommitmentRequest) ProtoMessage

func (*UpdateCapacityCommitmentRequest) ProtoMessage()

func (*UpdateCapacityCommitmentRequest) Reset

func (*UpdateCapacityCommitmentRequest) 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.v1beta1.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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL