Class: Google::Apis::DriveactivityV2::Date
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::Date
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/driveactivity_v2/classes.rb,
lib/google/apis/driveactivity_v2/representations.rb,
lib/google/apis/driveactivity_v2/representations.rb
Overview
Wrapper for Date Field value.
Instance Attribute Summary collapse
-
#value ⇒ String
Date value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Date
constructor
A new instance of Date.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Date
Returns a new instance of Date.
490 491 492 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
Date value.
Corresponds to the JSON property value
488 489 490 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 488 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
495 496 497 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 495 def update!(**args) @value = args[:value] if args.key?(:value) end |