Class: Google::Cloud::Workstations::V1::GenerateAccessTokenResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Workstations::V1::GenerateAccessTokenResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/workstations/v1/workstations.rb
Overview
Response message for GenerateAccessToken.
Instance Attribute Summary collapse
-
#access_token ⇒ ::String
The generated bearer access token.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
Time at which the generated token will expire.
Instance Attribute Details
#access_token ⇒ ::String
Returns 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>
.
1138 1139 1140 1141 |
# File 'proto_docs/google/cloud/workstations/v1/workstations.rb', line 1138 class GenerateAccessTokenResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#expire_time ⇒ ::Google::Protobuf::Timestamp
Returns Time at which the generated token will expire.
1138 1139 1140 1141 |
# File 'proto_docs/google/cloud/workstations/v1/workstations.rb', line 1138 class GenerateAccessTokenResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |