Class: Google::Apis::BigquerydatatransferV1::UserInfo

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

Instance Method Summary collapse

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

#emailString

E-mail address of the user. Corresponds to the JSON property email

Returns:

  • (String)


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