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.



385
386
387
# File 'lib/google/apis/apphub_v1/classes.rb', line 385

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)


378
379
380
# File 'lib/google/apis/apphub_v1/classes.rb', line 378

def display_name
  @display_name
end

#emailString

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

Returns:

  • (String)


383
384
385
# File 'lib/google/apis/apphub_v1/classes.rb', line 383

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



390
391
392
393
# File 'lib/google/apis/apphub_v1/classes.rb', line 390

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