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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/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.



1747
1748
1749
# File 'generated/google/apis/apigee_v1/classes.rb', line 1747

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)


1739
1740
1741
# File 'generated/google/apis/apigee_v1/classes.rb', line 1739

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)


1745
1746
1747
# File 'generated/google/apis/apigee_v1/classes.rb', line 1745

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1752
1753
1754
1755
# File 'generated/google/apis/apigee_v1/classes.rb', line 1752

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