Class ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource.SearchStageAttemptTasksRequest
Obtain data corresponding to tasks for a spark stage attempt for a Spark Application.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource.SearchStageAttemptTasksRequest : DataprocBaseServiceRequest<SearchSessionSparkApplicationStageAttemptTasksResponse>, IClientServiceRequest<SearchSessionSparkApplicationStageAttemptTasksResponse>, IClientServiceRequest
Constructors
SearchStageAttemptTasksRequest(IClientService, string)
Constructs a new SearchStageAttemptTasks request.
Declaration
public SearchStageAttemptTasksRequest(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
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 session to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/sessions/SESSION_ID/sparkApplications/APPLICATION_ID"
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
PageSize
Optional. Maximum number of tasks 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 SearchSessionSparkApplicationStageAttemptTasks 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 (Session) 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
SortRuntime
Optional. Sort the tasks by runtime.
Declaration
[RequestParameter("sortRuntime", RequestParameterType.Query)]
public virtual bool? SortRuntime { get; set; }
Property Value
Type | Description |
---|---|
bool? |
StageAttemptId
Optional. Stage Attempt ID
Declaration
[RequestParameter("stageAttemptId", RequestParameterType.Query)]
public virtual int? StageAttemptId { get; set; }
Property Value
Type | Description |
---|---|
int? |
StageId
Optional. Stage ID
Declaration
[RequestParameter("stageId", RequestParameterType.Query)]
public virtual long? StageId { get; set; }
Property Value
Type | Description |
---|---|
long? |
TaskStatus
Optional. List only tasks in the state.
Declaration
[RequestParameter("taskStatus", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource.SearchStageAttemptTasksRequest.TaskStatusEnum? TaskStatus { get; set; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.SessionsResource.SparkApplicationsResource.SearchStageAttemptTasksRequest.TaskStatusEnum? |
Methods
InitParameters()
Initializes SearchStageAttemptTasks parameter list.
Declaration
protected override void InitParameters()