Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Date range of the data to export.
Instance Attribute Summary collapse
-
#end ⇒ String
Required.
-
#start ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1DateRange
constructor
A new instance of GoogleCloudApigeeV1DateRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1DateRange
Returns a new instance of GoogleCloudApigeeV1DateRange.
3022 3023 3024 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3022 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ String
Required. End date (exclusive) of the data to export in the format yyyy-mm-dd
. The date range ends at 00:00:00 UTC on the end date- which will not be in
the output.
Corresponds to the JSON property end
3014 3015 3016 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3014 def end @end end |
#start ⇒ String
Required. Start date of the data to export in the format yyyy-mm-dd
. The
date range begins at 00:00:00 UTC on the start date.
Corresponds to the JSON property start
3020 3021 3022 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3020 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3027 3028 3029 3030 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 3027 def update!(**args) @end = args[:end] if args.key?(:end) @start = args[:start] if args.key?(:start) end |