SocialGraphApiProtoContactMutationContext

GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactMutationContext


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. androidDeviceInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoAndroidDeviceInfo, default: nil)
    - Android device info should always be set when using either ANDROID_FSA1 or ANDROID_FSA2 as the source of the delete.
  2. hostAppInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoHostAppInfo, default: nil)
    - Host app info should always be set when using CONTACTS_COMPANION as the source.
  3. 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.
  4. thirdPartyInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoThirdPartyInfo, default: nil)
    - Third party info should always be set when using THIRD_PARTY as the source.
  5. 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.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoContactMutationContext