Class: Google::Apis::CesV1::RunSessionRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RunSessionRequest

Returns a new instance of RunSessionRequest.



5518
5519
5520
# File 'lib/google/apis/ces_v1/classes.rb', line 5518

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configGoogle::Apis::CesV1::SessionConfig

The configuration for the session. Corresponds to the JSON property config



5511
5512
5513
# File 'lib/google/apis/ces_v1/classes.rb', line 5511

def config
  @config
end

#inputsArray<Google::Apis::CesV1::SessionInput>

Required. Inputs for the session. Corresponds to the JSON property inputs



5516
5517
5518
# File 'lib/google/apis/ces_v1/classes.rb', line 5516

def inputs
  @inputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5523
5524
5525
5526
# File 'lib/google/apis/ces_v1/classes.rb', line 5523

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @inputs = args[:inputs] if args.key?(:inputs)
end