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

Commit 52060f3

Browse files
feat: re-generated to pick up changes in the API or client library generator. (#105)
* Change triggered by none of the following: This git repo (https://github.com/googleapis/java-bigquerydatatransfer.git) Git repo https://github.com/googleapis/googleapis.git Git repo https://github.com/googleapis/synthtool.git * Add a new AuthorizationType for Data Source Definition. googleapis/googleapis@17cfae0 commit 17cfae00f2bb51cb1683f017da7e295a1b0f01a8 Author: Google APIs <noreply@google.com> Date: Tue Mar 31 10:21:11 2020 -0700 Add a new AuthorizationType for Data Source Definition. PiperOrigin-RevId: 303992863
1 parent 41aa97f commit 52060f3

6 files changed

Lines changed: 242 additions & 212 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>libraries-bom</artifactId>
23-
<version>4.3.0</version>
23+
<version>4.4.0</version>
2424
<type>pom</type>
2525
<scope>import</scope>
2626
</dependency>

proto-google-cloud-bigquerydatatransfer-v1/src/main/java/com/google/cloud/bigquery/datatransfer/v1/DataSource.java

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
299299
* <code>GOOGLE_PLUS_AUTHORIZATION_CODE = 2;</code>
300300
*/
301301
GOOGLE_PLUS_AUTHORIZATION_CODE(2),
302+
/**
303+
*
304+
*
305+
* <pre>
306+
* Use First Party Client OAuth. First Party Client OAuth doesn't require a
307+
* refresh token to get an offline access token. Instead, it uses a
308+
* client-signed JWT assertion to retrieve an access token.
309+
* </pre>
310+
*
311+
* <code>FIRST_PARTY_OAUTH = 3;</code>
312+
*/
313+
FIRST_PARTY_OAUTH(3),
302314
UNRECOGNIZED(-1),
303315
;
304316

@@ -334,6 +346,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
334346
* <code>GOOGLE_PLUS_AUTHORIZATION_CODE = 2;</code>
335347
*/
336348
public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
349+
/**
350+
*
351+
*
352+
* <pre>
353+
* Use First Party Client OAuth. First Party Client OAuth doesn't require a
354+
* refresh token to get an offline access token. Instead, it uses a
355+
* client-signed JWT assertion to retrieve an access token.
356+
* </pre>
357+
*
358+
* <code>FIRST_PARTY_OAUTH = 3;</code>
359+
*/
360+
public static final int FIRST_PARTY_OAUTH_VALUE = 3;
337361

338362
public final int getNumber() {
339363
if (this == UNRECOGNIZED) {
@@ -365,6 +389,8 @@ public static AuthorizationType forNumber(int value) {
365389
return AUTHORIZATION_CODE;
366390
case 2:
367391
return GOOGLE_PLUS_AUTHORIZATION_CODE;
392+
case 3:
393+
return FIRST_PARTY_OAUTH;
368394
default:
369395
return null;
370396
}

0 commit comments

Comments
 (0)