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

[CHANGE ME] Re-generated to pick up changes in the API or client library generator. #105

Merged
merged 2 commits into from Apr 4, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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