Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
422b013
fix!: Remove `temp_bucket` from VirtualClusterConfig, as its value wa…
gcf-owl-bot[bot] Apr 8, 2022
61eb829
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 8, 2022
e41f697
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 8, 2022
cded30c
Merge branch 'owl-bot-copy' of https://github.com/googleapis/java-dat…
gcf-owl-bot[bot] Apr 8, 2022
452c931
fix!: Move `yarn_config` into a `oneof`
gcf-owl-bot[bot] Apr 8, 2022
982fac7
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 8, 2022
c59552a
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 8, 2022
d4eda73
Merge branch 'owl-bot-copy' of https://github.com/googleapis/java-dat…
gcf-owl-bot[bot] Apr 8, 2022
e9ba3e5
chore(bazel): update version of Protobuf to v3.20.1
gcf-owl-bot[bot] Apr 26, 2022
4937daa
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 26, 2022
39529c4
chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-jav…
gcf-owl-bot[bot] May 3, 2022
4a7435c
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] May 3, 2022
305bcef
chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-jav…
gcf-owl-bot[bot] May 24, 2022
9af88cb
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] May 24, 2022
4dcdc46
chore: Integrate new gapic-generator-java and rules_gapic
gcf-owl-bot[bot] Jun 10, 2022
6ab0a72
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jun 10, 2022
d29192f
feat: Enable REST transport for most of Java and Go clients
gcf-owl-bot[bot] Jun 23, 2022
e161916
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jun 23, 2022
33c27a7
Update pom.xml
Neenu1995 Jun 23, 2022
4003560
Merge branch 'main' into owl-bot-copy
Neenu1995 Jun 24, 2022
2bc60b0
fix: update gapic-generator-java with mock service generation fixes
gcf-owl-bot[bot] Jun 27, 2022
bdf022f
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Jun 27, 2022
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ If you are using Maven without BOM, add this to your dependencies:
If you are using Gradle 5.x or later, add this to your dependencies

```Groovy
implementation platform('com.google.cloud:libraries-bom:25.1.0')
implementation platform('com.google.cloud:libraries-bom:25.2.0')

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:3.0.3'
implementation 'com.google.cloud:google-cloud-dataproc:3.0.4'
```

If you are using SBT, add this to your dependencies

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "3.0.3"
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "3.0.4"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -42,6 +42,8 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Expand Down Expand Up @@ -81,6 +83,8 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* AutoscalingPolicyServiceSettings autoscalingPolicyServiceSettings =
* AutoscalingPolicyServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -92,6 +96,8 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* AutoscalingPolicyServiceSettings autoscalingPolicyServiceSettings =
* AutoscalingPolicyServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
Expand Down Expand Up @@ -162,6 +168,8 @@ public AutoscalingPolicyServiceStub getStub() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Expand Down Expand Up @@ -202,6 +210,8 @@ public final AutoscalingPolicy createAutoscalingPolicy(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* RegionName parent = RegionName.of("[PROJECT]", "[REGION]");
Expand Down Expand Up @@ -242,6 +252,8 @@ public final AutoscalingPolicy createAutoscalingPolicy(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
Expand Down Expand Up @@ -278,6 +290,8 @@ public final AutoscalingPolicy createAutoscalingPolicy(String parent, Autoscalin
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* CreateAutoscalingPolicyRequest request =
Expand All @@ -303,6 +317,8 @@ public final AutoscalingPolicy createAutoscalingPolicy(CreateAutoscalingPolicyRe
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* CreateAutoscalingPolicyRequest request =
Expand Down Expand Up @@ -331,6 +347,8 @@ public final AutoscalingPolicy createAutoscalingPolicy(CreateAutoscalingPolicyRe
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* AutoscalingPolicy policy = AutoscalingPolicy.newBuilder().build();
Expand All @@ -356,6 +374,8 @@ public final AutoscalingPolicy updateAutoscalingPolicy(AutoscalingPolicy policy)
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* UpdateAutoscalingPolicyRequest request =
Expand All @@ -382,6 +402,8 @@ public final AutoscalingPolicy updateAutoscalingPolicy(UpdateAutoscalingPolicyRe
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* UpdateAutoscalingPolicyRequest request =
Expand All @@ -407,6 +429,8 @@ public final AutoscalingPolicy updateAutoscalingPolicy(UpdateAutoscalingPolicyRe
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* AutoscalingPolicyName name =
Expand Down Expand Up @@ -446,6 +470,8 @@ public final AutoscalingPolicy getAutoscalingPolicy(AutoscalingPolicyName name)
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String name =
Expand Down Expand Up @@ -484,6 +510,8 @@ public final AutoscalingPolicy getAutoscalingPolicy(String name) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* GetAutoscalingPolicyRequest request =
Expand Down Expand Up @@ -511,6 +539,8 @@ public final AutoscalingPolicy getAutoscalingPolicy(GetAutoscalingPolicyRequest
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* GetAutoscalingPolicyRequest request =
Expand Down Expand Up @@ -539,6 +569,8 @@ public final AutoscalingPolicy getAutoscalingPolicy(GetAutoscalingPolicyRequest
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Expand Down Expand Up @@ -577,6 +609,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(Locati
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* RegionName parent = RegionName.of("[PROJECT]", "[REGION]");
Expand Down Expand Up @@ -615,6 +649,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(Region
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
Expand Down Expand Up @@ -651,6 +687,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(String
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
Expand Down Expand Up @@ -681,6 +719,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
Expand Down Expand Up @@ -710,6 +750,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* ListAutoscalingPoliciesRequest request =
Expand Down Expand Up @@ -747,6 +789,8 @@ public final ListAutoscalingPoliciesPagedResponse listAutoscalingPolicies(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* AutoscalingPolicyName name =
Expand Down Expand Up @@ -787,6 +831,8 @@ public final void deleteAutoscalingPolicy(AutoscalingPolicyName name) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* String name =
Expand Down Expand Up @@ -826,6 +872,8 @@ public final void deleteAutoscalingPolicy(String name) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* DeleteAutoscalingPolicyRequest request =
Expand Down Expand Up @@ -854,6 +902,8 @@ public final void deleteAutoscalingPolicy(DeleteAutoscalingPolicyRequest request
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (AutoscalingPolicyServiceClient autoscalingPolicyServiceClient =
* AutoscalingPolicyServiceClient.create()) {
* DeleteAutoscalingPolicyRequest request =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -53,6 +53,8 @@
* <p>For example, to set the total timeout of createAutoscalingPolicy to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* AutoscalingPolicyServiceSettings.Builder autoscalingPolicyServiceSettingsBuilder =
* AutoscalingPolicyServiceSettings.newBuilder();
* autoscalingPolicyServiceSettingsBuilder
Expand Down
Loading