Class: Google::Apis::FirebasehostingV1beta1::ActingUser

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#emailString

The email address of the user when the user performed the action. Corresponds to the JSON property email

Returns:

  • (String)


33
34
35
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 33

def email
  @email
end

#image_urlString

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

Returns:

  • (String)


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