Class ProjectsResource.JobsResource.ListRequest
Lists jobs by filter.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudTalentSolution.v3
Assembly: Google.Apis.CloudTalentSolution.v3.dll
Syntax
public class ProjectsResource.JobsResource.ListRequest : CloudTalentSolutionBaseServiceRequest<ListJobsResponse>, IClientServiceRequest<ListJobsResponse>, 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
Filter
Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The
fields eligible for filtering are: * companyName
* requisitionId
* status
Available values:
OPEN, EXPIRED, ALL. Defaults to OPEN if no value is specified. At least one of companyName
and
requisitionId
must present or an INVALID_ARGUMENT error is thrown. Sample Query: * companyName =
"projects/api-test-project/companies/123" * companyName = "projects/api-test-project/companies/123"
AND requisitionId = "req-1" * companyName = "projects/api-test-project/companies/123" AND status =
"EXPIRED" * requisitionId = "req-1" * requisitionId = "req-1" AND status = "EXPIRED"
Declaration
[RequestParameter("filter", RequestParameterType.Query)]
public virtual string Filter { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobView
Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.JOB_VIEW_FULL if no value is specified.
Declaration
[RequestParameter("jobView", RequestParameterType.Query)]
public virtual ProjectsResource.JobsResource.ListRequest.JobViewEnum? JobView { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.JobsResource.ListRequest.JobViewEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
PageSize
Optional. The maximum number of jobs to be returned per page of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. The starting point of a query result.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".
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()