Class: Google::Apis::ApphubV1::ContactInfo
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::ContactInfo
- 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
-
#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.
451 452 453 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 451 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Optional. Contact's name. Can have a maximum length of 63 characters.
Corresponds to the JSON property displayName
444 445 446 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 444 def display_name @display_name end |
#email ⇒ String
Required. Email address of the contacts.
Corresponds to the JSON property email
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 |