@google-cloud/dataproc

The @google-cloud/dataproc package has the following named exports:

Source:
Examples

Install the client library with npm:

npm install --save @google-cloud/dataproc

Import the client library:

const dataproc = require('@google-cloud/dataproc');

Create a client that uses Application Default Credentials (ADC):

const client = new dataproc.ClusterControllerClient();

Create a client with explicit credentials:

const client = new dataproc.ClusterControllerClient({
  projectId: 'your-project-id',
  keyFilename: '/path/to/keyfile.json',
});

Members

(static) v1 :object

Properties:
Name Type Description
ClusterControllerClient constructor

Reference to v1.ClusterControllerClient

JobControllerClient constructor

Reference to v1.JobControllerClient

WorkflowTemplateServiceClient constructor

Reference to v1.WorkflowTemplateServiceClient

Source:

(static) v1beta2 :object

Properties:
Name Type Description
ClusterControllerClient constructor

Reference to v1beta2.ClusterControllerClient

JobControllerClient constructor

Reference to v1beta2.JobControllerClient

WorkflowTemplateServiceClient constructor

Reference to v1beta2.WorkflowTemplateServiceClient

Source: