Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest.
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
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — Assignment resource to create.
#assignment=
def assignment=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::Assignment
Parameter
- value (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — Assignment resource to create.
Returns
- (::Google::Cloud::Bigquery::Reservation::V1::Assignment) — Assignment resource to create.
#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 dashes. 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 dashes. 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 dashes. 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