View Source GoogleApi.ServiceConsumerManagement.V1.Model.ContextRule (google_api_service_consumer_management v0.32.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.