Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [bigquerydatatransfer] added Location API methods #8805

Merged
merged 2 commits into from
Nov 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions java-bigquerydatatransfer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-bigquerydatatransfer</artifactId>
<version>2.5.0</version>
<version>2.6.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.5.0'
implementation 'com.google.cloud:google-cloud-bigquerydatatransfer:2.6.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.5.0"
libraryDependencies += "com.google.cloud" % "google-cloud-bigquerydatatransfer" % "2.6.0"
```

## Authentication
Expand Down Expand Up @@ -159,16 +159,16 @@ Java is a registered trademark of Oracle and/or its affiliates.

[product-docs]: https://cloud.google.com/bigquery/transfer/
[javadocs]: https://cloud.google.com/java/docs/reference/google-cloud-bigquerydatatransfer/latest/overview
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-bigquerydatatransfer/java11.html
[kokoro-badge-image-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.svg
[kokoro-badge-link-1]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java7.html
[kokoro-badge-image-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.svg
[kokoro-badge-link-2]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8.html
[kokoro-badge-image-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.svg
[kokoro-badge-link-3]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-osx.html
[kokoro-badge-image-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.svg
[kokoro-badge-link-4]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java8-win.html
[kokoro-badge-image-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.svg
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-bigquerydatatransfer.svg
[maven-version-link]: https://search.maven.org/search?q=g:com.google.cloud%20AND%20a:google-cloud-bigquerydatatransfer&core=gav
Expand All @@ -180,9 +180,9 @@ Java is a registered trademark of Oracle and/or its affiliates.
[create-project]: https://cloud.google.com/resource-manager/docs/creating-managing-projects
[cloud-sdk]: https://cloud.google.com/sdk/
[troubleshooting]: https://github.com/googleapis/google-cloud-common/blob/main/troubleshooting/readme.md#troubleshooting
[contributing]: https://github.com/googleapis/java-bigquerydatatransfer/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/java-bigquerydatatransfer/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/java-bigquerydatatransfer/blob/main/LICENSE
[contributing]: https://github.com/googleapis/google-cloud-java/blob/main/CONTRIBUTING.md
[code-of-conduct]: https://github.com/googleapis/google-cloud-java/blob/main/CODE_OF_CONDUCT.md#contributor-code-of-conduct
[license]: https://github.com/googleapis/google-cloud-java/blob/main/LICENSE
[enable-billing]: https://cloud.google.com/apis/docs/getting-started#enabling_billing
[enable-api]: https://console.cloud.google.com/flows/enableapi?apiid=bigquerydatatransfer.googleapis.com
[libraries-bom]: https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ public final UnaryCallable<GetDataSourceRequest, DataSource> getDataSourceCallab
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned. Must
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListDataSourcesPagedResponse listDataSources(LocationName parent) {
Expand Down Expand Up @@ -354,7 +354,7 @@ public final ListDataSourcesPagedResponse listDataSources(LocationName parent) {
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned. Must
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListDataSourcesPagedResponse listDataSources(ProjectName parent) {
Expand Down Expand Up @@ -386,7 +386,7 @@ public final ListDataSourcesPagedResponse listDataSources(ProjectName parent) {
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned. Must
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}
* be in the form: `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListDataSourcesPagedResponse listDataSources(String parent) {
Expand Down Expand Up @@ -1045,7 +1045,7 @@ public final UnaryCallable<GetTransferConfigRequest, TransferConfig> getTransfer
* }
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned:
* @param parent Required. The BigQuery project id for which transfer configs should be returned:
* `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1078,7 +1078,7 @@ public final ListTransferConfigsPagedResponse listTransferConfigs(LocationName p
* }
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned:
* @param parent Required. The BigQuery project id for which transfer configs should be returned:
* `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -1111,7 +1111,7 @@ public final ListTransferConfigsPagedResponse listTransferConfigs(ProjectName pa
* }
* }</pre>
*
* @param parent Required. The BigQuery project id for which data sources should be returned:
* @param parent Required. The BigQuery project id for which transfer configs should be returned:
* `projects/{project_id}` or `projects/{project_id}/locations/{location_id}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -2225,9 +2225,9 @@ public final CheckValidCredsResponse checkValidCreds(CheckValidCredsRequest requ
/**
* Enroll data sources in a user project. This allows users to create transfer configurations for
* these data sources. They will also appear in the ListDataSources RPC and as such, will appear
* in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* in the [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents can be found
* in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui)
* and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
*
* <p>Sample code:
*
Expand Down Expand Up @@ -2258,9 +2258,9 @@ public final void enrollDataSources(EnrollDataSourcesRequest request) {
/**
* Enroll data sources in a user project. This allows users to create transfer configurations for
* these data sources. They will also appear in the ListDataSources RPC and as such, will appear
* in the BigQuery UI 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* in the [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents can be found
* in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui)
* and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
*
* <p>Sample code:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1048,10 +1048,12 @@ public void checkValidCreds(
* <pre>
* Enroll data sources in a user project. This allows users to create transfer
* configurations for these data sources. They will also appear in the
* ListDataSources RPC and as such, will appear in the BigQuery UI
* 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* ListDataSources RPC and as such, will appear in the
* [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
* can be found in the public guide for
* [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
* [Data Transfer
* Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
* </pre>
*/
public void enrollDataSources(
Expand Down Expand Up @@ -1450,10 +1452,12 @@ public void checkValidCreds(
* <pre>
* Enroll data sources in a user project. This allows users to create transfer
* configurations for these data sources. They will also appear in the
* ListDataSources RPC and as such, will appear in the BigQuery UI
* 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* ListDataSources RPC and as such, will appear in the
* [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
* can be found in the public guide for
* [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
* [Data Transfer
* Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
* </pre>
*/
public void enrollDataSources(
Expand Down Expand Up @@ -1689,10 +1693,12 @@ public com.google.cloud.bigquery.datatransfer.v1.CheckValidCredsResponse checkVa
* <pre>
* Enroll data sources in a user project. This allows users to create transfer
* configurations for these data sources. They will also appear in the
* ListDataSources RPC and as such, will appear in the BigQuery UI
* 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* ListDataSources RPC and as such, will appear in the
* [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
* can be found in the public guide for
* [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
* [Data Transfer
* Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
* </pre>
*/
public com.google.protobuf.Empty enrollDataSources(
Expand Down Expand Up @@ -1944,10 +1950,12 @@ protected DataTransferServiceFutureStub build(
* <pre>
* Enroll data sources in a user project. This allows users to create transfer
* configurations for these data sources. They will also appear in the
* ListDataSources RPC and as such, will appear in the BigQuery UI
* 'https://bigquery.cloud.google.com' (and the documents can be found at
* https://cloud.google.com/bigquery/bigquery-web-ui and
* https://cloud.google.com/bigquery/docs/working-with-transfers).
* ListDataSources RPC and as such, will appear in the
* [BigQuery UI](https://console.cloud.google.com/bigquery), and the documents
* can be found in the public guide for
* [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and
* [Data Transfer
* Service](https://cloud.google.com/bigquery/docs/working-with-transfers).
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
Expand Down
Loading