Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3KnowledgeConnectorSettings

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

Returns a new instance of GoogleCloudDialogflowCxV3KnowledgeConnectorSettings.



4650
4651
4652
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4650

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

Instance Attribute Details

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

Corresponds to the JSON property dataStoreConnections



4627
4628
4629
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4627

def data_store_connections
  @data_store_connections
end

#enabledBoolean Also known as: enabled?

Corresponds to the JSON property enabled

Returns:

  • (Boolean)


4632
4633
4634
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4632

def enabled
  @enabled
end

#target_flowString

Corresponds to the JSON property targetFlow

Returns:

  • (String)


4638
4639
4640
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4638

def target_flow
  @target_flow
end

#target_pageString

Corresponds to the JSON property targetPage

Returns:

  • (String)


4643
4644
4645
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4643

def target_page
  @target_page
end

#trigger_fulfillmentGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment

Corresponds to the JSON property triggerFulfillment



4648
4649
4650
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4648

def trigger_fulfillment
  @trigger_fulfillment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4655
4656
4657
4658
4659
4660
4661
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4655

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