Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse

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

Overview

Response for the GenerateGroundedContent method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse

Returns a new instance of GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponse.



15804
15805
15806
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15804

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

Instance Attribute Details

#candidatesArray<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGenerateGroundedContentResponseCandidate>

Generated candidates. Corresponds to the JSON property candidates



15802
15803
15804
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15802

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15809
15810
15811
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 15809

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