Class ProjectsResource.LocationsResource.SearchAssignmentsRequest
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/*
. Note "-" cannot be used for projects nor locations.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
ProjectsResource.LocationsResource.SearchAssignmentsRequest
Implements
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.GetBody()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Google.Apis.BigQueryReservation.v1beta1.dll
Syntax
public class SearchAssignmentsRequest : BigQueryReservationBaseServiceRequest<SearchAssignmentsResponse>, IClientServiceRequest<SearchAssignmentsResponse>, IClientServiceRequest
Constructors
SearchAssignmentsRequest(IClientService, String)
Constructs a new SearchAssignments request.
Declaration
public SearchAssignmentsRequest(IClientService service, string parent)
Parameters
Type |
Name |
Description |
Google.Apis.Services.IClientService |
service |
|
System.String |
parent |
|
Properties
HttpMethod
Declaration
public override string HttpMethod { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.HttpMethod
MethodName
Declaration
public override string MethodName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.MethodName
PageSize
The maximum number of items to return.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
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 |
System.String |
|
Parent
Required. The resource name of the admin project(containing project and location), e.g.:
projects/myproject/locations/US
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type |
Description |
System.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 |
System.String |
|
RestPath
Declaration
public override string RestPath { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.RestPath
Methods
InitParameters()
Initializes SearchAssignments parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.BigQueryReservation.v1beta1.BigQueryReservationBaseServiceRequest<Google.Apis.BigQueryReservation.v1beta1.Data.SearchAssignmentsResponse>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest