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.



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

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


5707
5708
5709
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 5707

def description
  @description
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#typeString

Corresponds to the JSON property type

Returns:

  • (String)


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

def type
  @type
end

#type_schemaGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TypeSchema

Corresponds to the JSON property typeSchema



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

def type_schema
  @type_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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