Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse

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

Overview

Response for the GenerateGroundedContent method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse

Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse.

[View source]

10660
10661
10662
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10660

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

Instance Attribute Details

#candidatesArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate>

Generated candidates. Corresponds to the JSON property candidates


10658
10659
10660
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10658

def candidates
  @candidates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

10665
10666
10667
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10665

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