Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings

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

Returns a new instance of GoogleCloudDialogflowCxV3GenerativeSettingsKnowledgeConnectorSettings.



3698
3699
3700
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3698

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

Instance Attribute Details

#agentString

Corresponds to the JSON property agent

Returns:

  • (String)


3670
3671
3672
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3670

def agent
  @agent
end

#agent_identityString

Corresponds to the JSON property agentIdentity

Returns:

  • (String)


3675
3676
3677
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3675

def agent_identity
  @agent_identity
end

#agent_scopeString

Corresponds to the JSON property agentScope

Returns:

  • (String)


3680
3681
3682
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3680

def agent_scope
  @agent_scope
end

#businessString

Corresponds to the JSON property business

Returns:

  • (String)


3685
3686
3687
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3685

def business
  @business
end

#business_descriptionString

Corresponds to the JSON property businessDescription

Returns:

  • (String)


3690
3691
3692
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3690

def business_description
  @business_description
end

#disable_data_store_fallbackBoolean Also known as: disable_data_store_fallback?

Corresponds to the JSON property disableDataStoreFallback

Returns:

  • (Boolean)


3695
3696
3697
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3695

def disable_data_store_fallback
  @disable_data_store_fallback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3703
3704
3705
3706
3707
3708
3709
3710
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3703

def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
  @agent_identity = args[:agent_identity] if args.key?(:agent_identity)
  @agent_scope = args[:agent_scope] if args.key?(:agent_scope)
  @business = args[:business] if args.key?(:business)
  @business_description = args[:business_description] if args.key?(:business_description)
  @disable_data_store_fallback = args[:disable_data_store_fallback] if args.key?(:disable_data_store_fallback)
end