Class: Google::Apis::CesV1::RunSessionRequest
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::RunSessionRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Request message for SessionService.RunSession.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::CesV1::SessionConfig
The configuration for the session.
-
#inputs ⇒ Array<Google::Apis::CesV1::SessionInput>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RunSessionRequest
constructor
A new instance of RunSessionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RunSessionRequest
Returns a new instance of RunSessionRequest.
7023 7024 7025 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::CesV1::SessionConfig
The configuration for the session.
Corresponds to the JSON property config
7016 7017 7018 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7016 def config @config end |
#inputs ⇒ Array<Google::Apis::CesV1::SessionInput>
Required. Inputs for the session.
Corresponds to the JSON property inputs
7021 7022 7023 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7021 def inputs @inputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7028 7029 7030 7031 |
# File 'lib/google/apis/ces_v1/classes.rb', line 7028 def update!(**args) @config = args[:config] if args.key?(:config) @inputs = args[:inputs] if args.key?(:inputs) end |