@pulumi/pulumi 3.196.0-alpha.xed8b33b → 3.196.0-alpha.xf01639a

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumi",
3
- "version": "3.196.0-alpha.xed8b33b",
3
+ "version": "3.196.0-alpha.xf01639a",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -379,6 +379,10 @@ export class AnalyzeResponse extends jspb.Message {
379
379
  getDiagnosticsList(): Array<AnalyzeDiagnostic>;
380
380
  setDiagnosticsList(value: Array<AnalyzeDiagnostic>): AnalyzeResponse;
381
381
  addDiagnostics(value?: AnalyzeDiagnostic, index?: number): AnalyzeDiagnostic;
382
+ clearNotApplicableList(): void;
383
+ getNotApplicableList(): Array<PolicyNotApplicable>;
384
+ setNotApplicableList(value: Array<PolicyNotApplicable>): AnalyzeResponse;
385
+ addNotApplicable(value?: PolicyNotApplicable, index?: number): PolicyNotApplicable;
382
386
 
383
387
  serializeBinary(): Uint8Array;
384
388
  toObject(includeInstance?: boolean): AnalyzeResponse.AsObject;
@@ -393,6 +397,7 @@ export class AnalyzeResponse extends jspb.Message {
393
397
  export namespace AnalyzeResponse {
394
398
  export type AsObject = {
395
399
  diagnosticsList: Array<AnalyzeDiagnostic.AsObject>,
400
+ notApplicableList: Array<PolicyNotApplicable.AsObject>,
396
401
  }
397
402
  }
398
403
 
@@ -477,6 +482,10 @@ export class RemediateResponse extends jspb.Message {
477
482
  getRemediationsList(): Array<Remediation>;
478
483
  setRemediationsList(value: Array<Remediation>): RemediateResponse;
479
484
  addRemediations(value?: Remediation, index?: number): Remediation;
485
+ clearNotApplicableList(): void;
486
+ getNotApplicableList(): Array<PolicyNotApplicable>;
487
+ setNotApplicableList(value: Array<PolicyNotApplicable>): RemediateResponse;
488
+ addNotApplicable(value?: PolicyNotApplicable, index?: number): PolicyNotApplicable;
480
489
 
481
490
  serializeBinary(): Uint8Array;
482
491
  toObject(includeInstance?: boolean): RemediateResponse.AsObject;
@@ -491,6 +500,7 @@ export class RemediateResponse extends jspb.Message {
491
500
  export namespace RemediateResponse {
492
501
  export type AsObject = {
493
502
  remediationsList: Array<Remediation.AsObject>,
503
+ notApplicableList: Array<PolicyNotApplicable.AsObject>,
494
504
  }
495
505
  }
496
506
 
@@ -549,6 +559,8 @@ export class PolicyInfo extends jspb.Message {
549
559
  clearConfigschema(): void;
550
560
  getConfigschema(): PolicyConfigSchema | undefined;
551
561
  setConfigschema(value?: PolicyConfigSchema): PolicyInfo;
562
+ getPolicyType(): PolicyType;
563
+ setPolicyType(value: PolicyType): PolicyInfo;
552
564
 
553
565
  serializeBinary(): Uint8Array;
554
566
  toObject(includeInstance?: boolean): PolicyInfo.AsObject;
@@ -568,6 +580,7 @@ export namespace PolicyInfo {
568
580
  message: string,
569
581
  enforcementlevel: EnforcementLevel,
570
582
  configschema?: PolicyConfigSchema.AsObject,
583
+ policyType: PolicyType,
571
584
  }
572
585
  }
573
586
 
@@ -647,9 +660,38 @@ export namespace ConfigureAnalyzerRequest {
647
660
  }
648
661
  }
649
662
 
663
+ export class PolicyNotApplicable extends jspb.Message {
664
+ getPolicyName(): string;
665
+ setPolicyName(value: string): PolicyNotApplicable;
666
+ getReason(): string;
667
+ setReason(value: string): PolicyNotApplicable;
668
+
669
+ serializeBinary(): Uint8Array;
670
+ toObject(includeInstance?: boolean): PolicyNotApplicable.AsObject;
671
+ static toObject(includeInstance: boolean, msg: PolicyNotApplicable): PolicyNotApplicable.AsObject;
672
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
673
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
674
+ static serializeBinaryToWriter(message: PolicyNotApplicable, writer: jspb.BinaryWriter): void;
675
+ static deserializeBinary(bytes: Uint8Array): PolicyNotApplicable;
676
+ static deserializeBinaryFromReader(message: PolicyNotApplicable, reader: jspb.BinaryReader): PolicyNotApplicable;
677
+ }
678
+
679
+ export namespace PolicyNotApplicable {
680
+ export type AsObject = {
681
+ policyName: string,
682
+ reason: string,
683
+ }
684
+ }
685
+
650
686
  export enum EnforcementLevel {
651
687
  ADVISORY = 0,
652
688
  MANDATORY = 1,
653
689
  DISABLED = 2,
654
690
  REMEDIATE = 3,
655
691
  }
692
+
693
+ export enum PolicyType {
694
+ POLICY_TYPE_UNKNOWN = 0,
695
+ POLICY_TYPE_RESOURCE = 1,
696
+ POLICY_TYPE_STACK = 2,
697
+ }
@@ -46,6 +46,8 @@ goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
46
46
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
47
47
  goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
48
48
  goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
49
+ goog.exportSymbol('proto.pulumirpc.PolicyNotApplicable', null, global);
50
+ goog.exportSymbol('proto.pulumirpc.PolicyType', null, global);
49
51
  goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
50
52
  goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
51
53
  /**
@@ -468,6 +470,27 @@ if (goog.DEBUG && !COMPILED) {
468
470
  */
469
471
  proto.pulumirpc.ConfigureAnalyzerRequest.displayName = 'proto.pulumirpc.ConfigureAnalyzerRequest';
470
472
  }
473
+ /**
474
+ * Generated by JsPbCodeGenerator.
475
+ * @param {Array=} opt_data Optional initial data array, typically from a
476
+ * server response, or constructed directly in Javascript. The array is used
477
+ * in place and becomes part of the constructed object. It is not cloned.
478
+ * If no data is provided, the constructed object will be empty, but still
479
+ * valid.
480
+ * @extends {jspb.Message}
481
+ * @constructor
482
+ */
483
+ proto.pulumirpc.PolicyNotApplicable = function(opt_data) {
484
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
485
+ };
486
+ goog.inherits(proto.pulumirpc.PolicyNotApplicable, jspb.Message);
487
+ if (goog.DEBUG && !COMPILED) {
488
+ /**
489
+ * @public
490
+ * @override
491
+ */
492
+ proto.pulumirpc.PolicyNotApplicable.displayName = 'proto.pulumirpc.PolicyNotApplicable';
493
+ }
471
494
 
472
495
  /**
473
496
  * List of repeated fields within this message type.
@@ -3224,7 +3247,7 @@ proto.pulumirpc.AnalyzeStackRequest.prototype.clearResourcesList = function() {
3224
3247
  * @private {!Array<number>}
3225
3248
  * @const
3226
3249
  */
3227
- proto.pulumirpc.AnalyzeResponse.repeatedFields_ = [2];
3250
+ proto.pulumirpc.AnalyzeResponse.repeatedFields_ = [2,3];
3228
3251
 
3229
3252
 
3230
3253
 
@@ -3258,7 +3281,9 @@ proto.pulumirpc.AnalyzeResponse.prototype.toObject = function(opt_includeInstanc
3258
3281
  proto.pulumirpc.AnalyzeResponse.toObject = function(includeInstance, msg) {
3259
3282
  var f, obj = {
3260
3283
  diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
3261
- proto.pulumirpc.AnalyzeDiagnostic.toObject, includeInstance)
3284
+ proto.pulumirpc.AnalyzeDiagnostic.toObject, includeInstance),
3285
+ notApplicableList: jspb.Message.toObjectList(msg.getNotApplicableList(),
3286
+ proto.pulumirpc.PolicyNotApplicable.toObject, includeInstance)
3262
3287
  };
3263
3288
 
3264
3289
  if (includeInstance) {
@@ -3300,6 +3325,11 @@ proto.pulumirpc.AnalyzeResponse.deserializeBinaryFromReader = function(msg, read
3300
3325
  reader.readMessage(value,proto.pulumirpc.AnalyzeDiagnostic.deserializeBinaryFromReader);
3301
3326
  msg.addDiagnostics(value);
3302
3327
  break;
3328
+ case 3:
3329
+ var value = new proto.pulumirpc.PolicyNotApplicable;
3330
+ reader.readMessage(value,proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader);
3331
+ msg.addNotApplicable(value);
3332
+ break;
3303
3333
  default:
3304
3334
  reader.skipField();
3305
3335
  break;
@@ -3337,6 +3367,14 @@ proto.pulumirpc.AnalyzeResponse.serializeBinaryToWriter = function(message, writ
3337
3367
  proto.pulumirpc.AnalyzeDiagnostic.serializeBinaryToWriter
3338
3368
  );
3339
3369
  }
3370
+ f = message.getNotApplicableList();
3371
+ if (f.length > 0) {
3372
+ writer.writeRepeatedMessage(
3373
+ 3,
3374
+ f,
3375
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter
3376
+ );
3377
+ }
3340
3378
  };
3341
3379
 
3342
3380
 
@@ -3378,6 +3416,44 @@ proto.pulumirpc.AnalyzeResponse.prototype.clearDiagnosticsList = function() {
3378
3416
  };
3379
3417
 
3380
3418
 
3419
+ /**
3420
+ * repeated PolicyNotApplicable not_applicable = 3;
3421
+ * @return {!Array<!proto.pulumirpc.PolicyNotApplicable>}
3422
+ */
3423
+ proto.pulumirpc.AnalyzeResponse.prototype.getNotApplicableList = function() {
3424
+ return /** @type{!Array<!proto.pulumirpc.PolicyNotApplicable>} */ (
3425
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.PolicyNotApplicable, 3));
3426
+ };
3427
+
3428
+
3429
+ /**
3430
+ * @param {!Array<!proto.pulumirpc.PolicyNotApplicable>} value
3431
+ * @return {!proto.pulumirpc.AnalyzeResponse} returns this
3432
+ */
3433
+ proto.pulumirpc.AnalyzeResponse.prototype.setNotApplicableList = function(value) {
3434
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3435
+ };
3436
+
3437
+
3438
+ /**
3439
+ * @param {!proto.pulumirpc.PolicyNotApplicable=} opt_value
3440
+ * @param {number=} opt_index
3441
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
3442
+ */
3443
+ proto.pulumirpc.AnalyzeResponse.prototype.addNotApplicable = function(opt_value, opt_index) {
3444
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.pulumirpc.PolicyNotApplicable, opt_index);
3445
+ };
3446
+
3447
+
3448
+ /**
3449
+ * Clears the list making it empty but non-null.
3450
+ * @return {!proto.pulumirpc.AnalyzeResponse} returns this
3451
+ */
3452
+ proto.pulumirpc.AnalyzeResponse.prototype.clearNotApplicableList = function() {
3453
+ return this.setNotApplicableList([]);
3454
+ };
3455
+
3456
+
3381
3457
 
3382
3458
 
3383
3459
 
@@ -3995,7 +4071,7 @@ proto.pulumirpc.Remediation.prototype.setDiagnostic = function(value) {
3995
4071
  * @private {!Array<number>}
3996
4072
  * @const
3997
4073
  */
3998
- proto.pulumirpc.RemediateResponse.repeatedFields_ = [1];
4074
+ proto.pulumirpc.RemediateResponse.repeatedFields_ = [1,2];
3999
4075
 
4000
4076
 
4001
4077
 
@@ -4029,7 +4105,9 @@ proto.pulumirpc.RemediateResponse.prototype.toObject = function(opt_includeInsta
4029
4105
  proto.pulumirpc.RemediateResponse.toObject = function(includeInstance, msg) {
4030
4106
  var f, obj = {
4031
4107
  remediationsList: jspb.Message.toObjectList(msg.getRemediationsList(),
4032
- proto.pulumirpc.Remediation.toObject, includeInstance)
4108
+ proto.pulumirpc.Remediation.toObject, includeInstance),
4109
+ notApplicableList: jspb.Message.toObjectList(msg.getNotApplicableList(),
4110
+ proto.pulumirpc.PolicyNotApplicable.toObject, includeInstance)
4033
4111
  };
4034
4112
 
4035
4113
  if (includeInstance) {
@@ -4071,6 +4149,11 @@ proto.pulumirpc.RemediateResponse.deserializeBinaryFromReader = function(msg, re
4071
4149
  reader.readMessage(value,proto.pulumirpc.Remediation.deserializeBinaryFromReader);
4072
4150
  msg.addRemediations(value);
4073
4151
  break;
4152
+ case 2:
4153
+ var value = new proto.pulumirpc.PolicyNotApplicable;
4154
+ reader.readMessage(value,proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader);
4155
+ msg.addNotApplicable(value);
4156
+ break;
4074
4157
  default:
4075
4158
  reader.skipField();
4076
4159
  break;
@@ -4108,6 +4191,14 @@ proto.pulumirpc.RemediateResponse.serializeBinaryToWriter = function(message, wr
4108
4191
  proto.pulumirpc.Remediation.serializeBinaryToWriter
4109
4192
  );
4110
4193
  }
4194
+ f = message.getNotApplicableList();
4195
+ if (f.length > 0) {
4196
+ writer.writeRepeatedMessage(
4197
+ 2,
4198
+ f,
4199
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter
4200
+ );
4201
+ }
4111
4202
  };
4112
4203
 
4113
4204
 
@@ -4149,6 +4240,44 @@ proto.pulumirpc.RemediateResponse.prototype.clearRemediationsList = function() {
4149
4240
  };
4150
4241
 
4151
4242
 
4243
+ /**
4244
+ * repeated PolicyNotApplicable not_applicable = 2;
4245
+ * @return {!Array<!proto.pulumirpc.PolicyNotApplicable>}
4246
+ */
4247
+ proto.pulumirpc.RemediateResponse.prototype.getNotApplicableList = function() {
4248
+ return /** @type{!Array<!proto.pulumirpc.PolicyNotApplicable>} */ (
4249
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.PolicyNotApplicable, 2));
4250
+ };
4251
+
4252
+
4253
+ /**
4254
+ * @param {!Array<!proto.pulumirpc.PolicyNotApplicable>} value
4255
+ * @return {!proto.pulumirpc.RemediateResponse} returns this
4256
+ */
4257
+ proto.pulumirpc.RemediateResponse.prototype.setNotApplicableList = function(value) {
4258
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4259
+ };
4260
+
4261
+
4262
+ /**
4263
+ * @param {!proto.pulumirpc.PolicyNotApplicable=} opt_value
4264
+ * @param {number=} opt_index
4265
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
4266
+ */
4267
+ proto.pulumirpc.RemediateResponse.prototype.addNotApplicable = function(opt_value, opt_index) {
4268
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.pulumirpc.PolicyNotApplicable, opt_index);
4269
+ };
4270
+
4271
+
4272
+ /**
4273
+ * Clears the list making it empty but non-null.
4274
+ * @return {!proto.pulumirpc.RemediateResponse} returns this
4275
+ */
4276
+ proto.pulumirpc.RemediateResponse.prototype.clearNotApplicableList = function() {
4277
+ return this.setNotApplicableList([]);
4278
+ };
4279
+
4280
+
4152
4281
 
4153
4282
  /**
4154
4283
  * List of repeated fields within this message type.
@@ -4500,7 +4629,8 @@ displayname: jspb.Message.getFieldWithDefault(msg, 2, ""),
4500
4629
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
4501
4630
  message: jspb.Message.getFieldWithDefault(msg, 4, ""),
4502
4631
  enforcementlevel: jspb.Message.getFieldWithDefault(msg, 5, 0),
4503
- configschema: (f = msg.getConfigschema()) && proto.pulumirpc.PolicyConfigSchema.toObject(includeInstance, f)
4632
+ configschema: (f = msg.getConfigschema()) && proto.pulumirpc.PolicyConfigSchema.toObject(includeInstance, f),
4633
+ policyType: jspb.Message.getFieldWithDefault(msg, 7, 0)
4504
4634
  };
4505
4635
 
4506
4636
  if (includeInstance) {
@@ -4562,6 +4692,10 @@ proto.pulumirpc.PolicyInfo.deserializeBinaryFromReader = function(msg, reader) {
4562
4692
  reader.readMessage(value,proto.pulumirpc.PolicyConfigSchema.deserializeBinaryFromReader);
4563
4693
  msg.setConfigschema(value);
4564
4694
  break;
4695
+ case 7:
4696
+ var value = /** @type {!proto.pulumirpc.PolicyType} */ (reader.readEnum());
4697
+ msg.setPolicyType(value);
4698
+ break;
4565
4699
  default:
4566
4700
  reader.skipField();
4567
4701
  break;
@@ -4634,6 +4768,13 @@ proto.pulumirpc.PolicyInfo.serializeBinaryToWriter = function(message, writer) {
4634
4768
  proto.pulumirpc.PolicyConfigSchema.serializeBinaryToWriter
4635
4769
  );
4636
4770
  }
4771
+ f = message.getPolicyType();
4772
+ if (f !== 0.0) {
4773
+ writer.writeEnum(
4774
+ 7,
4775
+ f
4776
+ );
4777
+ }
4637
4778
  };
4638
4779
 
4639
4780
 
@@ -4764,6 +4905,24 @@ proto.pulumirpc.PolicyInfo.prototype.hasConfigschema = function() {
4764
4905
  };
4765
4906
 
4766
4907
 
4908
+ /**
4909
+ * optional PolicyType policy_type = 7;
4910
+ * @return {!proto.pulumirpc.PolicyType}
4911
+ */
4912
+ proto.pulumirpc.PolicyInfo.prototype.getPolicyType = function() {
4913
+ return /** @type {!proto.pulumirpc.PolicyType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
4914
+ };
4915
+
4916
+
4917
+ /**
4918
+ * @param {!proto.pulumirpc.PolicyType} value
4919
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
4920
+ */
4921
+ proto.pulumirpc.PolicyInfo.prototype.setPolicyType = function(value) {
4922
+ return jspb.Message.setProto3EnumField(this, 7, value);
4923
+ };
4924
+
4925
+
4767
4926
 
4768
4927
  /**
4769
4928
  * List of repeated fields within this message type.
@@ -5286,6 +5445,166 @@ proto.pulumirpc.ConfigureAnalyzerRequest.prototype.clearPolicyconfigMap = functi
5286
5445
  };
5287
5446
 
5288
5447
 
5448
+
5449
+
5450
+
5451
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5452
+ /**
5453
+ * Creates an object representation of this proto.
5454
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5455
+ * Optional fields that are not set will be set to undefined.
5456
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5457
+ * For the list of reserved names please see:
5458
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5459
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5460
+ * JSPB instance for transitional soy proto support:
5461
+ * http://goto/soy-param-migration
5462
+ * @return {!Object}
5463
+ */
5464
+ proto.pulumirpc.PolicyNotApplicable.prototype.toObject = function(opt_includeInstance) {
5465
+ return proto.pulumirpc.PolicyNotApplicable.toObject(opt_includeInstance, this);
5466
+ };
5467
+
5468
+
5469
+ /**
5470
+ * Static version of the {@see toObject} method.
5471
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5472
+ * the JSPB instance for transitional soy proto support:
5473
+ * http://goto/soy-param-migration
5474
+ * @param {!proto.pulumirpc.PolicyNotApplicable} msg The msg instance to transform.
5475
+ * @return {!Object}
5476
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5477
+ */
5478
+ proto.pulumirpc.PolicyNotApplicable.toObject = function(includeInstance, msg) {
5479
+ var f, obj = {
5480
+ policyName: jspb.Message.getFieldWithDefault(msg, 1, ""),
5481
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
5482
+ };
5483
+
5484
+ if (includeInstance) {
5485
+ obj.$jspbMessageInstance = msg;
5486
+ }
5487
+ return obj;
5488
+ };
5489
+ }
5490
+
5491
+
5492
+ /**
5493
+ * Deserializes binary data (in protobuf wire format).
5494
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5495
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
5496
+ */
5497
+ proto.pulumirpc.PolicyNotApplicable.deserializeBinary = function(bytes) {
5498
+ var reader = new jspb.BinaryReader(bytes);
5499
+ var msg = new proto.pulumirpc.PolicyNotApplicable;
5500
+ return proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader(msg, reader);
5501
+ };
5502
+
5503
+
5504
+ /**
5505
+ * Deserializes binary data (in protobuf wire format) from the
5506
+ * given reader into the given message object.
5507
+ * @param {!proto.pulumirpc.PolicyNotApplicable} msg The message object to deserialize into.
5508
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5509
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
5510
+ */
5511
+ proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader = function(msg, reader) {
5512
+ while (reader.nextField()) {
5513
+ if (reader.isEndGroup()) {
5514
+ break;
5515
+ }
5516
+ var field = reader.getFieldNumber();
5517
+ switch (field) {
5518
+ case 1:
5519
+ var value = /** @type {string} */ (reader.readString());
5520
+ msg.setPolicyName(value);
5521
+ break;
5522
+ case 2:
5523
+ var value = /** @type {string} */ (reader.readString());
5524
+ msg.setReason(value);
5525
+ break;
5526
+ default:
5527
+ reader.skipField();
5528
+ break;
5529
+ }
5530
+ }
5531
+ return msg;
5532
+ };
5533
+
5534
+
5535
+ /**
5536
+ * Serializes the message to binary data (in protobuf wire format).
5537
+ * @return {!Uint8Array}
5538
+ */
5539
+ proto.pulumirpc.PolicyNotApplicable.prototype.serializeBinary = function() {
5540
+ var writer = new jspb.BinaryWriter();
5541
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter(this, writer);
5542
+ return writer.getResultBuffer();
5543
+ };
5544
+
5545
+
5546
+ /**
5547
+ * Serializes the given message to binary data (in protobuf wire
5548
+ * format), writing to the given BinaryWriter.
5549
+ * @param {!proto.pulumirpc.PolicyNotApplicable} message
5550
+ * @param {!jspb.BinaryWriter} writer
5551
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5552
+ */
5553
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter = function(message, writer) {
5554
+ var f = undefined;
5555
+ f = message.getPolicyName();
5556
+ if (f.length > 0) {
5557
+ writer.writeString(
5558
+ 1,
5559
+ f
5560
+ );
5561
+ }
5562
+ f = message.getReason();
5563
+ if (f.length > 0) {
5564
+ writer.writeString(
5565
+ 2,
5566
+ f
5567
+ );
5568
+ }
5569
+ };
5570
+
5571
+
5572
+ /**
5573
+ * optional string policy_name = 1;
5574
+ * @return {string}
5575
+ */
5576
+ proto.pulumirpc.PolicyNotApplicable.prototype.getPolicyName = function() {
5577
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5578
+ };
5579
+
5580
+
5581
+ /**
5582
+ * @param {string} value
5583
+ * @return {!proto.pulumirpc.PolicyNotApplicable} returns this
5584
+ */
5585
+ proto.pulumirpc.PolicyNotApplicable.prototype.setPolicyName = function(value) {
5586
+ return jspb.Message.setProto3StringField(this, 1, value);
5587
+ };
5588
+
5589
+
5590
+ /**
5591
+ * optional string reason = 2;
5592
+ * @return {string}
5593
+ */
5594
+ proto.pulumirpc.PolicyNotApplicable.prototype.getReason = function() {
5595
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
5596
+ };
5597
+
5598
+
5599
+ /**
5600
+ * @param {string} value
5601
+ * @return {!proto.pulumirpc.PolicyNotApplicable} returns this
5602
+ */
5603
+ proto.pulumirpc.PolicyNotApplicable.prototype.setReason = function(value) {
5604
+ return jspb.Message.setProto3StringField(this, 2, value);
5605
+ };
5606
+
5607
+
5289
5608
  /**
5290
5609
  * @enum {number}
5291
5610
  */
@@ -5296,4 +5615,13 @@ proto.pulumirpc.EnforcementLevel = {
5296
5615
  REMEDIATE: 3
5297
5616
  };
5298
5617
 
5618
+ /**
5619
+ * @enum {number}
5620
+ */
5621
+ proto.pulumirpc.PolicyType = {
5622
+ POLICY_TYPE_UNKNOWN: 0,
5623
+ POLICY_TYPE_RESOURCE: 1,
5624
+ POLICY_TYPE_STACK: 2
5625
+ };
5626
+
5299
5627
  goog.object.extend(exports, proto.pulumirpc);
package/version.js CHANGED
@@ -13,5 +13,5 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.version = "3.196.0-alpha.xed8b33b";
16
+ exports.version = "3.196.0-alpha.xf01639a";
17
17
  //# sourceMappingURL=version.js.map