Class: Google::Apis::CloudbillingV1beta::EstimationTimePoint

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb

Overview

Represents a point in time.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EstimationTimePoint

Returns a new instance of EstimationTimePoint.



748
749
750
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 748

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

Instance Attribute Details

#estimation_time_frame_offsetString

The point in time, relative to the start of the time frame covered by the cost estimate. Corresponds to the JSON property estimationTimeFrameOffset

Returns:

  • (String)


746
747
748
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 746

def estimation_time_frame_offset
  @estimation_time_frame_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



753
754
755
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 753

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