Show / Hide Table of Contents

Class UserMentionData

Person metadata, for USER_MENTION segments. Should always contain at least one of user_gaia_id, user_id, email or user. The exact set of populated fields may differ depending on the context and the level in the serving stack; for example, emails will be elided on the viewing path. But as a general rule, a proto having any one of the four is valid, subject to the standard constraints of the applied annotations -- that is, communication between servers and clients will ignore jspb.ignore fields, and communication between servers and other servers (or between servers and storage) will ignore client_only fields. For more on the annotations, see the comments in social/common/segment_annotations.proto

Inheritance
System.Object
UserMentionData
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class UserMentionData : IDirectResponseSchema

Properties

Email

Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

User

If the principal is backed by a gaia id, DO NOT use this field. Use user_gaia_id/user_id fields instead.

Declaration
[JsonProperty("user")]
public virtual PrincipalProto User { get; set; }
Property Value
Type Description
PrincipalProto

UserGaiaId

An unobfuscated gaia ID:

Declaration
[JsonProperty("userGaiaId")]
public virtual long? UserGaiaId { get; set; }
Property Value
Type Description
System.Nullable<System.Int64>

UserId

An obfuscated gaia ID:

Declaration
[JsonProperty("userId")]
public virtual string UserId { get; set; }
Property Value
Type Description
System.String

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top