Class: Google::Cloud::EssentialContacts::V1::Contact

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#email::String

Returns Required. The email address to send notifications to. The email address does not need to be a Google Account.

Returns:

  • (::String)

    Required. The email address to send notifications to. The email address 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 Required. The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.

Returns:

  • (::String)

    Required. 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 (readonly)

Returns Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}.

Returns:

  • (::String)

    Output only. 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 Required. The categories of notifications that the contact will receive communications for.

Returns:



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.

Returns:

  • (::Google::Protobuf::Timestamp)

    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 (readonly)

Returns Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.

Returns:



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