Class representing the Policies resource. This class provides methods to interact with ML Gateway policies.

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

Client instance for API calls.

Memberof

GatewayResource

Methods

  • Get Policy's details by id.

    Retrieves the details of a specific policy.

    Parameters

    Returns Promise<TenantPolicy>

    Resolves with the response from the server.

    Throws

    If validation fails, policy with provided id is not listed or an error occurs during the request.