@flyteorg/flyteidl 1.5.1 → 1.5.3

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.
@@ -5967,6 +5967,9 @@ export namespace flyteidl {
5967
5967
 
5968
5968
  /** Identity oauth2Client */
5969
5969
  oauth2Client?: (flyteidl.core.IOAuth2Client|null);
5970
+
5971
+ /** Identity userIdentifier */
5972
+ userIdentifier?: (string|null);
5970
5973
  }
5971
5974
 
5972
5975
  /** Represents an Identity. */
@@ -5987,6 +5990,9 @@ export namespace flyteidl {
5987
5990
  /** Identity oauth2Client. */
5988
5991
  public oauth2Client?: (flyteidl.core.IOAuth2Client|null);
5989
5992
 
5993
+ /** Identity userIdentifier. */
5994
+ public userIdentifier: string;
5995
+
5990
5996
  /**
5991
5997
  * Creates a new Identity instance using the specified properties.
5992
5998
  * @param [properties] Properties to set
@@ -8776,6 +8782,58 @@ export namespace flyteidl {
8776
8782
  public static verify(message: { [k: string]: any }): (string|null);
8777
8783
  }
8778
8784
 
8785
+ /** Properties of an Envs. */
8786
+ interface IEnvs {
8787
+
8788
+ /** Envs values */
8789
+ values?: (flyteidl.core.IKeyValuePair[]|null);
8790
+ }
8791
+
8792
+ /** Represents an Envs. */
8793
+ class Envs implements IEnvs {
8794
+
8795
+ /**
8796
+ * Constructs a new Envs.
8797
+ * @param [properties] Properties to set
8798
+ */
8799
+ constructor(properties?: flyteidl.admin.IEnvs);
8800
+
8801
+ /** Envs values. */
8802
+ public values: flyteidl.core.IKeyValuePair[];
8803
+
8804
+ /**
8805
+ * Creates a new Envs instance using the specified properties.
8806
+ * @param [properties] Properties to set
8807
+ * @returns Envs instance
8808
+ */
8809
+ public static create(properties?: flyteidl.admin.IEnvs): flyteidl.admin.Envs;
8810
+
8811
+ /**
8812
+ * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages.
8813
+ * @param message Envs message or plain object to encode
8814
+ * @param [writer] Writer to encode to
8815
+ * @returns Writer
8816
+ */
8817
+ public static encode(message: flyteidl.admin.IEnvs, writer?: $protobuf.Writer): $protobuf.Writer;
8818
+
8819
+ /**
8820
+ * Decodes an Envs message from the specified reader or buffer.
8821
+ * @param reader Reader or buffer to decode from
8822
+ * @param [length] Message length if known beforehand
8823
+ * @returns Envs
8824
+ * @throws {Error} If the payload is not a reader or valid buffer
8825
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8826
+ */
8827
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): flyteidl.admin.Envs;
8828
+
8829
+ /**
8830
+ * Verifies an Envs message.
8831
+ * @param message Plain object to verify
8832
+ * @returns `null` if valid, otherwise the reason why it is not
8833
+ */
8834
+ public static verify(message: { [k: string]: any }): (string|null);
8835
+ }
8836
+
8779
8837
  /** Properties of an AuthRole. */
8780
8838
  interface IAuthRole {
8781
8839
 
@@ -10710,6 +10768,9 @@ export namespace flyteidl {
10710
10768
 
10711
10769
  /** ExecutionSpec overwriteCache */
10712
10770
  overwriteCache?: (boolean|null);
10771
+
10772
+ /** ExecutionSpec envs */
10773
+ envs?: (flyteidl.admin.IEnvs|null);
10713
10774
  }
10714
10775
 
10715
10776
  /** Represents an ExecutionSpec. */
@@ -10766,6 +10827,9 @@ export namespace flyteidl {
10766
10827
  /** ExecutionSpec overwriteCache. */
10767
10828
  public overwriteCache: boolean;
10768
10829
 
10830
+ /** ExecutionSpec envs. */
10831
+ public envs?: (flyteidl.admin.IEnvs|null);
10832
+
10769
10833
  /** ExecutionSpec notificationOverrides. */
10770
10834
  public notificationOverrides?: ("notifications"|"disableAll");
10771
10835
 
@@ -11649,6 +11713,9 @@ export namespace flyteidl {
11649
11713
 
11650
11714
  /** LaunchPlanSpec overwriteCache */
11651
11715
  overwriteCache?: (boolean|null);
11716
+
11717
+ /** LaunchPlanSpec envs */
11718
+ envs?: (flyteidl.admin.IEnvs|null);
11652
11719
  }
11653
11720
 
11654
11721
  /** Represents a LaunchPlanSpec. */
@@ -11705,6 +11772,9 @@ export namespace flyteidl {
11705
11772
  /** LaunchPlanSpec overwriteCache. */
11706
11773
  public overwriteCache: boolean;
11707
11774
 
11775
+ /** LaunchPlanSpec envs. */
11776
+ public envs?: (flyteidl.admin.IEnvs|null);
11777
+
11708
11778
  /**
11709
11779
  * Creates a new LaunchPlanSpec instance using the specified properties.
11710
11780
  * @param [properties] Properties to set
@@ -12750,6 +12820,9 @@ export namespace flyteidl {
12750
12820
 
12751
12821
  /** WorkflowExecutionConfig overwriteCache */
12752
12822
  overwriteCache?: (boolean|null);
12823
+
12824
+ /** WorkflowExecutionConfig envs */
12825
+ envs?: (flyteidl.admin.IEnvs|null);
12753
12826
  }
12754
12827
 
12755
12828
  /** Represents a WorkflowExecutionConfig. */
@@ -12782,6 +12855,9 @@ export namespace flyteidl {
12782
12855
  /** WorkflowExecutionConfig overwriteCache. */
12783
12856
  public overwriteCache: boolean;
12784
12857
 
12858
+ /** WorkflowExecutionConfig envs. */
12859
+ public envs?: (flyteidl.admin.IEnvs|null);
12860
+
12785
12861
  /**
12786
12862
  * Creates a new WorkflowExecutionConfig instance using the specified properties.
12787
12863
  * @param [properties] Properties to set
@@ -14264,6 +14264,7 @@
14264
14264
  * @property {string|null} [iamRole] Identity iamRole
14265
14265
  * @property {string|null} [k8sServiceAccount] Identity k8sServiceAccount
14266
14266
  * @property {flyteidl.core.IOAuth2Client|null} [oauth2Client] Identity oauth2Client
14267
+ * @property {string|null} [userIdentifier] Identity userIdentifier
14267
14268
  */
14268
14269
 
14269
14270
  /**
@@ -14305,6 +14306,14 @@
14305
14306
  */
14306
14307
  Identity.prototype.oauth2Client = null;
14307
14308
 
14309
+ /**
14310
+ * Identity userIdentifier.
14311
+ * @member {string} userIdentifier
14312
+ * @memberof flyteidl.core.Identity
14313
+ * @instance
14314
+ */
14315
+ Identity.prototype.userIdentifier = "";
14316
+
14308
14317
  /**
14309
14318
  * Creates a new Identity instance using the specified properties.
14310
14319
  * @function create
@@ -14335,6 +14344,8 @@
14335
14344
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.k8sServiceAccount);
14336
14345
  if (message.oauth2Client != null && message.hasOwnProperty("oauth2Client"))
14337
14346
  $root.flyteidl.core.OAuth2Client.encode(message.oauth2Client, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
14347
+ if (message.userIdentifier != null && message.hasOwnProperty("userIdentifier"))
14348
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.userIdentifier);
14338
14349
  return writer;
14339
14350
  };
14340
14351
 
@@ -14365,6 +14376,9 @@
14365
14376
  case 3:
14366
14377
  message.oauth2Client = $root.flyteidl.core.OAuth2Client.decode(reader, reader.uint32());
14367
14378
  break;
14379
+ case 4:
14380
+ message.userIdentifier = reader.string();
14381
+ break;
14368
14382
  default:
14369
14383
  reader.skipType(tag & 7);
14370
14384
  break;
@@ -14395,6 +14409,9 @@
14395
14409
  if (error)
14396
14410
  return "oauth2Client." + error;
14397
14411
  }
14412
+ if (message.userIdentifier != null && message.hasOwnProperty("userIdentifier"))
14413
+ if (!$util.isString(message.userIdentifier))
14414
+ return "userIdentifier: string expected";
14398
14415
  return null;
14399
14416
  };
14400
14417
 
@@ -21293,6 +21310,126 @@
21293
21310
  return Annotations;
21294
21311
  })();
21295
21312
 
21313
+ admin.Envs = (function() {
21314
+
21315
+ /**
21316
+ * Properties of an Envs.
21317
+ * @memberof flyteidl.admin
21318
+ * @interface IEnvs
21319
+ * @property {Array.<flyteidl.core.IKeyValuePair>|null} [values] Envs values
21320
+ */
21321
+
21322
+ /**
21323
+ * Constructs a new Envs.
21324
+ * @memberof flyteidl.admin
21325
+ * @classdesc Represents an Envs.
21326
+ * @implements IEnvs
21327
+ * @constructor
21328
+ * @param {flyteidl.admin.IEnvs=} [properties] Properties to set
21329
+ */
21330
+ function Envs(properties) {
21331
+ this.values = [];
21332
+ if (properties)
21333
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21334
+ if (properties[keys[i]] != null)
21335
+ this[keys[i]] = properties[keys[i]];
21336
+ }
21337
+
21338
+ /**
21339
+ * Envs values.
21340
+ * @member {Array.<flyteidl.core.IKeyValuePair>} values
21341
+ * @memberof flyteidl.admin.Envs
21342
+ * @instance
21343
+ */
21344
+ Envs.prototype.values = $util.emptyArray;
21345
+
21346
+ /**
21347
+ * Creates a new Envs instance using the specified properties.
21348
+ * @function create
21349
+ * @memberof flyteidl.admin.Envs
21350
+ * @static
21351
+ * @param {flyteidl.admin.IEnvs=} [properties] Properties to set
21352
+ * @returns {flyteidl.admin.Envs} Envs instance
21353
+ */
21354
+ Envs.create = function create(properties) {
21355
+ return new Envs(properties);
21356
+ };
21357
+
21358
+ /**
21359
+ * Encodes the specified Envs message. Does not implicitly {@link flyteidl.admin.Envs.verify|verify} messages.
21360
+ * @function encode
21361
+ * @memberof flyteidl.admin.Envs
21362
+ * @static
21363
+ * @param {flyteidl.admin.IEnvs} message Envs message or plain object to encode
21364
+ * @param {$protobuf.Writer} [writer] Writer to encode to
21365
+ * @returns {$protobuf.Writer} Writer
21366
+ */
21367
+ Envs.encode = function encode(message, writer) {
21368
+ if (!writer)
21369
+ writer = $Writer.create();
21370
+ if (message.values != null && message.values.length)
21371
+ for (var i = 0; i < message.values.length; ++i)
21372
+ $root.flyteidl.core.KeyValuePair.encode(message.values[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
21373
+ return writer;
21374
+ };
21375
+
21376
+ /**
21377
+ * Decodes an Envs message from the specified reader or buffer.
21378
+ * @function decode
21379
+ * @memberof flyteidl.admin.Envs
21380
+ * @static
21381
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21382
+ * @param {number} [length] Message length if known beforehand
21383
+ * @returns {flyteidl.admin.Envs} Envs
21384
+ * @throws {Error} If the payload is not a reader or valid buffer
21385
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21386
+ */
21387
+ Envs.decode = function decode(reader, length) {
21388
+ if (!(reader instanceof $Reader))
21389
+ reader = $Reader.create(reader);
21390
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.flyteidl.admin.Envs();
21391
+ while (reader.pos < end) {
21392
+ var tag = reader.uint32();
21393
+ switch (tag >>> 3) {
21394
+ case 1:
21395
+ if (!(message.values && message.values.length))
21396
+ message.values = [];
21397
+ message.values.push($root.flyteidl.core.KeyValuePair.decode(reader, reader.uint32()));
21398
+ break;
21399
+ default:
21400
+ reader.skipType(tag & 7);
21401
+ break;
21402
+ }
21403
+ }
21404
+ return message;
21405
+ };
21406
+
21407
+ /**
21408
+ * Verifies an Envs message.
21409
+ * @function verify
21410
+ * @memberof flyteidl.admin.Envs
21411
+ * @static
21412
+ * @param {Object.<string,*>} message Plain object to verify
21413
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
21414
+ */
21415
+ Envs.verify = function verify(message) {
21416
+ if (typeof message !== "object" || message === null)
21417
+ return "object expected";
21418
+ if (message.values != null && message.hasOwnProperty("values")) {
21419
+ if (!Array.isArray(message.values))
21420
+ return "values: array expected";
21421
+ for (var i = 0; i < message.values.length; ++i) {
21422
+ var error = $root.flyteidl.core.KeyValuePair.verify(message.values[i]);
21423
+ if (error)
21424
+ return "values." + error;
21425
+ }
21426
+ }
21427
+ return null;
21428
+ };
21429
+
21430
+ return Envs;
21431
+ })();
21432
+
21296
21433
  admin.AuthRole = (function() {
21297
21434
 
21298
21435
  /**
@@ -25747,6 +25884,7 @@
25747
25884
  * @property {flyteidl.admin.IClusterAssignment|null} [clusterAssignment] ExecutionSpec clusterAssignment
25748
25885
  * @property {google.protobuf.IBoolValue|null} [interruptible] ExecutionSpec interruptible
25749
25886
  * @property {boolean|null} [overwriteCache] ExecutionSpec overwriteCache
25887
+ * @property {flyteidl.admin.IEnvs|null} [envs] ExecutionSpec envs
25750
25888
  */
25751
25889
 
25752
25890
  /**
@@ -25884,6 +26022,14 @@
25884
26022
  */
25885
26023
  ExecutionSpec.prototype.overwriteCache = false;
25886
26024
 
26025
+ /**
26026
+ * ExecutionSpec envs.
26027
+ * @member {flyteidl.admin.IEnvs|null|undefined} envs
26028
+ * @memberof flyteidl.admin.ExecutionSpec
26029
+ * @instance
26030
+ */
26031
+ ExecutionSpec.prototype.envs = null;
26032
+
25887
26033
  // OneOf field names bound to virtual getters and setters
25888
26034
  var $oneOfFields;
25889
26035
 
@@ -25952,6 +26098,8 @@
25952
26098
  $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
25953
26099
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
25954
26100
  writer.uint32(/* id 22, wireType 0 =*/176).bool(message.overwriteCache);
26101
+ if (message.envs != null && message.hasOwnProperty("envs"))
26102
+ $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 23, wireType 2 =*/186).fork()).ldelim();
25955
26103
  return writer;
25956
26104
  };
25957
26105
 
@@ -26018,6 +26166,9 @@
26018
26166
  case 22:
26019
26167
  message.overwriteCache = reader.bool();
26020
26168
  break;
26169
+ case 23:
26170
+ message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
26171
+ break;
26021
26172
  default:
26022
26173
  reader.skipType(tag & 7);
26023
26174
  break;
@@ -26114,6 +26265,11 @@
26114
26265
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
26115
26266
  if (typeof message.overwriteCache !== "boolean")
26116
26267
  return "overwriteCache: boolean expected";
26268
+ if (message.envs != null && message.hasOwnProperty("envs")) {
26269
+ var error = $root.flyteidl.admin.Envs.verify(message.envs);
26270
+ if (error)
26271
+ return "envs." + error;
26272
+ }
26117
26273
  return null;
26118
26274
  };
26119
26275
 
@@ -27929,6 +28085,7 @@
27929
28085
  * @property {number|null} [maxParallelism] LaunchPlanSpec maxParallelism
27930
28086
  * @property {google.protobuf.IBoolValue|null} [interruptible] LaunchPlanSpec interruptible
27931
28087
  * @property {boolean|null} [overwriteCache] LaunchPlanSpec overwriteCache
28088
+ * @property {flyteidl.admin.IEnvs|null} [envs] LaunchPlanSpec envs
27932
28089
  */
27933
28090
 
27934
28091
  /**
@@ -28066,6 +28223,14 @@
28066
28223
  */
28067
28224
  LaunchPlanSpec.prototype.overwriteCache = false;
28068
28225
 
28226
+ /**
28227
+ * LaunchPlanSpec envs.
28228
+ * @member {flyteidl.admin.IEnvs|null|undefined} envs
28229
+ * @memberof flyteidl.admin.LaunchPlanSpec
28230
+ * @instance
28231
+ */
28232
+ LaunchPlanSpec.prototype.envs = null;
28233
+
28069
28234
  /**
28070
28235
  * Creates a new LaunchPlanSpec instance using the specified properties.
28071
28236
  * @function create
@@ -28120,6 +28285,8 @@
28120
28285
  $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 19, wireType 2 =*/154).fork()).ldelim();
28121
28286
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
28122
28287
  writer.uint32(/* id 20, wireType 0 =*/160).bool(message.overwriteCache);
28288
+ if (message.envs != null && message.hasOwnProperty("envs"))
28289
+ $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
28123
28290
  return writer;
28124
28291
  };
28125
28292
 
@@ -28186,6 +28353,9 @@
28186
28353
  case 20:
28187
28354
  message.overwriteCache = reader.bool();
28188
28355
  break;
28356
+ case 21:
28357
+ message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
28358
+ break;
28189
28359
  default:
28190
28360
  reader.skipType(tag & 7);
28191
28361
  break;
@@ -28274,6 +28444,11 @@
28274
28444
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
28275
28445
  if (typeof message.overwriteCache !== "boolean")
28276
28446
  return "overwriteCache: boolean expected";
28447
+ if (message.envs != null && message.hasOwnProperty("envs")) {
28448
+ var error = $root.flyteidl.admin.Envs.verify(message.envs);
28449
+ if (error)
28450
+ return "envs." + error;
28451
+ }
28277
28452
  return null;
28278
28453
  };
28279
28454
 
@@ -30586,6 +30761,7 @@
30586
30761
  * @property {flyteidl.admin.IAnnotations|null} [annotations] WorkflowExecutionConfig annotations
30587
30762
  * @property {google.protobuf.IBoolValue|null} [interruptible] WorkflowExecutionConfig interruptible
30588
30763
  * @property {boolean|null} [overwriteCache] WorkflowExecutionConfig overwriteCache
30764
+ * @property {flyteidl.admin.IEnvs|null} [envs] WorkflowExecutionConfig envs
30589
30765
  */
30590
30766
 
30591
30767
  /**
@@ -30659,6 +30835,14 @@
30659
30835
  */
30660
30836
  WorkflowExecutionConfig.prototype.overwriteCache = false;
30661
30837
 
30838
+ /**
30839
+ * WorkflowExecutionConfig envs.
30840
+ * @member {flyteidl.admin.IEnvs|null|undefined} envs
30841
+ * @memberof flyteidl.admin.WorkflowExecutionConfig
30842
+ * @instance
30843
+ */
30844
+ WorkflowExecutionConfig.prototype.envs = null;
30845
+
30662
30846
  /**
30663
30847
  * Creates a new WorkflowExecutionConfig instance using the specified properties.
30664
30848
  * @function create
@@ -30697,6 +30881,8 @@
30697
30881
  $root.google.protobuf.BoolValue.encode(message.interruptible, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
30698
30882
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
30699
30883
  writer.uint32(/* id 7, wireType 0 =*/56).bool(message.overwriteCache);
30884
+ if (message.envs != null && message.hasOwnProperty("envs"))
30885
+ $root.flyteidl.admin.Envs.encode(message.envs, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
30700
30886
  return writer;
30701
30887
  };
30702
30888
 
@@ -30739,6 +30925,9 @@
30739
30925
  case 7:
30740
30926
  message.overwriteCache = reader.bool();
30741
30927
  break;
30928
+ case 8:
30929
+ message.envs = $root.flyteidl.admin.Envs.decode(reader, reader.uint32());
30930
+ break;
30742
30931
  default:
30743
30932
  reader.skipType(tag & 7);
30744
30933
  break;
@@ -30789,6 +30978,11 @@
30789
30978
  if (message.overwriteCache != null && message.hasOwnProperty("overwriteCache"))
30790
30979
  if (typeof message.overwriteCache !== "boolean")
30791
30980
  return "overwriteCache: boolean expected";
30981
+ if (message.envs != null && message.hasOwnProperty("envs")) {
30982
+ var error = $root.flyteidl.admin.Envs.verify(message.envs);
30983
+ if (error)
30984
+ return "envs." + error;
30985
+ }
30792
30986
  return null;
30793
30987
  };
30794
30988
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyteorg/flyteidl",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Compiled protocol buffers and gRPC service clients/servers for Flyte IDLs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,6 +5,7 @@ option go_package = "github.com/flyteorg/flyteidl/gen/pb-go/flyteidl/admin";
5
5
 
6
6
  import "flyteidl/core/execution.proto";
7
7
  import "flyteidl/core/identifier.proto";
8
+ import "flyteidl/core/literals.proto";
8
9
  import "google/protobuf/timestamp.proto";
9
10
 
10
11
  // Encapsulation of fields that identifies a Flyte resource.
@@ -280,6 +281,14 @@ message Annotations {
280
281
  map<string, string> values = 1;
281
282
  }
282
283
 
284
+ // Environment variable values to be applied to an execution resource.
285
+ // In the future a mode (e.g. OVERRIDE, APPEND, etc) can be defined
286
+ // to specify how to merge environment variables defined at registration and execution time.
287
+ message Envs {
288
+ // Map of custom environment variables to be applied to the execution resource.
289
+ repeated flyteidl.core.KeyValuePair values = 1;
290
+ }
291
+
283
292
  // Defines permissions associated with executions created by this launch plan spec.
284
293
  // Use either of these roles when they have permissions required by your workflow execution.
285
294
  // Deprecated.
@@ -310,6 +310,9 @@ message ExecutionSpec {
310
310
  // If enabled, all calculations are performed even if cached results would be available, overwriting the stored
311
311
  // data once execution finishes successfully.
312
312
  bool overwrite_cache = 22;
313
+
314
+ // Environment variables to be set for the execution.
315
+ Envs envs = 23;
313
316
  }
314
317
 
315
318
  // Request to terminate an in-progress execution. This action is irreversible.
@@ -130,6 +130,9 @@ message LaunchPlanSpec {
130
130
  // If enabled, all calculations are performed even if cached results would be available, overwriting the stored
131
131
  // data once execution finishes successfully.
132
132
  bool overwrite_cache = 20;
133
+
134
+ // Environment variables to be set for the execution.
135
+ Envs envs = 21;
133
136
  }
134
137
 
135
138
  // Values computed by the flyte platform after launch plan registration.
@@ -128,6 +128,9 @@ message WorkflowExecutionConfig {
128
128
  // If enabled, all calculations are performed even if cached results would be available, overwriting the stored
129
129
  // data once execution finishes successfully.
130
130
  bool overwrite_cache = 7;
131
+
132
+ // Environment variables to be set for the execution.
133
+ Envs envs = 8;
131
134
  }
132
135
 
133
136
  // Generic container for encapsulating all types of the above attributes messages.
@@ -69,6 +69,9 @@ message Identity {
69
69
  // oauth2_client references an oauth2 client. Backend plugins can use this information to impersonate the client when
70
70
  // making external calls.
71
71
  OAuth2Client oauth2_client = 3;
72
+
73
+ // user_identifier references the id of the user who executes the task.
74
+ string user_identifier = 4;
72
75
  }
73
76
 
74
77
  // OAuth2TokenRequest encapsulates information needed to request an OAuth2 token.