Class: Google::Cloud::Shell::V1::AuthorizeEnvironmentRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#access_token::String

Returns The OAuth access token that should be sent to the environment.

Returns:

  • (::String)

    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.

Returns:

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

    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.

Returns:

  • (::String)

    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/[email protected]/environments/default.

Returns:

  • (::String)

    Name of the resource that should receive the credentials, for example users/me/environments/default or users/[email protected]/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