Class: Google::Apis::AdexchangesellerV2_0::SavedReport

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

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) ⇒ SavedReport

Returns a new instance of SavedReport.


670
671
672
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 670

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

Instance Attribute Details

#idString

Unique identifier of this saved report. Corresponds to the JSON property id

Returns:

  • (String)

658
659
660
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 658

def id
  @id
end

#kindString

Kind of resource this is, in this case adexchangeseller#savedReport. Corresponds to the JSON property kind

Returns:

  • (String)

663
664
665
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 663

def kind
  @kind
end

#nameString

This saved report's name. Corresponds to the JSON property name

Returns:

  • (String)

668
669
670
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 668

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


675
676
677
678
679
# File 'generated/google/apis/adexchangeseller_v2_0/classes.rb', line 675

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