Class: Google::Apis::GmailpostmastertoolsV2::DateList

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

Overview

A set of specific dates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DateList

Returns a new instance of DateList.



209
210
211
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 209

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

Instance Attribute Details

#datesArray<Google::Apis::GmailpostmastertoolsV2::Date>

Required. The list of specific dates for which to retrieve data. Corresponds to the JSON property dates



207
208
209
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 207

def dates
  @dates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



214
215
216
# File 'lib/google/apis/gmailpostmastertools_v2/classes.rb', line 214

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