GoogleApi.ServiceConsumerManagement.V1.Model.AuthenticationRule (google_api_service_consumer_management v0.26.1) View Source

Authentication rules for the service. By default, if a method has any authentication requirements, every request must include a valid credential matching one of the requirements. It's an error to include more than one kind of credential in a single request. If a method doesn't have any auth requirements, request credentials will be ignored.

Attributes

  • allowWithoutCredential (type: boolean(), default: nil) - If true, the service accepts API keys without any other credential. This flag only applies to HTTP and gRPC requests.
  • oauth (type: GoogleApi.ServiceConsumerManagement.V1.Model.OAuthRequirements.t, default: nil) - The requirements for OAuth credentials.
  • requirements (type: list(GoogleApi.ServiceConsumerManagement.V1.Model.AuthRequirement.t), default: nil) - Requirements for additional authentication providers.
  • 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.ServiceConsumerManagement.V1.Model.AuthenticationRule{
  allowWithoutCredential: boolean(),
  oauth: GoogleApi.ServiceConsumerManagement.V1.Model.OAuthRequirements.t(),
  requirements: [
    GoogleApi.ServiceConsumerManagement.V1.Model.AuthRequirement.t()
  ],
  selector: String.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.