@pulumi/pulumi 3.174.0-alpha.x1b70d04 → 3.174.0-alpha.x380d763

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.174.0-alpha.x1b70d04",
3
+ "version": "3.174.0-alpha.x380d763",
4
4
  "description": "Pulumi's Node.js SDK",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -19,10 +19,12 @@ export class AnalyzerStackConfigureRequest extends jspb.Message {
19
19
  getDryRun(): boolean;
20
20
  setDryRun(value: boolean): AnalyzerStackConfigureRequest;
21
21
 
22
- hasConfig(): boolean;
23
- clearConfig(): void;
24
- getConfig(): google_protobuf_struct_pb.Struct | undefined;
25
- setConfig(value?: google_protobuf_struct_pb.Struct): AnalyzerStackConfigureRequest;
22
+ getConfigMap(): jspb.Map<string, string>;
23
+ clearConfigMap(): void;
24
+ clearConfigSecretKeysList(): void;
25
+ getConfigSecretKeysList(): Array<string>;
26
+ setConfigSecretKeysList(value: Array<string>): AnalyzerStackConfigureRequest;
27
+ addConfigSecretKeys(value: string, index?: number): string;
26
28
 
27
29
  serializeBinary(): Uint8Array;
28
30
  toObject(includeInstance?: boolean): AnalyzerStackConfigureRequest.AsObject;
@@ -40,7 +42,9 @@ export namespace AnalyzerStackConfigureRequest {
40
42
  project: string,
41
43
  organization: string,
42
44
  dryRun: boolean,
43
- config?: google_protobuf_struct_pb.Struct.AsObject,
45
+
46
+ configMap: Array<[string, string]>,
47
+ configSecretKeysList: Array<string>,
44
48
  }
45
49
  }
46
50
 
@@ -53,7 +53,7 @@ goog.exportSymbol('proto.pulumirpc.Remediation', null, global);
53
53
  * @constructor
54
54
  */
55
55
  proto.pulumirpc.AnalyzerStackConfigureRequest = function(opt_data) {
56
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
56
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.pulumirpc.AnalyzerStackConfigureRequest.repeatedFields_, null);
57
57
  };
58
58
  goog.inherits(proto.pulumirpc.AnalyzerStackConfigureRequest, jspb.Message);
59
59
  if (goog.DEBUG && !COMPILED) {
@@ -463,6 +463,13 @@ if (goog.DEBUG && !COMPILED) {
463
463
  proto.pulumirpc.ConfigureAnalyzerRequest.displayName = 'proto.pulumirpc.ConfigureAnalyzerRequest';
464
464
  }
465
465
 
466
+ /**
467
+ * List of repeated fields within this message type.
468
+ * @private {!Array<number>}
469
+ * @const
470
+ */
471
+ proto.pulumirpc.AnalyzerStackConfigureRequest.repeatedFields_ = [6];
472
+
466
473
 
467
474
 
468
475
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -498,7 +505,8 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.toObject = function(includeInstanc
498
505
  project: jspb.Message.getFieldWithDefault(msg, 2, ""),
499
506
  organization: jspb.Message.getFieldWithDefault(msg, 3, ""),
500
507
  dryRun: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
501
- config: (f = msg.getConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
508
+ configMap: (f = msg.getConfigMap()) ? f.toObject(includeInstance, undefined) : [],
509
+ configSecretKeysList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f
502
510
  };
503
511
 
504
512
  if (includeInstance) {
@@ -552,9 +560,14 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.deserializeBinaryFromReader = func
552
560
  msg.setDryRun(value);
553
561
  break;
554
562
  case 5:
555
- var value = new google_protobuf_struct_pb.Struct;
556
- reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
557
- msg.setConfig(value);
563
+ var value = msg.getConfigMap();
564
+ reader.readMessage(value, function(message, reader) {
565
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
566
+ });
567
+ break;
568
+ case 6:
569
+ var value = /** @type {string} */ (reader.readString());
570
+ msg.addConfigSecretKeys(value);
558
571
  break;
559
572
  default:
560
573
  reader.skipField();
@@ -613,12 +626,15 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.serializeBinaryToWriter = function
613
626
  f
614
627
  );
615
628
  }
616
- f = message.getConfig();
617
- if (f != null) {
618
- writer.writeMessage(
619
- 5,
620
- f,
621
- google_protobuf_struct_pb.Struct.serializeBinaryToWriter
629
+ f = message.getConfigMap(true);
630
+ if (f && f.getLength() > 0) {
631
+ f.serializeBinary(5, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
632
+ }
633
+ f = message.getConfigSecretKeysList();
634
+ if (f.length > 0) {
635
+ writer.writeRepeatedString(
636
+ 6,
637
+ f
622
638
  );
623
639
  }
624
640
  };
@@ -697,39 +713,61 @@ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setDryRun = function(val
697
713
 
698
714
 
699
715
  /**
700
- * optional google.protobuf.Struct config = 5;
701
- * @return {?proto.google.protobuf.Struct}
716
+ * map<string, string> config = 5;
717
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
718
+ * empty, instead returning `undefined`
719
+ * @return {!jspb.Map<string,string>}
702
720
  */
703
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfig = function() {
704
- return /** @type{?proto.google.protobuf.Struct} */ (
705
- jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 5));
721
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigMap = function(opt_noLazyCreate) {
722
+ return /** @type {!jspb.Map<string,string>} */ (
723
+ jspb.Message.getMapField(this, 5, opt_noLazyCreate,
724
+ null));
706
725
  };
707
726
 
708
727
 
709
728
  /**
710
- * @param {?proto.google.protobuf.Struct|undefined} value
729
+ * Clears values from the map. The map will be non-null.
711
730
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
712
- */
713
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfig = function(value) {
714
- return jspb.Message.setWrapperField(this, 5, value);
731
+ */
732
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigMap = function() {
733
+ this.getConfigMap().clear();
734
+ return this;};
735
+
736
+
737
+ /**
738
+ * repeated string config_secret_keys = 6;
739
+ * @return {!Array<string>}
740
+ */
741
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.getConfigSecretKeysList = function() {
742
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 6));
715
743
  };
716
744
 
717
745
 
718
746
  /**
719
- * Clears the message field making it undefined.
747
+ * @param {!Array<string>} value
720
748
  * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
721
749
  */
722
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfig = function() {
723
- return this.setConfig(undefined);
750
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.setConfigSecretKeysList = function(value) {
751
+ return jspb.Message.setField(this, 6, value || []);
724
752
  };
725
753
 
726
754
 
727
755
  /**
728
- * Returns whether this field is set.
729
- * @return {boolean}
756
+ * @param {string} value
757
+ * @param {number=} opt_index
758
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
730
759
  */
731
- proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.hasConfig = function() {
732
- return jspb.Message.getField(this, 5) != null;
760
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.addConfigSecretKeys = function(value, opt_index) {
761
+ return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
762
+ };
763
+
764
+
765
+ /**
766
+ * Clears the list making it empty but non-null.
767
+ * @return {!proto.pulumirpc.AnalyzerStackConfigureRequest} returns this
768
+ */
769
+ proto.pulumirpc.AnalyzerStackConfigureRequest.prototype.clearConfigSecretKeysList = function() {
770
+ return this.setConfigSecretKeysList([]);
733
771
  };
734
772
 
735
773
 
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.174.0-alpha.x1b70d04";
16
+ exports.version = "3.174.0-alpha.x380d763";
17
17
  //# sourceMappingURL=version.js.map