Skip to content

Commit

Permalink
feat: [bigquerydatatransfer] added Location API methods (#8805)
Browse files Browse the repository at this point in the history
* feat: added Location API methods
docs: updated comments

PiperOrigin-RevId: 489094434

Source-Link: googleapis/googleapis@71673d8

Source-Link: https://github.com/googleapis/googleapis-gen/commit/10177232d420006610ae9fb740d9f13efe975cb9
Copy-Tag: eyJwIjoiamF2YS1iaWdxdWVyeWRhdGF0cmFuc2Zlci8uT3dsQm90LnlhbWwiLCJoIjoiMTAxNzcyMzJkNDIwMDA2NjEwYWU5ZmI3NDBkOWYxM2VmZTk3NWNiOSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Nov 17, 2022
1 parent 2003d7f commit 862afab
Show file tree
Hide file tree
Showing 21 changed files with 806 additions and 612 deletions.
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

0 comments on commit 862afab

Please sign in to comment.