Class ProjectsResource.LocationsResource.SearchAllAssignmentsRequest
Looks up assignments for a specified resource for a particular region. If the request is about a
project: 1. Assignments created on the project will be returned if they exist. 2. Otherwise assignments
created on the closest ancestor will be returned. 3. Assignments for different JobTypes will all be
returned. The same logic applies if the request is about a folder. If the request is about an
organization, then assignments created on the organization will be returned (organization doesn't have
ancestors). Comparing to ListAssignments, there are some behavior differences: 1. permission on the
assignee will be verified in this API. 2. Hierarchy lookup (project->folder->organization)
happens in this API. 3. Parent here is projects/*/locations/*
, instead of
projects/*/locations/*reservations/*
.
Inheritance
Inherited Members
Namespace: Google.Apis.BigQueryReservation.v1
Assembly: Google.Apis.BigQueryReservation.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SearchAllAssignmentsRequest : BigQueryReservationBaseServiceRequest<SearchAllAssignmentsResponse>, IClientServiceRequest<SearchAllAssignmentsResponse>, IClientServiceRequest
Constructors
SearchAllAssignmentsRequest(IClientService, string)
Constructs a new SearchAllAssignments request.
Declaration
public SearchAllAssignmentsRequest(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 resource name with location (project name could be the wildcard '-'), e.g.:
projects/-/locations/US
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
Query
Please specify resource name as assignee in the query. Examples: * assignee=projects/myproject
*
assignee=folders/123
* assignee=organizations/456
Declaration
[RequestParameter("query", RequestParameterType.Query)]
public virtual string Query { get; set; }
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 SearchAllAssignments parameter list.
Declaration
protected override void InitParameters()