Class Annotation
NOTE WHEN ADDING NEW PROTO FIELDS: Be sure to add datapol annotations to new fields with potential PII, so they
get scrubbed when logging protos for errors. NEXT TAG: 29
Inheritance
System.Object
Annotation
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()
Assembly: Google.Apis.CloudSearch.v1.dll
Syntax
public class Annotation : IDirectResponseSchema
Properties
Declaration
[JsonProperty("babelPlaceholderMetadata")]
public virtual BabelPlaceholderMetadata BabelPlaceholderMetadata { get; set; }
Property Value
LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)
Declaration
[JsonProperty("cardCapabilityMetadata")]
public virtual CardCapabilityMetadata CardCapabilityMetadata { get; set; }
Property Value
ChipRenderType
Whether the annotation should be rendered as a chip. If this is missing or unspecified, fallback to
should_not_render on the metadata.
Declaration
[JsonProperty("chipRenderType")]
public virtual string ChipRenderType { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
[JsonProperty("consentedAppUnfurlMetadata")]
public virtual ConsentedAppUnfurlMetadata ConsentedAppUnfurlMetadata { get; set; }
Property Value
Declaration
[JsonProperty("customEmojiMetadata")]
public virtual CustomEmojiMetadata CustomEmojiMetadata { get; set; }
Property Value
Declaration
[JsonProperty("dataLossPreventionMetadata")]
public virtual DataLossPreventionMetadata DataLossPreventionMetadata { get; set; }
Property Value
Declaration
[JsonProperty("driveMetadata")]
public virtual DriveMetadata DriveMetadata { get; set; }
Property Value
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
[JsonProperty("formatMetadata")]
public virtual FormatMetadata FormatMetadata { get; set; }
Property Value
GroupRetentionSettingsUpdated
Declaration
[JsonProperty("groupRetentionSettingsUpdated")]
public virtual GroupRetentionSettingsUpdatedMetaData GroupRetentionSettingsUpdated { get; set; }
Property Value
Metadata for 1P integrations like tasks, calendar. These are supported only through integration server as 1P
integrations use the integration API (which in turn uses backend API with special permissions) to post
messages. Clients should never set this. LINT.IfChange
Declaration
[JsonProperty("gsuiteIntegrationMetadata")]
public virtual GsuiteIntegrationMetadata GsuiteIntegrationMetadata { get; set; }
Property Value
Declaration
[JsonProperty("incomingWebhookChangedMetadata")]
public virtual IncomingWebhookChangedMetadata IncomingWebhookChangedMetadata { get; set; }
Property Value
IntegrationConfigUpdated
LINT.ThenChange(//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java)
Declaration
[JsonProperty("integrationConfigUpdated")]
public virtual IntegrationConfigUpdatedMetadata IntegrationConfigUpdated { get; set; }
Property Value
Length
Length of the text_body substring beginning from start_index the Annotation corresponds to.
Declaration
[JsonProperty("length")]
public virtual int? Length { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
LocalId
A unique client-assigned ID for this annotation. This is helpful in matching the back-filled annotations to
the original annotations on client side, without having to re-parse the message.
Declaration
[JsonProperty("localId")]
public virtual string LocalId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
MembershipChanged
Metadata for system messages. Clients should never set this. LINT.IfChange
Declaration
[JsonProperty("membershipChanged")]
public virtual MembershipChangedMetadata MembershipChanged { get; set; }
Property Value
Declaration
[JsonProperty("readReceiptsSettingsMetadata")]
public virtual ReadReceiptsSettingsUpdatedMetadata ReadReceiptsSettingsMetadata { get; set; }
Property Value
Metadata that defines all of the required features that must be rendered in the message. Clients can use
this to see whether they support the entire message, or show a fallback chip otherwise. See
go/message-quoting-client-to-server for details. LINT.ThenChange(
//depot/google3/java/com/google/apps/dynamite/v1/allshared/parser/AnnotationSanitizer.java,
//depot/google3/java/com/google/apps/dynamite/v1/backend/action/common/SystemMessageHelper.java,
//depot/google3/java/com/google/caribou/eli/mediation/chat/AnnotationTranslator.java )
Declaration
[JsonProperty("requiredMessageFeaturesMetadata")]
public virtual RequiredMessageFeaturesMetadata RequiredMessageFeaturesMetadata { get; set; }
Property Value
RoomUpdated
Declaration
[JsonProperty("roomUpdated")]
public virtual RoomUpdatedMetadata RoomUpdated { get; set; }
Property Value
ServerInvalidated
Whether or not the annotation is invalidated by the server. Example of situations for invalidation include:
when the URL is malformed, or when Drive item ID is rejected by Drive Service.
Declaration
[JsonProperty("serverInvalidated")]
public virtual bool? ServerInvalidated { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
Declaration
[JsonProperty("slashCommandMetadata")]
public virtual SlashCommandMetadata SlashCommandMetadata { get; set; }
Property Value
StartIndex
Start index (0-indexed) of the Message text the Annotation corresponds to, inclusive.
Declaration
[JsonProperty("startIndex")]
public virtual int? StartIndex { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Int32> |
|
Type
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type |
Description |
| System.String |
|
UniqueId
A unique server-assigned ID for this annotation. This is helpful in matching annotation objects when fetched
from service.
Declaration
[JsonProperty("uniqueId")]
public virtual string UniqueId { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Declaration
[JsonProperty("uploadMetadata")]
public virtual UploadMetadata UploadMetadata { get; set; }
Property Value
Declaration
[JsonProperty("urlMetadata")]
public virtual UrlMetadata UrlMetadata { get; set; }
Property Value
Metadata that clients can set for annotations. LINT.IfChange In-text annotations
Declaration
[JsonProperty("userMentionMetadata")]
public virtual UserMentionMetadata UserMentionMetadata { get; set; }
Property Value
Declaration
[JsonProperty("videoCallMetadata")]
public virtual VideoCallMetadata VideoCallMetadata { get; set; }
Property Value
Declaration
[JsonProperty("youtubeMetadata")]
public virtual YoutubeMetadata YoutubeMetadata { get; set; }
Property Value
Implements
Google.Apis.Requests.IDirectResponseSchema