Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.BatchesResource

The "batches" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.BatchesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dataproc.v1
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ProjectsResource.LocationsResource.BatchesResource

Constructors

BatchesResource(IClientService)

Constructs a new resource.

Declaration
public BatchesResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

SparkApplications

Gets the SparkApplications resource.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource SparkApplications { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.BatchesResource.SparkApplicationsResource

Methods

Analyze(AnalyzeBatchRequest, string)

Analyze a Batch for possible recommendations and insights.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.AnalyzeRequest Analyze(AnalyzeBatchRequest body, string name)
Parameters
Type Name Description
AnalyzeBatchRequest body

The body of the request.

string name

Required. The fully qualified name of the batch to analyze in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

Returns
Type Description
ProjectsResource.LocationsResource.BatchesResource.AnalyzeRequest

Create(Batch, string)

Creates a batch workload that executes asynchronously.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.CreateRequest Create(Batch body, string parent)
Parameters
Type Name Description
Batch body

The body of the request.

string parent

Required. The parent resource where this batch will be created.

Returns
Type Description
ProjectsResource.LocationsResource.BatchesResource.CreateRequest

Delete(string)

Deletes the batch workload resource. If the batch is not in a CANCELLED, SUCCEEDED or FAILED State, the delete operation fails and the response returns FAILED_PRECONDITION.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

Returns
Type Description
ProjectsResource.LocationsResource.BatchesResource.DeleteRequest

Get(string)

Gets the batch workload resource representation.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"

Returns
Type Description
ProjectsResource.LocationsResource.BatchesResource.GetRequest

List(string)

Lists batch workloads.

Declaration
public virtual ProjectsResource.LocationsResource.BatchesResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent, which owns this collection of batches.

Returns
Type Description
ProjectsResource.LocationsResource.BatchesResource.ListRequest
In this article
Back to top Generated by DocFX