Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings.



11427
11428
11429
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11427

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

Instance Attribute Details

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

Corresponds to the JSON property dataStoreConnections



11404
11405
11406
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11404

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


11409
11410
11411
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11409

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


11415
11416
11417
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11415

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


11420
11421
11422
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11420

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1Fulfillment

Corresponds to the JSON property triggerFulfillment



11425
11426
11427
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11425

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11432
11433
11434
11435
11436
11437
11438
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11432

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