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.



7003
7004
7005
# File 'lib/google/apis/ces_v1/classes.rb', line 7003

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

Instance Attribute Details

#configGoogle::Apis::CesV1::SessionConfig

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



6996
6997
6998
# File 'lib/google/apis/ces_v1/classes.rb', line 6996

def config
  @config
end

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

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



7001
7002
7003
# File 'lib/google/apis/ces_v1/classes.rb', line 7001

def inputs
  @inputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7008
7009
7010
7011
# File 'lib/google/apis/ces_v1/classes.rb', line 7008

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