Class: Google::Cloud::Shell::V1::AuthorizeEnvironmentRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Shell::V1::AuthorizeEnvironmentRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/shell/v1/cloudshell.rb
Overview
Request message for AuthorizeEnvironment.
Instance Attribute Summary collapse
-
#access_token ⇒ ::String
The OAuth access token that should be sent to the environment.
-
#expire_time ⇒ ::Google::Protobuf::Timestamp
The time when the credentials expire.
-
#id_token ⇒ ::String
The OAuth ID token that should be sent to the environment.
-
#name ⇒ ::String
Name of the resource that should receive the credentials, for example
users/me/environments/default
orusers/someone@example.com/environments/default
.
Instance Attribute Details
#access_token ⇒ ::String
Returns The OAuth access token that should be sent to the environment.
159 160 161 162 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 159 class AuthorizeEnvironmentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#expire_time ⇒ ::Google::Protobuf::Timestamp
Returns The time when the credentials expire. If not set, defaults to one hour from when the server received the request.
159 160 161 162 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 159 class AuthorizeEnvironmentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#id_token ⇒ ::String
Returns The OAuth ID token that should be sent to the environment.
159 160 161 162 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 159 class AuthorizeEnvironmentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns Name of the resource that should receive the credentials, for example
users/me/environments/default
or
users/someone@example.com/environments/default
.
159 160 161 162 |
# File 'proto_docs/google/cloud/shell/v1/cloudshell.rb', line 159 class AuthorizeEnvironmentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |