Class: Google::Apis::FirebasehostingV1beta1::ActingUser
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::ActingUser
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebasehosting_v1beta1/classes.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb,
generated/google/apis/firebasehosting_v1beta1/representations.rb
Overview
Contains metadata about the user who performed an action, such as creating a release or finalizing a version.
Instance Attribute Summary collapse
-
#email ⇒ String
The email address of the user when the user performed the action.
-
#image_url ⇒ String
A profile image URL for the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ActingUser
constructor
A new instance of ActingUser.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ActingUser
Returns a new instance of ActingUser
41 42 43 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email ⇒ String
The email address of the user when the user performed the action.
Corresponds to the JSON property email
33 34 35 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 33 def email @email end |
#image_url ⇒ String
A profile image URL for the user. May not be present if the user has
changed their email address or deleted their account.
Corresponds to the JSON property imageUrl
39 40 41 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 39 def image_url @image_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 46 def update!(**args) @email = args[:email] if args.key?(:email) @image_url = args[:image_url] if args.key?(:image_url) end |