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.



5108
5109
5110
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5108

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

Instance Attribute Details

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

Corresponds to the JSON property dataStoreConnections



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

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


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

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


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

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


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

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



5106
5107
5108
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5106

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5113
5114
5115
5116
5117
5118
5119
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5113

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