View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationRecipient (google_api_content_warehouse v0.3.0)

It can be a contact (person name), a business name, an email address or a phone number. NOTE: Unfortunately the name of this message is not generic enough. Contact would be a better name.

Attributes

  • calendarEvent (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEvent.t, default: nil) -
  • calendarEventWrapper (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEventWrapper.t, default: nil) -
  • contact (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsPersonPerson.t, default: nil) - Contact details (e.g. gaia_id, phone, etc). Replaces 'focus_name' above.
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • isAnnotatedFromText (type: boolean(), default: nil) -
  • nameAnnotationSource (type: String.t, default: nil) - Deprecated in favor of recipient.contact.name_annotation_source.
  • numberAnnotationSource (type: String.t, default: nil) -
  • rawText (type: String.t, default: nil) - NOTE: for CONTACT recipient, this is NOT the real raw text of the recipient span of historical reasons. Major differences includes: - stripping possessive suffix, e.g. "John's" -> "John" - stripping prefix/suffix/title, e.g. "Mr. John" -> "John" - uninflect name for languages like Russian, e.g. "Андрею" -> "Андрей" Currently this is the same as .contact.name, and is used as the string shown to the user on clientside UI. If you're looking for real raw text, use .contact.raw_text
  • recipientType (type: String.t, default: nil) -
  • relationship (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationRelationshipArgument.t, default: nil) - A reference to a person by relationship name. eg. my father.
  • sensitiveNumBytes (type: integer(), default: nil) -
  • sensitiveStartByte (type: integer(), default: nil) - The beginning and end of the recipient name that should be removed before logging.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationRecipient{
    calendarEvent:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEvent.t()
      | nil,
    calendarEventWrapper:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesCalendarEventWrapper.t()
      | nil,
    contact:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsPersonPerson.t()
      | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    isAnnotatedFromText: boolean() | nil,
    nameAnnotationSource: String.t() | nil,
    numberAnnotationSource: String.t() | nil,
    rawText: String.t() | nil,
    recipientType: String.t() | nil,
    relationship:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsCommunicationRelationshipArgument.t()
      | nil,
    sensitiveNumBytes: integer() | nil,
    sensitiveStartByte: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.