Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition

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) ⇒ GoogleCloudDialogflowCxV3ParameterDefinition

Returns a new instance of GoogleCloudDialogflowCxV3ParameterDefinition.



5730
5731
5732
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5730

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


5713
5714
5715
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5713

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


5718
5719
5720
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5718

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


5723
5724
5725
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5723

def type
  @type
end

#type_schemaGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchema

Corresponds to the JSON property typeSchema



5728
5729
5730
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5728

def type_schema
  @type_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5735
5736
5737
5738
5739
5740
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5735

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @name = args[:name] if args.key?(:name)
  @type = args[:type] if args.key?(:type)
  @type_schema = args[:type_schema] if args.key?(:type_schema)
end