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.



3692
3693
3694
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3692

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

Instance Attribute Details

#agentString

Corresponds to the JSON property agent

Returns:

  • (String)


3664
3665
3666
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3664

def agent
  @agent
end

#agent_identityString

Corresponds to the JSON property agentIdentity

Returns:

  • (String)


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

def agent_identity
  @agent_identity
end

#agent_scopeString

Corresponds to the JSON property agentScope

Returns:

  • (String)


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

def agent_scope
  @agent_scope
end

#businessString

Corresponds to the JSON property business

Returns:

  • (String)


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

def business
  @business
end

#business_descriptionString

Corresponds to the JSON property businessDescription

Returns:

  • (String)


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

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)


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

def disable_data_store_fallback
  @disable_data_store_fallback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3697
3698
3699
3700
3701
3702
3703
3704
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 3697

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