Class: Google::Cloud::Workstations::V1::GenerateAccessTokenRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/workstations/v1/workstations.rb

Overview

Request message for GenerateAccessToken.

Instance Attribute Summary collapse

Instance Attribute Details

#expire_time::Google::Protobuf::Timestamp

Returns Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.

Returns:

  • (::Google::Protobuf::Timestamp)

    Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future.



1123
1124
1125
1126
# File 'proto_docs/google/cloud/workstations/v1/workstations.rb', line 1123

class GenerateAccessTokenRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#ttl::Google::Protobuf::Duration

Returns Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.

Returns:

  • (::Google::Protobuf::Duration)

    Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour.



1123
1124
1125
1126
# File 'proto_docs/google/cloud/workstations/v1/workstations.rb', line 1123

class GenerateAccessTokenRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#workstation::String

Returns Required. Name of the workstation for which the access token should be generated.

Returns:

  • (::String)

    Required. Name of the workstation for which the access token should be generated.



1123
1124
1125
1126
# File 'proto_docs/google/cloud/workstations/v1/workstations.rb', line 1123

class GenerateAccessTokenRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end