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
Implements
Inherited Members
Namespace: Google.Apis.CloudSearch.v1.Data
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class UserMentionData : IDirectResponseSchema
Properties
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| 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 |
|---|---|
| long? |
UserId
An obfuscated gaia ID:
Declaration
[JsonProperty("userId")]
public virtual string UserId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |