Class: Google::Apis::DoubleclickbidmanagerV2::Query
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::Query
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb
Overview
Represents a query.
Instance Attribute Summary collapse
-
#metadata ⇒ Google::Apis::DoubleclickbidmanagerV2::QueryMetadata
Query metadata.
-
#params ⇒ Google::Apis::DoubleclickbidmanagerV2::Parameters
Parameters of a query or report.
-
#query_id ⇒ Fixnum
Output only.
-
#schedule ⇒ Google::Apis::DoubleclickbidmanagerV2::QuerySchedule
Information on when and how frequently to run a query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Query
constructor
A new instance of Query.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Query
Returns a new instance of Query.
278 279 280 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 278 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::DoubleclickbidmanagerV2::QueryMetadata
Query metadata.
Corresponds to the JSON property metadata
261 262 263 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 261 def @metadata end |
#params ⇒ Google::Apis::DoubleclickbidmanagerV2::Parameters
Parameters of a query or report.
Corresponds to the JSON property params
266 267 268 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 266 def params @params end |
#query_id ⇒ Fixnum
Output only. Query ID.
Corresponds to the JSON property queryId
271 272 273 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 271 def query_id @query_id end |
#schedule ⇒ Google::Apis::DoubleclickbidmanagerV2::QuerySchedule
Information on when and how frequently to run a query.
Corresponds to the JSON property schedule
276 277 278 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 276 def schedule @schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
283 284 285 286 287 288 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 283 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @params = args[:params] if args.key?(:params) @query_id = args[:query_id] if args.key?(:query_id) @schedule = args[:schedule] if args.key?(:schedule) end |