@pulumi/pulumi 3.195.0 → 3.196.0-alpha.x4aca447

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.195.0",
3
+ "version": "3.196.0-alpha.x4aca447",
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
 
@@ -510,6 +520,18 @@ export class AnalyzerInfo extends jspb.Message {
510
520
 
511
521
  getInitialconfigMap(): jspb.Map<string, PolicyConfig>;
512
522
  clearInitialconfigMap(): void;
523
+ getDescription(): string;
524
+ setDescription(value: string): AnalyzerInfo;
525
+ getReadme(): string;
526
+ setReadme(value: string): AnalyzerInfo;
527
+ getProvider(): string;
528
+ setProvider(value: string): AnalyzerInfo;
529
+ clearTagsList(): void;
530
+ getTagsList(): Array<string>;
531
+ setTagsList(value: Array<string>): AnalyzerInfo;
532
+ addTags(value: string, index?: number): string;
533
+ getRepository(): string;
534
+ setRepository(value: string): AnalyzerInfo;
513
535
 
514
536
  serializeBinary(): Uint8Array;
515
537
  toObject(includeInstance?: boolean): AnalyzerInfo.AsObject;
@@ -530,6 +552,11 @@ export namespace AnalyzerInfo {
530
552
  supportsconfig: boolean,
531
553
 
532
554
  initialconfigMap: Array<[string, PolicyConfig.AsObject]>,
555
+ description: string,
556
+ readme: string,
557
+ provider: string,
558
+ tagsList: Array<string>,
559
+ repository: string,
533
560
  }
534
561
  }
535
562
 
@@ -549,6 +576,23 @@ export class PolicyInfo extends jspb.Message {
549
576
  clearConfigschema(): void;
550
577
  getConfigschema(): PolicyConfigSchema | undefined;
551
578
  setConfigschema(value?: PolicyConfigSchema): PolicyInfo;
579
+ getPolicyType(): PolicyType;
580
+ setPolicyType(value: PolicyType): PolicyInfo;
581
+ getSeverity(): PolicySeverity;
582
+ setSeverity(value: PolicySeverity): PolicyInfo;
583
+
584
+ hasFramework(): boolean;
585
+ clearFramework(): void;
586
+ getFramework(): PolicyComplianceFramework | undefined;
587
+ setFramework(value?: PolicyComplianceFramework): PolicyInfo;
588
+ clearTagsList(): void;
589
+ getTagsList(): Array<string>;
590
+ setTagsList(value: Array<string>): PolicyInfo;
591
+ addTags(value: string, index?: number): string;
592
+ getRemediationSteps(): string;
593
+ setRemediationSteps(value: string): PolicyInfo;
594
+ getUrl(): string;
595
+ setUrl(value: string): PolicyInfo;
552
596
 
553
597
  serializeBinary(): Uint8Array;
554
598
  toObject(includeInstance?: boolean): PolicyInfo.AsObject;
@@ -568,6 +612,12 @@ export namespace PolicyInfo {
568
612
  message: string,
569
613
  enforcementlevel: EnforcementLevel,
570
614
  configschema?: PolicyConfigSchema.AsObject,
615
+ policyType: PolicyType,
616
+ severity: PolicySeverity,
617
+ framework?: PolicyComplianceFramework.AsObject,
618
+ tagsList: Array<string>,
619
+ remediationSteps: string,
620
+ url: string,
571
621
  }
572
622
  }
573
623
 
@@ -647,9 +697,75 @@ export namespace ConfigureAnalyzerRequest {
647
697
  }
648
698
  }
649
699
 
700
+ export class PolicyComplianceFramework extends jspb.Message {
701
+ getName(): string;
702
+ setName(value: string): PolicyComplianceFramework;
703
+ getVersion(): string;
704
+ setVersion(value: string): PolicyComplianceFramework;
705
+ getReference(): string;
706
+ setReference(value: string): PolicyComplianceFramework;
707
+ getSpecification(): string;
708
+ setSpecification(value: string): PolicyComplianceFramework;
709
+
710
+ serializeBinary(): Uint8Array;
711
+ toObject(includeInstance?: boolean): PolicyComplianceFramework.AsObject;
712
+ static toObject(includeInstance: boolean, msg: PolicyComplianceFramework): PolicyComplianceFramework.AsObject;
713
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
714
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
715
+ static serializeBinaryToWriter(message: PolicyComplianceFramework, writer: jspb.BinaryWriter): void;
716
+ static deserializeBinary(bytes: Uint8Array): PolicyComplianceFramework;
717
+ static deserializeBinaryFromReader(message: PolicyComplianceFramework, reader: jspb.BinaryReader): PolicyComplianceFramework;
718
+ }
719
+
720
+ export namespace PolicyComplianceFramework {
721
+ export type AsObject = {
722
+ name: string,
723
+ version: string,
724
+ reference: string,
725
+ specification: string,
726
+ }
727
+ }
728
+
729
+ export class PolicyNotApplicable extends jspb.Message {
730
+ getPolicyName(): string;
731
+ setPolicyName(value: string): PolicyNotApplicable;
732
+ getReason(): string;
733
+ setReason(value: string): PolicyNotApplicable;
734
+
735
+ serializeBinary(): Uint8Array;
736
+ toObject(includeInstance?: boolean): PolicyNotApplicable.AsObject;
737
+ static toObject(includeInstance: boolean, msg: PolicyNotApplicable): PolicyNotApplicable.AsObject;
738
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
739
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
740
+ static serializeBinaryToWriter(message: PolicyNotApplicable, writer: jspb.BinaryWriter): void;
741
+ static deserializeBinary(bytes: Uint8Array): PolicyNotApplicable;
742
+ static deserializeBinaryFromReader(message: PolicyNotApplicable, reader: jspb.BinaryReader): PolicyNotApplicable;
743
+ }
744
+
745
+ export namespace PolicyNotApplicable {
746
+ export type AsObject = {
747
+ policyName: string,
748
+ reason: string,
749
+ }
750
+ }
751
+
650
752
  export enum EnforcementLevel {
651
753
  ADVISORY = 0,
652
754
  MANDATORY = 1,
653
755
  DISABLED = 2,
654
756
  REMEDIATE = 3,
655
757
  }
758
+
759
+ export enum PolicyType {
760
+ POLICY_TYPE_UNKNOWN = 0,
761
+ POLICY_TYPE_RESOURCE = 1,
762
+ POLICY_TYPE_STACK = 2,
763
+ }
764
+
765
+ export enum PolicySeverity {
766
+ POLICY_SEVERITY_UNSPECIFIED = 0,
767
+ POLICY_SEVERITY_LOW = 1,
768
+ POLICY_SEVERITY_MEDIUM = 2,
769
+ POLICY_SEVERITY_HIGH = 3,
770
+ POLICY_SEVERITY_CRITICAL = 4,
771
+ }
@@ -43,9 +43,13 @@ goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureRequest', null, global)
43
43
  goog.exportSymbol('proto.pulumirpc.AnalyzerStackConfigureResponse', null, global);
44
44
  goog.exportSymbol('proto.pulumirpc.ConfigureAnalyzerRequest', null, global);
45
45
  goog.exportSymbol('proto.pulumirpc.EnforcementLevel', null, global);
46
+ goog.exportSymbol('proto.pulumirpc.PolicyComplianceFramework', null, global);
46
47
  goog.exportSymbol('proto.pulumirpc.PolicyConfig', null, global);
47
48
  goog.exportSymbol('proto.pulumirpc.PolicyConfigSchema', null, global);
48
49
  goog.exportSymbol('proto.pulumirpc.PolicyInfo', null, global);
50
+ goog.exportSymbol('proto.pulumirpc.PolicyNotApplicable', null, global);
51
+ goog.exportSymbol('proto.pulumirpc.PolicySeverity', null, global);
52
+ goog.exportSymbol('proto.pulumirpc.PolicyType', null, global);
49
53
  goog.exportSymbol('proto.pulumirpc.RemediateResponse', null, global);
50
54
  goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
51
55
  /**
@@ -395,7 +399,7 @@ if (goog.DEBUG && !COMPILED) {
395
399
  * @constructor
396
400
  */
397
401
  proto.pulumirpc.PolicyInfo = function(opt_data) {
398
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
402
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.PolicyInfo.repeatedFields_, null);
399
403
  };
400
404
  goog.inherits(proto.pulumirpc.PolicyInfo, jspb.Message);
401
405
  if (goog.DEBUG && !COMPILED) {
@@ -468,6 +472,48 @@ if (goog.DEBUG && !COMPILED) {
468
472
  */
469
473
  proto.pulumirpc.ConfigureAnalyzerRequest.displayName = 'proto.pulumirpc.ConfigureAnalyzerRequest';
470
474
  }
475
+ /**
476
+ * Generated by JsPbCodeGenerator.
477
+ * @param {Array=} opt_data Optional initial data array, typically from a
478
+ * server response, or constructed directly in Javascript. The array is used
479
+ * in place and becomes part of the constructed object. It is not cloned.
480
+ * If no data is provided, the constructed object will be empty, but still
481
+ * valid.
482
+ * @extends {jspb.Message}
483
+ * @constructor
484
+ */
485
+ proto.pulumirpc.PolicyComplianceFramework = function(opt_data) {
486
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
487
+ };
488
+ goog.inherits(proto.pulumirpc.PolicyComplianceFramework, jspb.Message);
489
+ if (goog.DEBUG && !COMPILED) {
490
+ /**
491
+ * @public
492
+ * @override
493
+ */
494
+ proto.pulumirpc.PolicyComplianceFramework.displayName = 'proto.pulumirpc.PolicyComplianceFramework';
495
+ }
496
+ /**
497
+ * Generated by JsPbCodeGenerator.
498
+ * @param {Array=} opt_data Optional initial data array, typically from a
499
+ * server response, or constructed directly in Javascript. The array is used
500
+ * in place and becomes part of the constructed object. It is not cloned.
501
+ * If no data is provided, the constructed object will be empty, but still
502
+ * valid.
503
+ * @extends {jspb.Message}
504
+ * @constructor
505
+ */
506
+ proto.pulumirpc.PolicyNotApplicable = function(opt_data) {
507
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
508
+ };
509
+ goog.inherits(proto.pulumirpc.PolicyNotApplicable, jspb.Message);
510
+ if (goog.DEBUG && !COMPILED) {
511
+ /**
512
+ * @public
513
+ * @override
514
+ */
515
+ proto.pulumirpc.PolicyNotApplicable.displayName = 'proto.pulumirpc.PolicyNotApplicable';
516
+ }
471
517
 
472
518
  /**
473
519
  * List of repeated fields within this message type.
@@ -3224,7 +3270,7 @@ proto.pulumirpc.AnalyzeStackRequest.prototype.clearResourcesList = function() {
3224
3270
  * @private {!Array<number>}
3225
3271
  * @const
3226
3272
  */
3227
- proto.pulumirpc.AnalyzeResponse.repeatedFields_ = [2];
3273
+ proto.pulumirpc.AnalyzeResponse.repeatedFields_ = [2,3];
3228
3274
 
3229
3275
 
3230
3276
 
@@ -3258,7 +3304,9 @@ proto.pulumirpc.AnalyzeResponse.prototype.toObject = function(opt_includeInstanc
3258
3304
  proto.pulumirpc.AnalyzeResponse.toObject = function(includeInstance, msg) {
3259
3305
  var f, obj = {
3260
3306
  diagnosticsList: jspb.Message.toObjectList(msg.getDiagnosticsList(),
3261
- proto.pulumirpc.AnalyzeDiagnostic.toObject, includeInstance)
3307
+ proto.pulumirpc.AnalyzeDiagnostic.toObject, includeInstance),
3308
+ notApplicableList: jspb.Message.toObjectList(msg.getNotApplicableList(),
3309
+ proto.pulumirpc.PolicyNotApplicable.toObject, includeInstance)
3262
3310
  };
3263
3311
 
3264
3312
  if (includeInstance) {
@@ -3300,6 +3348,11 @@ proto.pulumirpc.AnalyzeResponse.deserializeBinaryFromReader = function(msg, read
3300
3348
  reader.readMessage(value,proto.pulumirpc.AnalyzeDiagnostic.deserializeBinaryFromReader);
3301
3349
  msg.addDiagnostics(value);
3302
3350
  break;
3351
+ case 3:
3352
+ var value = new proto.pulumirpc.PolicyNotApplicable;
3353
+ reader.readMessage(value,proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader);
3354
+ msg.addNotApplicable(value);
3355
+ break;
3303
3356
  default:
3304
3357
  reader.skipField();
3305
3358
  break;
@@ -3337,6 +3390,14 @@ proto.pulumirpc.AnalyzeResponse.serializeBinaryToWriter = function(message, writ
3337
3390
  proto.pulumirpc.AnalyzeDiagnostic.serializeBinaryToWriter
3338
3391
  );
3339
3392
  }
3393
+ f = message.getNotApplicableList();
3394
+ if (f.length > 0) {
3395
+ writer.writeRepeatedMessage(
3396
+ 3,
3397
+ f,
3398
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter
3399
+ );
3400
+ }
3340
3401
  };
3341
3402
 
3342
3403
 
@@ -3378,6 +3439,44 @@ proto.pulumirpc.AnalyzeResponse.prototype.clearDiagnosticsList = function() {
3378
3439
  };
3379
3440
 
3380
3441
 
3442
+ /**
3443
+ * repeated PolicyNotApplicable not_applicable = 3;
3444
+ * @return {!Array<!proto.pulumirpc.PolicyNotApplicable>}
3445
+ */
3446
+ proto.pulumirpc.AnalyzeResponse.prototype.getNotApplicableList = function() {
3447
+ return /** @type{!Array<!proto.pulumirpc.PolicyNotApplicable>} */ (
3448
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.PolicyNotApplicable, 3));
3449
+ };
3450
+
3451
+
3452
+ /**
3453
+ * @param {!Array<!proto.pulumirpc.PolicyNotApplicable>} value
3454
+ * @return {!proto.pulumirpc.AnalyzeResponse} returns this
3455
+ */
3456
+ proto.pulumirpc.AnalyzeResponse.prototype.setNotApplicableList = function(value) {
3457
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
3458
+ };
3459
+
3460
+
3461
+ /**
3462
+ * @param {!proto.pulumirpc.PolicyNotApplicable=} opt_value
3463
+ * @param {number=} opt_index
3464
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
3465
+ */
3466
+ proto.pulumirpc.AnalyzeResponse.prototype.addNotApplicable = function(opt_value, opt_index) {
3467
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.pulumirpc.PolicyNotApplicable, opt_index);
3468
+ };
3469
+
3470
+
3471
+ /**
3472
+ * Clears the list making it empty but non-null.
3473
+ * @return {!proto.pulumirpc.AnalyzeResponse} returns this
3474
+ */
3475
+ proto.pulumirpc.AnalyzeResponse.prototype.clearNotApplicableList = function() {
3476
+ return this.setNotApplicableList([]);
3477
+ };
3478
+
3479
+
3381
3480
 
3382
3481
 
3383
3482
 
@@ -3995,7 +4094,7 @@ proto.pulumirpc.Remediation.prototype.setDiagnostic = function(value) {
3995
4094
  * @private {!Array<number>}
3996
4095
  * @const
3997
4096
  */
3998
- proto.pulumirpc.RemediateResponse.repeatedFields_ = [1];
4097
+ proto.pulumirpc.RemediateResponse.repeatedFields_ = [1,2];
3999
4098
 
4000
4099
 
4001
4100
 
@@ -4029,7 +4128,9 @@ proto.pulumirpc.RemediateResponse.prototype.toObject = function(opt_includeInsta
4029
4128
  proto.pulumirpc.RemediateResponse.toObject = function(includeInstance, msg) {
4030
4129
  var f, obj = {
4031
4130
  remediationsList: jspb.Message.toObjectList(msg.getRemediationsList(),
4032
- proto.pulumirpc.Remediation.toObject, includeInstance)
4131
+ proto.pulumirpc.Remediation.toObject, includeInstance),
4132
+ notApplicableList: jspb.Message.toObjectList(msg.getNotApplicableList(),
4133
+ proto.pulumirpc.PolicyNotApplicable.toObject, includeInstance)
4033
4134
  };
4034
4135
 
4035
4136
  if (includeInstance) {
@@ -4071,6 +4172,11 @@ proto.pulumirpc.RemediateResponse.deserializeBinaryFromReader = function(msg, re
4071
4172
  reader.readMessage(value,proto.pulumirpc.Remediation.deserializeBinaryFromReader);
4072
4173
  msg.addRemediations(value);
4073
4174
  break;
4175
+ case 2:
4176
+ var value = new proto.pulumirpc.PolicyNotApplicable;
4177
+ reader.readMessage(value,proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader);
4178
+ msg.addNotApplicable(value);
4179
+ break;
4074
4180
  default:
4075
4181
  reader.skipField();
4076
4182
  break;
@@ -4108,6 +4214,14 @@ proto.pulumirpc.RemediateResponse.serializeBinaryToWriter = function(message, wr
4108
4214
  proto.pulumirpc.Remediation.serializeBinaryToWriter
4109
4215
  );
4110
4216
  }
4217
+ f = message.getNotApplicableList();
4218
+ if (f.length > 0) {
4219
+ writer.writeRepeatedMessage(
4220
+ 2,
4221
+ f,
4222
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter
4223
+ );
4224
+ }
4111
4225
  };
4112
4226
 
4113
4227
 
@@ -4149,13 +4263,51 @@ proto.pulumirpc.RemediateResponse.prototype.clearRemediationsList = function() {
4149
4263
  };
4150
4264
 
4151
4265
 
4266
+ /**
4267
+ * repeated PolicyNotApplicable not_applicable = 2;
4268
+ * @return {!Array<!proto.pulumirpc.PolicyNotApplicable>}
4269
+ */
4270
+ proto.pulumirpc.RemediateResponse.prototype.getNotApplicableList = function() {
4271
+ return /** @type{!Array<!proto.pulumirpc.PolicyNotApplicable>} */ (
4272
+ jspb.Message.getRepeatedWrapperField(this, proto.pulumirpc.PolicyNotApplicable, 2));
4273
+ };
4274
+
4275
+
4276
+ /**
4277
+ * @param {!Array<!proto.pulumirpc.PolicyNotApplicable>} value
4278
+ * @return {!proto.pulumirpc.RemediateResponse} returns this
4279
+ */
4280
+ proto.pulumirpc.RemediateResponse.prototype.setNotApplicableList = function(value) {
4281
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4282
+ };
4283
+
4284
+
4285
+ /**
4286
+ * @param {!proto.pulumirpc.PolicyNotApplicable=} opt_value
4287
+ * @param {number=} opt_index
4288
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
4289
+ */
4290
+ proto.pulumirpc.RemediateResponse.prototype.addNotApplicable = function(opt_value, opt_index) {
4291
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.pulumirpc.PolicyNotApplicable, opt_index);
4292
+ };
4293
+
4294
+
4295
+ /**
4296
+ * Clears the list making it empty but non-null.
4297
+ * @return {!proto.pulumirpc.RemediateResponse} returns this
4298
+ */
4299
+ proto.pulumirpc.RemediateResponse.prototype.clearNotApplicableList = function() {
4300
+ return this.setNotApplicableList([]);
4301
+ };
4302
+
4303
+
4152
4304
 
4153
4305
  /**
4154
4306
  * List of repeated fields within this message type.
4155
4307
  * @private {!Array<number>}
4156
4308
  * @const
4157
4309
  */
4158
- proto.pulumirpc.AnalyzerInfo.repeatedFields_ = [3];
4310
+ proto.pulumirpc.AnalyzerInfo.repeatedFields_ = [3,10];
4159
4311
 
4160
4312
 
4161
4313
 
@@ -4194,7 +4346,12 @@ policiesList: jspb.Message.toObjectList(msg.getPoliciesList(),
4194
4346
  proto.pulumirpc.PolicyInfo.toObject, includeInstance),
4195
4347
  version: jspb.Message.getFieldWithDefault(msg, 4, ""),
4196
4348
  supportsconfig: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
4197
- initialconfigMap: (f = msg.getInitialconfigMap()) ? f.toObject(includeInstance, proto.pulumirpc.PolicyConfig.toObject) : []
4349
+ initialconfigMap: (f = msg.getInitialconfigMap()) ? f.toObject(includeInstance, proto.pulumirpc.PolicyConfig.toObject) : [],
4350
+ description: jspb.Message.getFieldWithDefault(msg, 7, ""),
4351
+ readme: jspb.Message.getFieldWithDefault(msg, 8, ""),
4352
+ provider: jspb.Message.getFieldWithDefault(msg, 9, ""),
4353
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
4354
+ repository: jspb.Message.getFieldWithDefault(msg, 11, "")
4198
4355
  };
4199
4356
 
4200
4357
  if (includeInstance) {
@@ -4258,6 +4415,26 @@ proto.pulumirpc.AnalyzerInfo.deserializeBinaryFromReader = function(msg, reader)
4258
4415
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.pulumirpc.PolicyConfig.deserializeBinaryFromReader, "", new proto.pulumirpc.PolicyConfig());
4259
4416
  });
4260
4417
  break;
4418
+ case 7:
4419
+ var value = /** @type {string} */ (reader.readString());
4420
+ msg.setDescription(value);
4421
+ break;
4422
+ case 8:
4423
+ var value = /** @type {string} */ (reader.readString());
4424
+ msg.setReadme(value);
4425
+ break;
4426
+ case 9:
4427
+ var value = /** @type {string} */ (reader.readString());
4428
+ msg.setProvider(value);
4429
+ break;
4430
+ case 10:
4431
+ var value = /** @type {string} */ (reader.readString());
4432
+ msg.addTags(value);
4433
+ break;
4434
+ case 11:
4435
+ var value = /** @type {string} */ (reader.readString());
4436
+ msg.setRepository(value);
4437
+ break;
4261
4438
  default:
4262
4439
  reader.skipField();
4263
4440
  break;
@@ -4327,6 +4504,41 @@ proto.pulumirpc.AnalyzerInfo.serializeBinaryToWriter = function(message, writer)
4327
4504
  if (f && f.getLength() > 0) {
4328
4505
  f.serializeBinary(6, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.pulumirpc.PolicyConfig.serializeBinaryToWriter);
4329
4506
  }
4507
+ f = message.getDescription();
4508
+ if (f.length > 0) {
4509
+ writer.writeString(
4510
+ 7,
4511
+ f
4512
+ );
4513
+ }
4514
+ f = message.getReadme();
4515
+ if (f.length > 0) {
4516
+ writer.writeString(
4517
+ 8,
4518
+ f
4519
+ );
4520
+ }
4521
+ f = message.getProvider();
4522
+ if (f.length > 0) {
4523
+ writer.writeString(
4524
+ 9,
4525
+ f
4526
+ );
4527
+ }
4528
+ f = message.getTagsList();
4529
+ if (f.length > 0) {
4530
+ writer.writeRepeatedString(
4531
+ 10,
4532
+ f
4533
+ );
4534
+ }
4535
+ f = message.getRepository();
4536
+ if (f.length > 0) {
4537
+ writer.writeString(
4538
+ 11,
4539
+ f
4540
+ );
4541
+ }
4330
4542
  };
4331
4543
 
4332
4544
 
@@ -4463,6 +4675,122 @@ proto.pulumirpc.AnalyzerInfo.prototype.clearInitialconfigMap = function() {
4463
4675
  };
4464
4676
 
4465
4677
 
4678
+ /**
4679
+ * optional string description = 7;
4680
+ * @return {string}
4681
+ */
4682
+ proto.pulumirpc.AnalyzerInfo.prototype.getDescription = function() {
4683
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4684
+ };
4685
+
4686
+
4687
+ /**
4688
+ * @param {string} value
4689
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4690
+ */
4691
+ proto.pulumirpc.AnalyzerInfo.prototype.setDescription = function(value) {
4692
+ return jspb.Message.setProto3StringField(this, 7, value);
4693
+ };
4694
+
4695
+
4696
+ /**
4697
+ * optional string readme = 8;
4698
+ * @return {string}
4699
+ */
4700
+ proto.pulumirpc.AnalyzerInfo.prototype.getReadme = function() {
4701
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4702
+ };
4703
+
4704
+
4705
+ /**
4706
+ * @param {string} value
4707
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4708
+ */
4709
+ proto.pulumirpc.AnalyzerInfo.prototype.setReadme = function(value) {
4710
+ return jspb.Message.setProto3StringField(this, 8, value);
4711
+ };
4712
+
4713
+
4714
+ /**
4715
+ * optional string provider = 9;
4716
+ * @return {string}
4717
+ */
4718
+ proto.pulumirpc.AnalyzerInfo.prototype.getProvider = function() {
4719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
4720
+ };
4721
+
4722
+
4723
+ /**
4724
+ * @param {string} value
4725
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4726
+ */
4727
+ proto.pulumirpc.AnalyzerInfo.prototype.setProvider = function(value) {
4728
+ return jspb.Message.setProto3StringField(this, 9, value);
4729
+ };
4730
+
4731
+
4732
+ /**
4733
+ * repeated string tags = 10;
4734
+ * @return {!Array<string>}
4735
+ */
4736
+ proto.pulumirpc.AnalyzerInfo.prototype.getTagsList = function() {
4737
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
4738
+ };
4739
+
4740
+
4741
+ /**
4742
+ * @param {!Array<string>} value
4743
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4744
+ */
4745
+ proto.pulumirpc.AnalyzerInfo.prototype.setTagsList = function(value) {
4746
+ return jspb.Message.setField(this, 10, value || []);
4747
+ };
4748
+
4749
+
4750
+ /**
4751
+ * @param {string} value
4752
+ * @param {number=} opt_index
4753
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4754
+ */
4755
+ proto.pulumirpc.AnalyzerInfo.prototype.addTags = function(value, opt_index) {
4756
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
4757
+ };
4758
+
4759
+
4760
+ /**
4761
+ * Clears the list making it empty but non-null.
4762
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4763
+ */
4764
+ proto.pulumirpc.AnalyzerInfo.prototype.clearTagsList = function() {
4765
+ return this.setTagsList([]);
4766
+ };
4767
+
4768
+
4769
+ /**
4770
+ * optional string repository = 11;
4771
+ * @return {string}
4772
+ */
4773
+ proto.pulumirpc.AnalyzerInfo.prototype.getRepository = function() {
4774
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
4775
+ };
4776
+
4777
+
4778
+ /**
4779
+ * @param {string} value
4780
+ * @return {!proto.pulumirpc.AnalyzerInfo} returns this
4781
+ */
4782
+ proto.pulumirpc.AnalyzerInfo.prototype.setRepository = function(value) {
4783
+ return jspb.Message.setProto3StringField(this, 11, value);
4784
+ };
4785
+
4786
+
4787
+
4788
+ /**
4789
+ * List of repeated fields within this message type.
4790
+ * @private {!Array<number>}
4791
+ * @const
4792
+ */
4793
+ proto.pulumirpc.PolicyInfo.repeatedFields_ = [10];
4466
4794
 
4467
4795
 
4468
4796
 
@@ -4500,7 +4828,13 @@ displayname: jspb.Message.getFieldWithDefault(msg, 2, ""),
4500
4828
  description: jspb.Message.getFieldWithDefault(msg, 3, ""),
4501
4829
  message: jspb.Message.getFieldWithDefault(msg, 4, ""),
4502
4830
  enforcementlevel: jspb.Message.getFieldWithDefault(msg, 5, 0),
4503
- configschema: (f = msg.getConfigschema()) && proto.pulumirpc.PolicyConfigSchema.toObject(includeInstance, f)
4831
+ configschema: (f = msg.getConfigschema()) && proto.pulumirpc.PolicyConfigSchema.toObject(includeInstance, f),
4832
+ policyType: jspb.Message.getFieldWithDefault(msg, 7, 0),
4833
+ severity: jspb.Message.getFieldWithDefault(msg, 8, 0),
4834
+ framework: (f = msg.getFramework()) && proto.pulumirpc.PolicyComplianceFramework.toObject(includeInstance, f),
4835
+ tagsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
4836
+ remediationSteps: jspb.Message.getFieldWithDefault(msg, 11, ""),
4837
+ url: jspb.Message.getFieldWithDefault(msg, 12, "")
4504
4838
  };
4505
4839
 
4506
4840
  if (includeInstance) {
@@ -4562,6 +4896,31 @@ proto.pulumirpc.PolicyInfo.deserializeBinaryFromReader = function(msg, reader) {
4562
4896
  reader.readMessage(value,proto.pulumirpc.PolicyConfigSchema.deserializeBinaryFromReader);
4563
4897
  msg.setConfigschema(value);
4564
4898
  break;
4899
+ case 7:
4900
+ var value = /** @type {!proto.pulumirpc.PolicyType} */ (reader.readEnum());
4901
+ msg.setPolicyType(value);
4902
+ break;
4903
+ case 8:
4904
+ var value = /** @type {!proto.pulumirpc.PolicySeverity} */ (reader.readEnum());
4905
+ msg.setSeverity(value);
4906
+ break;
4907
+ case 9:
4908
+ var value = new proto.pulumirpc.PolicyComplianceFramework;
4909
+ reader.readMessage(value,proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader);
4910
+ msg.setFramework(value);
4911
+ break;
4912
+ case 10:
4913
+ var value = /** @type {string} */ (reader.readString());
4914
+ msg.addTags(value);
4915
+ break;
4916
+ case 11:
4917
+ var value = /** @type {string} */ (reader.readString());
4918
+ msg.setRemediationSteps(value);
4919
+ break;
4920
+ case 12:
4921
+ var value = /** @type {string} */ (reader.readString());
4922
+ msg.setUrl(value);
4923
+ break;
4565
4924
  default:
4566
4925
  reader.skipField();
4567
4926
  break;
@@ -4634,13 +4993,56 @@ proto.pulumirpc.PolicyInfo.serializeBinaryToWriter = function(message, writer) {
4634
4993
  proto.pulumirpc.PolicyConfigSchema.serializeBinaryToWriter
4635
4994
  );
4636
4995
  }
4637
- };
4638
-
4639
-
4640
- /**
4641
- * optional string name = 1;
4642
- * @return {string}
4643
- */
4996
+ f = message.getPolicyType();
4997
+ if (f !== 0.0) {
4998
+ writer.writeEnum(
4999
+ 7,
5000
+ f
5001
+ );
5002
+ }
5003
+ f = message.getSeverity();
5004
+ if (f !== 0.0) {
5005
+ writer.writeEnum(
5006
+ 8,
5007
+ f
5008
+ );
5009
+ }
5010
+ f = message.getFramework();
5011
+ if (f != null) {
5012
+ writer.writeMessage(
5013
+ 9,
5014
+ f,
5015
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter
5016
+ );
5017
+ }
5018
+ f = message.getTagsList();
5019
+ if (f.length > 0) {
5020
+ writer.writeRepeatedString(
5021
+ 10,
5022
+ f
5023
+ );
5024
+ }
5025
+ f = message.getRemediationSteps();
5026
+ if (f.length > 0) {
5027
+ writer.writeString(
5028
+ 11,
5029
+ f
5030
+ );
5031
+ }
5032
+ f = message.getUrl();
5033
+ if (f.length > 0) {
5034
+ writer.writeString(
5035
+ 12,
5036
+ f
5037
+ );
5038
+ }
5039
+ };
5040
+
5041
+
5042
+ /**
5043
+ * optional string name = 1;
5044
+ * @return {string}
5045
+ */
4644
5046
  proto.pulumirpc.PolicyInfo.prototype.getName = function() {
4645
5047
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4646
5048
  };
@@ -4764,6 +5166,152 @@ proto.pulumirpc.PolicyInfo.prototype.hasConfigschema = function() {
4764
5166
  };
4765
5167
 
4766
5168
 
5169
+ /**
5170
+ * optional PolicyType policy_type = 7;
5171
+ * @return {!proto.pulumirpc.PolicyType}
5172
+ */
5173
+ proto.pulumirpc.PolicyInfo.prototype.getPolicyType = function() {
5174
+ return /** @type {!proto.pulumirpc.PolicyType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
5175
+ };
5176
+
5177
+
5178
+ /**
5179
+ * @param {!proto.pulumirpc.PolicyType} value
5180
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5181
+ */
5182
+ proto.pulumirpc.PolicyInfo.prototype.setPolicyType = function(value) {
5183
+ return jspb.Message.setProto3EnumField(this, 7, value);
5184
+ };
5185
+
5186
+
5187
+ /**
5188
+ * optional PolicySeverity severity = 8;
5189
+ * @return {!proto.pulumirpc.PolicySeverity}
5190
+ */
5191
+ proto.pulumirpc.PolicyInfo.prototype.getSeverity = function() {
5192
+ return /** @type {!proto.pulumirpc.PolicySeverity} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
5193
+ };
5194
+
5195
+
5196
+ /**
5197
+ * @param {!proto.pulumirpc.PolicySeverity} value
5198
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5199
+ */
5200
+ proto.pulumirpc.PolicyInfo.prototype.setSeverity = function(value) {
5201
+ return jspb.Message.setProto3EnumField(this, 8, value);
5202
+ };
5203
+
5204
+
5205
+ /**
5206
+ * optional PolicyComplianceFramework framework = 9;
5207
+ * @return {?proto.pulumirpc.PolicyComplianceFramework}
5208
+ */
5209
+ proto.pulumirpc.PolicyInfo.prototype.getFramework = function() {
5210
+ return /** @type{?proto.pulumirpc.PolicyComplianceFramework} */ (
5211
+ jspb.Message.getWrapperField(this, proto.pulumirpc.PolicyComplianceFramework, 9));
5212
+ };
5213
+
5214
+
5215
+ /**
5216
+ * @param {?proto.pulumirpc.PolicyComplianceFramework|undefined} value
5217
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5218
+ */
5219
+ proto.pulumirpc.PolicyInfo.prototype.setFramework = function(value) {
5220
+ return jspb.Message.setWrapperField(this, 9, value);
5221
+ };
5222
+
5223
+
5224
+ /**
5225
+ * Clears the message field making it undefined.
5226
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5227
+ */
5228
+ proto.pulumirpc.PolicyInfo.prototype.clearFramework = function() {
5229
+ return this.setFramework(undefined);
5230
+ };
5231
+
5232
+
5233
+ /**
5234
+ * Returns whether this field is set.
5235
+ * @return {boolean}
5236
+ */
5237
+ proto.pulumirpc.PolicyInfo.prototype.hasFramework = function() {
5238
+ return jspb.Message.getField(this, 9) != null;
5239
+ };
5240
+
5241
+
5242
+ /**
5243
+ * repeated string tags = 10;
5244
+ * @return {!Array<string>}
5245
+ */
5246
+ proto.pulumirpc.PolicyInfo.prototype.getTagsList = function() {
5247
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
5248
+ };
5249
+
5250
+
5251
+ /**
5252
+ * @param {!Array<string>} value
5253
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5254
+ */
5255
+ proto.pulumirpc.PolicyInfo.prototype.setTagsList = function(value) {
5256
+ return jspb.Message.setField(this, 10, value || []);
5257
+ };
5258
+
5259
+
5260
+ /**
5261
+ * @param {string} value
5262
+ * @param {number=} opt_index
5263
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5264
+ */
5265
+ proto.pulumirpc.PolicyInfo.prototype.addTags = function(value, opt_index) {
5266
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
5267
+ };
5268
+
5269
+
5270
+ /**
5271
+ * Clears the list making it empty but non-null.
5272
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5273
+ */
5274
+ proto.pulumirpc.PolicyInfo.prototype.clearTagsList = function() {
5275
+ return this.setTagsList([]);
5276
+ };
5277
+
5278
+
5279
+ /**
5280
+ * optional string remediation_steps = 11;
5281
+ * @return {string}
5282
+ */
5283
+ proto.pulumirpc.PolicyInfo.prototype.getRemediationSteps = function() {
5284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5285
+ };
5286
+
5287
+
5288
+ /**
5289
+ * @param {string} value
5290
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5291
+ */
5292
+ proto.pulumirpc.PolicyInfo.prototype.setRemediationSteps = function(value) {
5293
+ return jspb.Message.setProto3StringField(this, 11, value);
5294
+ };
5295
+
5296
+
5297
+ /**
5298
+ * optional string url = 12;
5299
+ * @return {string}
5300
+ */
5301
+ proto.pulumirpc.PolicyInfo.prototype.getUrl = function() {
5302
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
5303
+ };
5304
+
5305
+
5306
+ /**
5307
+ * @param {string} value
5308
+ * @return {!proto.pulumirpc.PolicyInfo} returns this
5309
+ */
5310
+ proto.pulumirpc.PolicyInfo.prototype.setUrl = function(value) {
5311
+ return jspb.Message.setProto3StringField(this, 12, value);
5312
+ };
5313
+
5314
+
4767
5315
 
4768
5316
  /**
4769
5317
  * List of repeated fields within this message type.
@@ -5286,6 +5834,386 @@ proto.pulumirpc.ConfigureAnalyzerRequest.prototype.clearPolicyconfigMap = functi
5286
5834
  };
5287
5835
 
5288
5836
 
5837
+
5838
+
5839
+
5840
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5841
+ /**
5842
+ * Creates an object representation of this proto.
5843
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5844
+ * Optional fields that are not set will be set to undefined.
5845
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5846
+ * For the list of reserved names please see:
5847
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5848
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5849
+ * JSPB instance for transitional soy proto support:
5850
+ * http://goto/soy-param-migration
5851
+ * @return {!Object}
5852
+ */
5853
+ proto.pulumirpc.PolicyComplianceFramework.prototype.toObject = function(opt_includeInstance) {
5854
+ return proto.pulumirpc.PolicyComplianceFramework.toObject(opt_includeInstance, this);
5855
+ };
5856
+
5857
+
5858
+ /**
5859
+ * Static version of the {@see toObject} method.
5860
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5861
+ * the JSPB instance for transitional soy proto support:
5862
+ * http://goto/soy-param-migration
5863
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} msg The msg instance to transform.
5864
+ * @return {!Object}
5865
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5866
+ */
5867
+ proto.pulumirpc.PolicyComplianceFramework.toObject = function(includeInstance, msg) {
5868
+ var f, obj = {
5869
+ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
5870
+ version: jspb.Message.getFieldWithDefault(msg, 2, ""),
5871
+ reference: jspb.Message.getFieldWithDefault(msg, 3, ""),
5872
+ specification: jspb.Message.getFieldWithDefault(msg, 4, "")
5873
+ };
5874
+
5875
+ if (includeInstance) {
5876
+ obj.$jspbMessageInstance = msg;
5877
+ }
5878
+ return obj;
5879
+ };
5880
+ }
5881
+
5882
+
5883
+ /**
5884
+ * Deserializes binary data (in protobuf wire format).
5885
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5886
+ * @return {!proto.pulumirpc.PolicyComplianceFramework}
5887
+ */
5888
+ proto.pulumirpc.PolicyComplianceFramework.deserializeBinary = function(bytes) {
5889
+ var reader = new jspb.BinaryReader(bytes);
5890
+ var msg = new proto.pulumirpc.PolicyComplianceFramework;
5891
+ return proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader(msg, reader);
5892
+ };
5893
+
5894
+
5895
+ /**
5896
+ * Deserializes binary data (in protobuf wire format) from the
5897
+ * given reader into the given message object.
5898
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} msg The message object to deserialize into.
5899
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5900
+ * @return {!proto.pulumirpc.PolicyComplianceFramework}
5901
+ */
5902
+ proto.pulumirpc.PolicyComplianceFramework.deserializeBinaryFromReader = function(msg, reader) {
5903
+ while (reader.nextField()) {
5904
+ if (reader.isEndGroup()) {
5905
+ break;
5906
+ }
5907
+ var field = reader.getFieldNumber();
5908
+ switch (field) {
5909
+ case 1:
5910
+ var value = /** @type {string} */ (reader.readString());
5911
+ msg.setName(value);
5912
+ break;
5913
+ case 2:
5914
+ var value = /** @type {string} */ (reader.readString());
5915
+ msg.setVersion(value);
5916
+ break;
5917
+ case 3:
5918
+ var value = /** @type {string} */ (reader.readString());
5919
+ msg.setReference(value);
5920
+ break;
5921
+ case 4:
5922
+ var value = /** @type {string} */ (reader.readString());
5923
+ msg.setSpecification(value);
5924
+ break;
5925
+ default:
5926
+ reader.skipField();
5927
+ break;
5928
+ }
5929
+ }
5930
+ return msg;
5931
+ };
5932
+
5933
+
5934
+ /**
5935
+ * Serializes the message to binary data (in protobuf wire format).
5936
+ * @return {!Uint8Array}
5937
+ */
5938
+ proto.pulumirpc.PolicyComplianceFramework.prototype.serializeBinary = function() {
5939
+ var writer = new jspb.BinaryWriter();
5940
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter(this, writer);
5941
+ return writer.getResultBuffer();
5942
+ };
5943
+
5944
+
5945
+ /**
5946
+ * Serializes the given message to binary data (in protobuf wire
5947
+ * format), writing to the given BinaryWriter.
5948
+ * @param {!proto.pulumirpc.PolicyComplianceFramework} message
5949
+ * @param {!jspb.BinaryWriter} writer
5950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5951
+ */
5952
+ proto.pulumirpc.PolicyComplianceFramework.serializeBinaryToWriter = function(message, writer) {
5953
+ var f = undefined;
5954
+ f = message.getName();
5955
+ if (f.length > 0) {
5956
+ writer.writeString(
5957
+ 1,
5958
+ f
5959
+ );
5960
+ }
5961
+ f = message.getVersion();
5962
+ if (f.length > 0) {
5963
+ writer.writeString(
5964
+ 2,
5965
+ f
5966
+ );
5967
+ }
5968
+ f = message.getReference();
5969
+ if (f.length > 0) {
5970
+ writer.writeString(
5971
+ 3,
5972
+ f
5973
+ );
5974
+ }
5975
+ f = message.getSpecification();
5976
+ if (f.length > 0) {
5977
+ writer.writeString(
5978
+ 4,
5979
+ f
5980
+ );
5981
+ }
5982
+ };
5983
+
5984
+
5985
+ /**
5986
+ * optional string name = 1;
5987
+ * @return {string}
5988
+ */
5989
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getName = function() {
5990
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
5991
+ };
5992
+
5993
+
5994
+ /**
5995
+ * @param {string} value
5996
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
5997
+ */
5998
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setName = function(value) {
5999
+ return jspb.Message.setProto3StringField(this, 1, value);
6000
+ };
6001
+
6002
+
6003
+ /**
6004
+ * optional string version = 2;
6005
+ * @return {string}
6006
+ */
6007
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getVersion = function() {
6008
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6009
+ };
6010
+
6011
+
6012
+ /**
6013
+ * @param {string} value
6014
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6015
+ */
6016
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setVersion = function(value) {
6017
+ return jspb.Message.setProto3StringField(this, 2, value);
6018
+ };
6019
+
6020
+
6021
+ /**
6022
+ * optional string reference = 3;
6023
+ * @return {string}
6024
+ */
6025
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getReference = function() {
6026
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6027
+ };
6028
+
6029
+
6030
+ /**
6031
+ * @param {string} value
6032
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6033
+ */
6034
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setReference = function(value) {
6035
+ return jspb.Message.setProto3StringField(this, 3, value);
6036
+ };
6037
+
6038
+
6039
+ /**
6040
+ * optional string specification = 4;
6041
+ * @return {string}
6042
+ */
6043
+ proto.pulumirpc.PolicyComplianceFramework.prototype.getSpecification = function() {
6044
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
6045
+ };
6046
+
6047
+
6048
+ /**
6049
+ * @param {string} value
6050
+ * @return {!proto.pulumirpc.PolicyComplianceFramework} returns this
6051
+ */
6052
+ proto.pulumirpc.PolicyComplianceFramework.prototype.setSpecification = function(value) {
6053
+ return jspb.Message.setProto3StringField(this, 4, value);
6054
+ };
6055
+
6056
+
6057
+
6058
+
6059
+
6060
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6061
+ /**
6062
+ * Creates an object representation of this proto.
6063
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6064
+ * Optional fields that are not set will be set to undefined.
6065
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6066
+ * For the list of reserved names please see:
6067
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6068
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6069
+ * JSPB instance for transitional soy proto support:
6070
+ * http://goto/soy-param-migration
6071
+ * @return {!Object}
6072
+ */
6073
+ proto.pulumirpc.PolicyNotApplicable.prototype.toObject = function(opt_includeInstance) {
6074
+ return proto.pulumirpc.PolicyNotApplicable.toObject(opt_includeInstance, this);
6075
+ };
6076
+
6077
+
6078
+ /**
6079
+ * Static version of the {@see toObject} method.
6080
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6081
+ * the JSPB instance for transitional soy proto support:
6082
+ * http://goto/soy-param-migration
6083
+ * @param {!proto.pulumirpc.PolicyNotApplicable} msg The msg instance to transform.
6084
+ * @return {!Object}
6085
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6086
+ */
6087
+ proto.pulumirpc.PolicyNotApplicable.toObject = function(includeInstance, msg) {
6088
+ var f, obj = {
6089
+ policyName: jspb.Message.getFieldWithDefault(msg, 1, ""),
6090
+ reason: jspb.Message.getFieldWithDefault(msg, 2, "")
6091
+ };
6092
+
6093
+ if (includeInstance) {
6094
+ obj.$jspbMessageInstance = msg;
6095
+ }
6096
+ return obj;
6097
+ };
6098
+ }
6099
+
6100
+
6101
+ /**
6102
+ * Deserializes binary data (in protobuf wire format).
6103
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6104
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
6105
+ */
6106
+ proto.pulumirpc.PolicyNotApplicable.deserializeBinary = function(bytes) {
6107
+ var reader = new jspb.BinaryReader(bytes);
6108
+ var msg = new proto.pulumirpc.PolicyNotApplicable;
6109
+ return proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader(msg, reader);
6110
+ };
6111
+
6112
+
6113
+ /**
6114
+ * Deserializes binary data (in protobuf wire format) from the
6115
+ * given reader into the given message object.
6116
+ * @param {!proto.pulumirpc.PolicyNotApplicable} msg The message object to deserialize into.
6117
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6118
+ * @return {!proto.pulumirpc.PolicyNotApplicable}
6119
+ */
6120
+ proto.pulumirpc.PolicyNotApplicable.deserializeBinaryFromReader = function(msg, reader) {
6121
+ while (reader.nextField()) {
6122
+ if (reader.isEndGroup()) {
6123
+ break;
6124
+ }
6125
+ var field = reader.getFieldNumber();
6126
+ switch (field) {
6127
+ case 1:
6128
+ var value = /** @type {string} */ (reader.readString());
6129
+ msg.setPolicyName(value);
6130
+ break;
6131
+ case 2:
6132
+ var value = /** @type {string} */ (reader.readString());
6133
+ msg.setReason(value);
6134
+ break;
6135
+ default:
6136
+ reader.skipField();
6137
+ break;
6138
+ }
6139
+ }
6140
+ return msg;
6141
+ };
6142
+
6143
+
6144
+ /**
6145
+ * Serializes the message to binary data (in protobuf wire format).
6146
+ * @return {!Uint8Array}
6147
+ */
6148
+ proto.pulumirpc.PolicyNotApplicable.prototype.serializeBinary = function() {
6149
+ var writer = new jspb.BinaryWriter();
6150
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter(this, writer);
6151
+ return writer.getResultBuffer();
6152
+ };
6153
+
6154
+
6155
+ /**
6156
+ * Serializes the given message to binary data (in protobuf wire
6157
+ * format), writing to the given BinaryWriter.
6158
+ * @param {!proto.pulumirpc.PolicyNotApplicable} message
6159
+ * @param {!jspb.BinaryWriter} writer
6160
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6161
+ */
6162
+ proto.pulumirpc.PolicyNotApplicable.serializeBinaryToWriter = function(message, writer) {
6163
+ var f = undefined;
6164
+ f = message.getPolicyName();
6165
+ if (f.length > 0) {
6166
+ writer.writeString(
6167
+ 1,
6168
+ f
6169
+ );
6170
+ }
6171
+ f = message.getReason();
6172
+ if (f.length > 0) {
6173
+ writer.writeString(
6174
+ 2,
6175
+ f
6176
+ );
6177
+ }
6178
+ };
6179
+
6180
+
6181
+ /**
6182
+ * optional string policy_name = 1;
6183
+ * @return {string}
6184
+ */
6185
+ proto.pulumirpc.PolicyNotApplicable.prototype.getPolicyName = function() {
6186
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6187
+ };
6188
+
6189
+
6190
+ /**
6191
+ * @param {string} value
6192
+ * @return {!proto.pulumirpc.PolicyNotApplicable} returns this
6193
+ */
6194
+ proto.pulumirpc.PolicyNotApplicable.prototype.setPolicyName = function(value) {
6195
+ return jspb.Message.setProto3StringField(this, 1, value);
6196
+ };
6197
+
6198
+
6199
+ /**
6200
+ * optional string reason = 2;
6201
+ * @return {string}
6202
+ */
6203
+ proto.pulumirpc.PolicyNotApplicable.prototype.getReason = function() {
6204
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6205
+ };
6206
+
6207
+
6208
+ /**
6209
+ * @param {string} value
6210
+ * @return {!proto.pulumirpc.PolicyNotApplicable} returns this
6211
+ */
6212
+ proto.pulumirpc.PolicyNotApplicable.prototype.setReason = function(value) {
6213
+ return jspb.Message.setProto3StringField(this, 2, value);
6214
+ };
6215
+
6216
+
5289
6217
  /**
5290
6218
  * @enum {number}
5291
6219
  */
@@ -5296,4 +6224,24 @@ proto.pulumirpc.EnforcementLevel = {
5296
6224
  REMEDIATE: 3
5297
6225
  };
5298
6226
 
6227
+ /**
6228
+ * @enum {number}
6229
+ */
6230
+ proto.pulumirpc.PolicyType = {
6231
+ POLICY_TYPE_UNKNOWN: 0,
6232
+ POLICY_TYPE_RESOURCE: 1,
6233
+ POLICY_TYPE_STACK: 2
6234
+ };
6235
+
6236
+ /**
6237
+ * @enum {number}
6238
+ */
6239
+ proto.pulumirpc.PolicySeverity = {
6240
+ POLICY_SEVERITY_UNSPECIFIED: 0,
6241
+ POLICY_SEVERITY_LOW: 1,
6242
+ POLICY_SEVERITY_MEDIUM: 2,
6243
+ POLICY_SEVERITY_HIGH: 3,
6244
+ POLICY_SEVERITY_CRITICAL: 4
6245
+ };
6246
+
5299
6247
  goog.object.extend(exports, proto.pulumirpc);
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "3.195.0";
1
+ export declare const version = "3.196.0";
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.195.0";
16
+ exports.version = "3.196.0-alpha.x4aca447";
17
17
  //# sourceMappingURL=version.js.map