@flyteorg/flyteidl 1.11.0-b1 → 1.11.1-b0

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/README.md CHANGED
@@ -7,7 +7,7 @@ This is one of the core repositories of Flyte. It contains the Specification of
7
7
 
8
8
  * [flyte.org](https://flyte.org)
9
9
  * [Flyte Docs](http://docs.flyte.org)
10
- * [Flyteidl API reference documentation](https://docs.flyte.org/projects/flyteidl/en/stable/index.html)
10
+ * [Flyteidl API reference documentation](https://docs.flyte.org/en/latest/reference_flyteidl.html)
11
11
 
12
12
  ## Contributing to Flyteidl
13
13
 
@@ -17812,6 +17812,58 @@ export namespace flyteidl {
17812
17812
  public static verify(message: { [k: string]: any }): (string|null);
17813
17813
  }
17814
17814
 
17815
+ /** Properties of a ProjectGetRequest. */
17816
+ interface IProjectGetRequest {
17817
+
17818
+ /** ProjectGetRequest id */
17819
+ id?: (string|null);
17820
+ }
17821
+
17822
+ /** Represents a ProjectGetRequest. */
17823
+ class ProjectGetRequest implements IProjectGetRequest {
17824
+
17825
+ /**
17826
+ * Constructs a new ProjectGetRequest.
17827
+ * @param [properties] Properties to set
17828
+ */
17829
+ constructor(properties?: flyteidl.admin.IProjectGetRequest);
17830
+
17831
+ /** ProjectGetRequest id. */
17832
+ public id: string;
17833
+
17834
+ /**
17835
+ * Creates a new ProjectGetRequest instance using the specified properties.
17836
+ * @param [properties] Properties to set
17837
+ * @returns ProjectGetRequest instance
17838
+ */
17839
+ public static create(properties?: flyteidl.admin.IProjectGetRequest): flyteidl.admin.ProjectGetRequest;
17840
+
17841
+ /**
17842
+ * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages.
17843
+ * @param message ProjectGetRequest message or plain object to encode
17844
+ * @param [writer] Writer to encode to
17845
+ * @returns Writer
17846
+ */
17847
+ public static encode(message: flyteidl.admin.IProjectGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
17848
+
17849
+ /**
17850
+ * Decodes a ProjectGetRequest message from the specified reader or buffer.
17851
+ * @param reader Reader or buffer to decode from
17852
+ * @param [length] Message length if known beforehand
17853
+ * @returns ProjectGetRequest
17854
+ * @throws {Error} If the payload is not a reader or valid buffer
17855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
17856
+ */
17857
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.ProjectGetRequest;
17858
+
17859
+ /**
17860
+ * Verifies a ProjectGetRequest message.
17861
+ * @param message Plain object to verify
17862
+ * @returns `null` if valid, otherwise the reason why it is not
17863
+ */
17864
+ public static verify(message: { [k: string]: any }): (string|null);
17865
+ }
17866
+
17815
17867
  /** Properties of a ProjectAttributes. */
17816
17868
  interface IProjectAttributes {
17817
17869
 
@@ -21432,6 +21484,20 @@ export namespace flyteidl {
21432
21484
  */
21433
21485
  public updateProject(request: flyteidl.admin.IProject): Promise<flyteidl.admin.ProjectUpdateResponse>;
21434
21486
 
21487
+ /**
21488
+ * Calls GetProject.
21489
+ * @param request ProjectGetRequest message or plain object
21490
+ * @param callback Node-style callback called with the error, if any, and Project
21491
+ */
21492
+ public getProject(request: flyteidl.admin.IProjectGetRequest, callback: flyteidl.service.AdminService.GetProjectCallback): void;
21493
+
21494
+ /**
21495
+ * Calls GetProject.
21496
+ * @param request ProjectGetRequest message or plain object
21497
+ * @returns Promise
21498
+ */
21499
+ public getProject(request: flyteidl.admin.IProjectGetRequest): Promise<flyteidl.admin.Project>;
21500
+
21435
21501
  /**
21436
21502
  * Calls ListProjects.
21437
21503
  * @param request ProjectListRequest message or plain object
@@ -21981,6 +22047,13 @@ export namespace flyteidl {
21981
22047
  */
21982
22048
  type UpdateProjectCallback = (error: (Error|null), response?: flyteidl.admin.ProjectUpdateResponse) => void;
21983
22049
 
22050
+ /**
22051
+ * Callback as used by {@link flyteidl.service.AdminService#getProject}.
22052
+ * @param error Error, if any
22053
+ * @param [response] Project
22054
+ */
22055
+ type GetProjectCallback = (error: (Error|null), response?: flyteidl.admin.Project) => void;
22056
+
21984
22057
  /**
21985
22058
  * Callback as used by {@link flyteidl.service.AdminService#listProjects}.
21986
22059
  * @param error Error, if any
@@ -22747,6 +22820,9 @@ export namespace flyteidl {
22747
22820
 
22748
22821
  /** CreateUploadLocationResponse expiresAt */
22749
22822
  expiresAt?: (google.protobuf.ITimestamp|null);
22823
+
22824
+ /** CreateUploadLocationResponse headers */
22825
+ headers?: ({ [k: string]: string }|null);
22750
22826
  }
22751
22827
 
22752
22828
  /** Represents a CreateUploadLocationResponse. */
@@ -22767,6 +22843,9 @@ export namespace flyteidl {
22767
22843
  /** CreateUploadLocationResponse expiresAt. */
22768
22844
  public expiresAt?: (google.protobuf.ITimestamp|null);
22769
22845
 
22846
+ /** CreateUploadLocationResponse headers. */
22847
+ public headers: { [k: string]: string };
22848
+
22770
22849
  /**
22771
22850
  * Creates a new CreateUploadLocationResponse instance using the specified properties.
22772
22851
  * @param [properties] Properties to set
@@ -22820,6 +22899,12 @@ export namespace flyteidl {
22820
22899
 
22821
22900
  /** CreateUploadLocationRequest filenameRoot */
22822
22901
  filenameRoot?: (string|null);
22902
+
22903
+ /** CreateUploadLocationRequest addContentMd5Metadata */
22904
+ addContentMd5Metadata?: (boolean|null);
22905
+
22906
+ /** CreateUploadLocationRequest org */
22907
+ org?: (string|null);
22823
22908
  }
22824
22909
 
22825
22910
  /** Represents a CreateUploadLocationRequest. */
@@ -22849,6 +22934,12 @@ export namespace flyteidl {
22849
22934
  /** CreateUploadLocationRequest filenameRoot. */
22850
22935
  public filenameRoot: string;
22851
22936
 
22937
+ /** CreateUploadLocationRequest addContentMd5Metadata. */
22938
+ public addContentMd5Metadata: boolean;
22939
+
22940
+ /** CreateUploadLocationRequest org. */
22941
+ public org: string;
22942
+
22852
22943
  /**
22853
22944
  * Creates a new CreateUploadLocationRequest instance using the specified properties.
22854
22945
  * @param [properties] Properties to set
@@ -43012,6 +43012,116 @@
43012
43012
  return ProjectUpdateResponse;
43013
43013
  })();
43014
43014
 
43015
+ admin.ProjectGetRequest = (function() {
43016
+
43017
+ /**
43018
+ * Properties of a ProjectGetRequest.
43019
+ * @memberof flyteidl.admin
43020
+ * @interface IProjectGetRequest
43021
+ * @property {string|null} [id] ProjectGetRequest id
43022
+ */
43023
+
43024
+ /**
43025
+ * Constructs a new ProjectGetRequest.
43026
+ * @memberof flyteidl.admin
43027
+ * @classdesc Represents a ProjectGetRequest.
43028
+ * @implements IProjectGetRequest
43029
+ * @constructor
43030
+ * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set
43031
+ */
43032
+ function ProjectGetRequest(properties) {
43033
+ if (properties)
43034
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
43035
+ if (properties[keys[i]] != null)
43036
+ this[keys[i]] = properties[keys[i]];
43037
+ }
43038
+
43039
+ /**
43040
+ * ProjectGetRequest id.
43041
+ * @member {string} id
43042
+ * @memberof flyteidl.admin.ProjectGetRequest
43043
+ * @instance
43044
+ */
43045
+ ProjectGetRequest.prototype.id = "";
43046
+
43047
+ /**
43048
+ * Creates a new ProjectGetRequest instance using the specified properties.
43049
+ * @function create
43050
+ * @memberof flyteidl.admin.ProjectGetRequest
43051
+ * @static
43052
+ * @param {flyteidl.admin.IProjectGetRequest=} [properties] Properties to set
43053
+ * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest instance
43054
+ */
43055
+ ProjectGetRequest.create = function create(properties) {
43056
+ return new ProjectGetRequest(properties);
43057
+ };
43058
+
43059
+ /**
43060
+ * Encodes the specified ProjectGetRequest message. Does not implicitly {@link flyteidl.admin.ProjectGetRequest.verify|verify} messages.
43061
+ * @function encode
43062
+ * @memberof flyteidl.admin.ProjectGetRequest
43063
+ * @static
43064
+ * @param {flyteidl.admin.IProjectGetRequest} message ProjectGetRequest message or plain object to encode
43065
+ * @param {$protobuf.Writer} [writer] Writer to encode to
43066
+ * @returns {$protobuf.Writer} Writer
43067
+ */
43068
+ ProjectGetRequest.encode = function encode(message, writer) {
43069
+ if (!writer)
43070
+ writer = $Writer.create();
43071
+ if (message.id != null && message.hasOwnProperty("id"))
43072
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.id);
43073
+ return writer;
43074
+ };
43075
+
43076
+ /**
43077
+ * Decodes a ProjectGetRequest message from the specified reader or buffer.
43078
+ * @function decode
43079
+ * @memberof flyteidl.admin.ProjectGetRequest
43080
+ * @static
43081
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
43082
+ * @param {number} [length] Message length if known beforehand
43083
+ * @returns {flyteidl.admin.ProjectGetRequest} ProjectGetRequest
43084
+ * @throws {Error} If the payload is not a reader or valid buffer
43085
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
43086
+ */
43087
+ ProjectGetRequest.decode = function decode(reader, length) {
43088
+ if (!(reader instanceof $Reader))
43089
+ reader = $Reader.create(reader);
43090
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.ProjectGetRequest();
43091
+ while (reader.pos < end) {
43092
+ var tag = reader.uint32();
43093
+ switch (tag >>> 3) {
43094
+ case 1:
43095
+ message.id = reader.string();
43096
+ break;
43097
+ default:
43098
+ reader.skipType(tag & 7);
43099
+ break;
43100
+ }
43101
+ }
43102
+ return message;
43103
+ };
43104
+
43105
+ /**
43106
+ * Verifies a ProjectGetRequest message.
43107
+ * @function verify
43108
+ * @memberof flyteidl.admin.ProjectGetRequest
43109
+ * @static
43110
+ * @param {Object.<string,*>} message Plain object to verify
43111
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
43112
+ */
43113
+ ProjectGetRequest.verify = function verify(message) {
43114
+ if (typeof message !== "object" || message === null)
43115
+ return "object expected";
43116
+ if (message.id != null && message.hasOwnProperty("id"))
43117
+ if (!$util.isString(message.id))
43118
+ return "id: string expected";
43119
+ return null;
43120
+ };
43121
+
43122
+ return ProjectGetRequest;
43123
+ })();
43124
+
43015
43125
  admin.ProjectAttributes = (function() {
43016
43126
 
43017
43127
  /**
@@ -51364,6 +51474,39 @@
51364
51474
  * @variation 2
51365
51475
  */
51366
51476
 
51477
+ /**
51478
+ * Callback as used by {@link flyteidl.service.AdminService#getProject}.
51479
+ * @memberof flyteidl.service.AdminService
51480
+ * @typedef GetProjectCallback
51481
+ * @type {function}
51482
+ * @param {Error|null} error Error, if any
51483
+ * @param {flyteidl.admin.Project} [response] Project
51484
+ */
51485
+
51486
+ /**
51487
+ * Calls GetProject.
51488
+ * @function getProject
51489
+ * @memberof flyteidl.service.AdminService
51490
+ * @instance
51491
+ * @param {flyteidl.admin.IProjectGetRequest} request ProjectGetRequest message or plain object
51492
+ * @param {flyteidl.service.AdminService.GetProjectCallback} callback Node-style callback called with the error, if any, and Project
51493
+ * @returns {undefined}
51494
+ * @variation 1
51495
+ */
51496
+ Object.defineProperty(AdminService.prototype.getProject = function getProject(request, callback) {
51497
+ return this.rpcCall(getProject, $root.flyteidl.admin.ProjectGetRequest, $root.flyteidl.admin.Project, request, callback);
51498
+ }, "name", { value: "GetProject" });
51499
+
51500
+ /**
51501
+ * Calls GetProject.
51502
+ * @function getProject
51503
+ * @memberof flyteidl.service.AdminService
51504
+ * @instance
51505
+ * @param {flyteidl.admin.IProjectGetRequest} request ProjectGetRequest message or plain object
51506
+ * @returns {Promise<flyteidl.admin.Project>} Promise
51507
+ * @variation 2
51508
+ */
51509
+
51367
51510
  /**
51368
51511
  * Callback as used by {@link flyteidl.service.AdminService#listProjects}.
51369
51512
  * @memberof flyteidl.service.AdminService
@@ -53330,6 +53473,7 @@
53330
53473
  * @property {string|null} [signedUrl] CreateUploadLocationResponse signedUrl
53331
53474
  * @property {string|null} [nativeUrl] CreateUploadLocationResponse nativeUrl
53332
53475
  * @property {google.protobuf.ITimestamp|null} [expiresAt] CreateUploadLocationResponse expiresAt
53476
+ * @property {Object.<string,string>|null} [headers] CreateUploadLocationResponse headers
53333
53477
  */
53334
53478
 
53335
53479
  /**
@@ -53341,6 +53485,7 @@
53341
53485
  * @param {flyteidl.service.ICreateUploadLocationResponse=} [properties] Properties to set
53342
53486
  */
53343
53487
  function CreateUploadLocationResponse(properties) {
53488
+ this.headers = {};
53344
53489
  if (properties)
53345
53490
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
53346
53491
  if (properties[keys[i]] != null)
@@ -53371,6 +53516,14 @@
53371
53516
  */
53372
53517
  CreateUploadLocationResponse.prototype.expiresAt = null;
53373
53518
 
53519
+ /**
53520
+ * CreateUploadLocationResponse headers.
53521
+ * @member {Object.<string,string>} headers
53522
+ * @memberof flyteidl.service.CreateUploadLocationResponse
53523
+ * @instance
53524
+ */
53525
+ CreateUploadLocationResponse.prototype.headers = $util.emptyObject;
53526
+
53374
53527
  /**
53375
53528
  * Creates a new CreateUploadLocationResponse instance using the specified properties.
53376
53529
  * @function create
@@ -53401,6 +53554,9 @@
53401
53554
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.nativeUrl);
53402
53555
  if (message.expiresAt != null && message.hasOwnProperty("expiresAt"))
53403
53556
  $root.google.protobuf.Timestamp.encode(message.expiresAt, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
53557
+ if (message.headers != null && message.hasOwnProperty("headers"))
53558
+ for (var keys = Object.keys(message.headers), i = 0; i < keys.length; ++i)
53559
+ writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.headers[keys[i]]).ldelim();
53404
53560
  return writer;
53405
53561
  };
53406
53562
 
@@ -53418,7 +53574,7 @@
53418
53574
  CreateUploadLocationResponse.decode = function decode(reader, length) {
53419
53575
  if (!(reader instanceof $Reader))
53420
53576
  reader = $Reader.create(reader);
53421
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.CreateUploadLocationResponse();
53577
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.service.CreateUploadLocationResponse(), key;
53422
53578
  while (reader.pos < end) {
53423
53579
  var tag = reader.uint32();
53424
53580
  switch (tag >>> 3) {
@@ -53431,6 +53587,14 @@
53431
53587
  case 3:
53432
53588
  message.expiresAt = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
53433
53589
  break;
53590
+ case 4:
53591
+ reader.skip().pos++;
53592
+ if (message.headers === $util.emptyObject)
53593
+ message.headers = {};
53594
+ key = reader.string();
53595
+ reader.pos++;
53596
+ message.headers[key] = reader.string();
53597
+ break;
53434
53598
  default:
53435
53599
  reader.skipType(tag & 7);
53436
53600
  break;
@@ -53461,6 +53625,14 @@
53461
53625
  if (error)
53462
53626
  return "expiresAt." + error;
53463
53627
  }
53628
+ if (message.headers != null && message.hasOwnProperty("headers")) {
53629
+ if (!$util.isObject(message.headers))
53630
+ return "headers: object expected";
53631
+ var key = Object.keys(message.headers);
53632
+ for (var i = 0; i < key.length; ++i)
53633
+ if (!$util.isString(message.headers[key[i]]))
53634
+ return "headers: string{k:string} expected";
53635
+ }
53464
53636
  return null;
53465
53637
  };
53466
53638
 
@@ -53479,6 +53651,8 @@
53479
53651
  * @property {google.protobuf.IDuration|null} [expiresIn] CreateUploadLocationRequest expiresIn
53480
53652
  * @property {Uint8Array|null} [contentMd5] CreateUploadLocationRequest contentMd5
53481
53653
  * @property {string|null} [filenameRoot] CreateUploadLocationRequest filenameRoot
53654
+ * @property {boolean|null} [addContentMd5Metadata] CreateUploadLocationRequest addContentMd5Metadata
53655
+ * @property {string|null} [org] CreateUploadLocationRequest org
53482
53656
  */
53483
53657
 
53484
53658
  /**
@@ -53544,6 +53718,22 @@
53544
53718
  */
53545
53719
  CreateUploadLocationRequest.prototype.filenameRoot = "";
53546
53720
 
53721
+ /**
53722
+ * CreateUploadLocationRequest addContentMd5Metadata.
53723
+ * @member {boolean} addContentMd5Metadata
53724
+ * @memberof flyteidl.service.CreateUploadLocationRequest
53725
+ * @instance
53726
+ */
53727
+ CreateUploadLocationRequest.prototype.addContentMd5Metadata = false;
53728
+
53729
+ /**
53730
+ * CreateUploadLocationRequest org.
53731
+ * @member {string} org
53732
+ * @memberof flyteidl.service.CreateUploadLocationRequest
53733
+ * @instance
53734
+ */
53735
+ CreateUploadLocationRequest.prototype.org = "";
53736
+
53547
53737
  /**
53548
53738
  * Creates a new CreateUploadLocationRequest instance using the specified properties.
53549
53739
  * @function create
@@ -53580,6 +53770,10 @@
53580
53770
  writer.uint32(/* id 5, wireType 2 =*/42).bytes(message.contentMd5);
53581
53771
  if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot"))
53582
53772
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.filenameRoot);
53773
+ if (message.addContentMd5Metadata != null && message.hasOwnProperty("addContentMd5Metadata"))
53774
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.addContentMd5Metadata);
53775
+ if (message.org != null && message.hasOwnProperty("org"))
53776
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.org);
53583
53777
  return writer;
53584
53778
  };
53585
53779
 
@@ -53619,6 +53813,12 @@
53619
53813
  case 6:
53620
53814
  message.filenameRoot = reader.string();
53621
53815
  break;
53816
+ case 7:
53817
+ message.addContentMd5Metadata = reader.bool();
53818
+ break;
53819
+ case 8:
53820
+ message.org = reader.string();
53821
+ break;
53622
53822
  default:
53623
53823
  reader.skipType(tag & 7);
53624
53824
  break;
@@ -53658,6 +53858,12 @@
53658
53858
  if (message.filenameRoot != null && message.hasOwnProperty("filenameRoot"))
53659
53859
  if (!$util.isString(message.filenameRoot))
53660
53860
  return "filenameRoot: string expected";
53861
+ if (message.addContentMd5Metadata != null && message.hasOwnProperty("addContentMd5Metadata"))
53862
+ if (typeof message.addContentMd5Metadata !== "boolean")
53863
+ return "addContentMd5Metadata: boolean expected";
53864
+ if (message.org != null && message.hasOwnProperty("org"))
53865
+ if (!$util.isString(message.org))
53866
+ return "org: string expected";
53661
53867
  return null;
53662
53868
  };
53663
53869
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.11.0-b1",
3
+ "version": "1.11.1-b0",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -2206,7 +2206,7 @@ Sql represents a generic sql workload with a statement and dialect.
2206
2206
  :header: "Field", "Type", "Label", "Description"
2207
2207
  :widths: auto
2208
2208
 
2209
- "statement", ":ref:`ref_string`", "", "The actual query to run, the query can have templated parameters. We use Flyte's Golang templating format for Query templating. Refer to the templating documentation. https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py For example, insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet select * from my_table where ds = '{{ .Inputs.ds }}'"
2209
+ "statement", ":ref:`ref_string`", "", "The actual query to run, the query can have templated parameters. We use Flyte's Golang templating format for Query templating. For example, insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet select * from my_table where ds = '{{ .Inputs.ds }}'"
2210
2210
  "dialect", ":ref:`ref_flyteidl.core.Sql.Dialect`", "", ""
2211
2211
 
2212
2212
 
@@ -99,3 +99,9 @@ message ProjectRegisterResponse {
99
99
  // Purposefully empty, may be updated in the future.
100
100
  message ProjectUpdateResponse {
101
101
  }
102
+
103
+ message ProjectGetRequest {
104
+ // Indicates a unique project.
105
+ // +required
106
+ string id = 1;
107
+ }
@@ -332,8 +332,6 @@ message K8sObjectMetadata {
332
332
  message Sql {
333
333
  // The actual query to run, the query can have templated parameters.
334
334
  // We use Flyte's Golang templating format for Query templating.
335
- // Refer to the templating documentation.
336
- // https://docs.flyte.org/projects/cookbook/en/latest/auto/integrations/external_services/hive/hive.html#sphx-glr-auto-integrations-external-services-hive-hive-py
337
335
  // For example,
338
336
  // insert overwrite directory '{{ .rawOutputDataPrefix }}' stored as parquet
339
337
  // select *
@@ -395,6 +395,16 @@ service AdminService {
395
395
  };
396
396
  }
397
397
 
398
+ // Fetches a :ref:`ref_flyteidl.admin.Project`
399
+ rpc GetProject (flyteidl.admin.ProjectGetRequest) returns (flyteidl.admin.Project) {
400
+ option (google.api.http) = {
401
+ get: "/api/v1/projects/{id}"
402
+ };
403
+ option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
404
+ description: "Fetch a registered project."
405
+ };
406
+ }
407
+
398
408
  // Fetches a list of :ref:`ref_flyteidl.admin.Project`
399
409
  rpc ListProjects (flyteidl.admin.ProjectListRequest) returns (flyteidl.admin.Projects) {
400
410
  option (google.api.http) = {
@@ -20,6 +20,9 @@ message CreateUploadLocationResponse {
20
20
 
21
21
  // ExpiresAt defines when will the signed URL expires.
22
22
  google.protobuf.Timestamp expires_at = 3;
23
+
24
+ // Data proxy generates these headers for client, and they have to add these headers to the request when uploading the file.
25
+ map<string, string> headers = 4;
23
26
  }
24
27
 
25
28
  // CreateUploadLocationRequest specified request for the CreateUploadLocation API.
@@ -55,6 +58,15 @@ message CreateUploadLocationRequest {
55
58
  // in data proxy config. This option is useful when uploading multiple files.
56
59
  // +optional
57
60
  string filename_root = 6;
61
+
62
+ // If true, the data proxy will add content_md5 to the metadata to the signed URL and
63
+ // it will force clients to add this metadata to the object.
64
+ // This make sure dataproxy is backward compatible with the old flytekit.
65
+ bool add_content_md5_metadata = 7;
66
+
67
+
68
+ // Optional, org key applied to the resource.
69
+ string org = 8;
58
70
  }
59
71
 
60
72
  // CreateDownloadLocationRequest specified request for the CreateDownloadLocation API.
@@ -67,7 +79,6 @@ message CreateDownloadLocationRequest {
67
79
  // exceeds the platform allowed max.
68
80
  // +optional. The default value comes from a global config.
69
81
  google.protobuf.Duration expires_in = 2;
70
-
71
82
  }
72
83
 
73
84
  message CreateDownloadLocationResponse {