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

Commit

Permalink
feat: re-generated to pick up changes in the API or client library ge…
Browse files Browse the repository at this point in the history
…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 52060f3
Show file tree
Hide file tree
Showing 6 changed files with 242 additions and 212 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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>
Expand Down
Expand Up @@ -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),
;

Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 52060f3

Please sign in to comment.