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.



1938
1939
1940
# File 'lib/google/apis/apigee_v1/classes.rb', line 1938

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)


1930
1931
1932
# File 'lib/google/apis/apigee_v1/classes.rb', line 1930

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)


1936
1937
1938
# File 'lib/google/apis/apigee_v1/classes.rb', line 1936

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1943
1944
1945
1946
# File 'lib/google/apis/apigee_v1/classes.rb', line 1943

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