CopyFilesFromMachineRequestMetadata constructor

CopyFilesFromMachineRequestMetadata({
  1. String? name,
  2. Iterable<String>? paths,
  3. bool? allowRecursion,
  4. bool? preserve,
  5. Struct? extra,
})

Implementation

factory CopyFilesFromMachineRequestMetadata({
  $core.String? name,
  $core.Iterable<$core.String>? paths,
  $core.bool? allowRecursion,
  $core.bool? preserve,
  $43.Struct? extra,
}) {
  final $result = create();
  if (name != null) {
    $result.name = name;
  }
  if (paths != null) {
    $result.paths.addAll(paths);
  }
  if (allowRecursion != null) {
    $result.allowRecursion = allowRecursion;
  }
  if (preserve != null) {
    $result.preserve = preserve;
  }
  if (extra != null) {
    $result.extra = extra;
  }
  return $result;
}