View Source GoogleApi.ServiceUsage.V1.Model.MethodPolicy (google_api_service_usage v0.19.0)

Defines policies applying to an RPC method.

Attributes

  • requestPolicies (type: list(GoogleApi.ServiceUsage.V1.Model.FieldPolicy.t), default: nil) - Policies that are applicable to the request message.
  • selector (type: String.t, default: nil) - Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription". Refer to selector for syntax details. NOTE: This field must not be set in the proto annotation. It will be automatically filled by the service config compiler .

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceUsage.V1.Model.MethodPolicy{
  requestPolicies: [GoogleApi.ServiceUsage.V1.Model.FieldPolicy.t()] | nil,
  selector: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.