Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse

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

Overview

Response for the GenerateGroundedContent method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse

Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse.



5558
5559
5560
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5558

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

Instance Attribute Details

#candidatesArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate>

Generated candidates. Corresponds to the JSON property candidates



5556
5557
5558
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5556

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5563
5564
5565
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5563

def update!(**args)
  @candidates = args[:candidates] if args.key?(:candidates)
end