From 854de1e6d8597e6ee276a06e6a9c9442b32ed768 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Tue, 18 Dec 2018 09:04:46 -0800 Subject: [PATCH] Fix incorrect classname in Dataproc Generated Client Documentation. (#1557) This PR was generated using Autosynth. :rainbow: Here's the log from Synthtool: ``` synthtool > Executing /tmpfs/src/git/autosynth/working_repo/Dataproc/synth.py. synthtool > Ensuring dependencies. synthtool > Pulling artman image. latest: Pulling from googleapis/artman Digest: sha256:bfb92654b4a77368471f70e2808eaf4e60f263b9559f27bb3284097322787bf1 Status: Image is up to date for googleapis/artman:latest synthtool > Cloning googleapis. synthtool > Running generator for google/cloud/dataproc/artman_dataproc_v1.yaml. synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/php/google-cloud-dataproc-v1. synthtool > Replaced 'Copyright \\d{4}' in src/V1/Gapic/WorkflowTemplateServiceGapicClient.php. synthtool > Replaced 'Copyright \\d{4}' in src/V1/Gapic/JobControllerGapicClient.php. synthtool > Replaced 'Copyright \\d{4}' in src/V1/Gapic/ClusterControllerGapicClient.php. synthtool > Replaced 'Copyright \\d{4}' in src/V1/ClusterControllerClient.php. synthtool > Replaced 'Copyright \\d{4}' in src/V1/JobControllerClient.php. synthtool > Replaced 'Copyright \\d{4}' in tests/System/V1/ClusterControllerSmokeTest.php. synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1/JobControllerClientTest.php. synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1/ClusterControllerClientTest.php. synthtool > Replaced 'Copyright \\d{4}' in tests/Unit/V1/WorkflowTemplateServiceClientTest.php. synthtool > Replaced 'ListJobsRequest_JobStateMatcher' in src/V1/Gapic/JobControllerGapicClient.php. synthtool > Cleaned up 1 temporary directories. synthtool > Wrote metadata to synth.metadata. ``` --- .../V1/Gapic/ClusterControllerGapicClient.php | 2 +- .../src/V1/Gapic/JobControllerGapicClient.php | 2 +- .../WorkflowTemplateServiceGapicClient.php | 2 +- Dataproc/synth.metadata | 33 +++++++++++-------- 4 files changed, 22 insertions(+), 17 deletions(-) diff --git a/Dataproc/src/V1/Gapic/ClusterControllerGapicClient.php b/Dataproc/src/V1/Gapic/ClusterControllerGapicClient.php index 9255b34e94a7..b7e71884e5aa 100644 --- a/Dataproc/src/V1/Gapic/ClusterControllerGapicClient.php +++ b/Dataproc/src/V1/Gapic/ClusterControllerGapicClient.php @@ -28,13 +28,13 @@ use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; -use Google\ApiCore\FetchAuthTokenInterface; use Google\ApiCore\GapicClientTrait; use Google\ApiCore\LongRunning\OperationsClient; use Google\ApiCore\OperationResponse; use Google\ApiCore\RetrySettings; use Google\ApiCore\Transport\TransportInterface; use Google\ApiCore\ValidationException; +use Google\Auth\FetchAuthTokenInterface; use Google\Cloud\Dataproc\V1\Cluster; use Google\Cloud\Dataproc\V1\CreateClusterRequest; use Google\Cloud\Dataproc\V1\DeleteClusterRequest; diff --git a/Dataproc/src/V1/Gapic/JobControllerGapicClient.php b/Dataproc/src/V1/Gapic/JobControllerGapicClient.php index 550c07ac7cf0..dc2e9c4c62ef 100644 --- a/Dataproc/src/V1/Gapic/JobControllerGapicClient.php +++ b/Dataproc/src/V1/Gapic/JobControllerGapicClient.php @@ -28,11 +28,11 @@ use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; -use Google\ApiCore\FetchAuthTokenInterface; use Google\ApiCore\GapicClientTrait; use Google\ApiCore\RetrySettings; use Google\ApiCore\Transport\TransportInterface; use Google\ApiCore\ValidationException; +use Google\Auth\FetchAuthTokenInterface; use Google\Cloud\Dataproc\V1\CancelJobRequest; use Google\Cloud\Dataproc\V1\DeleteJobRequest; use Google\Cloud\Dataproc\V1\GetJobRequest; diff --git a/Dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php b/Dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php index 8f572809ac47..5e29a94a5277 100644 --- a/Dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php +++ b/Dataproc/src/V1/Gapic/WorkflowTemplateServiceGapicClient.php @@ -28,7 +28,6 @@ use Google\ApiCore\ApiException; use Google\ApiCore\CredentialsWrapper; -use Google\ApiCore\FetchAuthTokenInterface; use Google\ApiCore\GapicClientTrait; use Google\ApiCore\LongRunning\OperationsClient; use Google\ApiCore\OperationResponse; @@ -36,6 +35,7 @@ use Google\ApiCore\RetrySettings; use Google\ApiCore\Transport\TransportInterface; use Google\ApiCore\ValidationException; +use Google\Auth\FetchAuthTokenInterface; use Google\Cloud\Dataproc\V1\CreateWorkflowTemplateRequest; use Google\Cloud\Dataproc\V1\DeleteWorkflowTemplateRequest; use Google\Cloud\Dataproc\V1\GetWorkflowTemplateRequest; diff --git a/Dataproc/synth.metadata b/Dataproc/synth.metadata index f26e69af8847..36723820a20f 100644 --- a/Dataproc/synth.metadata +++ b/Dataproc/synth.metadata @@ -1,26 +1,31 @@ { + "updateTime": "2018-12-18T10:59:48.236819Z", "sources": [ { - "git": { - "name": "googleapis", - "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a57f0c13a358b2b15452bf2d67453774a5f6d4f", - "internalRef": "221837528" + "generator": { + "name": "artman", + "version": "0.16.3", + "dockerImage": "googleapis/artman@sha256:bfb92654b4a77368471f70e2808eaf4e60f263b9559f27bb3284097322787bf1" } }, { "git": { - "name": "googleapis-private", - "remote": "https://github.com/googleapis/googleapis-private.git", - "sha": "6aa8e1a447bb8d0367150356a28cb4d3f2332641", - "internalRef": "221340946" + "name": "googleapis", + "remote": "https://github.com/googleapis/googleapis.git", + "sha": "c04bc0dc0a9164d924a9ab923fd6845b4ae6a7ab", + "internalRef": "225851467" } - }, + } + ], + "destinations": [ { - "generator": { - "name": "artman", - "version": "0.16.0", - "dockerImage": "googleapis/artman@sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b" + "client": { + "source": "googleapis", + "apiName": "dataproc", + "apiVersion": "v1", + "language": "php", + "generator": "gapic", + "config": "google/cloud/dataproc/artman_dataproc_v1.yaml" } } ]