Cloud Workstations V1BETA API - Class Google::Cloud::Workstations::V1beta::GenerateAccessTokenResponse (v0.1.2)

Reference documentation and code samples for the Cloud Workstations V1BETA API class Google::Cloud::Workstations::V1beta::GenerateAccessTokenResponse.

Response message for GenerateAccessToken.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_token

def access_token() -> ::String
Returns
  • (::String) — The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname—for example, Authorization: Bearer <access_token>.

#access_token=

def access_token=(value) -> ::String
Parameter
  • value (::String) — The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname—for example, Authorization: Bearer <access_token>.
Returns
  • (::String) — The generated bearer access token. To use this token, include it in an Authorization header of an HTTP request sent to the associated workstation's hostname—for example, Authorization: Bearer <access_token>.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns

#expire_time=

def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns