com.google.cloud.dataproc.v1.package-info Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-cloud-dataproc Show documentation
Show all versions of google-cloud-dataproc Show documentation
Java idiomatic client for Google Cloud Dataproc
/*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* A client to Google Cloud Dataproc API.
*
* The interfaces provided are listed below, along with usage samples.
*
*
======================= ClusterControllerClient =======================
*
*
Service Description: The ClusterControllerService provides methods to manage clusters of
* Google Compute Engine instances.
*
*
Sample for ClusterControllerClient:
*
*
*
* try (ClusterControllerClient clusterControllerClient = ClusterControllerClient.create()) {
* String projectId = "";
* String region = "";
* String clusterName = "";
* Cluster response = clusterControllerClient.getCluster(projectId, region, clusterName);
* }
*
*
*
* =================== JobControllerClient ===================
*
* Service Description: The JobController provides methods to manage jobs.
*
*
Sample for JobControllerClient:
*
*
*
* try (JobControllerClient jobControllerClient = JobControllerClient.create()) {
* String projectId = "";
* String region = "";
* Job job = Job.newBuilder().build();
* Job response = jobControllerClient.submitJob(projectId, region, job);
* }
*
*
*/
package com.google.cloud.dataproc.v1;