Class ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource.SearchJobsRequest
Obtain list of spark jobs corresponding to a Spark Application.
Inheritance
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource.SearchJobsRequest : DataprocBaseServiceRequest<SearchSparkApplicationJobsResponse>, IClientServiceRequest<SearchSparkApplicationJobsResponse>, IClientServiceRequest
Constructors
SearchJobsRequest(IClientService, string)
Constructs a new SearchJobs request.
Declaration
public SearchJobsRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
JobStatus
Optional. List only jobs in the specific state.
Declaration
[RequestParameter("jobStatus", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource.SearchJobsRequest.JobStatusEnum? JobStatus { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource.SearchJobsRequest.JobStatusEnum? |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. Maximum number of jobs to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.
Declaration
[RequestParameter("pageSize", RequestParameterType.Query)]
public virtual int? PageSize { get; set; }
Property Value
Type | Description |
---|---|
int? |
PageToken
Optional. A page token received from a previous SearchSparkApplicationJobs call. Provide this token to retrieve the subsequent page.
Declaration
[RequestParameter("pageToken", RequestParameterType.Query)]
public virtual string PageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Parent
Required. Parent (Batch) resource reference.
Declaration
[RequestParameter("parent", RequestParameterType.Query)]
public virtual string Parent { 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 SearchJobs parameter list.
Declaration
protected override void InitParameters()