Skip to content

Commit

Permalink
Regenerate bigquerydatatransfer client (#4600)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and sduskis committed Mar 1, 2019
1 parent 948e2b8 commit 04d5e12
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
*
* <pre>
* 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.
* </pre>
*/
@javax.annotation.Generated(
Expand Down Expand Up @@ -842,9 +842,9 @@ public static DataTransferServiceFutureStub newFutureStub(io.grpc.Channel channe
*
* <pre>
* 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.
* </pre>
*/
public abstract static class DataTransferServiceImplBase implements io.grpc.BindableService {
Expand Down Expand Up @@ -1148,9 +1148,9 @@ public final io.grpc.ServerServiceDefinition bindService() {
*
* <pre>
* 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.
* </pre>
*/
public static final class DataTransferServiceStub
Expand Down Expand Up @@ -1412,9 +1412,9 @@ public void checkValidCreds(
*
* <pre>
* 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.
* </pre>
*/
public static final class DataTransferServiceBlockingStub
Expand Down Expand Up @@ -1623,9 +1623,9 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkVa
*
* <pre>
* 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.
* </pre>
*/
public static final class DataTransferServiceFutureStub
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -86,40 +84,37 @@ 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/*}" }
};
}

// Returns information about a data transfer config.
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" }
};
}

// Creates transfer runs for a time range [start_time, end_time].
// 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: "*"
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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: "*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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"
}
}
],
Expand Down

0 comments on commit 04d5e12

Please sign in to comment.