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

Expresses a parking restriction on a road; i.e. times at which parking on the road is prohibited.

Attributes

  • restrictedHours (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t, default: nil) - Times at which parking is prohibited.
  • restrictionType (type: String.t, default: nil) - clang-format on The type of restriction that applies at this time.
  • serviceType (type: list(String.t), default: nil) - The types of services that this parking restriction applies to. We expect most parking restrictions to apply to all services, but some airports have specific rideshare parking or taxi parking zones.
  • vehicleType (type: list(String.t), default: nil) - The types of vehicles that this parking restriction applies to. For instance, some streets may allow motorcycles to park but not automobiles or trucks.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreParkingRestrictionProto{
  restrictedHours:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreTimeScheduleProto.t() | nil,
  restrictionType: String.t() | nil,
  serviceType: [String.t()] | nil,
  vehicleType: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.