Class: Google::Cloud::Bigquery::Reservation::V1::CreateAssignmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#assignment::Google::Cloud::Bigquery::Reservation::V1::Assignment

Returns Assignment resource to create.

Returns:



585
586
587
588
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 585

class CreateAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#assignment_id::String

Returns 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.



585
586
587
588
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 585

class CreateAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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



585
586
587
588
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 585

class CreateAssignmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end