View Source GoogleApi.EssentialContacts.V1.Model.GoogleCloudEssentialcontactsV1Contact (google_api_essential_contacts v0.2.3)

A contact that will receive notifications from Google Cloud.

Attributes

  • email (type: String.t, default: nil) - Required. The email address to send notifications to. The email address does not need to be a Google Account.
  • languageTag (type: String.t, default: nil) - Required. The preferred language for notifications, as a ISO 639-1 language code. See Supported languages for a list of supported languages.
  • name (type: String.t, default: nil) - Output only. The identifier for the contact. Format: {resource_type}/{resource_id}/contacts/{contact_id}
  • notificationCategorySubscriptions (type: list(String.t), default: nil) - Required. The categories of notifications that the contact will receive communications for.
  • validateTime (type: DateTime.t, default: nil) - 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.
  • validationState (type: String.t, default: nil) - Output only. The validity of the contact. A contact is considered valid if it is the correct recipient for notifications for a particular resource.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.EssentialContacts.V1.Model.GoogleCloudEssentialcontactsV1Contact{
    email: String.t() | nil,
    languageTag: String.t() | nil,
    name: String.t() | nil,
    notificationCategorySubscriptions: [String.t()] | nil,
    validateTime: DateTime.t() | nil,
    validationState: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.