Class: Google::Apis::BigquerydatatransferV1::UserInfo
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::UserInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquerydatatransfer_v1/classes.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb,
lib/google/apis/bigquerydatatransfer_v1/representations.rb
Overview
Information about a user.
Instance Attribute Summary collapse
-
#email ⇒ String
E-mail address of the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UserInfo
constructor
A new instance of UserInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UserInfo
Returns a new instance of UserInfo.
1239 1240 1241 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1239 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
E-mail address of the user.
Corresponds to the JSON property email
1237 1238 1239 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1237 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1244 1245 1246 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1244 def update!(**args) @email = args[:email] if args.key?(:email) end |