Class: Google::Apis::Area120tablesV1alpha1::DateDetails
- Inherits:
-
Object
- Object
- Google::Apis::Area120tablesV1alpha1::DateDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/area120tables_v1alpha1/classes.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb,
lib/google/apis/area120tables_v1alpha1/representations.rb
Overview
Details about a date column.
Instance Attribute Summary collapse
-
#has_time ⇒ Boolean
(also: #has_time?)
Whether the date column includes time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DateDetails
constructor
A new instance of DateDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DateDetails
Returns a new instance of DateDetails.
244 245 246 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#has_time ⇒ Boolean Also known as: has_time?
Whether the date column includes time.
Corresponds to the JSON property hasTime
241 242 243 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 241 def has_time @has_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
249 250 251 |
# File 'lib/google/apis/area120tables_v1alpha1/classes.rb', line 249 def update!(**args) @has_time = args[:has_time] if args.key?(:has_time) end |