Class: Google::Apis::DoubleclickbidmanagerV2::DataRange
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV2::DataRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclickbidmanager_v2/classes.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb,
lib/google/apis/doubleclickbidmanager_v2/representations.rb
Overview
The date range to be reported on.
Instance Attribute Summary collapse
-
#custom_end_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday.
-
#custom_start_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday.
-
#range ⇒ String
The preset date range to be reported on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DataRange
constructor
A new instance of DataRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DataRange
Returns a new instance of DataRange.
60 61 62 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 60 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_end_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property customEndDate
39 40 41 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 39 def custom_end_date @custom_end_date end |
#custom_start_date ⇒ Google::Apis::DoubleclickbidmanagerV2::Date
Represents a whole or partial calendar date, such as a birthday. The time of
day and time zone are either specified elsewhere or are insignificant. The
date is relative to the Gregorian Calendar. This can represent one of the
following: * A full date, with non-zero year, month, and day values. * A month
and day, with a zero year (for example, an anniversary). * A year on its own,
with a zero month and a zero day. * A year and month, with a zero day (for
example, a credit card expiration date). Related types: * google.type.
TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
Corresponds to the JSON property customStartDate
51 52 53 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 51 def custom_start_date @custom_start_date end |
#range ⇒ String
The preset date range to be reported on. If CUSTOM_DATES
is assigned to this
field, fields custom_start_date and custom_end_date must be set to specify the
custom date range.
Corresponds to the JSON property range
58 59 60 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 58 def range @range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
65 66 67 68 69 |
# File 'lib/google/apis/doubleclickbidmanager_v2/classes.rb', line 65 def update!(**args) @custom_end_date = args[:custom_end_date] if args.key?(:custom_end_date) @custom_start_date = args[:custom_start_date] if args.key?(:custom_start_date) @range = args[:range] if args.key?(:range) end |