@flyteorg/flyteidl 0.24.13 → 0.24.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/gen/pb-js/flyteidl.d.ts
CHANGED
|
@@ -17089,11 +17089,14 @@ export namespace flyteidl {
|
|
|
17089
17089
|
/** CreateUploadLocationRequest domain */
|
|
17090
17090
|
domain?: (string|null);
|
|
17091
17091
|
|
|
17092
|
-
/** CreateUploadLocationRequest
|
|
17093
|
-
|
|
17092
|
+
/** CreateUploadLocationRequest filename */
|
|
17093
|
+
filename?: (string|null);
|
|
17094
17094
|
|
|
17095
17095
|
/** CreateUploadLocationRequest expiresIn */
|
|
17096
17096
|
expiresIn?: (google.protobuf.IDuration|null);
|
|
17097
|
+
|
|
17098
|
+
/** CreateUploadLocationRequest contentMd5 */
|
|
17099
|
+
contentMd5?: (Uint8Array|null);
|
|
17097
17100
|
}
|
|
17098
17101
|
|
|
17099
17102
|
/** Represents a CreateUploadLocationRequest. */
|
|
@@ -17111,12 +17114,15 @@ export namespace flyteidl {
|
|
|
17111
17114
|
/** CreateUploadLocationRequest domain. */
|
|
17112
17115
|
public domain: string;
|
|
17113
17116
|
|
|
17114
|
-
/** CreateUploadLocationRequest
|
|
17115
|
-
public
|
|
17117
|
+
/** CreateUploadLocationRequest filename. */
|
|
17118
|
+
public filename: string;
|
|
17116
17119
|
|
|
17117
17120
|
/** CreateUploadLocationRequest expiresIn. */
|
|
17118
17121
|
public expiresIn?: (google.protobuf.IDuration|null);
|
|
17119
17122
|
|
|
17123
|
+
/** CreateUploadLocationRequest contentMd5. */
|
|
17124
|
+
public contentMd5: Uint8Array;
|
|
17125
|
+
|
|
17120
17126
|
/**
|
|
17121
17127
|
* Creates a new CreateUploadLocationRequest instance using the specified properties.
|
|
17122
17128
|
* @param [properties] Properties to set
|
package/gen/pb-js/flyteidl.js
CHANGED
|
@@ -39804,8 +39804,9 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39804
39804
|
* @interface ICreateUploadLocationRequest
|
|
39805
39805
|
* @property {string|null} [project] CreateUploadLocationRequest project
|
|
39806
39806
|
* @property {string|null} [domain] CreateUploadLocationRequest domain
|
|
39807
|
-
* @property {string|null} [
|
|
39807
|
+
* @property {string|null} [filename] CreateUploadLocationRequest filename
|
|
39808
39808
|
* @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn
|
|
39809
|
+
* @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5
|
|
39809
39810
|
*/
|
|
39810
39811
|
|
|
39811
39812
|
/**
|
|
@@ -39840,12 +39841,12 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39840
39841
|
CreateUploadLocationRequest.prototype.domain = "";
|
|
39841
39842
|
|
|
39842
39843
|
/**
|
|
39843
|
-
* CreateUploadLocationRequest
|
|
39844
|
-
* @member {string}
|
|
39844
|
+
* CreateUploadLocationRequest filename.
|
|
39845
|
+
* @member {string} filename
|
|
39845
39846
|
* @memberof flyteidl.service.CreateUploadLocationRequest
|
|
39846
39847
|
* @instance
|
|
39847
39848
|
*/
|
|
39848
|
-
CreateUploadLocationRequest.prototype.
|
|
39849
|
+
CreateUploadLocationRequest.prototype.filename = "";
|
|
39849
39850
|
|
|
39850
39851
|
/**
|
|
39851
39852
|
* CreateUploadLocationRequest expiresIn.
|
|
@@ -39855,6 +39856,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39855
39856
|
*/
|
|
39856
39857
|
CreateUploadLocationRequest.prototype.expiresIn = null;
|
|
39857
39858
|
|
|
39859
|
+
/**
|
|
39860
|
+
* CreateUploadLocationRequest contentMd5.
|
|
39861
|
+
* @member {Uint8Array} contentMd5
|
|
39862
|
+
* @memberof flyteidl.service.CreateUploadLocationRequest
|
|
39863
|
+
* @instance
|
|
39864
|
+
*/
|
|
39865
|
+
CreateUploadLocationRequest.prototype.contentMd5 = $util.newBuffer([]);
|
|
39866
|
+
|
|
39858
39867
|
/**
|
|
39859
39868
|
* Creates a new CreateUploadLocationRequest instance using the specified properties.
|
|
39860
39869
|
* @function create
|
|
@@ -39883,10 +39892,12 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39883
39892
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.project);
|
|
39884
39893
|
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
39885
39894
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.domain);
|
|
39886
|
-
if (message.
|
|
39887
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.
|
|
39895
|
+
if (message.filename != null && message.hasOwnProperty("filename"))
|
|
39896
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.filename);
|
|
39888
39897
|
if (message.expiresIn != null && message.hasOwnProperty("expiresIn"))
|
|
39889
39898
|
$root.google.protobuf.Duration.encode(message.expiresIn, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
39899
|
+
if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
|
|
39900
|
+
writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5);
|
|
39890
39901
|
return writer;
|
|
39891
39902
|
};
|
|
39892
39903
|
|
|
@@ -39915,11 +39926,14 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39915
39926
|
message.domain = reader.string();
|
|
39916
39927
|
break;
|
|
39917
39928
|
case 3:
|
|
39918
|
-
message.
|
|
39929
|
+
message.filename = reader.string();
|
|
39919
39930
|
break;
|
|
39920
39931
|
case 4:
|
|
39921
39932
|
message.expiresIn = $root.google.protobuf.Duration.decode(reader, reader.uint32());
|
|
39922
39933
|
break;
|
|
39934
|
+
case 5:
|
|
39935
|
+
message.contentMd5 = reader.bytes();
|
|
39936
|
+
break;
|
|
39923
39937
|
default:
|
|
39924
39938
|
reader.skipType(tag & 7);
|
|
39925
39939
|
break;
|
|
@@ -39945,14 +39959,17 @@ export const flyteidl = $root.flyteidl = (() => {
|
|
|
39945
39959
|
if (message.domain != null && message.hasOwnProperty("domain"))
|
|
39946
39960
|
if (!$util.isString(message.domain))
|
|
39947
39961
|
return "domain: string expected";
|
|
39948
|
-
if (message.
|
|
39949
|
-
if (!$util.isString(message.
|
|
39950
|
-
return "
|
|
39962
|
+
if (message.filename != null && message.hasOwnProperty("filename"))
|
|
39963
|
+
if (!$util.isString(message.filename))
|
|
39964
|
+
return "filename: string expected";
|
|
39951
39965
|
if (message.expiresIn != null && message.hasOwnProperty("expiresIn")) {
|
|
39952
39966
|
let error = $root.google.protobuf.Duration.verify(message.expiresIn);
|
|
39953
39967
|
if (error)
|
|
39954
39968
|
return "expiresIn." + error;
|
|
39955
39969
|
}
|
|
39970
|
+
if (message.contentMd5 != null && message.hasOwnProperty("contentMd5"))
|
|
39971
|
+
if (!(message.contentMd5 && typeof message.contentMd5.length === "number" || $util.isString(message.contentMd5)))
|
|
39972
|
+
return "contentMd5: buffer expected";
|
|
39956
39973
|
return null;
|
|
39957
39974
|
};
|
|
39958
39975
|
|
package/package.json
CHANGED
|
@@ -225,8 +225,9 @@ CreateUploadLocationRequest specified request for the CreateUploadLocation API.
|
|
|
225
225
|
|
|
226
226
|
"project", ":ref:`ref_string`", "", "Project to create the upload location for +required"
|
|
227
227
|
"domain", ":ref:`ref_string`", "", "Domain to create the upload location for. +required"
|
|
228
|
-
"
|
|
228
|
+
"filename", ":ref:`ref_string`", "", "Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`. +optional. By default, the service will generate a consistent name based on the provided parameters."
|
|
229
229
|
"expires_in", ":ref:`ref_google.protobuf.Duration`", "", "ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this exceeds the platform allowed max. +optional. The default value comes from a global config."
|
|
230
|
+
"content_md5", ":ref:`ref_bytes`", "", "ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the generated path. +required"
|
|
230
231
|
|
|
231
232
|
|
|
232
233
|
|
|
@@ -29,14 +29,19 @@ message CreateUploadLocationRequest {
|
|
|
29
29
|
// +required
|
|
30
30
|
string domain = 2;
|
|
31
31
|
|
|
32
|
-
//
|
|
33
|
-
// +optional. By default, the service will generate a
|
|
34
|
-
string
|
|
32
|
+
// Filename specifies a desired suffix for the generated location. E.g. `file.py` or `pre/fix/file.zip`.
|
|
33
|
+
// +optional. By default, the service will generate a consistent name based on the provided parameters.
|
|
34
|
+
string filename = 3;
|
|
35
35
|
|
|
36
36
|
// ExpiresIn defines a requested expiration duration for the generated url. The request will be rejected if this
|
|
37
37
|
// exceeds the platform allowed max.
|
|
38
38
|
// +optional. The default value comes from a global config.
|
|
39
39
|
google.protobuf.Duration expires_in = 4;
|
|
40
|
+
|
|
41
|
+
// ContentMD5 restricts the upload location to the specific MD5 provided. The ContentMD5 will also appear in the
|
|
42
|
+
// generated path.
|
|
43
|
+
// +required
|
|
44
|
+
bytes content_md5 = 5;
|
|
40
45
|
}
|
|
41
46
|
|
|
42
47
|
// DataProxyService defines an RPC Service that allows access to user-data in a controlled manner.
|