Interface AuthorizeEnvironmentRequestOrBuilder (2.79.0)

publicinterface AuthorizeEnvironmentRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccessToken()

publicabstractStringgetAccessToken()

The OAuth access token that should be sent to the environment.

string access_token = 2;

Returns
Type Description
String

The accessToken.

getAccessTokenBytes()

publicabstractByteStringgetAccessTokenBytes()

The OAuth access token that should be sent to the environment.

string access_token = 2;

Returns
Type Description
ByteString

The bytes for accessToken.

getExpireTime()

publicabstractTimestampgetExpireTime()

The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

.google.protobuf.Timestamp expire_time = 3;

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

publicabstractTimestampOrBuildergetExpireTimeOrBuilder()

The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

.google.protobuf.Timestamp expire_time = 3;

Returns
Type Description
TimestampOrBuilder

getIdToken()

publicabstractStringgetIdToken()

The OAuth ID token that should be sent to the environment.

string id_token = 4;

Returns
Type Description
String

The idToken.

getIdTokenBytes()

publicabstractByteStringgetIdTokenBytes()

The OAuth ID token that should be sent to the environment.

string id_token = 4;

Returns
Type Description
ByteString

The bytes for idToken.

getName()

publicabstractStringgetName()

Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

hasExpireTime()

publicabstractbooleanhasExpireTime()

The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

.google.protobuf.Timestamp expire_time = 3;

Returns
Type Description
boolean

Whether the expireTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.