BigQuery Reservation v1 API - Class CreateAssignmentRequest (2.5.0)

public sealed class CreateAssignmentRequest : IMessage<CreateAssignmentRequest>, IEquatable<CreateAssignmentRequest>, IDeepCloneable<CreateAssignmentRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Reservation v1 API class CreateAssignmentRequest.

The request for [ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment]. Note: "bigquery.reservationAssignments.create" permission is required on the related assignee.

Inheritance

object > CreateAssignmentRequest

Namespace

Google.Cloud.BigQuery.Reservation.V1

Assembly

Google.Cloud.BigQuery.Reservation.V1.dll

Constructors

CreateAssignmentRequest()

public CreateAssignmentRequest()

CreateAssignmentRequest(CreateAssignmentRequest)

public CreateAssignmentRequest(CreateAssignmentRequest other)
Parameter
Name Description
other CreateAssignmentRequest

Properties

Assignment

public Assignment Assignment { get; set; }

Assignment resource to create.

Property Value
Type Description
Assignment

AssignmentId

public string AssignmentId { get; set; }

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.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The parent resource name of the assignment E.g. projects/myproject/locations/US/reservations/team1-prod

Property Value
Type Description
string

ParentAsReservationName

public ReservationName ParentAsReservationName { get; set; }

ReservationName-typed view over the Parent resource name property.

Property Value
Type Description
ReservationName