Class: Google::Apis::ApphubV1::ContactInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb

Overview

Contact information of stakeholders.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContactInfo

Returns a new instance of ContactInfo.



451
452
453
# File 'lib/google/apis/apphub_v1/classes.rb', line 451

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Optional. Contact's name. Can have a maximum length of 63 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


444
445
446
# File 'lib/google/apis/apphub_v1/classes.rb', line 444

def display_name
  @display_name
end

#emailString

Required. Email address of the contacts. Corresponds to the JSON property email

Returns:

  • (String)


449
450
451
# File 'lib/google/apis/apphub_v1/classes.rb', line 449

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



456
457
458
459
# File 'lib/google/apis/apphub_v1/classes.rb', line 456

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @email = args[:email] if args.key?(:email)
end