Class: Google::Apis::AdsenseV1_4::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseV1_4::Metadata
- 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
-
#items ⇒ Array<Google::Apis::AdsenseV1_4::ReportingMetadataEntry>
Corresponds to the JSON property
items
. -
#kind ⇒ String
Kind of list this is, in this case adsense#metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
916 917 918 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 916 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::AdsenseV1_4::ReportingMetadataEntry>
Corresponds to the JSON property items
909 910 911 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 909 def items @items end |
#kind ⇒ String
Kind of list this is, in this case adsense#metadata.
Corresponds to the JSON property kind
914 915 916 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 914 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
921 922 923 924 |
# File 'generated/google/apis/adsense_v1_4/classes.rb', line 921 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |