Class Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest (v0.4.2)

The request for ReservationService.CreateAssignment. Note: "bigquery.reservationAssignments.create" permission is required on the related assignee.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#assignment

def assignment() -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Returns

#assignment=

def assignment=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Parameter
Returns

#assignment_id

def assignment_id() -> ::String
Returns
  • (::String) — The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.

#assignment_id=

def assignment_id=(value) -> ::String
Parameter
  • value (::String) — The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.
Returns
  • (::String) — The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod
Returns
  • (::String) — Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod