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.



16173
16174
16175
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16173

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

Instance Attribute Details

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

Generated candidates. Corresponds to the JSON property candidates



16171
16172
16173
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16171

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16178
16179
16180
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16178

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