Class: Google::Apis::CloudbillingV1beta::SuggestedQuery

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

A suggested follow-up query for the user.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SuggestedQuery

Returns a new instance of SuggestedQuery.



2245
2246
2247
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2245

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

Instance Attribute Details

#queryString

The natural language query. Corresponds to the JSON property query

Returns:

  • (String)


2243
2244
2245
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2243

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2250
2251
2252
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2250

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