class Google::Apis::CloudshellV1::AuthorizeEnvironmentRequest

Request message for AuthorizeEnvironment.

Attributes

access_token[RW]

The OAuth access token that should be sent to the environment. Corresponds to the JSON property `accessToken` @return [String]

expire_time[RW]

The time when the credentials expire. If not set, defaults to one hour from when the server received the request. Corresponds to the JSON property `expireTime` @return [String]

id_token[RW]

The OAuth ID token that should be sent to the environment. Corresponds to the JSON property `idToken` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudshell_v1/classes.rb, line 115
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudshell_v1/classes.rb, line 120
def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
  @id_token = args[:id_token] if args.key?(:id_token)
end