View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreRouteAssociationProto (google_api_content_warehouse v0.4.0)

This protocol buffer holds metadata about the association between a segment and a route.

Attributes

  • displayPreference (type: String.t, default: nil) - clang-format on
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t, default: nil) - Field-level metadata for the route association.
  • route (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - Identifies the route feature to which this metadata applies. This is one of the routes the segment refers to via the SegmentProto.route field.
  • routeDirection (type: String.t, default: nil) - The direction of the TYPE_ROUTE feature in this route association. A small number of countries (mostly just the United States, Mexico, and Canada) use directional routes. For example, in the United States highway US-1 is referred to as US-1 North or US-1 South on the sides where flow of traffic moves in those directions.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreRouteAssociationProto{
  displayPreference: String.t() | nil,
  metadata:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFieldMetadataProto.t() | nil,
  route: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  routeDirection: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.