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.
6045 6046 6047 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6045 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
6038 6039 6040 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6038 def config @config end |
#inputs ⇒ Array<Google::Apis::CesV1::SessionInput>
Required. Inputs for the session.
Corresponds to the JSON property inputs
6043 6044 6045 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6043 def inputs @inputs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6050 6051 6052 6053 |
# File 'lib/google/apis/ces_v1/classes.rb', line 6050 def update!(**args) @config = args[:config] if args.key?(:config) @inputs = args[:inputs] if args.key?(:inputs) end |