GoogleApi.ServiceUsage.V1.Model.ContextRule (google_api_service_usage v0.17.1) View Source

A context rule provides information about the context for an individual API element.

Attributes

  • allowedRequestExtensions (type: list(String.t), default: nil) - A list of full type names or extension IDs of extensions allowed in grpc side channel from client to backend.
  • allowedResponseExtensions (type: list(String.t), default: nil) - A list of full type names or extension IDs of extensions allowed in grpc side channel from backend to client.
  • provided (type: list(String.t), default: nil) - A list of full type names of provided contexts.
  • requested (type: list(String.t), default: nil) - A list of full type names of requested contexts.
  • selector (type: String.t, default: nil) - Selects the methods to which this rule applies. Refer to selector for syntax details.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ServiceUsage.V1.Model.ContextRule{
  allowedRequestExtensions: [String.t()] | nil,
  allowedResponseExtensions: [String.t()] | nil,
  provided: [String.t()] | nil,
  requested: [String.t()] | nil,
  selector: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.