Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb 
Overview
Explicit input used for generating the answer
Instance Attribute Summary collapse
- 
  
    
      #generator_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource name of associated generator.
 - 
  
    
      #query  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Query text.
 - 
  
    
      #query_source  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Query source for the answer.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput
Returns a new instance of GoogleCloudContactcenterinsightsV1RuntimeAnnotationUserInput.
      3388 3389 3390  | 
    
      # File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3388 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#generator_name ⇒ String
The resource name of associated generator. Format: projects//locations//
generators/
Corresponds to the JSON property generatorName
      3375 3376 3377  | 
    
      # File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3375 def generator_name @generator_name end  | 
  
#query ⇒ String
Query text. Article Search uses this to store the input query used to generate
the search results.
Corresponds to the JSON property query
      3381 3382 3383  | 
    
      # File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3381 def query @query end  | 
  
#query_source ⇒ String
Query source for the answer.
Corresponds to the JSON property querySource
      3386 3387 3388  | 
    
      # File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3386 def query_source @query_source end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3393 3394 3395 3396 3397  | 
    
      # File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3393 def update!(**args) @generator_name = args[:generator_name] if args.key?(:generator_name) @query = args[:query] if args.key?(:query) @query_source = args[:query_source] if args.key?(:query_source) end  |