otcextensions.sdk.apig.v2.api_call¶
The ApiCallResult Class¶
The ApiCallResult
class inherits from
Resource
.
- class otcextensions.sdk.apig.v2.api_call.ApiCallResult(_synchronized=False, connection=None, **attrs)¶
The base resource
- Parameters:
_synchronized (bool) – This is not intended to be used directly. See
new()
andexisting()
.connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of
self._connection
in Resource code should protect itself with a check for None.
- allow_fetch = True¶
Allow get operation for this resource.
- get_api_calls_for_period(session, gateway_id, **params)¶
Fetch API calls for a specific period.
- get_api_calls_for_group(session, gateway_id, **attrs)¶
Fetch API calls for a specific group.