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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.