Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

fix: allow passing gax instance to client constructor #612

Merged
merged 8 commits into from
Sep 8, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, policy) {
// [START dataproc_v1_generated_AutoscalingPolicyService_CreateAutoscalingPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START dataproc_v1_generated_AutoscalingPolicyService_DeleteAutoscalingPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START dataproc_v1_generated_AutoscalingPolicyService_GetAutoscalingPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START dataproc_v1_generated_AutoscalingPolicyService_ListAutoscalingPolicies_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(policy) {
// [START dataproc_v1_generated_AutoscalingPolicyService_UpdateAutoscalingPolicy_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/batch_controller.create_batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent, batch) {
// [START dataproc_v1_generated_BatchController_CreateBatch_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/batch_controller.delete_batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START dataproc_v1_generated_BatchController_DeleteBatch_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/batch_controller.get_batch.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(name) {
// [START dataproc_v1_generated_BatchController_GetBatch_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/batch_controller.list_batches.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(parent) {
// [START dataproc_v1_generated_BatchController_ListBatches_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.create_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, cluster) {
// [START dataproc_v1_generated_ClusterController_CreateCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.delete_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName) {
// [START dataproc_v1_generated_ClusterController_DeleteCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.diagnose_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName) {
// [START dataproc_v1_generated_ClusterController_DiagnoseCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.get_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName) {
// [START dataproc_v1_generated_ClusterController_GetCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.list_clusters.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region) {
// [START dataproc_v1_generated_ClusterController_ListClusters_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.start_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName) {
// [START dataproc_v1_generated_ClusterController_StartCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.stop_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName) {
// [START dataproc_v1_generated_ClusterController_StopCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/cluster_controller.update_cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, clusterName, cluster, updateMask) {
// [START dataproc_v1_generated_ClusterController_UpdateCluster_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.cancel_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, jobId) {
// [START dataproc_v1_generated_JobController_CancelJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.delete_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, jobId) {
// [START dataproc_v1_generated_JobController_DeleteJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.get_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, jobId) {
// [START dataproc_v1_generated_JobController_GetJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.list_jobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region) {
// [START dataproc_v1_generated_JobController_ListJobs_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.submit_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, job) {
// [START dataproc_v1_generated_JobController_SubmitJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, job) {
// [START dataproc_v1_generated_JobController_SubmitJobAsOperation_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
3 changes: 3 additions & 0 deletions samples/generated/v1/job_controller.update_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
function main(projectId, region, jobId, job, updateMask) {
// [START dataproc_v1_generated_JobController_UpdateJob_async]
/**
* This snippet has been automatically generated and should be regarded as a code template only.
* It will require modifications to work.
* It may require correct/in-range values for request initialization.
* TODO(developer): Uncomment these variables before running the sample.
*/
/**
Expand Down
Loading