Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings.



5096
5097
5098
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5096

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

Instance Attribute Details

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

Corresponds to the JSON property dataStoreConnections



5073
5074
5075
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5073

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


5078
5079
5080
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5078

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


5084
5085
5086
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5084

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


5089
5090
5091
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5089

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



5094
5095
5096
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5094

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5101
5102
5103
5104
5105
5106
5107
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5101

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