Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1GenerativeSettingsKnowledgeConnectorSettings.



7895
7896
7897
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7895

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

Instance Attribute Details

#agentString

Corresponds to the JSON property agent

Returns:

  • (String)


7867
7868
7869
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7867

def agent
  @agent
end

#agent_identityString

Corresponds to the JSON property agentIdentity

Returns:

  • (String)


7872
7873
7874
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7872

def agent_identity
  @agent_identity
end

#agent_scopeString

Corresponds to the JSON property agentScope

Returns:

  • (String)


7877
7878
7879
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7877

def agent_scope
  @agent_scope
end

#businessString

Corresponds to the JSON property business

Returns:

  • (String)


7882
7883
7884
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7882

def business
  @business
end

#business_descriptionString

Corresponds to the JSON property businessDescription

Returns:

  • (String)


7887
7888
7889
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7887

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)


7892
7893
7894
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7892

def disable_data_store_fallback
  @disable_data_store_fallback
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7900
7901
7902
7903
7904
7905
7906
7907
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7900

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