Class: Google::Apis::AdexchangesellerV1_1::SavedReport

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangeseller_v1_1/classes.rb,
generated/google/apis/adexchangeseller_v1_1/representations.rb,
generated/google/apis/adexchangeseller_v1_1/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



720
721
722
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 720

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


708
709
710
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 708

def id
  @id
end

#kindString

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

Returns:

  • (String)


713
714
715
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 713

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


718
719
720
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 718

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



725
726
727
728
729
# File 'generated/google/apis/adexchangeseller_v1_1/classes.rb', line 725

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