@google-apps/chat 0.19.1 → 0.21.0

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.
@@ -5681,6 +5681,9 @@ export namespace google {
5681
5681
 
5682
5682
  /** Section uncollapsibleWidgetsCount */
5683
5683
  uncollapsibleWidgetsCount?: (number|null);
5684
+
5685
+ /** Section collapseControl */
5686
+ collapseControl?: (google.apps.card.v1.ICollapseControl|null);
5684
5687
  }
5685
5688
 
5686
5689
  /** Represents a Section. */
@@ -5704,6 +5707,9 @@ export namespace google {
5704
5707
  /** Section uncollapsibleWidgetsCount. */
5705
5708
  public uncollapsibleWidgetsCount: number;
5706
5709
 
5710
+ /** Section collapseControl. */
5711
+ public collapseControl?: (google.apps.card.v1.ICollapseControl|null);
5712
+
5707
5713
  /**
5708
5714
  * Creates a new Section instance using the specified properties.
5709
5715
  * @param [properties] Properties to set
@@ -5892,6 +5898,118 @@ export namespace google {
5892
5898
  public static getTypeUrl(typeUrlPrefix?: string): string;
5893
5899
  }
5894
5900
 
5901
+ /** Properties of a NestedWidget. */
5902
+ interface INestedWidget {
5903
+
5904
+ /** NestedWidget textParagraph */
5905
+ textParagraph?: (google.apps.card.v1.ITextParagraph|null);
5906
+
5907
+ /** NestedWidget buttonList */
5908
+ buttonList?: (google.apps.card.v1.IButtonList|null);
5909
+
5910
+ /** NestedWidget image */
5911
+ image?: (google.apps.card.v1.IImage|null);
5912
+ }
5913
+
5914
+ /** Represents a NestedWidget. */
5915
+ class NestedWidget implements INestedWidget {
5916
+
5917
+ /**
5918
+ * Constructs a new NestedWidget.
5919
+ * @param [properties] Properties to set
5920
+ */
5921
+ constructor(properties?: google.apps.card.v1.Card.INestedWidget);
5922
+
5923
+ /** NestedWidget textParagraph. */
5924
+ public textParagraph?: (google.apps.card.v1.ITextParagraph|null);
5925
+
5926
+ /** NestedWidget buttonList. */
5927
+ public buttonList?: (google.apps.card.v1.IButtonList|null);
5928
+
5929
+ /** NestedWidget image. */
5930
+ public image?: (google.apps.card.v1.IImage|null);
5931
+
5932
+ /** NestedWidget data. */
5933
+ public data?: ("textParagraph"|"buttonList"|"image");
5934
+
5935
+ /**
5936
+ * Creates a new NestedWidget instance using the specified properties.
5937
+ * @param [properties] Properties to set
5938
+ * @returns NestedWidget instance
5939
+ */
5940
+ public static create(properties?: google.apps.card.v1.Card.INestedWidget): google.apps.card.v1.Card.NestedWidget;
5941
+
5942
+ /**
5943
+ * Encodes the specified NestedWidget message. Does not implicitly {@link google.apps.card.v1.Card.NestedWidget.verify|verify} messages.
5944
+ * @param message NestedWidget message or plain object to encode
5945
+ * @param [writer] Writer to encode to
5946
+ * @returns Writer
5947
+ */
5948
+ public static encode(message: google.apps.card.v1.Card.INestedWidget, writer?: $protobuf.Writer): $protobuf.Writer;
5949
+
5950
+ /**
5951
+ * Encodes the specified NestedWidget message, length delimited. Does not implicitly {@link google.apps.card.v1.Card.NestedWidget.verify|verify} messages.
5952
+ * @param message NestedWidget message or plain object to encode
5953
+ * @param [writer] Writer to encode to
5954
+ * @returns Writer
5955
+ */
5956
+ public static encodeDelimited(message: google.apps.card.v1.Card.INestedWidget, writer?: $protobuf.Writer): $protobuf.Writer;
5957
+
5958
+ /**
5959
+ * Decodes a NestedWidget message from the specified reader or buffer.
5960
+ * @param reader Reader or buffer to decode from
5961
+ * @param [length] Message length if known beforehand
5962
+ * @returns NestedWidget
5963
+ * @throws {Error} If the payload is not a reader or valid buffer
5964
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5965
+ */
5966
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.Card.NestedWidget;
5967
+
5968
+ /**
5969
+ * Decodes a NestedWidget message from the specified reader or buffer, length delimited.
5970
+ * @param reader Reader or buffer to decode from
5971
+ * @returns NestedWidget
5972
+ * @throws {Error} If the payload is not a reader or valid buffer
5973
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
5974
+ */
5975
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.Card.NestedWidget;
5976
+
5977
+ /**
5978
+ * Verifies a NestedWidget message.
5979
+ * @param message Plain object to verify
5980
+ * @returns `null` if valid, otherwise the reason why it is not
5981
+ */
5982
+ public static verify(message: { [k: string]: any }): (string|null);
5983
+
5984
+ /**
5985
+ * Creates a NestedWidget message from a plain object. Also converts values to their respective internal types.
5986
+ * @param object Plain object
5987
+ * @returns NestedWidget
5988
+ */
5989
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.Card.NestedWidget;
5990
+
5991
+ /**
5992
+ * Creates a plain object from a NestedWidget message. Also converts values to other types if specified.
5993
+ * @param message NestedWidget
5994
+ * @param [options] Conversion options
5995
+ * @returns Plain object
5996
+ */
5997
+ public static toObject(message: google.apps.card.v1.Card.NestedWidget, options?: $protobuf.IConversionOptions): { [k: string]: any };
5998
+
5999
+ /**
6000
+ * Converts this NestedWidget to JSON.
6001
+ * @returns JSON object
6002
+ */
6003
+ public toJSON(): { [k: string]: any };
6004
+
6005
+ /**
6006
+ * Gets the default type url for NestedWidget
6007
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6008
+ * @returns The default type url
6009
+ */
6010
+ public static getTypeUrl(typeUrlPrefix?: string): string;
6011
+ }
6012
+
5895
6013
  /** Properties of a CardFixedFooter. */
5896
6014
  interface ICardFixedFooter {
5897
6015
 
@@ -6036,6 +6154,12 @@ export namespace google {
6036
6154
  /** Widget columns */
6037
6155
  columns?: (google.apps.card.v1.IColumns|null);
6038
6156
 
6157
+ /** Widget carousel */
6158
+ carousel?: (google.apps.card.v1.ICarousel|null);
6159
+
6160
+ /** Widget chipList */
6161
+ chipList?: (google.apps.card.v1.IChipList|null);
6162
+
6039
6163
  /** Widget horizontalAlignment */
6040
6164
  horizontalAlignment?: (google.apps.card.v1.Widget.HorizontalAlignment|keyof typeof google.apps.card.v1.Widget.HorizontalAlignment|null);
6041
6165
  }
@@ -6079,11 +6203,17 @@ export namespace google {
6079
6203
  /** Widget columns. */
6080
6204
  public columns?: (google.apps.card.v1.IColumns|null);
6081
6205
 
6206
+ /** Widget carousel. */
6207
+ public carousel?: (google.apps.card.v1.ICarousel|null);
6208
+
6209
+ /** Widget chipList. */
6210
+ public chipList?: (google.apps.card.v1.IChipList|null);
6211
+
6082
6212
  /** Widget horizontalAlignment. */
6083
6213
  public horizontalAlignment: (google.apps.card.v1.Widget.HorizontalAlignment|keyof typeof google.apps.card.v1.Widget.HorizontalAlignment);
6084
6214
 
6085
6215
  /** Widget data. */
6086
- public data?: ("textParagraph"|"image"|"decoratedText"|"buttonList"|"textInput"|"selectionInput"|"dateTimePicker"|"divider"|"grid"|"columns");
6216
+ public data?: ("textParagraph"|"image"|"decoratedText"|"buttonList"|"textInput"|"selectionInput"|"dateTimePicker"|"divider"|"grid"|"columns"|"carousel"|"chipList");
6087
6217
 
6088
6218
  /**
6089
6219
  * Creates a new Widget instance using the specified properties.
@@ -6178,6 +6308,14 @@ export namespace google {
6178
6308
  CENTER = 2,
6179
6309
  END = 3
6180
6310
  }
6311
+
6312
+ /** VerticalAlignment enum. */
6313
+ enum VerticalAlignment {
6314
+ VERTICAL_ALIGNMENT_UNSPECIFIED = 0,
6315
+ TOP = 1,
6316
+ MIDDLE = 2,
6317
+ BOTTOM = 3
6318
+ }
6181
6319
  }
6182
6320
 
6183
6321
  /** Properties of a TextParagraph. */
@@ -6185,6 +6323,12 @@ export namespace google {
6185
6323
 
6186
6324
  /** TextParagraph text */
6187
6325
  text?: (string|null);
6326
+
6327
+ /** TextParagraph maxLines */
6328
+ maxLines?: (number|null);
6329
+
6330
+ /** TextParagraph textSyntax */
6331
+ textSyntax?: (google.apps.card.v1.TextParagraph.TextSyntax|keyof typeof google.apps.card.v1.TextParagraph.TextSyntax|null);
6188
6332
  }
6189
6333
 
6190
6334
  /** Represents a TextParagraph. */
@@ -6199,6 +6343,12 @@ export namespace google {
6199
6343
  /** TextParagraph text. */
6200
6344
  public text: string;
6201
6345
 
6346
+ /** TextParagraph maxLines. */
6347
+ public maxLines: number;
6348
+
6349
+ /** TextParagraph textSyntax. */
6350
+ public textSyntax: (google.apps.card.v1.TextParagraph.TextSyntax|keyof typeof google.apps.card.v1.TextParagraph.TextSyntax);
6351
+
6202
6352
  /**
6203
6353
  * Creates a new TextParagraph instance using the specified properties.
6204
6354
  * @param [properties] Properties to set
@@ -6277,6 +6427,16 @@ export namespace google {
6277
6427
  public static getTypeUrl(typeUrlPrefix?: string): string;
6278
6428
  }
6279
6429
 
6430
+ namespace TextParagraph {
6431
+
6432
+ /** TextSyntax enum. */
6433
+ enum TextSyntax {
6434
+ TEXT_SYNTAX_UNSPECIFIED = 0,
6435
+ HTML = 1,
6436
+ MARKDOWN = 2
6437
+ }
6438
+ }
6439
+
6280
6440
  /** Properties of an Image. */
6281
6441
  interface IImage {
6282
6442
 
@@ -6486,18 +6646,30 @@ export namespace google {
6486
6646
  /** DecoratedText startIcon */
6487
6647
  startIcon?: (google.apps.card.v1.IIcon|null);
6488
6648
 
6649
+ /** DecoratedText startIconVerticalAlignment */
6650
+ startIconVerticalAlignment?: (google.apps.card.v1.Widget.VerticalAlignment|keyof typeof google.apps.card.v1.Widget.VerticalAlignment|null);
6651
+
6489
6652
  /** DecoratedText topLabel */
6490
6653
  topLabel?: (string|null);
6491
6654
 
6655
+ /** DecoratedText topLabelText */
6656
+ topLabelText?: (google.apps.card.v1.ITextParagraph|null);
6657
+
6492
6658
  /** DecoratedText text */
6493
6659
  text?: (string|null);
6494
6660
 
6661
+ /** DecoratedText contentText */
6662
+ contentText?: (google.apps.card.v1.ITextParagraph|null);
6663
+
6495
6664
  /** DecoratedText wrapText */
6496
6665
  wrapText?: (boolean|null);
6497
6666
 
6498
6667
  /** DecoratedText bottomLabel */
6499
6668
  bottomLabel?: (string|null);
6500
6669
 
6670
+ /** DecoratedText bottomLabelText */
6671
+ bottomLabelText?: (google.apps.card.v1.ITextParagraph|null);
6672
+
6501
6673
  /** DecoratedText onClick */
6502
6674
  onClick?: (google.apps.card.v1.IOnClick|null);
6503
6675
 
@@ -6526,18 +6698,30 @@ export namespace google {
6526
6698
  /** DecoratedText startIcon. */
6527
6699
  public startIcon?: (google.apps.card.v1.IIcon|null);
6528
6700
 
6701
+ /** DecoratedText startIconVerticalAlignment. */
6702
+ public startIconVerticalAlignment: (google.apps.card.v1.Widget.VerticalAlignment|keyof typeof google.apps.card.v1.Widget.VerticalAlignment);
6703
+
6529
6704
  /** DecoratedText topLabel. */
6530
6705
  public topLabel: string;
6531
6706
 
6707
+ /** DecoratedText topLabelText. */
6708
+ public topLabelText?: (google.apps.card.v1.ITextParagraph|null);
6709
+
6532
6710
  /** DecoratedText text. */
6533
6711
  public text: string;
6534
6712
 
6713
+ /** DecoratedText contentText. */
6714
+ public contentText?: (google.apps.card.v1.ITextParagraph|null);
6715
+
6535
6716
  /** DecoratedText wrapText. */
6536
6717
  public wrapText: boolean;
6537
6718
 
6538
6719
  /** DecoratedText bottomLabel. */
6539
6720
  public bottomLabel: string;
6540
6721
 
6722
+ /** DecoratedText bottomLabelText. */
6723
+ public bottomLabelText?: (google.apps.card.v1.ITextParagraph|null);
6724
+
6541
6725
  /** DecoratedText onClick. */
6542
6726
  public onClick?: (google.apps.card.v1.IOnClick|null);
6543
6727
 
@@ -6792,6 +6976,9 @@ export namespace google {
6792
6976
  /** TextInput autoCompleteAction */
6793
6977
  autoCompleteAction?: (google.apps.card.v1.IAction|null);
6794
6978
 
6979
+ /** TextInput validation */
6980
+ validation?: (google.apps.card.v1.IValidation|null);
6981
+
6795
6982
  /** TextInput placeholderText */
6796
6983
  placeholderText?: (string|null);
6797
6984
  }
@@ -6829,6 +7016,9 @@ export namespace google {
6829
7016
  /** TextInput autoCompleteAction. */
6830
7017
  public autoCompleteAction?: (google.apps.card.v1.IAction|null);
6831
7018
 
7019
+ /** TextInput validation. */
7020
+ public validation?: (google.apps.card.v1.IValidation|null);
7021
+
6832
7022
  /** TextInput placeholderText. */
6833
7023
  public placeholderText: string;
6834
7024
 
@@ -7272,7 +7462,7 @@ export namespace google {
7272
7462
  public onChangeAction?: (google.apps.card.v1.IAction|null);
7273
7463
 
7274
7464
  /** SelectionInput multiSelectMaxSelectedItems. */
7275
- public multiSelectMaxSelectedItems: number;
7465
+ public multiSelectMaxSelectedItems?: (number|null);
7276
7466
 
7277
7467
  /** SelectionInput multiSelectMinQueryLength. */
7278
7468
  public multiSelectMinQueryLength: number;
@@ -7413,11 +7603,14 @@ export namespace google {
7413
7603
  public selected: boolean;
7414
7604
 
7415
7605
  /** SelectionItem startIconUri. */
7416
- public startIconUri: string;
7606
+ public startIconUri?: (string|null);
7417
7607
 
7418
7608
  /** SelectionItem bottomText. */
7419
7609
  public bottomText: string;
7420
7610
 
7611
+ /** SelectionItem startIcon. */
7612
+ public startIcon?: "startIconUri";
7613
+
7421
7614
  /**
7422
7615
  * Creates a new SelectionItem instance using the specified properties.
7423
7616
  * @param [properties] Properties to set
@@ -7647,7 +7840,7 @@ export namespace google {
7647
7840
  public type: (google.apps.card.v1.DateTimePicker.DateTimePickerType|keyof typeof google.apps.card.v1.DateTimePicker.DateTimePickerType);
7648
7841
 
7649
7842
  /** DateTimePicker valueMsEpoch. */
7650
- public valueMsEpoch: (number|Long|string);
7843
+ public valueMsEpoch?: (number|Long|string|null);
7651
7844
 
7652
7845
  /** DateTimePicker timezoneOffsetDate. */
7653
7846
  public timezoneOffsetDate: number;
@@ -7743,6 +7936,221 @@ export namespace google {
7743
7936
  }
7744
7937
  }
7745
7938
 
7939
+ /** Properties of an OverflowMenu. */
7940
+ interface IOverflowMenu {
7941
+
7942
+ /** OverflowMenu items */
7943
+ items?: (google.apps.card.v1.OverflowMenu.IOverflowMenuItem[]|null);
7944
+ }
7945
+
7946
+ /** Represents an OverflowMenu. */
7947
+ class OverflowMenu implements IOverflowMenu {
7948
+
7949
+ /**
7950
+ * Constructs a new OverflowMenu.
7951
+ * @param [properties] Properties to set
7952
+ */
7953
+ constructor(properties?: google.apps.card.v1.IOverflowMenu);
7954
+
7955
+ /** OverflowMenu items. */
7956
+ public items: google.apps.card.v1.OverflowMenu.IOverflowMenuItem[];
7957
+
7958
+ /**
7959
+ * Creates a new OverflowMenu instance using the specified properties.
7960
+ * @param [properties] Properties to set
7961
+ * @returns OverflowMenu instance
7962
+ */
7963
+ public static create(properties?: google.apps.card.v1.IOverflowMenu): google.apps.card.v1.OverflowMenu;
7964
+
7965
+ /**
7966
+ * Encodes the specified OverflowMenu message. Does not implicitly {@link google.apps.card.v1.OverflowMenu.verify|verify} messages.
7967
+ * @param message OverflowMenu message or plain object to encode
7968
+ * @param [writer] Writer to encode to
7969
+ * @returns Writer
7970
+ */
7971
+ public static encode(message: google.apps.card.v1.IOverflowMenu, writer?: $protobuf.Writer): $protobuf.Writer;
7972
+
7973
+ /**
7974
+ * Encodes the specified OverflowMenu message, length delimited. Does not implicitly {@link google.apps.card.v1.OverflowMenu.verify|verify} messages.
7975
+ * @param message OverflowMenu message or plain object to encode
7976
+ * @param [writer] Writer to encode to
7977
+ * @returns Writer
7978
+ */
7979
+ public static encodeDelimited(message: google.apps.card.v1.IOverflowMenu, writer?: $protobuf.Writer): $protobuf.Writer;
7980
+
7981
+ /**
7982
+ * Decodes an OverflowMenu message from the specified reader or buffer.
7983
+ * @param reader Reader or buffer to decode from
7984
+ * @param [length] Message length if known beforehand
7985
+ * @returns OverflowMenu
7986
+ * @throws {Error} If the payload is not a reader or valid buffer
7987
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7988
+ */
7989
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.OverflowMenu;
7990
+
7991
+ /**
7992
+ * Decodes an OverflowMenu message from the specified reader or buffer, length delimited.
7993
+ * @param reader Reader or buffer to decode from
7994
+ * @returns OverflowMenu
7995
+ * @throws {Error} If the payload is not a reader or valid buffer
7996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
7997
+ */
7998
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.OverflowMenu;
7999
+
8000
+ /**
8001
+ * Verifies an OverflowMenu message.
8002
+ * @param message Plain object to verify
8003
+ * @returns `null` if valid, otherwise the reason why it is not
8004
+ */
8005
+ public static verify(message: { [k: string]: any }): (string|null);
8006
+
8007
+ /**
8008
+ * Creates an OverflowMenu message from a plain object. Also converts values to their respective internal types.
8009
+ * @param object Plain object
8010
+ * @returns OverflowMenu
8011
+ */
8012
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.OverflowMenu;
8013
+
8014
+ /**
8015
+ * Creates a plain object from an OverflowMenu message. Also converts values to other types if specified.
8016
+ * @param message OverflowMenu
8017
+ * @param [options] Conversion options
8018
+ * @returns Plain object
8019
+ */
8020
+ public static toObject(message: google.apps.card.v1.OverflowMenu, options?: $protobuf.IConversionOptions): { [k: string]: any };
8021
+
8022
+ /**
8023
+ * Converts this OverflowMenu to JSON.
8024
+ * @returns JSON object
8025
+ */
8026
+ public toJSON(): { [k: string]: any };
8027
+
8028
+ /**
8029
+ * Gets the default type url for OverflowMenu
8030
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8031
+ * @returns The default type url
8032
+ */
8033
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8034
+ }
8035
+
8036
+ namespace OverflowMenu {
8037
+
8038
+ /** Properties of an OverflowMenuItem. */
8039
+ interface IOverflowMenuItem {
8040
+
8041
+ /** OverflowMenuItem startIcon */
8042
+ startIcon?: (google.apps.card.v1.IIcon|null);
8043
+
8044
+ /** OverflowMenuItem text */
8045
+ text?: (string|null);
8046
+
8047
+ /** OverflowMenuItem onClick */
8048
+ onClick?: (google.apps.card.v1.IOnClick|null);
8049
+
8050
+ /** OverflowMenuItem disabled */
8051
+ disabled?: (boolean|null);
8052
+ }
8053
+
8054
+ /** Represents an OverflowMenuItem. */
8055
+ class OverflowMenuItem implements IOverflowMenuItem {
8056
+
8057
+ /**
8058
+ * Constructs a new OverflowMenuItem.
8059
+ * @param [properties] Properties to set
8060
+ */
8061
+ constructor(properties?: google.apps.card.v1.OverflowMenu.IOverflowMenuItem);
8062
+
8063
+ /** OverflowMenuItem startIcon. */
8064
+ public startIcon?: (google.apps.card.v1.IIcon|null);
8065
+
8066
+ /** OverflowMenuItem text. */
8067
+ public text: string;
8068
+
8069
+ /** OverflowMenuItem onClick. */
8070
+ public onClick?: (google.apps.card.v1.IOnClick|null);
8071
+
8072
+ /** OverflowMenuItem disabled. */
8073
+ public disabled: boolean;
8074
+
8075
+ /**
8076
+ * Creates a new OverflowMenuItem instance using the specified properties.
8077
+ * @param [properties] Properties to set
8078
+ * @returns OverflowMenuItem instance
8079
+ */
8080
+ public static create(properties?: google.apps.card.v1.OverflowMenu.IOverflowMenuItem): google.apps.card.v1.OverflowMenu.OverflowMenuItem;
8081
+
8082
+ /**
8083
+ * Encodes the specified OverflowMenuItem message. Does not implicitly {@link google.apps.card.v1.OverflowMenu.OverflowMenuItem.verify|verify} messages.
8084
+ * @param message OverflowMenuItem message or plain object to encode
8085
+ * @param [writer] Writer to encode to
8086
+ * @returns Writer
8087
+ */
8088
+ public static encode(message: google.apps.card.v1.OverflowMenu.IOverflowMenuItem, writer?: $protobuf.Writer): $protobuf.Writer;
8089
+
8090
+ /**
8091
+ * Encodes the specified OverflowMenuItem message, length delimited. Does not implicitly {@link google.apps.card.v1.OverflowMenu.OverflowMenuItem.verify|verify} messages.
8092
+ * @param message OverflowMenuItem message or plain object to encode
8093
+ * @param [writer] Writer to encode to
8094
+ * @returns Writer
8095
+ */
8096
+ public static encodeDelimited(message: google.apps.card.v1.OverflowMenu.IOverflowMenuItem, writer?: $protobuf.Writer): $protobuf.Writer;
8097
+
8098
+ /**
8099
+ * Decodes an OverflowMenuItem message from the specified reader or buffer.
8100
+ * @param reader Reader or buffer to decode from
8101
+ * @param [length] Message length if known beforehand
8102
+ * @returns OverflowMenuItem
8103
+ * @throws {Error} If the payload is not a reader or valid buffer
8104
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8105
+ */
8106
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.OverflowMenu.OverflowMenuItem;
8107
+
8108
+ /**
8109
+ * Decodes an OverflowMenuItem message from the specified reader or buffer, length delimited.
8110
+ * @param reader Reader or buffer to decode from
8111
+ * @returns OverflowMenuItem
8112
+ * @throws {Error} If the payload is not a reader or valid buffer
8113
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
8114
+ */
8115
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.OverflowMenu.OverflowMenuItem;
8116
+
8117
+ /**
8118
+ * Verifies an OverflowMenuItem message.
8119
+ * @param message Plain object to verify
8120
+ * @returns `null` if valid, otherwise the reason why it is not
8121
+ */
8122
+ public static verify(message: { [k: string]: any }): (string|null);
8123
+
8124
+ /**
8125
+ * Creates an OverflowMenuItem message from a plain object. Also converts values to their respective internal types.
8126
+ * @param object Plain object
8127
+ * @returns OverflowMenuItem
8128
+ */
8129
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.OverflowMenu.OverflowMenuItem;
8130
+
8131
+ /**
8132
+ * Creates a plain object from an OverflowMenuItem message. Also converts values to other types if specified.
8133
+ * @param message OverflowMenuItem
8134
+ * @param [options] Conversion options
8135
+ * @returns Plain object
8136
+ */
8137
+ public static toObject(message: google.apps.card.v1.OverflowMenu.OverflowMenuItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
8138
+
8139
+ /**
8140
+ * Converts this OverflowMenuItem to JSON.
8141
+ * @returns JSON object
8142
+ */
8143
+ public toJSON(): { [k: string]: any };
8144
+
8145
+ /**
8146
+ * Gets the default type url for OverflowMenuItem
8147
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8148
+ * @returns The default type url
8149
+ */
8150
+ public static getTypeUrl(typeUrlPrefix?: string): string;
8151
+ }
8152
+ }
8153
+
7746
8154
  /** Properties of a Button. */
7747
8155
  interface IButton {
7748
8156
 
@@ -7763,6 +8171,9 @@ export namespace google {
7763
8171
 
7764
8172
  /** Button altText */
7765
8173
  altText?: (string|null);
8174
+
8175
+ /** Button type */
8176
+ type?: (google.apps.card.v1.Button.Type|keyof typeof google.apps.card.v1.Button.Type|null);
7766
8177
  }
7767
8178
 
7768
8179
  /** Represents a Button. */
@@ -7792,6 +8203,9 @@ export namespace google {
7792
8203
  /** Button altText. */
7793
8204
  public altText: string;
7794
8205
 
8206
+ /** Button type. */
8207
+ public type: (google.apps.card.v1.Button.Type|keyof typeof google.apps.card.v1.Button.Type);
8208
+
7795
8209
  /**
7796
8210
  * Creates a new Button instance using the specified properties.
7797
8211
  * @param [properties] Properties to set
@@ -7870,6 +8284,18 @@ export namespace google {
7870
8284
  public static getTypeUrl(typeUrlPrefix?: string): string;
7871
8285
  }
7872
8286
 
8287
+ namespace Button {
8288
+
8289
+ /** Type enum. */
8290
+ enum Type {
8291
+ TYPE_UNSPECIFIED = 0,
8292
+ OUTLINED = 1,
8293
+ FILLED = 2,
8294
+ FILLED_TONAL = 3,
8295
+ BORDERLESS = 4
8296
+ }
8297
+ }
8298
+
7873
8299
  /** Properties of an Icon. */
7874
8300
  interface IIcon {
7875
8301
 
@@ -8967,6 +9393,9 @@ export namespace google {
8967
9393
 
8968
9394
  /** Widgets dateTimePicker */
8969
9395
  dateTimePicker?: (google.apps.card.v1.IDateTimePicker|null);
9396
+
9397
+ /** Widgets chipList */
9398
+ chipList?: (google.apps.card.v1.IChipList|null);
8970
9399
  }
8971
9400
 
8972
9401
  /** Represents a Widgets. */
@@ -8999,8 +9428,11 @@ export namespace google {
8999
9428
  /** Widgets dateTimePicker. */
9000
9429
  public dateTimePicker?: (google.apps.card.v1.IDateTimePicker|null);
9001
9430
 
9431
+ /** Widgets chipList. */
9432
+ public chipList?: (google.apps.card.v1.IChipList|null);
9433
+
9002
9434
  /** Widgets data. */
9003
- public data?: ("textParagraph"|"image"|"decoratedText"|"buttonList"|"textInput"|"selectionInput"|"dateTimePicker");
9435
+ public data?: ("textParagraph"|"image"|"decoratedText"|"buttonList"|"textInput"|"selectionInput"|"dateTimePicker"|"chipList");
9004
9436
 
9005
9437
  /**
9006
9438
  * Creates a new Widgets instance using the specified properties.
@@ -9066,20 +9498,332 @@ export namespace google {
9066
9498
  */
9067
9499
  public static toObject(message: google.apps.card.v1.Columns.Column.Widgets, options?: $protobuf.IConversionOptions): { [k: string]: any };
9068
9500
 
9069
- /**
9070
- * Converts this Widgets to JSON.
9071
- * @returns JSON object
9072
- */
9073
- public toJSON(): { [k: string]: any };
9501
+ /**
9502
+ * Converts this Widgets to JSON.
9503
+ * @returns JSON object
9504
+ */
9505
+ public toJSON(): { [k: string]: any };
9506
+
9507
+ /**
9508
+ * Gets the default type url for Widgets
9509
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9510
+ * @returns The default type url
9511
+ */
9512
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9513
+ }
9514
+ }
9515
+ }
9516
+
9517
+ /** Properties of a Carousel. */
9518
+ interface ICarousel {
9519
+
9520
+ /** Carousel carouselCards */
9521
+ carouselCards?: (google.apps.card.v1.Carousel.ICarouselCard[]|null);
9522
+ }
9523
+
9524
+ /** Represents a Carousel. */
9525
+ class Carousel implements ICarousel {
9526
+
9527
+ /**
9528
+ * Constructs a new Carousel.
9529
+ * @param [properties] Properties to set
9530
+ */
9531
+ constructor(properties?: google.apps.card.v1.ICarousel);
9532
+
9533
+ /** Carousel carouselCards. */
9534
+ public carouselCards: google.apps.card.v1.Carousel.ICarouselCard[];
9535
+
9536
+ /**
9537
+ * Creates a new Carousel instance using the specified properties.
9538
+ * @param [properties] Properties to set
9539
+ * @returns Carousel instance
9540
+ */
9541
+ public static create(properties?: google.apps.card.v1.ICarousel): google.apps.card.v1.Carousel;
9542
+
9543
+ /**
9544
+ * Encodes the specified Carousel message. Does not implicitly {@link google.apps.card.v1.Carousel.verify|verify} messages.
9545
+ * @param message Carousel message or plain object to encode
9546
+ * @param [writer] Writer to encode to
9547
+ * @returns Writer
9548
+ */
9549
+ public static encode(message: google.apps.card.v1.ICarousel, writer?: $protobuf.Writer): $protobuf.Writer;
9550
+
9551
+ /**
9552
+ * Encodes the specified Carousel message, length delimited. Does not implicitly {@link google.apps.card.v1.Carousel.verify|verify} messages.
9553
+ * @param message Carousel message or plain object to encode
9554
+ * @param [writer] Writer to encode to
9555
+ * @returns Writer
9556
+ */
9557
+ public static encodeDelimited(message: google.apps.card.v1.ICarousel, writer?: $protobuf.Writer): $protobuf.Writer;
9558
+
9559
+ /**
9560
+ * Decodes a Carousel message from the specified reader or buffer.
9561
+ * @param reader Reader or buffer to decode from
9562
+ * @param [length] Message length if known beforehand
9563
+ * @returns Carousel
9564
+ * @throws {Error} If the payload is not a reader or valid buffer
9565
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9566
+ */
9567
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.Carousel;
9568
+
9569
+ /**
9570
+ * Decodes a Carousel message from the specified reader or buffer, length delimited.
9571
+ * @param reader Reader or buffer to decode from
9572
+ * @returns Carousel
9573
+ * @throws {Error} If the payload is not a reader or valid buffer
9574
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9575
+ */
9576
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.Carousel;
9577
+
9578
+ /**
9579
+ * Verifies a Carousel message.
9580
+ * @param message Plain object to verify
9581
+ * @returns `null` if valid, otherwise the reason why it is not
9582
+ */
9583
+ public static verify(message: { [k: string]: any }): (string|null);
9584
+
9585
+ /**
9586
+ * Creates a Carousel message from a plain object. Also converts values to their respective internal types.
9587
+ * @param object Plain object
9588
+ * @returns Carousel
9589
+ */
9590
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.Carousel;
9591
+
9592
+ /**
9593
+ * Creates a plain object from a Carousel message. Also converts values to other types if specified.
9594
+ * @param message Carousel
9595
+ * @param [options] Conversion options
9596
+ * @returns Plain object
9597
+ */
9598
+ public static toObject(message: google.apps.card.v1.Carousel, options?: $protobuf.IConversionOptions): { [k: string]: any };
9599
+
9600
+ /**
9601
+ * Converts this Carousel to JSON.
9602
+ * @returns JSON object
9603
+ */
9604
+ public toJSON(): { [k: string]: any };
9605
+
9606
+ /**
9607
+ * Gets the default type url for Carousel
9608
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9609
+ * @returns The default type url
9610
+ */
9611
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9612
+ }
9613
+
9614
+ namespace Carousel {
9615
+
9616
+ /** Properties of a CarouselCard. */
9617
+ interface ICarouselCard {
9618
+
9619
+ /** CarouselCard widgets */
9620
+ widgets?: (google.apps.card.v1.Card.INestedWidget[]|null);
9621
+
9622
+ /** CarouselCard footerWidgets */
9623
+ footerWidgets?: (google.apps.card.v1.Card.INestedWidget[]|null);
9624
+ }
9625
+
9626
+ /** Represents a CarouselCard. */
9627
+ class CarouselCard implements ICarouselCard {
9628
+
9629
+ /**
9630
+ * Constructs a new CarouselCard.
9631
+ * @param [properties] Properties to set
9632
+ */
9633
+ constructor(properties?: google.apps.card.v1.Carousel.ICarouselCard);
9634
+
9635
+ /** CarouselCard widgets. */
9636
+ public widgets: google.apps.card.v1.Card.INestedWidget[];
9637
+
9638
+ /** CarouselCard footerWidgets. */
9639
+ public footerWidgets: google.apps.card.v1.Card.INestedWidget[];
9640
+
9641
+ /**
9642
+ * Creates a new CarouselCard instance using the specified properties.
9643
+ * @param [properties] Properties to set
9644
+ * @returns CarouselCard instance
9645
+ */
9646
+ public static create(properties?: google.apps.card.v1.Carousel.ICarouselCard): google.apps.card.v1.Carousel.CarouselCard;
9647
+
9648
+ /**
9649
+ * Encodes the specified CarouselCard message. Does not implicitly {@link google.apps.card.v1.Carousel.CarouselCard.verify|verify} messages.
9650
+ * @param message CarouselCard message or plain object to encode
9651
+ * @param [writer] Writer to encode to
9652
+ * @returns Writer
9653
+ */
9654
+ public static encode(message: google.apps.card.v1.Carousel.ICarouselCard, writer?: $protobuf.Writer): $protobuf.Writer;
9655
+
9656
+ /**
9657
+ * Encodes the specified CarouselCard message, length delimited. Does not implicitly {@link google.apps.card.v1.Carousel.CarouselCard.verify|verify} messages.
9658
+ * @param message CarouselCard message or plain object to encode
9659
+ * @param [writer] Writer to encode to
9660
+ * @returns Writer
9661
+ */
9662
+ public static encodeDelimited(message: google.apps.card.v1.Carousel.ICarouselCard, writer?: $protobuf.Writer): $protobuf.Writer;
9663
+
9664
+ /**
9665
+ * Decodes a CarouselCard message from the specified reader or buffer.
9666
+ * @param reader Reader or buffer to decode from
9667
+ * @param [length] Message length if known beforehand
9668
+ * @returns CarouselCard
9669
+ * @throws {Error} If the payload is not a reader or valid buffer
9670
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9671
+ */
9672
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.Carousel.CarouselCard;
9673
+
9674
+ /**
9675
+ * Decodes a CarouselCard message from the specified reader or buffer, length delimited.
9676
+ * @param reader Reader or buffer to decode from
9677
+ * @returns CarouselCard
9678
+ * @throws {Error} If the payload is not a reader or valid buffer
9679
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9680
+ */
9681
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.Carousel.CarouselCard;
9682
+
9683
+ /**
9684
+ * Verifies a CarouselCard message.
9685
+ * @param message Plain object to verify
9686
+ * @returns `null` if valid, otherwise the reason why it is not
9687
+ */
9688
+ public static verify(message: { [k: string]: any }): (string|null);
9689
+
9690
+ /**
9691
+ * Creates a CarouselCard message from a plain object. Also converts values to their respective internal types.
9692
+ * @param object Plain object
9693
+ * @returns CarouselCard
9694
+ */
9695
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.Carousel.CarouselCard;
9696
+
9697
+ /**
9698
+ * Creates a plain object from a CarouselCard message. Also converts values to other types if specified.
9699
+ * @param message CarouselCard
9700
+ * @param [options] Conversion options
9701
+ * @returns Plain object
9702
+ */
9703
+ public static toObject(message: google.apps.card.v1.Carousel.CarouselCard, options?: $protobuf.IConversionOptions): { [k: string]: any };
9704
+
9705
+ /**
9706
+ * Converts this CarouselCard to JSON.
9707
+ * @returns JSON object
9708
+ */
9709
+ public toJSON(): { [k: string]: any };
9710
+
9711
+ /**
9712
+ * Gets the default type url for CarouselCard
9713
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9714
+ * @returns The default type url
9715
+ */
9716
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9717
+ }
9718
+ }
9719
+
9720
+ /** Properties of a CollapseControl. */
9721
+ interface ICollapseControl {
9722
+
9723
+ /** CollapseControl horizontalAlignment */
9724
+ horizontalAlignment?: (google.apps.card.v1.Widget.HorizontalAlignment|keyof typeof google.apps.card.v1.Widget.HorizontalAlignment|null);
9725
+
9726
+ /** CollapseControl expandButton */
9727
+ expandButton?: (google.apps.card.v1.IButton|null);
9728
+
9729
+ /** CollapseControl collapseButton */
9730
+ collapseButton?: (google.apps.card.v1.IButton|null);
9731
+ }
9732
+
9733
+ /** Represents a CollapseControl. */
9734
+ class CollapseControl implements ICollapseControl {
9735
+
9736
+ /**
9737
+ * Constructs a new CollapseControl.
9738
+ * @param [properties] Properties to set
9739
+ */
9740
+ constructor(properties?: google.apps.card.v1.ICollapseControl);
9741
+
9742
+ /** CollapseControl horizontalAlignment. */
9743
+ public horizontalAlignment: (google.apps.card.v1.Widget.HorizontalAlignment|keyof typeof google.apps.card.v1.Widget.HorizontalAlignment);
9744
+
9745
+ /** CollapseControl expandButton. */
9746
+ public expandButton?: (google.apps.card.v1.IButton|null);
9747
+
9748
+ /** CollapseControl collapseButton. */
9749
+ public collapseButton?: (google.apps.card.v1.IButton|null);
9750
+
9751
+ /**
9752
+ * Creates a new CollapseControl instance using the specified properties.
9753
+ * @param [properties] Properties to set
9754
+ * @returns CollapseControl instance
9755
+ */
9756
+ public static create(properties?: google.apps.card.v1.ICollapseControl): google.apps.card.v1.CollapseControl;
9757
+
9758
+ /**
9759
+ * Encodes the specified CollapseControl message. Does not implicitly {@link google.apps.card.v1.CollapseControl.verify|verify} messages.
9760
+ * @param message CollapseControl message or plain object to encode
9761
+ * @param [writer] Writer to encode to
9762
+ * @returns Writer
9763
+ */
9764
+ public static encode(message: google.apps.card.v1.ICollapseControl, writer?: $protobuf.Writer): $protobuf.Writer;
9765
+
9766
+ /**
9767
+ * Encodes the specified CollapseControl message, length delimited. Does not implicitly {@link google.apps.card.v1.CollapseControl.verify|verify} messages.
9768
+ * @param message CollapseControl message or plain object to encode
9769
+ * @param [writer] Writer to encode to
9770
+ * @returns Writer
9771
+ */
9772
+ public static encodeDelimited(message: google.apps.card.v1.ICollapseControl, writer?: $protobuf.Writer): $protobuf.Writer;
9773
+
9774
+ /**
9775
+ * Decodes a CollapseControl message from the specified reader or buffer.
9776
+ * @param reader Reader or buffer to decode from
9777
+ * @param [length] Message length if known beforehand
9778
+ * @returns CollapseControl
9779
+ * @throws {Error} If the payload is not a reader or valid buffer
9780
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9781
+ */
9782
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.CollapseControl;
9783
+
9784
+ /**
9785
+ * Decodes a CollapseControl message from the specified reader or buffer, length delimited.
9786
+ * @param reader Reader or buffer to decode from
9787
+ * @returns CollapseControl
9788
+ * @throws {Error} If the payload is not a reader or valid buffer
9789
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
9790
+ */
9791
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.CollapseControl;
9792
+
9793
+ /**
9794
+ * Verifies a CollapseControl message.
9795
+ * @param message Plain object to verify
9796
+ * @returns `null` if valid, otherwise the reason why it is not
9797
+ */
9798
+ public static verify(message: { [k: string]: any }): (string|null);
9799
+
9800
+ /**
9801
+ * Creates a CollapseControl message from a plain object. Also converts values to their respective internal types.
9802
+ * @param object Plain object
9803
+ * @returns CollapseControl
9804
+ */
9805
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.CollapseControl;
9806
+
9807
+ /**
9808
+ * Creates a plain object from a CollapseControl message. Also converts values to other types if specified.
9809
+ * @param message CollapseControl
9810
+ * @param [options] Conversion options
9811
+ * @returns Plain object
9812
+ */
9813
+ public static toObject(message: google.apps.card.v1.CollapseControl, options?: $protobuf.IConversionOptions): { [k: string]: any };
9074
9814
 
9075
- /**
9076
- * Gets the default type url for Widgets
9077
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9078
- * @returns The default type url
9079
- */
9080
- public static getTypeUrl(typeUrlPrefix?: string): string;
9081
- }
9082
- }
9815
+ /**
9816
+ * Converts this CollapseControl to JSON.
9817
+ * @returns JSON object
9818
+ */
9819
+ public toJSON(): { [k: string]: any };
9820
+
9821
+ /**
9822
+ * Gets the default type url for CollapseControl
9823
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9824
+ * @returns The default type url
9825
+ */
9826
+ public static getTypeUrl(typeUrlPrefix?: string): string;
9083
9827
  }
9084
9828
 
9085
9829
  /** Properties of an OnClick. */
@@ -9096,6 +9840,9 @@ export namespace google {
9096
9840
 
9097
9841
  /** OnClick card */
9098
9842
  card?: (google.apps.card.v1.ICard|null);
9843
+
9844
+ /** OnClick overflowMenu */
9845
+ overflowMenu?: (google.apps.card.v1.IOverflowMenu|null);
9099
9846
  }
9100
9847
 
9101
9848
  /** Represents an OnClick. */
@@ -9119,8 +9866,11 @@ export namespace google {
9119
9866
  /** OnClick card. */
9120
9867
  public card?: (google.apps.card.v1.ICard|null);
9121
9868
 
9869
+ /** OnClick overflowMenu. */
9870
+ public overflowMenu?: (google.apps.card.v1.IOverflowMenu|null);
9871
+
9122
9872
  /** OnClick data. */
9123
- public data?: ("action"|"openLink"|"openDynamicLinkAction"|"card");
9873
+ public data?: ("action"|"openLink"|"openDynamicLinkAction"|"card"|"overflowMenu");
9124
9874
 
9125
9875
  /**
9126
9876
  * Creates a new OnClick instance using the specified properties.
@@ -9341,6 +10091,12 @@ export namespace google {
9341
10091
 
9342
10092
  /** Action interaction */
9343
10093
  interaction?: (google.apps.card.v1.Action.Interaction|keyof typeof google.apps.card.v1.Action.Interaction|null);
10094
+
10095
+ /** Action requiredWidgets */
10096
+ requiredWidgets?: (string[]|null);
10097
+
10098
+ /** Action allWidgetsAreRequired */
10099
+ allWidgetsAreRequired?: (boolean|null);
9344
10100
  }
9345
10101
 
9346
10102
  /** Represents an Action. */
@@ -9367,6 +10123,12 @@ export namespace google {
9367
10123
  /** Action interaction. */
9368
10124
  public interaction: (google.apps.card.v1.Action.Interaction|keyof typeof google.apps.card.v1.Action.Interaction);
9369
10125
 
10126
+ /** Action requiredWidgets. */
10127
+ public requiredWidgets: string[];
10128
+
10129
+ /** Action allWidgetsAreRequired. */
10130
+ public allWidgetsAreRequired: boolean;
10131
+
9370
10132
  /**
9371
10133
  * Creates a new Action instance using the specified properties.
9372
10134
  * @param [properties] Properties to set
@@ -9562,6 +10324,362 @@ export namespace google {
9562
10324
  OPEN_DIALOG = 1
9563
10325
  }
9564
10326
  }
10327
+
10328
+ /** Properties of a Validation. */
10329
+ interface IValidation {
10330
+
10331
+ /** Validation characterLimit */
10332
+ characterLimit?: (number|null);
10333
+
10334
+ /** Validation inputType */
10335
+ inputType?: (google.apps.card.v1.Validation.InputType|keyof typeof google.apps.card.v1.Validation.InputType|null);
10336
+ }
10337
+
10338
+ /** Represents a Validation. */
10339
+ class Validation implements IValidation {
10340
+
10341
+ /**
10342
+ * Constructs a new Validation.
10343
+ * @param [properties] Properties to set
10344
+ */
10345
+ constructor(properties?: google.apps.card.v1.IValidation);
10346
+
10347
+ /** Validation characterLimit. */
10348
+ public characterLimit: number;
10349
+
10350
+ /** Validation inputType. */
10351
+ public inputType: (google.apps.card.v1.Validation.InputType|keyof typeof google.apps.card.v1.Validation.InputType);
10352
+
10353
+ /**
10354
+ * Creates a new Validation instance using the specified properties.
10355
+ * @param [properties] Properties to set
10356
+ * @returns Validation instance
10357
+ */
10358
+ public static create(properties?: google.apps.card.v1.IValidation): google.apps.card.v1.Validation;
10359
+
10360
+ /**
10361
+ * Encodes the specified Validation message. Does not implicitly {@link google.apps.card.v1.Validation.verify|verify} messages.
10362
+ * @param message Validation message or plain object to encode
10363
+ * @param [writer] Writer to encode to
10364
+ * @returns Writer
10365
+ */
10366
+ public static encode(message: google.apps.card.v1.IValidation, writer?: $protobuf.Writer): $protobuf.Writer;
10367
+
10368
+ /**
10369
+ * Encodes the specified Validation message, length delimited. Does not implicitly {@link google.apps.card.v1.Validation.verify|verify} messages.
10370
+ * @param message Validation message or plain object to encode
10371
+ * @param [writer] Writer to encode to
10372
+ * @returns Writer
10373
+ */
10374
+ public static encodeDelimited(message: google.apps.card.v1.IValidation, writer?: $protobuf.Writer): $protobuf.Writer;
10375
+
10376
+ /**
10377
+ * Decodes a Validation message from the specified reader or buffer.
10378
+ * @param reader Reader or buffer to decode from
10379
+ * @param [length] Message length if known beforehand
10380
+ * @returns Validation
10381
+ * @throws {Error} If the payload is not a reader or valid buffer
10382
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10383
+ */
10384
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.Validation;
10385
+
10386
+ /**
10387
+ * Decodes a Validation message from the specified reader or buffer, length delimited.
10388
+ * @param reader Reader or buffer to decode from
10389
+ * @returns Validation
10390
+ * @throws {Error} If the payload is not a reader or valid buffer
10391
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10392
+ */
10393
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.Validation;
10394
+
10395
+ /**
10396
+ * Verifies a Validation message.
10397
+ * @param message Plain object to verify
10398
+ * @returns `null` if valid, otherwise the reason why it is not
10399
+ */
10400
+ public static verify(message: { [k: string]: any }): (string|null);
10401
+
10402
+ /**
10403
+ * Creates a Validation message from a plain object. Also converts values to their respective internal types.
10404
+ * @param object Plain object
10405
+ * @returns Validation
10406
+ */
10407
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.Validation;
10408
+
10409
+ /**
10410
+ * Creates a plain object from a Validation message. Also converts values to other types if specified.
10411
+ * @param message Validation
10412
+ * @param [options] Conversion options
10413
+ * @returns Plain object
10414
+ */
10415
+ public static toObject(message: google.apps.card.v1.Validation, options?: $protobuf.IConversionOptions): { [k: string]: any };
10416
+
10417
+ /**
10418
+ * Converts this Validation to JSON.
10419
+ * @returns JSON object
10420
+ */
10421
+ public toJSON(): { [k: string]: any };
10422
+
10423
+ /**
10424
+ * Gets the default type url for Validation
10425
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10426
+ * @returns The default type url
10427
+ */
10428
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10429
+ }
10430
+
10431
+ namespace Validation {
10432
+
10433
+ /** InputType enum. */
10434
+ enum InputType {
10435
+ INPUT_TYPE_UNSPECIFIED = 0,
10436
+ TEXT = 1,
10437
+ INTEGER = 2,
10438
+ FLOAT = 3,
10439
+ EMAIL = 4,
10440
+ EMOJI_PICKER = 5
10441
+ }
10442
+ }
10443
+
10444
+ /** Properties of a ChipList. */
10445
+ interface IChipList {
10446
+
10447
+ /** ChipList layout */
10448
+ layout?: (google.apps.card.v1.ChipList.Layout|keyof typeof google.apps.card.v1.ChipList.Layout|null);
10449
+
10450
+ /** ChipList chips */
10451
+ chips?: (google.apps.card.v1.IChip[]|null);
10452
+ }
10453
+
10454
+ /** Represents a ChipList. */
10455
+ class ChipList implements IChipList {
10456
+
10457
+ /**
10458
+ * Constructs a new ChipList.
10459
+ * @param [properties] Properties to set
10460
+ */
10461
+ constructor(properties?: google.apps.card.v1.IChipList);
10462
+
10463
+ /** ChipList layout. */
10464
+ public layout: (google.apps.card.v1.ChipList.Layout|keyof typeof google.apps.card.v1.ChipList.Layout);
10465
+
10466
+ /** ChipList chips. */
10467
+ public chips: google.apps.card.v1.IChip[];
10468
+
10469
+ /**
10470
+ * Creates a new ChipList instance using the specified properties.
10471
+ * @param [properties] Properties to set
10472
+ * @returns ChipList instance
10473
+ */
10474
+ public static create(properties?: google.apps.card.v1.IChipList): google.apps.card.v1.ChipList;
10475
+
10476
+ /**
10477
+ * Encodes the specified ChipList message. Does not implicitly {@link google.apps.card.v1.ChipList.verify|verify} messages.
10478
+ * @param message ChipList message or plain object to encode
10479
+ * @param [writer] Writer to encode to
10480
+ * @returns Writer
10481
+ */
10482
+ public static encode(message: google.apps.card.v1.IChipList, writer?: $protobuf.Writer): $protobuf.Writer;
10483
+
10484
+ /**
10485
+ * Encodes the specified ChipList message, length delimited. Does not implicitly {@link google.apps.card.v1.ChipList.verify|verify} messages.
10486
+ * @param message ChipList message or plain object to encode
10487
+ * @param [writer] Writer to encode to
10488
+ * @returns Writer
10489
+ */
10490
+ public static encodeDelimited(message: google.apps.card.v1.IChipList, writer?: $protobuf.Writer): $protobuf.Writer;
10491
+
10492
+ /**
10493
+ * Decodes a ChipList message from the specified reader or buffer.
10494
+ * @param reader Reader or buffer to decode from
10495
+ * @param [length] Message length if known beforehand
10496
+ * @returns ChipList
10497
+ * @throws {Error} If the payload is not a reader or valid buffer
10498
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10499
+ */
10500
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.ChipList;
10501
+
10502
+ /**
10503
+ * Decodes a ChipList message from the specified reader or buffer, length delimited.
10504
+ * @param reader Reader or buffer to decode from
10505
+ * @returns ChipList
10506
+ * @throws {Error} If the payload is not a reader or valid buffer
10507
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10508
+ */
10509
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.ChipList;
10510
+
10511
+ /**
10512
+ * Verifies a ChipList message.
10513
+ * @param message Plain object to verify
10514
+ * @returns `null` if valid, otherwise the reason why it is not
10515
+ */
10516
+ public static verify(message: { [k: string]: any }): (string|null);
10517
+
10518
+ /**
10519
+ * Creates a ChipList message from a plain object. Also converts values to their respective internal types.
10520
+ * @param object Plain object
10521
+ * @returns ChipList
10522
+ */
10523
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.ChipList;
10524
+
10525
+ /**
10526
+ * Creates a plain object from a ChipList message. Also converts values to other types if specified.
10527
+ * @param message ChipList
10528
+ * @param [options] Conversion options
10529
+ * @returns Plain object
10530
+ */
10531
+ public static toObject(message: google.apps.card.v1.ChipList, options?: $protobuf.IConversionOptions): { [k: string]: any };
10532
+
10533
+ /**
10534
+ * Converts this ChipList to JSON.
10535
+ * @returns JSON object
10536
+ */
10537
+ public toJSON(): { [k: string]: any };
10538
+
10539
+ /**
10540
+ * Gets the default type url for ChipList
10541
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10542
+ * @returns The default type url
10543
+ */
10544
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10545
+ }
10546
+
10547
+ namespace ChipList {
10548
+
10549
+ /** Layout enum. */
10550
+ enum Layout {
10551
+ LAYOUT_UNSPECIFIED = 0,
10552
+ WRAPPED = 1,
10553
+ HORIZONTAL_SCROLLABLE = 2
10554
+ }
10555
+ }
10556
+
10557
+ /** Properties of a Chip. */
10558
+ interface IChip {
10559
+
10560
+ /** Chip icon */
10561
+ icon?: (google.apps.card.v1.IIcon|null);
10562
+
10563
+ /** Chip label */
10564
+ label?: (string|null);
10565
+
10566
+ /** Chip onClick */
10567
+ onClick?: (google.apps.card.v1.IOnClick|null);
10568
+
10569
+ /** Chip enabled */
10570
+ enabled?: (boolean|null);
10571
+
10572
+ /** Chip disabled */
10573
+ disabled?: (boolean|null);
10574
+
10575
+ /** Chip altText */
10576
+ altText?: (string|null);
10577
+ }
10578
+
10579
+ /** Represents a Chip. */
10580
+ class Chip implements IChip {
10581
+
10582
+ /**
10583
+ * Constructs a new Chip.
10584
+ * @param [properties] Properties to set
10585
+ */
10586
+ constructor(properties?: google.apps.card.v1.IChip);
10587
+
10588
+ /** Chip icon. */
10589
+ public icon?: (google.apps.card.v1.IIcon|null);
10590
+
10591
+ /** Chip label. */
10592
+ public label: string;
10593
+
10594
+ /** Chip onClick. */
10595
+ public onClick?: (google.apps.card.v1.IOnClick|null);
10596
+
10597
+ /** Chip enabled. */
10598
+ public enabled: boolean;
10599
+
10600
+ /** Chip disabled. */
10601
+ public disabled: boolean;
10602
+
10603
+ /** Chip altText. */
10604
+ public altText: string;
10605
+
10606
+ /**
10607
+ * Creates a new Chip instance using the specified properties.
10608
+ * @param [properties] Properties to set
10609
+ * @returns Chip instance
10610
+ */
10611
+ public static create(properties?: google.apps.card.v1.IChip): google.apps.card.v1.Chip;
10612
+
10613
+ /**
10614
+ * Encodes the specified Chip message. Does not implicitly {@link google.apps.card.v1.Chip.verify|verify} messages.
10615
+ * @param message Chip message or plain object to encode
10616
+ * @param [writer] Writer to encode to
10617
+ * @returns Writer
10618
+ */
10619
+ public static encode(message: google.apps.card.v1.IChip, writer?: $protobuf.Writer): $protobuf.Writer;
10620
+
10621
+ /**
10622
+ * Encodes the specified Chip message, length delimited. Does not implicitly {@link google.apps.card.v1.Chip.verify|verify} messages.
10623
+ * @param message Chip message or plain object to encode
10624
+ * @param [writer] Writer to encode to
10625
+ * @returns Writer
10626
+ */
10627
+ public static encodeDelimited(message: google.apps.card.v1.IChip, writer?: $protobuf.Writer): $protobuf.Writer;
10628
+
10629
+ /**
10630
+ * Decodes a Chip message from the specified reader or buffer.
10631
+ * @param reader Reader or buffer to decode from
10632
+ * @param [length] Message length if known beforehand
10633
+ * @returns Chip
10634
+ * @throws {Error} If the payload is not a reader or valid buffer
10635
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10636
+ */
10637
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.apps.card.v1.Chip;
10638
+
10639
+ /**
10640
+ * Decodes a Chip message from the specified reader or buffer, length delimited.
10641
+ * @param reader Reader or buffer to decode from
10642
+ * @returns Chip
10643
+ * @throws {Error} If the payload is not a reader or valid buffer
10644
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
10645
+ */
10646
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.apps.card.v1.Chip;
10647
+
10648
+ /**
10649
+ * Verifies a Chip message.
10650
+ * @param message Plain object to verify
10651
+ * @returns `null` if valid, otherwise the reason why it is not
10652
+ */
10653
+ public static verify(message: { [k: string]: any }): (string|null);
10654
+
10655
+ /**
10656
+ * Creates a Chip message from a plain object. Also converts values to their respective internal types.
10657
+ * @param object Plain object
10658
+ * @returns Chip
10659
+ */
10660
+ public static fromObject(object: { [k: string]: any }): google.apps.card.v1.Chip;
10661
+
10662
+ /**
10663
+ * Creates a plain object from a Chip message. Also converts values to other types if specified.
10664
+ * @param message Chip
10665
+ * @param [options] Conversion options
10666
+ * @returns Plain object
10667
+ */
10668
+ public static toObject(message: google.apps.card.v1.Chip, options?: $protobuf.IConversionOptions): { [k: string]: any };
10669
+
10670
+ /**
10671
+ * Converts this Chip to JSON.
10672
+ * @returns JSON object
10673
+ */
10674
+ public toJSON(): { [k: string]: any };
10675
+
10676
+ /**
10677
+ * Gets the default type url for Chip
10678
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10679
+ * @returns The default type url
10680
+ */
10681
+ public static getTypeUrl(typeUrlPrefix?: string): string;
10682
+ }
9565
10683
  }
9566
10684
  }
9567
10685
  }
@@ -14019,7 +15137,8 @@ export namespace google {
14019
15137
  enum MembershipRole {
14020
15138
  MEMBERSHIP_ROLE_UNSPECIFIED = 0,
14021
15139
  ROLE_MEMBER = 1,
14022
- ROLE_MANAGER = 2
15140
+ ROLE_MANAGER = 2,
15141
+ ROLE_ASSISTANT_MANAGER = 4
14023
15142
  }
14024
15143
  }
14025
15144
 
@@ -19555,6 +20674,9 @@ export namespace google {
19555
20674
  /** PermissionSetting managersAllowed */
19556
20675
  managersAllowed?: (boolean|null);
19557
20676
 
20677
+ /** PermissionSetting assistantManagersAllowed */
20678
+ assistantManagersAllowed?: (boolean|null);
20679
+
19558
20680
  /** PermissionSetting membersAllowed */
19559
20681
  membersAllowed?: (boolean|null);
19560
20682
  }
@@ -19571,6 +20693,9 @@ export namespace google {
19571
20693
  /** PermissionSetting managersAllowed. */
19572
20694
  public managersAllowed: boolean;
19573
20695
 
20696
+ /** PermissionSetting assistantManagersAllowed. */
20697
+ public assistantManagersAllowed?: (boolean|null);
20698
+
19574
20699
  /** PermissionSetting membersAllowed. */
19575
20700
  public membersAllowed: boolean;
19576
20701