Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1DateRange

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DateRange

Returns a new instance of GoogleCloudApigeeV1DateRange.



1806
1807
1808
# File 'lib/google/apis/apigee_v1/classes.rb', line 1806

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

Instance Attribute Details

#endString

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

Returns:

  • (String)


1798
1799
1800
# File 'lib/google/apis/apigee_v1/classes.rb', line 1798

def end
  @end
end

#startString

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

Returns:

  • (String)


1804
1805
1806
# File 'lib/google/apis/apigee_v1/classes.rb', line 1804

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1811
1812
1813
1814
# File 'lib/google/apis/apigee_v1/classes.rb', line 1811

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