GoogleApi.ContentWarehouse.V1.Model.GeostoreAttachmentsAttachmentProto
Table of Contents ▼
Jump to a specific part of the page:
Description
An AttachmentProto contains structured data of a client-specified type. An attachment is uniquely identified by the combination of its attachment_id and client_name_space fields.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
attachmentId
(type:String.t
, default:nil
)
- attachment_id distinguishes messages of the same type_id associated with the same feature. It can not be set to 0x0. -
clientNameSpace
(type:String.t
, default:nil
)
- This field specifies a namespace identifier that can be used to track the sources of attachments in a human friendly format. Name spaces must be at most 64 characters long and must be composed entirely of alphanumeric characters, hyphens, and underscores. No other characters are allowed. -
comment
(type:String.t
, default:nil
)
- comment is a human-readable string that is logged whenever this attachment is processed by the framework. -
messages
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- messages contains the structured data for this attachment. It should contain a single message with a type ID matching the value of the type_id field below. -
typeId
(type:String.t
, default:nil
)
- type_id determines the type of the actual attachment that should be set in the messages MessageSet. It can not be set to 0x0.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreAttachmentsAttachmentProto{
attachmentId: String.t() | nil,
clientNameSpace: String.t() | nil,
comment: String.t() | nil,
messages: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
typeId: String.t() | nil
}
attachmentId: String.t() | nil,
clientNameSpace: String.t() | nil,
comment: String.t() | nil,
messages: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
typeId: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GeostoreAttachmentsAttachmentProto