Class: Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1alpha1::StartEnvironmentRequest
- Defined in:
- generated/google/apis/cloudshell_v1alpha1/classes.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb
Overview
Request message for StartEnvironment.
Instance Attribute Summary collapse
-
#access_token ⇒ String
The initial access token passed to the environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StartEnvironmentRequest
constructor
A new instance of StartEnvironmentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ StartEnvironmentRequest
Returns a new instance of StartEnvironmentRequest
337 338 339 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The initial access token passed to the environment. If this is present and
valid, the environment will be pre-authenticated with gcloud so that the
user can run gcloud commands in Cloud Shell without having to log in. This
code can be updated later by calling AuthorizeEnvironment.
Corresponds to the JSON property accessToken
335 336 337 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 335 def access_token @access_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
342 343 344 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 342 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) end |