UsagePlansPolicy¶
- class oci.apigateway.models.UsagePlansPolicy(**kwargs)¶
Bases:
objectUsage plan policies for this deployment
Methods:
__init__(**kwargs)Initializes a new UsagePlansPolicy object with values from keyword arguments.
Attributes:
[Required] Gets the token_locations of this UsagePlansPolicy. A list of context variables specifying where API tokens may be located in a request. Example locations: - "request.headers[token]" - "request.query[token]" - "request.auth[Token]" - "request.path[TOKEN]".
- __init__(**kwargs)¶
Initializes a new UsagePlansPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
token_locations (list[str]) – The value to assign to the token_locations property of this UsagePlansPolicy.
- property token_locations¶
[Required] Gets the token_locations of this UsagePlansPolicy. A list of context variables specifying where API tokens may be located in a request. Example locations:
“request.headers[token]”
“request.query[token]”
“request.auth[Token]”
“request.path[TOKEN]”
- Returns
The token_locations of this UsagePlansPolicy.
- Return type
list[str]