Class: Google::Apis::CloudbillingV1beta::GenerateInsightsResponse

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

Overview

Response for GenerateInsights.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateInsightsResponse

Returns a new instance of GenerateInsightsResponse.



414
415
416
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 414

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

Instance Attribute Details

#final_resultGoogle::Apis::CloudbillingV1beta::FinalResult

Encapsulates all structured data and the completed summary. Corresponds to the JSON property finalResult



395
396
397
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 395

def final_result
  @final_result
end

#rejectionGoogle::Apis::CloudbillingV1beta::Rejection

Encapsulates details about why a request was rejected. Corresponds to the JSON property rejection



400
401
402
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 400

def rejection
  @rejection
end

#summary_chunkString

Output only. A chunk of the natural language summary (customer-facing). The UI can append these chunks to provide a real-time "typing" effect. Corresponds to the JSON property summaryChunk

Returns:

  • (String)


406
407
408
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 406

def summary_chunk
  @summary_chunk
end

#thought_chunkString

Output only. A chunk of the agent's internal reasoning process. The UI can use this to render a "Thinking..." log or status. Corresponds to the JSON property thoughtChunk

Returns:

  • (String)


412
413
414
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 412

def thought_chunk
  @thought_chunk
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



419
420
421
422
423
424
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 419

def update!(**args)
  @final_result = args[:final_result] if args.key?(:final_result)
  @rejection = args[:rejection] if args.key?(:rejection)
  @summary_chunk = args[:summary_chunk] if args.key?(:summary_chunk)
  @thought_chunk = args[:thought_chunk] if args.key?(:thought_chunk)
end