Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Experiment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Experiment

Returns a new instance of GoogleCloudDialogflowCxV3Experiment.



2296
2297
2298
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2296

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

Instance Attribute Details

#create_timeString

Corresponds to the JSON property createTime

Returns:

  • (String)


2224
2225
2226
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2224

def create_time
  @create_time
end

#definitionGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentDefinition

Corresponds to the JSON property definition



2229
2230
2231
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2229

def definition
  @definition
end

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


2234
2235
2236
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2234

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


2239
2240
2241
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2239

def display_name
  @display_name
end

#end_timeString

Corresponds to the JSON property endTime

Returns:

  • (String)


2244
2245
2246
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2244

def end_time
  @end_time
end

#experiment_lengthString

Corresponds to the JSON property experimentLength

Returns:

  • (String)


2249
2250
2251
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2249

def experiment_length
  @experiment_length
end

#last_update_timeString

Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


2254
2255
2256
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2254

def last_update_time
  @last_update_time
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


2259
2260
2261
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2259

def name
  @name
end

#resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResult

Corresponds to the JSON property result



2264
2265
2266
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2264

def result
  @result
end

#rollout_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutConfig

Corresponds to the JSON property rolloutConfig



2269
2270
2271
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2269

def rollout_config
  @rollout_config
end

#rollout_failure_reasonString

Corresponds to the JSON property rolloutFailureReason

Returns:

  • (String)


2274
2275
2276
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2274

def rollout_failure_reason
  @rollout_failure_reason
end

#rollout_stateGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RolloutState

Corresponds to the JSON property rolloutState



2279
2280
2281
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2279

def rollout_state
  @rollout_state
end

#start_timeString

Corresponds to the JSON property startTime

Returns:

  • (String)


2284
2285
2286
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2284

def start_time
  @start_time
end

#stateString

Corresponds to the JSON property state

Returns:

  • (String)


2289
2290
2291
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2289

def state
  @state
end

#variants_historyArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VariantsHistory>

Corresponds to the JSON property variantsHistory



2294
2295
2296
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2294

def variants_history
  @variants_history
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 2301

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @definition = args[:definition] if args.key?(:definition)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @end_time = args[:end_time] if args.key?(:end_time)
  @experiment_length = args[:experiment_length] if args.key?(:experiment_length)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @name = args[:name] if args.key?(:name)
  @result = args[:result] if args.key?(:result)
  @rollout_config = args[:rollout_config] if args.key?(:rollout_config)
  @rollout_failure_reason = args[:rollout_failure_reason] if args.key?(:rollout_failure_reason)
  @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
  @variants_history = args[:variants_history] if args.key?(:variants_history)
end