Class: Google::Apis::ApphubV1alpha::ContactInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/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.



362
363
364
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 362

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

Instance Attribute Details

#channelGoogle::Apis::ApphubV1alpha::Channel

Separate message to accommodate custom formats across IRC and Slack. Corresponds to the JSON property channel



350
351
352
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 350

def channel
  @channel
end

#display_nameString

Optional. Contact's name. Corresponds to the JSON property displayName

Returns:

  • (String)


355
356
357
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 355

def display_name
  @display_name
end

#emailString

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

Returns:

  • (String)


360
361
362
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 360

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



367
368
369
370
371
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 367

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