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

This message is the generic mutation message which will encapsulate the fields which are shared between the create, update, and delete actions, including source of change, timestamp, and metadata messages passed in from the source for any source specific data (such as phone name/model from FSA).

Attributes

  • androidDeviceInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoAndroidDeviceInfo.t, default: nil) - Android device info should always be set when using either ANDROID_FSA1 or ANDROID_FSA2 as the source of the delete.
  • hostAppInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoHostAppInfo.t, default: nil) - Host app info should always be set when using CONTACTS_COMPANION as the source.
  • source (type: String.t, default: nil) - The source of a mutate should provide all needed information a user should know, and should be enough information for the front end to generate a proper human readable string to describe the mutate to the user.
  • thirdPartyInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoThirdPartyInfo.t, default: nil) - Third party info should always be set when using THIRD_PARTY as the source.
  • timestamp (type: DateTime.t, default: nil) - Timestamp representing when the contact was mutated. This should not be set on write, as it is the job of focus backend to determine this timestamp. This field will be populated on read with the data written by FBS.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactMutationContext{
    androidDeviceInfo:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoAndroidDeviceInfo.t()
      | nil,
    hostAppInfo:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoHostAppInfo.t()
      | nil,
    source: String.t() | nil,
    thirdPartyInfo:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoThirdPartyInfo.t()
      | nil,
    timestamp: DateTime.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.