Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3KnowledgeConnectorSettings

Returns a new instance of GoogleCloudDialogflowCxV3KnowledgeConnectorSettings.



1740
1741
1742
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1740

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

Instance Attribute Details

#data_store_connectionsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3DataStoreConnection>

Corresponds to the JSON property dataStoreConnections



1717
1718
1719
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1717

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1722
1723
1724
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1722

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


1728
1729
1730
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1728

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


1733
1734
1735
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1733

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



1738
1739
1740
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1738

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1745
1746
1747
1748
1749
1750
1751
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1745

def update!(**args)
  @data_store_connections = args[:data_store_connections] if args.key?(:data_store_connections)
  @enabled = args[:enabled] if args.key?(:enabled)
  @target_flow = args[:target_flow] if args.key?(:target_flow)
  @target_page = args[:target_page] if args.key?(:target_page)
  @trigger_fulfillment = args[:trigger_fulfillment] if args.key?(:trigger_fulfillment)
end