GoogleApi.ServiceControl.V1.Model.Attributes (google_api_service_control v0.35.1) View Source

A set of attributes, each in the format [KEY]:[VALUE].

Attributes

  • attributeMap (type: %{optional(String.t) => GoogleApi.ServiceControl.V1.Model.AttributeValue.t}, default: nil) - The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values true and false. For example: "/instance_id": "my-instance" "/http/user_agent": "" "/http/request_bytes": 300 "abc.com/myattribute": true
  • droppedAttributesCount (type: integer(), default: nil) - The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceControl.V1.Model.Attributes{
  attributeMap: %{
    optional(String.t()) => GoogleApi.ServiceControl.V1.Model.AttributeValue.t()
  },
  droppedAttributesCount: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.