Class: Google::Apis::DoubleclickbidmanagerV1::ReportKey

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb

Overview

Key used to identify a report.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReportKey

Returns a new instance of ReportKey



540
541
542
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 540

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

Instance Attribute Details

#query_idFixnum

Query ID. Corresponds to the JSON property queryId

Returns:

  • (Fixnum)


533
534
535
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 533

def query_id
  @query_id
end

#report_idFixnum

Report ID. Corresponds to the JSON property reportId

Returns:

  • (Fixnum)


538
539
540
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 538

def report_id
  @report_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



545
546
547
548
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 545

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