Class: Google::Apis::ApphubV1alpha::ContactInfo
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::ContactInfo
- 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
-
#channel ⇒ Google::Apis::ApphubV1alpha::Channel
Separate message to accommodate custom formats across IRC and Slack.
-
#display_name ⇒ String
Optional.
-
#email ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ContactInfo
constructor
A new instance of ContactInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ContactInfo
Returns a new instance of ContactInfo.
475 476 477 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 475 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel ⇒ Google::Apis::ApphubV1alpha::Channel
Separate message to accommodate custom formats across IRC and Slack.
Corresponds to the JSON property channel
463 464 465 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 463 def channel @channel end |
#display_name ⇒ String
Optional. Contact's name. Can have a maximum length of 63 characters.
Corresponds to the JSON property displayName
468 469 470 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 468 def display_name @display_name end |
#email ⇒ String
Required. Email address of the contacts.
Corresponds to the JSON property email
473 474 475 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 473 def email @email end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
480 481 482 483 484 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 480 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 |