batch refresh and add speech v1p1beta1 by neozwu · Pull Request #2843 · googleapis/google-cloud-java · GitHub
Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@
public class DataTransferServiceStubSettings extends StubSettings<DataTransferServiceStubSettings> {
/** The default scopes of the service. */
private static final ImmutableList<String> DEFAULT_SERVICE_SCOPES =
ImmutableList.<String>builder()
.add("https://www.googleapis.com/auth/bigquery")
.add("https://www.googleapis.com/auth/cloud-platform")
.add("https://www.googleapis.com/auth/cloud-platform.read-only")
.build();
ImmutableList.<String>builder().add("https://www.googleapis.com/auth/cloud-platform").build();

private final UnaryCallSettings<GetDataSourceRequest, DataSource> getDataSourceSettings;
private final PagedCallSettings<
Expand Down
14 changes: 12 additions & 2 deletions google-cloud-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
<gax.version>1.17.0</gax.version>
<gax-grpc.version>1.17.0</gax-grpc.version>
<gax-httpjson.version>0.34.0</gax-httpjson.version>
<generated-proto-beta.version>0.1.28</generated-proto-beta.version>
<generated-proto-ga.version>1.0.4</generated-proto-ga.version>
<generated-proto-beta.version>0.1.29</generated-proto-beta.version>
<generated-proto-ga.version>1.0.5</generated-proto-ga.version>
<google.auth.version>0.9.0</google.auth.version>
<grpc.version>1.9.0</grpc.version>
<nettyssl.version>2.0.7.Final</nettyssl.version>
Expand Down Expand Up @@ -720,6 +720,11 @@
<version>${speech.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-speech-v1p1beta1</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-speech-v1beta1</artifactId>
Expand All @@ -730,6 +735,11 @@
<artifactId>proto-google-cloud-speech-v1</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-speech-v1p1beta1</artifactId>
<version>${generated-proto-beta.version}</version>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-speech-v1beta1</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,7 @@ public final UnaryCallable<CreateContextRequest, Context> createContextCallable(
* }
* </code></pre>
*
* @param context Required. The context to update. Format: `projects/&lt;Project
* ID&gt;/agent/sessions/&lt;Session ID&gt;/contexts/&lt;Context ID&gt;`.
* @param context Required. The context to update.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final Context updateContext(Context context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public SubscriberStub getStub() {
* `"projects/{project}/subscriptions/{subscription}"`. `{subscription}` must start with a
* letter, and contain only letters (`[A-Za-z]`), numbers (`[0-9]`), dashes (`-`), underscores
* (`_`), periods (`.`), tildes (`~`), plus (`+`) or percent signs (`%`). It must be between 3
* and 255 characters in length, and it must not start with `"goog"`.
* and 255 characters in length, and it must not start with `"goog"`
* @param topic The name of the topic from which this subscription is receiving messages. Format
* is `projects/{project}/topics/{topic}`. The value of this field will be `_deleted-topic_`
* if the topic has been deleted.
Expand Down
9 changes: 9 additions & 0 deletions google-cloud-speech/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
<groupId>${project.groupId}</groupId>
<artifactId>google-cloud-core-grpc</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-speech-v1p1beta1</artifactId>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-speech-v1beta1</artifactId>
Expand Down Expand Up @@ -71,6 +75,11 @@
<artifactId>objenesis</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-speech-v1p1beta1</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.api.grpc</groupId>
<artifactId>grpc-google-cloud-speech-v1beta1</artifactId>
Expand Down
Loading