getV2LoggingOptions method

Future<GetV2LoggingOptionsResponse> getV2LoggingOptions({
  1. bool? verbose,
})

Gets the fine grained logging options.

Requires permission to access the GetV2LoggingOptions action.

May throw InternalException. May throw NotConfiguredException. May throw ServiceUnavailableException.

Parameter verbose : The flag is used to get all the event types and their respective configuration that event-based logging supports.

Implementation

Future<GetV2LoggingOptionsResponse> getV2LoggingOptions({
  bool? verbose,
}) async {
  final $query = <String, List<String>>{
    if (verbose != null) 'verbose': [verbose.toString()],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v2LoggingOptions',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return GetV2LoggingOptionsResponse.fromJson(response);
}