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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1DateRange

Returns a new instance of GoogleCloudApigeeV1DateRange.


1419
1420
1421
# File 'generated/google/apis/apigee_v1/classes.rb', line 1419

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)

1411
1412
1413
# File 'generated/google/apis/apigee_v1/classes.rb', line 1411

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)

1417
1418
1419
# File 'generated/google/apis/apigee_v1/classes.rb', line 1417

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1424
1425
1426
1427
# File 'generated/google/apis/apigee_v1/classes.rb', line 1424

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