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.



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

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

Instance Attribute Details

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

Corresponds to the JSON property dataStoreConnections



1705
1706
1707
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1705

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


1710
1711
1712
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1710

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


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

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


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

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



1726
1727
1728
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1726

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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