Class ProjectsResource.LocationsResource.ReservationsResource.AssignmentsResource.ListRequest
Lists assignments. Only explicitly created assignments will be returned. Example: * Organization
organizationA
contains two projects, project1
and project2
. * Reservation res1
exists
and was created previously. * CreateAssignment was used previously to define the following
associations between entities and reservations: and
In this example, ListAssignments will
just return the above two assignments for reservation res1
, and no expansion/merge will
happen. The wildcard "-" can be used for reservations in the request. In that case all
assignments belongs to the specified project and location will be listed. Note "-" cannot be
used for projects nor locations.
Inheritance
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ReservationsResource.AssignmentsResource.ListRequest : BigQueryReservationBaseServiceRequest<ListAssignmentsResponse>, IClientServiceRequest<ListAssignmentsResponse>, IClientServiceRequest
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
Declaration
public ListRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
The maximum number of items to return per page.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
The next_page_token value returned from a previous List request, if any.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The parent resource name e.g.:
projects/myproject/locations/US/reservations/team1-prod
Or:
projects/myproject/locations/US/reservations/-
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes List parameter list.
Declaration
protected override void InitParameters()