Cloud Shell V1 API - Class Google::Cloud::Shell::V1::AuthorizeEnvironmentRequest (v1.0.0)

Reference documentation and code samples for the Cloud Shell V1 API class Google::Cloud::Shell::V1::AuthorizeEnvironmentRequest.

Request message for AuthorizeEnvironment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access_token

def access_token() -> ::String
Returns
  • (::String) — The OAuth access token that should be sent to the environment.

#access_token=

def access_token=(value) -> ::String
Parameter
  • value (::String) — The OAuth access token that should be sent to the environment.
Returns
  • (::String) — The OAuth access token that should be sent to the environment.

#expire_time

def expire_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::Google::Protobuf::Timestamp) — The time when the credentials expire. If not set, defaults to one hour from when the server received the request.

#expire_time=

def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
  • value (::Google::Protobuf::Timestamp) — 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.

#id_token

def id_token() -> ::String
Returns
  • (::String) — The OAuth ID token that should be sent to the environment.

#id_token=

def id_token=(value) -> ::String
Parameter
  • value (::String) — The OAuth ID token that should be sent to the environment.
Returns
  • (::String) — The OAuth ID token that should be sent to the environment.

#name

def name() -> ::String
Returns
  • (::String) — Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.
Returns
  • (::String) — Name of the resource that should receive the credentials, for example users/me/environments/default or users/someone@example.com/environments/default.