Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VariantsHistory

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

Overview

The history of variants update.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1VariantsHistory

Returns a new instance of GoogleCloudDialogflowCxV3beta1VariantsHistory.



12385
12386
12387
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12385

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

Instance Attribute Details

#update_timeString

Update time of the variants. Corresponds to the JSON property updateTime

Returns:

  • (String)


12378
12379
12380
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12378

def update_time
  @update_time
end

#version_variantsGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants

A list of flow version variants. Corresponds to the JSON property versionVariants



12383
12384
12385
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12383

def version_variants
  @version_variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12390
12391
12392
12393
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 12390

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