Class: Google::Apis::AdexchangesellerV1::SavedReport

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



435
436
437
# File 'generated/google/apis/adexchangeseller_v1/classes.rb', line 435

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

Instance Attribute Details

#idString

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

Returns:

  • (String)


423
424
425
# File 'generated/google/apis/adexchangeseller_v1/classes.rb', line 423

def id
  @id
end

#kindString

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

Returns:

  • (String)


428
429
430
# File 'generated/google/apis/adexchangeseller_v1/classes.rb', line 428

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


433
434
435
# File 'generated/google/apis/adexchangeseller_v1/classes.rb', line 433

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



440
441
442
443
444
# File 'generated/google/apis/adexchangeseller_v1/classes.rb', line 440

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