AssistantApiTimestamp

GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp


Table of Contents ▼

Jump to a specific part of the page:

Description

An absolute point in time independent of timezone or calendar, based on the proto3 Timestamp (//google/protobuf/timestamp.proto). NOTE: THIS IS NO LONGER RECOMMENDED TO BE USED. It was originally defined separately from google.protobuf.Timestamp due to incompatibility with proto2 syntax. The incompatibility issues have since been resolved and so the Google-wide standard representation of google.protobuf.Timestamp should be preferred. In fact, google.protobuf.* protos in general are now recommended to be used in new APIs.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. nanos (type: integer(), default: nil)
    - Non-negative fractions of a second at nanosecond resolution.
  2. seconds (type: String.t, default: nil)
    - Seconds of UTC time since the Unix epoch.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp{
nanos: integer() | nil,
seconds: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp