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.



735
736
737
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 735

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)


733
734
735
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 733

def estimation_time_frame_offset
  @estimation_time_frame_offset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



740
741
742
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 740

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