Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator

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

Overview

LLM generator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1Generator

Returns a new instance of GoogleCloudDialogflowV2beta1Generator.



13990
13991
13992
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13990

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

Instance Attribute Details

#create_timeString

Output only. Creation time of this generator. Corresponds to the JSON property createTime

Returns:

  • (String)


13956
13957
13958
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13956

def create_time
  @create_time
end

#descriptionString

Optional. Human readable description of the generator. Corresponds to the JSON property description

Returns:

  • (String)


13961
13962
13963
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13961

def description
  @description
end

#inference_parameterGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter

The parameters of inference. Corresponds to the JSON property inferenceParameter



13966
13967
13968
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13966

def inference_parameter
  @inference_parameter
end

#nameString

Output only. Identifier. The resource name of the generator. Format: projects/ /locations//generators/ Corresponds to the JSON property name

Returns:

  • (String)


13972
13973
13974
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13972

def name
  @name
end

#summarization_contextGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext

Summarization context that customer can configure. Corresponds to the JSON property summarizationContext



13977
13978
13979
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13977

def summarization_context
  @summarization_context
end

#trigger_eventString

Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation. Corresponds to the JSON property triggerEvent

Returns:

  • (String)


13983
13984
13985
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13983

def trigger_event
  @trigger_event
end

#update_timeString

Output only. Update time of this generator. Corresponds to the JSON property updateTime

Returns:

  • (String)


13988
13989
13990
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13988

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13995
13996
13997
13998
13999
14000
14001
14002
14003
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13995

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @inference_parameter = args[:inference_parameter] if args.key?(:inference_parameter)
  @name = args[:name] if args.key?(:name)
  @summarization_context = args[:summarization_context] if args.key?(:summarization_context)
  @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
  @update_time = args[:update_time] if args.key?(:update_time)
end