OLD | NEW |
1 // This is a generated file (see the discoveryapis_generator project). | 1 // This is a generated file (see the discoveryapis_generator project). |
2 | 2 |
3 library googleapis.storagetransfer.v1; | 3 library googleapis.storagetransfer.v1; |
4 | 4 |
5 import 'dart:core' as core; | 5 import 'dart:core' as core; |
6 import 'dart:async' as async; | 6 import 'dart:async' as async; |
7 import 'dart:convert' as convert; | 7 import 'dart:convert' as convert; |
8 | 8 |
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; | 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; |
10 import 'package:http/http.dart' as http; | 10 import 'package:http/http.dart' as http; |
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 if (transferJobs != null) { | 1021 if (transferJobs != null) { |
1022 _json["transferJobs"] = transferJobs.map((value) => (value).toJson()).toLi
st(); | 1022 _json["transferJobs"] = transferJobs.map((value) => (value).toJson()).toLi
st(); |
1023 } | 1023 } |
1024 return _json; | 1024 return _json; |
1025 } | 1025 } |
1026 } | 1026 } |
1027 | 1027 |
1028 /** Conditions that determine which objects will be transferred. */ | 1028 /** Conditions that determine which objects will be transferred. */ |
1029 class ObjectConditions { | 1029 class ObjectConditions { |
1030 /** | 1030 /** |
1031 * `excludePrefixes` must follow the constraints described for | 1031 * `excludePrefixes` must follow the requirements described for |
1032 * `includePrefixes`. The max size of `excludePrefixes` is 20. | 1032 * `includePrefixes`. The max size of `excludePrefixes` is 20. |
1033 */ | 1033 */ |
1034 core.List<core.String> excludePrefixes; | 1034 core.List<core.String> excludePrefixes; |
1035 /** | 1035 /** |
1036 * If `includePrefixes` is specified, objects that satisfy the object | 1036 * If `includePrefixes` is specified, objects that satisfy the object |
1037 * conditions must have names that start with one of the `includePrefixes` and | 1037 * conditions must have names that start with one of the `includePrefixes` and |
1038 * that do not start with any of the `excludePrefixes`. If `includePrefixes` | 1038 * that do not start with any of the `excludePrefixes`. If `includePrefixes` |
1039 * is not specified, all objects except those that have names starting with | 1039 * is not specified, all objects except those that have names starting with |
1040 * one of the `excludePrefixes` must satisfy the object conditions. | 1040 * one of the `excludePrefixes` must satisfy the object conditions. |
1041 * Requirements: * Each include-prefix and exclude-prefix can contain any | 1041 * Requirements: * Each include-prefix and exclude-prefix can contain any |
1042 * sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, | 1042 * sequence of Unicode characters, of max length 1024 bytes when UTF8-encoded, |
1043 * and must not contain Carriage Return or Line Feed characters. Wildcard | 1043 * and must not contain Carriage Return or Line Feed characters. Wildcard |
1044 * matching and regular expression matching are not supported. * None of the | 1044 * matching and regular expression matching are not supported. * None of the |
1045 * include-prefix or the exclude-prefix can be empty, if specified. * Each | 1045 * include-prefix or the exclude-prefix values can be empty, if specified. * |
1046 * include-prefix must include a distinct portion of the object namespace, | 1046 * Each include-prefix must include a distinct portion of the object |
1047 * i.e. no include-prefix may be a prefix of another include-prefix. * Each | 1047 * namespace, i.e., no include-prefix may be a prefix of another |
1048 * exclude-prefix must exclude a distinct portion of the bucket, i.e., no | 1048 * include-prefix. * Each exclude-prefix must exclude a distinct portion of |
1049 * exclude-prefix may be a prefix of another exclude-prefix`. * If | 1049 * the object namespace, i.e., no exclude-prefix may be a prefix of another |
1050 * `includePrefixes` is specified, then each exclude-prefix must exclude paths | 1050 * exclude-prefix. * If `includePrefixes` is specified, then each |
1051 * that were explicitly included by `includePrefixes`. * The max size of | 1051 * exclude-prefix must start with the value of a path explicitly included by |
1052 * `includePrefixes` is 20. | 1052 * `includePrefixes`. The max size of `includePrefixes` is 20. |
1053 */ | 1053 */ |
1054 core.List<core.String> includePrefixes; | 1054 core.List<core.String> includePrefixes; |
1055 /** | 1055 /** |
1056 * `maxTimeElapsedSinceLastModification` is the complement to | 1056 * `maxTimeElapsedSinceLastModification` is the complement to |
1057 * `minTimeElapsedSinceLastModification`. | 1057 * `minTimeElapsedSinceLastModification`. |
1058 */ | 1058 */ |
1059 core.String maxTimeElapsedSinceLastModification; | 1059 core.String maxTimeElapsedSinceLastModification; |
1060 /** | 1060 /** |
1061 * If unspecified, `minTimeElapsedSinceLastModification` takes a zero value | 1061 * If unspecified, `minTimeElapsedSinceLastModification` takes a zero value |
1062 * and `maxTimeElapsedSinceLastModification` takes the maximum possible value | 1062 * and `maxTimeElapsedSinceLastModification` takes the maximum possible value |
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1920 } | 1920 } |
1921 if (transferJob != null) { | 1921 if (transferJob != null) { |
1922 _json["transferJob"] = (transferJob).toJson(); | 1922 _json["transferJob"] = (transferJob).toJson(); |
1923 } | 1923 } |
1924 if (updateTransferJobFieldMask != null) { | 1924 if (updateTransferJobFieldMask != null) { |
1925 _json["updateTransferJobFieldMask"] = updateTransferJobFieldMask; | 1925 _json["updateTransferJobFieldMask"] = updateTransferJobFieldMask; |
1926 } | 1926 } |
1927 return _json; | 1927 return _json; |
1928 } | 1928 } |
1929 } | 1929 } |
OLD | NEW |