Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariants

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

A list of flow version variants.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1VersionVariants

Returns a new instance of GoogleCloudDialogflowCxV3beta1VersionVariants.



11987
11988
11989
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11987

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

Instance Attribute Details

#variantsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1VersionVariantsVariant>

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



11985
11986
11987
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11985

def variants
  @variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11992
11993
11994
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 11992

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