Class: Google::Apis::Area120tablesV1alpha1::DateDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeBoolean Also known as: has_time?

Whether the date column includes time. Corresponds to the JSON property hasTime

Returns:

  • (Boolean)


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