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 how frequently and when 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.
444 445 446 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::DoubleclickbidmanagerV2::QueryMetadata
Query metadata.
Corresponds to the JSON property metadata
427 428 429 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 427 def @metadata end |
#params ⇒ Google::Apis::DoubleclickbidmanagerV2::Parameters
Parameters of a query or report.
Corresponds to the JSON property params
432 433 434 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 432 def params @params end |
#query_id ⇒ Fixnum
Output only. Query ID.
Corresponds to the JSON property queryId
437 438 439 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 437 def query_id @query_id end |
#schedule ⇒ Google::Apis::DoubleclickbidmanagerV2::QuerySchedule
Information on how frequently and when to run a query.
Corresponds to the JSON property schedule
442 443 444 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 442 def schedule @schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
449 450 451 452 453 454 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 449 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 |