GoogleApi.ServiceNetworking.V1.Model.ContextRule (google_api_service_networking v0.40.0)

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. It is used to support propagating HTTP headers and ETags from the response extension.
  • requested (type: list(String.t), default: nil) - A list of full type names of requested contexts, only the requested context will be made available to the backend.
  • selector (type: String.t, default: nil) - Selects the methods to which this rule applies. Refer to selector for syntax details.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.