Class: Google::Apis::CloudbillingV1beta::GenerateInsightsRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GenerateInsightsRequest
- 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
Request for GenerateInsights.
Instance Attribute Summary collapse
-
#filter ⇒ String
Optional.
-
#overridden_max_iteration_counts ⇒ Fixnum
Optional.
-
#parents ⇒ Array<Google::Apis::CloudbillingV1beta::BillingDataResource>
Optional.
-
#prompt ⇒ String
Required.
-
#user_context ⇒ Google::Apis::CloudbillingV1beta::UserContext
Additional context for personalization (e.g., user persona, role).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateInsightsRequest
constructor
A new instance of GenerateInsightsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateInsightsRequest
Returns a new instance of GenerateInsightsRequest.
374 375 376 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
Optional. Filters cost data by service id. Follows https://google.aip.dev/160
for the filter syntax. eg. filter: "service = 'C7E2-9256-1C43'"
Corresponds to the JSON property filter
352 353 354 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 352 def filter @filter end |
#overridden_max_iteration_counts ⇒ Fixnum
Optional. Overrides the maximum iterations for any selected strategy.
Corresponds to the JSON property overriddenMaxIterationCounts
357 358 359 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 357 def overridden_max_iteration_counts @overridden_max_iteration_counts end |
#parents ⇒ Array<Google::Apis::CloudbillingV1beta::BillingDataResource>
Optional. The billing account or projects to analyze.
Corresponds to the JSON property parents
362 363 364 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 362 def parents @parents end |
#prompt ⇒ String
Required. The natural language prompt from the user.
Corresponds to the JSON property prompt
367 368 369 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 367 def prompt @prompt end |
#user_context ⇒ Google::Apis::CloudbillingV1beta::UserContext
Additional context for personalization (e.g., user persona, role).
Corresponds to the JSON property userContext
372 373 374 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 372 def user_context @user_context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
379 380 381 382 383 384 385 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 379 def update!(**args) @filter = args[:filter] if args.key?(:filter) @overridden_max_iteration_counts = args[:overridden_max_iteration_counts] if args.key?(:overridden_max_iteration_counts) @parents = args[:parents] if args.key?(:parents) @prompt = args[:prompt] if args.key?(:prompt) @user_context = args[:user_context] if args.key?(:user_context) end |