Class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDateRange
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDateRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1beta/classes.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb,
lib/google/apis/analyticsadmin_v1beta/representations.rb
Overview
A contiguous range of days: startDate, startDate + 1, ..., endDate.
Instance Attribute Summary collapse
-
#end_date ⇒ String
The inclusive end date for the query in the format
YYYY-MM-DD
. -
#start_date ⇒ String
The inclusive start date for the query in the format
YYYY-MM-DD
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessDateRange
constructor
A new instance of GoogleAnalyticsAdminV1betaAccessDateRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1betaAccessDateRange
Returns a new instance of GoogleAnalyticsAdminV1betaAccessDateRange.
70 71 72 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 70 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_date ⇒ String
The inclusive end date for the query in the format YYYY-MM-DD
. Cannot be
before startDate
. The format NdaysAgo
, yesterday
, or today
is also
accepted, and in that case, the date is inferred based on the current time in
the request's time zone.
Corresponds to the JSON property endDate
60 61 62 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 60 def end_date @end_date end |
#start_date ⇒ String
The inclusive start date for the query in the format YYYY-MM-DD
. Cannot be
after endDate
. The format NdaysAgo
, yesterday
, or today
is also
accepted, and in that case, the date is inferred based on the current time in
the request's time zone.
Corresponds to the JSON property startDate
68 69 70 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 68 def start_date @start_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
75 76 77 78 |
# File 'lib/google/apis/analyticsadmin_v1beta/classes.rb', line 75 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @start_date = args[:start_date] if args.key?(:start_date) end |