From 04d5e122bd61f135fc5d8b5263f505a508cc5635 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot <44816363+yoshi-automation@users.noreply.github.com> Date: Fri, 1 Mar 2019 13:43:17 -0800 Subject: [PATCH] Regenerate bigquerydatatransfer client (#4600) --- .../v1/DataTransferServiceGrpc.java | 30 +++++----- .../datatransfer/v1/datatransfer.proto | 57 +++++++++---------- .../bigquery/datatransfer/v1/transfer.proto | 1 - .../synth.metadata | 10 ++-- 4 files changed, 48 insertions(+), 50 deletions(-) diff --git a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java index e62056d5bac7..e2b84b3c1753 100644 --- a/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataTransferServiceGrpc.java @@ -12,9 +12,9 @@ * *
* The Google BigQuery Data Transfer Service API enables BigQuery users to - * configure the transfer of their data from other Google Products into BigQuery. - * This service contains methods that are end user exposed. It backs up the - * frontend. + * configure the transfer of their data from other Google Products into + * BigQuery. This service contains methods that are end user exposed. It backs + * up the frontend. **/ @javax.annotation.Generated( @@ -842,9 +842,9 @@ public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channe * *
* The Google BigQuery Data Transfer Service API enables BigQuery users to - * configure the transfer of their data from other Google Products into BigQuery. - * This service contains methods that are end user exposed. It backs up the - * frontend. + * configure the transfer of their data from other Google Products into + * BigQuery. This service contains methods that are end user exposed. It backs + * up the frontend. **/ public abstract static class DataTransferServiceImplBase implements io.grpc.BindableService { @@ -1148,9 +1148,9 @@ public final io.grpc.ServerServiceDefinition bindService() { * *
* The Google BigQuery Data Transfer Service API enables BigQuery users to - * configure the transfer of their data from other Google Products into BigQuery. - * This service contains methods that are end user exposed. It backs up the - * frontend. + * configure the transfer of their data from other Google Products into + * BigQuery. This service contains methods that are end user exposed. It backs + * up the frontend. **/ public static final class DataTransferServiceStub @@ -1412,9 +1412,9 @@ public void checkValidCreds( * *
* The Google BigQuery Data Transfer Service API enables BigQuery users to - * configure the transfer of their data from other Google Products into BigQuery. - * This service contains methods that are end user exposed. It backs up the - * frontend. + * configure the transfer of their data from other Google Products into + * BigQuery. This service contains methods that are end user exposed. It backs + * up the frontend. **/ public static final class DataTransferServiceBlockingStub @@ -1623,9 +1623,9 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkVa * *
* The Google BigQuery Data Transfer Service API enables BigQuery users to - * configure the transfer of their data from other Google Products into BigQuery. - * This service contains methods that are end user exposed. It backs up the - * frontend. + * configure the transfer of their data from other Google Products into + * BigQuery. This service contains methods that are end user exposed. It backs + * up the frontend. **/ public static final class DataTransferServiceFutureStub diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto index 548256110ca9..2f82669ece54 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/datatransfer.proto @@ -31,36 +31,33 @@ option java_outer_classname = "DataTransferProto"; option java_package = "com.google.cloud.bigquery.datatransfer.v1"; option php_namespace = "Google\\Cloud\\BigQuery\\DataTransfer\\V1"; - // The Google BigQuery Data Transfer Service API enables BigQuery users to -// configure the transfer of their data from other Google Products into BigQuery. -// This service contains methods that are end user exposed. It backs up the -// frontend. +// configure the transfer of their data from other Google Products into +// BigQuery. This service contains methods that are end user exposed. It backs +// up the frontend. service DataTransferService { // Retrieves a supported data source and returns its settings, // which can be used for UI rendering. rpc GetDataSource(GetDataSourceRequest) returns (DataSource) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/dataSources/*}" - additional_bindings { - get: "/v1/{name=projects/*/dataSources/*}" - } + additional_bindings { get: "/v1/{name=projects/*/dataSources/*}" } }; } // Lists supported data sources and returns their settings, // which can be used for UI rendering. - rpc ListDataSources(ListDataSourcesRequest) returns (ListDataSourcesResponse) { + rpc ListDataSources(ListDataSourcesRequest) + returns (ListDataSourcesResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/dataSources" - additional_bindings { - get: "/v1/{parent=projects/*}/dataSources" - } + additional_bindings { get: "/v1/{parent=projects/*}/dataSources" } }; } // Creates a new data transfer configuration. - rpc CreateTransferConfig(CreateTransferConfigRequest) returns (TransferConfig) { + rpc CreateTransferConfig(CreateTransferConfigRequest) + returns (TransferConfig) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/transferConfigs" body: "transfer_config" @@ -73,7 +70,8 @@ service DataTransferService { // Updates a data transfer configuration. // All fields must be set, even if they are not updated. - rpc UpdateTransferConfig(UpdateTransferConfigRequest) returns (TransferConfig) { + rpc UpdateTransferConfig(UpdateTransferConfigRequest) + returns (TransferConfig) { option (google.api.http) = { patch: "/v1/{transfer_config.name=projects/*/locations/*/transferConfigs/*}" body: "transfer_config" @@ -86,12 +84,11 @@ service DataTransferService { // Deletes a data transfer configuration, // including any associated transfer runs and logs. - rpc DeleteTransferConfig(DeleteTransferConfigRequest) returns (google.protobuf.Empty) { + rpc DeleteTransferConfig(DeleteTransferConfigRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/transferConfigs/*}" - additional_bindings { - delete: "/v1/{name=projects/*/transferConfigs/*}" - } + additional_bindings { delete: "/v1/{name=projects/*/transferConfigs/*}" } }; } @@ -99,19 +96,16 @@ service DataTransferService { rpc GetTransferConfig(GetTransferConfigRequest) returns (TransferConfig) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/transferConfigs/*}" - additional_bindings { - get: "/v1/{name=projects/*/transferConfigs/*}" - } + additional_bindings { get: "/v1/{name=projects/*/transferConfigs/*}" } }; } // Returns information about all data transfers in the project. - rpc ListTransferConfigs(ListTransferConfigsRequest) returns (ListTransferConfigsResponse) { + rpc ListTransferConfigs(ListTransferConfigsRequest) + returns (ListTransferConfigsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/transferConfigs" - additional_bindings { - get: "/v1/{parent=projects/*}/transferConfigs" - } + additional_bindings { get: "/v1/{parent=projects/*}/transferConfigs" } }; } @@ -119,7 +113,8 @@ service DataTransferService { // For each date - or whatever granularity the data source supports - in the // range, one transfer run is created. // Note that runs are created per UTC time in the time range. - rpc ScheduleTransferRuns(ScheduleTransferRunsRequest) returns (ScheduleTransferRunsResponse) { + rpc ScheduleTransferRuns(ScheduleTransferRunsRequest) + returns (ScheduleTransferRunsResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*/transferConfigs/*}:scheduleRuns" body: "*" @@ -141,7 +136,8 @@ service DataTransferService { } // Deletes the specified transfer run. - rpc DeleteTransferRun(DeleteTransferRunRequest) returns (google.protobuf.Empty) { + rpc DeleteTransferRun(DeleteTransferRunRequest) + returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/transferConfigs/*/runs/*}" additional_bindings { @@ -151,7 +147,8 @@ service DataTransferService { } // Returns information about running and completed jobs. - rpc ListTransferRuns(ListTransferRunsRequest) returns (ListTransferRunsResponse) { + rpc ListTransferRuns(ListTransferRunsRequest) + returns (ListTransferRunsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/transferConfigs/*}/runs" additional_bindings { @@ -161,7 +158,8 @@ service DataTransferService { } // Returns user facing log messages for the data transfer run. - rpc ListTransferLogs(ListTransferLogsRequest) returns (ListTransferLogsResponse) { + rpc ListTransferLogs(ListTransferLogsRequest) + returns (ListTransferLogsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/transferConfigs/*/runs/*}/transferLogs" additional_bindings { @@ -176,7 +174,8 @@ service DataTransferService { // them on behalf of the end user. This API just checks whether we have OAuth // token for the particular user, which is a pre-requisite before user can // create a transfer config. - rpc CheckValidCreds(CheckValidCredsRequest) returns (CheckValidCredsResponse) { + rpc CheckValidCreds(CheckValidCredsRequest) + returns (CheckValidCredsResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/dataSources/*}:checkValidCreds" body: "*" diff --git a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto index 0cadeed5b9d1..09e3c2ddd845 100644 --- a/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto +++ b/google-api-grpc/proto-google-cloud-bigquerydatatransfer-v1/src/main/proto/google/cloud/bigquery/datatransfer/v1/transfer.proto @@ -29,7 +29,6 @@ option java_package = "com.google.cloud.bigquery.datatransfer.v1"; option objc_class_prefix = "GCBDT"; option php_namespace = "Google\\Cloud\\BigQuery\\DataTransfer\\V1"; - // Represents a data transfer configuration. A transfer configuration // contains all metadata needed to perform a data transfer. For example, // `destination_dataset_id` specifies where data should be stored. diff --git a/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata b/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata index 82d48adf58bc..8f27dc8c2c68 100644 --- a/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata +++ b/google-cloud-clients/google-cloud-bigquerydatatransfer/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-01-17T08:34:48.853225Z", + "updateTime": "2019-03-01T08:34:26.897101Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.6", - "dockerImage": "googleapis/artman@sha256:12722f2ca3fbc3b53cc6aa5f0e569d7d221b46bd876a2136497089dec5e3634e" + "version": "0.16.14", + "dockerImage": "googleapis/artman@sha256:f3d61ae45abaeefb6be5f228cda22732c2f1b00fb687c79c4bd4f2c42bb1e1a7" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0ac60e21a1aa86c07c1836865b35308ba8178b05", - "internalRef": "229626798" + "sha": "41d72d444fbe445f4da89e13be02078734fb7875", + "internalRef": "236230004" } } ],