Class: Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1alpha1::AuthorizeEnvironmentRequest
- 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 AuthorizeEnvironment.
Instance Attribute Summary collapse
-
#access_token ⇒ String
The OAuth access token that should be sent to the environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthorizeEnvironmentRequest
constructor
A new instance of AuthorizeEnvironmentRequest.
-
#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) ⇒ AuthorizeEnvironmentRequest
Returns a new instance of AuthorizeEnvironmentRequest
34 35 36 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#access_token ⇒ String
The OAuth access token that should be sent to the environment.
Corresponds to the JSON property accessToken
32 33 34 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 32 def access_token @access_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39 40 41 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 39 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) end |