Class: Google::Apis::DoubleclicksearchV2::ReportRequest::TimeRange
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclicksearchV2::ReportRequest::TimeRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/doubleclicksearch_v2/classes.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb,
lib/google/apis/doubleclicksearch_v2/representations.rb
Overview
If metrics are requested in a report, this argument will be used to restrict the metrics to a specific time range.
Instance Attribute Summary collapse
-
#changed_attributes_since_timestamp ⇒ String
Inclusive UTC timestamp in RFC format, e.g.,
2013-07-16T10:16:23.555Z
. -
#changed_metrics_since_timestamp ⇒ String
Inclusive UTC timestamp in RFC format, e.g.,
2013-07-16T10:16:23.555Z
. -
#end_date ⇒ String
Inclusive date in YYYY-MM-DD format.
-
#start_date ⇒ String
Inclusive date in YYYY-MM-DD format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TimeRange
constructor
A new instance of TimeRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TimeRange
Returns a new instance of TimeRange.
886 887 888 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 886 def initialize(**args) update!(**args) end |
Instance Attribute Details
#changed_attributes_since_timestamp ⇒ String
Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z
. See
additional references on how changed attribute reports work.
Corresponds to the JSON property changedAttributesSinceTimestamp
868 869 870 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 868 def @changed_attributes_since_timestamp end |
#changed_metrics_since_timestamp ⇒ String
Inclusive UTC timestamp in RFC format, e.g., 2013-07-16T10:16:23.555Z
. See
additional references on how changed metrics reports work.
Corresponds to the JSON property changedMetricsSinceTimestamp
874 875 876 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 874 def @changed_metrics_since_timestamp end |
#end_date ⇒ String
Inclusive date in YYYY-MM-DD format.
Corresponds to the JSON property endDate
879 880 881 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 879 def end_date @end_date end |
#start_date ⇒ String
Inclusive date in YYYY-MM-DD format.
Corresponds to the JSON property startDate
884 885 886 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 884 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
891 892 893 894 895 896 |
# File 'lib/google/apis/doubleclicksearch_v2/classes.rb', line 891 def update!(**args) @changed_attributes_since_timestamp = args[:changed_attributes_since_timestamp] if args.key?(:changed_attributes_since_timestamp) @changed_metrics_since_timestamp = args[:changed_metrics_since_timestamp] if args.key?(:changed_metrics_since_timestamp) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |