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.



364
365
366
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 364

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



352
353
354
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 352

def channel
  @channel
end

#display_nameString

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

Returns:

  • (String)


357
358
359
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 357

def display_name
  @display_name
end

#emailString

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

Returns:

  • (String)


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

def email
  @email
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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