Skip to content
Permalink
Browse files
feat: re-generated to pick up changes in the API or client library ge…
…nerator. (#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
  • Loading branch information
yoshi-automation committed Apr 4, 2020
1 parent 41aa97f commit 52060f3900c501311e3c97c1c4c30795061751e2
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>4.3.0</version>
<version>4.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -299,6 +299,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
* <code>GOOGLE_PLUS_AUTHORIZATION_CODE = 2;</code>
*/
GOOGLE_PLUS_AUTHORIZATION_CODE(2),
/**
*
*
* <pre>
* Use First Party Client OAuth. First Party Client OAuth doesn't require a
* refresh token to get an offline access token. Instead, it uses a
* client-signed JWT assertion to retrieve an access token.
* </pre>
*
* <code>FIRST_PARTY_OAUTH = 3;</code>
*/
FIRST_PARTY_OAUTH(3),
UNRECOGNIZED(-1),
;

@@ -334,6 +346,18 @@ public enum AuthorizationType implements com.google.protobuf.ProtocolMessageEnum
* <code>GOOGLE_PLUS_AUTHORIZATION_CODE = 2;</code>
*/
public static final int GOOGLE_PLUS_AUTHORIZATION_CODE_VALUE = 2;
/**
*
*
* <pre>
* Use First Party Client OAuth. First Party Client OAuth doesn't require a
* refresh token to get an offline access token. Instead, it uses a
* client-signed JWT assertion to retrieve an access token.
* </pre>
*
* <code>FIRST_PARTY_OAUTH = 3;</code>
*/
public static final int FIRST_PARTY_OAUTH_VALUE = 3;

public final int getNumber() {
if (this == UNRECOGNIZED) {
@@ -365,6 +389,8 @@ public static AuthorizationType forNumber(int value) {
return AUTHORIZATION_CODE;
case 2:
return GOOGLE_PLUS_AUTHORIZATION_CODE;
case 3:
return FIRST_PARTY_OAUTH;
default:
return null;
}

0 comments on commit 52060f3

Please sign in to comment.