Class: Google::Apis::DriveactivityV2::SingleUser
- Inherits:
-
Object
- Object
- Google::Apis::DriveactivityV2::SingleUser
- 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 User Field value.
Instance Attribute Summary collapse
-
#value ⇒ String
User value as email.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SingleUser
constructor
A new instance of SingleUser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SingleUser
Returns a new instance of SingleUser.
1532 1533 1534 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1532 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
User value as email.
Corresponds to the JSON property value
1530 1531 1532 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1530 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1537 1538 1539 |
# File 'lib/google/apis/driveactivity_v2/classes.rb', line 1537 def update!(**args) @value = args[:value] if args.key?(:value) end |