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.



7081
7082
7083
# File 'lib/google/apis/ces_v1/classes.rb', line 7081

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

Instance Attribute Details

#configGoogle::Apis::CesV1::SessionConfig

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



7074
7075
7076
# File 'lib/google/apis/ces_v1/classes.rb', line 7074

def config
  @config
end

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

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



7079
7080
7081
# File 'lib/google/apis/ces_v1/classes.rb', line 7079

def inputs
  @inputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7086
7087
7088
7089
# File 'lib/google/apis/ces_v1/classes.rb', line 7086

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