Reference documentation and code samples for the Cloud Workstations V1BETA API class Google::Cloud::Workstations::V1beta::PushCredentialsRequest::OAuthToken.
OAuth token.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_token
def access_token() -> ::String
Returns
- (::String) — Required. The OAuth token.
#access_token=
def access_token=(value) -> ::String
Parameter
- value (::String) — Required. The OAuth token.
Returns
- (::String) — Required. The OAuth token.
def email() -> ::String
Returns
- (::String) — Optional. The email address encapsulated in the OAuth token.
#email=
def email=(value) -> ::String
Parameter
- value (::String) — Optional. The email address encapsulated in the OAuth token.
Returns
- (::String) — Optional. The email address encapsulated in the OAuth token.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The time the OAuth access token will expire. This should be the time the access token was generated plus the expires_in offset returned from the Access Token Response.
#scopes
def scopes() -> ::String
Returns
- (::String) — Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.
#scopes=
def scopes=(value) -> ::String
Parameter
- value (::String) — Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.
Returns
- (::String) — Optional. The scopes encapsulated in the OAuth token. See https://developers.google.com/identity/protocols/oauth2/scopes for more information.