Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
feat: delete deprecated Dataproc v1beta2 API client (#651)
Browse files Browse the repository at this point in the history
- [x] Regenerate this pull request now.

Committer: @medb
PiperOrigin-RevId: 392723737

Source-Link: googleapis/googleapis@8bf048d

Source-Link: googleapis/googleapis-gen@f45e49b
  • Loading branch information
gcf-owl-bot[bot] committed Sep 17, 2021
1 parent fccb80f commit 1415252
Show file tree
Hide file tree
Showing 241 changed files with 26 additions and 178,924 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -57,13 +57,13 @@ implementation 'com.google.cloud:google-cloud-dataproc'
If you are using Gradle without BOM, add this to your dependencies

```Groovy
implementation 'com.google.cloud:google-cloud-dataproc:2.1.3'
implementation 'com.google.cloud:google-cloud-dataproc:2.1.4'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "2.1.3"
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "2.1.4"
```

## Authentication
Expand Down
10 changes: 0 additions & 10 deletions google-cloud-dataproc-bom/pom.xml
Expand Up @@ -59,16 +59,6 @@
<artifactId>grpc-google-cloud-dataproc-v1</artifactId>
<version>2.1.5-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-dataproc-v1:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-dataproc-v1beta2</artifactId>
<version>0.95.5-SNAPSHOT</version><!-- {x-version-update:grpc-google-cloud-dataproc-v1beta2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dataproc-v1beta2</artifactId>
<version>0.95.5-SNAPSHOT</version><!-- {x-version-update:proto-google-cloud-dataproc-v1beta2:current} -->
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dataproc-v1</artifactId>
Expand Down
12 changes: 12 additions & 0 deletions google-cloud-dataproc/clirr-ignored-differences.xml
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- see http://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
<differences>
<difference>
<differenceType>8001</differenceType>
<className>com/google/cloud/dataproc/v1beta2/*</className>
</difference>
<difference>
<differenceType>8001</differenceType>
<className>com/google/cloud/dataproc/v1beta2/stub/*</className>
</difference>
</differences>
9 changes: 0 additions & 9 deletions google-cloud-dataproc/pom.xml
Expand Up @@ -42,10 +42,6 @@
<artifactId>proto-google-common-protos</artifactId>
</dependency>

<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dataproc-v1beta2</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-dataproc-v1</artifactId>
Expand Down Expand Up @@ -84,11 +80,6 @@
<artifactId>grpc-google-cloud-dataproc-v1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-dataproc-v1beta2</artifactId>
<scope>test</scope>
</dependency>
<!-- Need testing utility classes for generated gRPC clients tests -->
<dependency>
<groupId>com.google.api</groupId>
Expand Down
Expand Up @@ -250,7 +250,9 @@ public static List<String> getDefaultServiceScopes() {

/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
return GoogleCredentialsProvider.newBuilder()
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
.setUseJwtAccessWithScope(true);
}

/** Returns a builder for the default ChannelProvider for this service. */
Expand Down
Expand Up @@ -295,7 +295,9 @@ public static List<String> getDefaultServiceScopes() {

/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
return GoogleCredentialsProvider.newBuilder()
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
.setUseJwtAccessWithScope(true);
}

/** Returns a builder for the default ChannelProvider for this service. */
Expand Down
Expand Up @@ -241,7 +241,9 @@ public static List<String> getDefaultServiceScopes() {

/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
return GoogleCredentialsProvider.newBuilder()
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
.setUseJwtAccessWithScope(true);
}

/** Returns a builder for the default ChannelProvider for this service. */
Expand Down
Expand Up @@ -283,7 +283,9 @@ public static List<String> getDefaultServiceScopes() {

/** Returns a builder for the default credentials for this service. */
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
return GoogleCredentialsProvider.newBuilder()
.setScopesToApply(DEFAULT_SERVICE_SCOPES)
.setUseJwtAccessWithScope(true);
}

/** Returns a builder for the default ChannelProvider for this service. */
Expand Down

0 comments on commit 1415252

Please sign in to comment.