ApiSpecification¶
- class oci.apigateway.models.ApiSpecification(**kwargs)¶
Bases:
objectThe logical configuration of the API exposed by a deployment.
Methods:
__init__(**kwargs)Initializes a new ApiSpecification object with values from keyword arguments.
Attributes:
Gets the logging_policies of this ApiSpecification.
Gets the request_policies of this ApiSpecification.
Gets the routes of this ApiSpecification.
- __init__(**kwargs)¶
Initializes a new ApiSpecification object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
request_policies (oci.apigateway.models.ApiSpecificationRequestPolicies) – The value to assign to the request_policies property of this ApiSpecification.
logging_policies (oci.apigateway.models.ApiSpecificationLoggingPolicies) – The value to assign to the logging_policies property of this ApiSpecification.
routes (list[oci.apigateway.models.ApiSpecificationRoute]) – The value to assign to the routes property of this ApiSpecification.
- property logging_policies¶
Gets the logging_policies of this ApiSpecification.
- Returns
The logging_policies of this ApiSpecification.
- Return type
- property request_policies¶
Gets the request_policies of this ApiSpecification.
- Returns
The request_policies of this ApiSpecification.
- Return type
- property routes¶
Gets the routes of this ApiSpecification. A list of routes that this API exposes.
- Returns
The routes of this ApiSpecification.
- Return type