(::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=
defassignment_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
defparent()->::String
Returns
(::String) โ Required. The parent resource name of the assignment
E.g. projects/myproject/locations/US/reservations/team1-prod
#parent=
defparent=(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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.5.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.5.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.4.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.4.1/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.3.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.2.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.1.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/1.0.1/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.12.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.11.2](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.11.2/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.10.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.9.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.8.1](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.8.1/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.7.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.6.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.5.0/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest)\n- [0.4.2](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/0.4.2/Google-Cloud-Bigquery-Reservation-V1-CreateAssignmentRequest) \nReference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest.\n\nThe request for\n[ReservationService.CreateAssignment](/ruby/docs/reference/google-cloud-bigquery-reservation-v1/latest/Google-Cloud-Bigquery-Reservation-V1-ReservationService-Client#Google__Cloud__Bigquery__Reservation__V1__ReservationService__Client_create_assignment_instance_ \"Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client#create_assignment (method)\").\nNote: \"bigquery.reservationAssignments.create\" permission is required on the\nrelated assignee. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #assignment\n\n def assignment() -\u003e ::Google::Cloud::Bigquery::Reservation::V1::Assignment\n\n**Returns**\n\n- ([::Google::Cloud::Bigquery::Reservation::V1::Assignment](./Google-Cloud-Bigquery-Reservation-V1-Assignment)) --- Assignment resource to create.\n\n### #assignment=\n\n def assignment=(value) -\u003e ::Google::Cloud::Bigquery::Reservation::V1::Assignment\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Bigquery::Reservation::V1::Assignment](./Google-Cloud-Bigquery-Reservation-V1-Assignment)) --- Assignment resource to create. \n**Returns**\n\n- ([::Google::Cloud::Bigquery::Reservation::V1::Assignment](./Google-Cloud-Bigquery-Reservation-V1-Assignment)) --- Assignment resource to create.\n\n### #assignment_id\n\n def assignment_id() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n### #assignment_id=\n\n def assignment_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **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. \n**Returns**\n\n- (::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.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent resource name of the assignment E.g. `projects/myproject/locations/US/reservations/team1-prod`\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent resource name of the assignment E.g. `projects/myproject/locations/US/reservations/team1-prod` \n**Returns**\n\n- (::String) --- Required. The parent resource name of the assignment E.g. `projects/myproject/locations/US/reservations/team1-prod`"]]