Class: Google::Apis::AdsenseV1_4::Metadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Metadata

Returns a new instance of Metadata.



928
929
930
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 928

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

Instance Attribute Details

#itemsArray<Google::Apis::AdsenseV1_4::ReportingMetadataEntry>

Corresponds to the JSON property items



921
922
923
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 921

def items
  @items
end

#kindString

Kind of list this is, in this case adsense#metadata. Corresponds to the JSON property kind

Returns:

  • (String)


926
927
928
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 926

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



933
934
935
936
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 933

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