Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariants

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

Overview

A list of flow version variants.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3VersionVariants

Returns a new instance of GoogleCloudDialogflowCxV3VersionVariants.



8255
8256
8257
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8255

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

Instance Attribute Details

#variantsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3VersionVariantsVariant>

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



8253
8254
8255
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8253

def variants
  @variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8260
8261
8262
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8260

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