Class: Google::Cloud::EssentialContacts::V1::Contact
- Inherits:
-
Object
- Object
- Google::Cloud::EssentialContacts::V1::Contact
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/essentialcontacts/v1/service.rb
Overview
A contact that will receive notifications from Google Cloud.
Instance Attribute Summary collapse
-
#email ⇒ ::String
Required.
-
#language_tag ⇒ ::String
The preferred language for notifications, as a ISO 639-1 language code.
-
#name ⇒ ::String
The identifier for the contact.
-
#notification_category_subscriptions ⇒ ::Array<::Google::Cloud::EssentialContacts::V1::NotificationCategory>
The categories of notifications that the contact will receive communications for.
-
#validate_time ⇒ ::Google::Protobuf::Timestamp
The last time the validation_state was updated, either manually or automatically.
-
#validation_state ⇒ ::Google::Cloud::EssentialContacts::V1::ValidationState
The validity of the contact.
Instance Attribute Details
#email ⇒ ::String
Returns Required. The email address to send notifications to. This does not need to be a Google account.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#language_tag ⇒ ::String
Returns The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#notification_category_subscriptions ⇒ ::Array<::Google::Cloud::EssentialContacts::V1::NotificationCategory>
Returns The categories of notifications that the contact will receive communications for.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validate_time ⇒ ::Google::Protobuf::Timestamp
Returns The last time the validation_state was updated, either manually or automatically. A contact is considered stale if its validation state was updated more than 1 year ago.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#validation_state ⇒ ::Google::Cloud::EssentialContacts::V1::ValidationState
Returns The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.
52 53 54 55 |
# File 'proto_docs/google/cloud/essentialcontacts/v1/service.rb', line 52 class Contact include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |