ApiSpecification¶
-
class
oci.apigateway.models.
ApiSpecification
(**kwargs)¶ Bases:
object
The logical configuration of the API exposed by a deployment.
Methods
__init__
(**kwargs)Initializes a new ApiSpecification object with values from keyword arguments. Attributes
logging_policies
Gets the logging_policies of this ApiSpecification. request_policies
Gets the request_policies of this ApiSpecification. routes
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.
-
logging_policies
¶ Gets the logging_policies of this ApiSpecification.
Returns: The logging_policies of this ApiSpecification. Return type: oci.apigateway.models.ApiSpecificationLoggingPolicies
-
request_policies
¶ Gets the request_policies of this ApiSpecification.
Returns: The request_policies of this ApiSpecification. Return type: oci.apigateway.models.ApiSpecificationRequestPolicies
-
routes
¶ Gets the routes of this ApiSpecification. A list of routes that this API exposes.
Returns: The routes of this ApiSpecification. Return type: list[oci.apigateway.models.ApiSpecificationRoute]
-