View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreAttachmentsAttachmentProto (google_api_content_warehouse v0.3.0)

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

  • 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.t, 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.