ListLogsRequest constructor

ListLogsRequest({
  1. String? parent,
  2. int? pageSize,
  3. String? pageToken,
  4. Iterable<String>? resourceNames,
})

Implementation

factory ListLogsRequest({
  $core.String? parent,
  $core.int? pageSize,
  $core.String? pageToken,
  $core.Iterable<$core.String>? resourceNames,
}) {
  final _result = create();
  if (parent != null) {
    _result.parent = parent;
  }
  if (pageSize != null) {
    _result.pageSize = pageSize;
  }
  if (pageToken != null) {
    _result.pageToken = pageToken;
  }
  if (resourceNames != null) {
    _result.resourceNames.addAll(resourceNames);
  }
  return _result;
}