@google-apps/chat 0.22.0 → 0.23.1
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/README.md +7 -0
- package/build/protos/google/apps/card/v1/card.proto +21 -1
- package/build/protos/google/chat/v1/chat_service.proto +152 -12
- package/build/protos/google/chat/v1/message.proto +75 -1
- package/build/protos/google/chat/v1/section.proto +344 -0
- package/build/protos/protos.d.ts +1783 -0
- package/build/protos/protos.js +13397 -9237
- package/build/protos/protos.json +514 -2
- package/build/src/index.js +1 -1
- package/build/src/v1/chat_service_client.d.ts +592 -11
- package/build/src/v1/chat_service_client.js +578 -2
- package/build/src/v1/chat_service_client.js.map +1 -1
- package/build/src/v1/chat_service_client_config.json +35 -0
- package/build/src/v1/chat_service_proto_list.json +1 -0
- package/build/src/v1/gapic_metadata.json +78 -0
- package/package.json +10 -2
- package/LICENSE +0 -202
package/build/protos/protos.d.ts
CHANGED
|
@@ -14738,6 +14738,104 @@ export namespace google {
|
|
|
14738
14738
|
* @returns Promise
|
|
14739
14739
|
*/
|
|
14740
14740
|
public updateSpaceNotificationSetting(request: google.chat.v1.IUpdateSpaceNotificationSettingRequest): Promise<google.chat.v1.SpaceNotificationSetting>;
|
|
14741
|
+
|
|
14742
|
+
/**
|
|
14743
|
+
* Calls CreateSection.
|
|
14744
|
+
* @param request CreateSectionRequest message or plain object
|
|
14745
|
+
* @param callback Node-style callback called with the error, if any, and Section
|
|
14746
|
+
*/
|
|
14747
|
+
public createSection(request: google.chat.v1.ICreateSectionRequest, callback: google.chat.v1.ChatService.CreateSectionCallback): void;
|
|
14748
|
+
|
|
14749
|
+
/**
|
|
14750
|
+
* Calls CreateSection.
|
|
14751
|
+
* @param request CreateSectionRequest message or plain object
|
|
14752
|
+
* @returns Promise
|
|
14753
|
+
*/
|
|
14754
|
+
public createSection(request: google.chat.v1.ICreateSectionRequest): Promise<google.chat.v1.Section>;
|
|
14755
|
+
|
|
14756
|
+
/**
|
|
14757
|
+
* Calls DeleteSection.
|
|
14758
|
+
* @param request DeleteSectionRequest message or plain object
|
|
14759
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
14760
|
+
*/
|
|
14761
|
+
public deleteSection(request: google.chat.v1.IDeleteSectionRequest, callback: google.chat.v1.ChatService.DeleteSectionCallback): void;
|
|
14762
|
+
|
|
14763
|
+
/**
|
|
14764
|
+
* Calls DeleteSection.
|
|
14765
|
+
* @param request DeleteSectionRequest message or plain object
|
|
14766
|
+
* @returns Promise
|
|
14767
|
+
*/
|
|
14768
|
+
public deleteSection(request: google.chat.v1.IDeleteSectionRequest): Promise<google.protobuf.Empty>;
|
|
14769
|
+
|
|
14770
|
+
/**
|
|
14771
|
+
* Calls UpdateSection.
|
|
14772
|
+
* @param request UpdateSectionRequest message or plain object
|
|
14773
|
+
* @param callback Node-style callback called with the error, if any, and Section
|
|
14774
|
+
*/
|
|
14775
|
+
public updateSection(request: google.chat.v1.IUpdateSectionRequest, callback: google.chat.v1.ChatService.UpdateSectionCallback): void;
|
|
14776
|
+
|
|
14777
|
+
/**
|
|
14778
|
+
* Calls UpdateSection.
|
|
14779
|
+
* @param request UpdateSectionRequest message or plain object
|
|
14780
|
+
* @returns Promise
|
|
14781
|
+
*/
|
|
14782
|
+
public updateSection(request: google.chat.v1.IUpdateSectionRequest): Promise<google.chat.v1.Section>;
|
|
14783
|
+
|
|
14784
|
+
/**
|
|
14785
|
+
* Calls ListSections.
|
|
14786
|
+
* @param request ListSectionsRequest message or plain object
|
|
14787
|
+
* @param callback Node-style callback called with the error, if any, and ListSectionsResponse
|
|
14788
|
+
*/
|
|
14789
|
+
public listSections(request: google.chat.v1.IListSectionsRequest, callback: google.chat.v1.ChatService.ListSectionsCallback): void;
|
|
14790
|
+
|
|
14791
|
+
/**
|
|
14792
|
+
* Calls ListSections.
|
|
14793
|
+
* @param request ListSectionsRequest message or plain object
|
|
14794
|
+
* @returns Promise
|
|
14795
|
+
*/
|
|
14796
|
+
public listSections(request: google.chat.v1.IListSectionsRequest): Promise<google.chat.v1.ListSectionsResponse>;
|
|
14797
|
+
|
|
14798
|
+
/**
|
|
14799
|
+
* Calls PositionSection.
|
|
14800
|
+
* @param request PositionSectionRequest message or plain object
|
|
14801
|
+
* @param callback Node-style callback called with the error, if any, and PositionSectionResponse
|
|
14802
|
+
*/
|
|
14803
|
+
public positionSection(request: google.chat.v1.IPositionSectionRequest, callback: google.chat.v1.ChatService.PositionSectionCallback): void;
|
|
14804
|
+
|
|
14805
|
+
/**
|
|
14806
|
+
* Calls PositionSection.
|
|
14807
|
+
* @param request PositionSectionRequest message or plain object
|
|
14808
|
+
* @returns Promise
|
|
14809
|
+
*/
|
|
14810
|
+
public positionSection(request: google.chat.v1.IPositionSectionRequest): Promise<google.chat.v1.PositionSectionResponse>;
|
|
14811
|
+
|
|
14812
|
+
/**
|
|
14813
|
+
* Calls ListSectionItems.
|
|
14814
|
+
* @param request ListSectionItemsRequest message or plain object
|
|
14815
|
+
* @param callback Node-style callback called with the error, if any, and ListSectionItemsResponse
|
|
14816
|
+
*/
|
|
14817
|
+
public listSectionItems(request: google.chat.v1.IListSectionItemsRequest, callback: google.chat.v1.ChatService.ListSectionItemsCallback): void;
|
|
14818
|
+
|
|
14819
|
+
/**
|
|
14820
|
+
* Calls ListSectionItems.
|
|
14821
|
+
* @param request ListSectionItemsRequest message or plain object
|
|
14822
|
+
* @returns Promise
|
|
14823
|
+
*/
|
|
14824
|
+
public listSectionItems(request: google.chat.v1.IListSectionItemsRequest): Promise<google.chat.v1.ListSectionItemsResponse>;
|
|
14825
|
+
|
|
14826
|
+
/**
|
|
14827
|
+
* Calls MoveSectionItem.
|
|
14828
|
+
* @param request MoveSectionItemRequest message or plain object
|
|
14829
|
+
* @param callback Node-style callback called with the error, if any, and MoveSectionItemResponse
|
|
14830
|
+
*/
|
|
14831
|
+
public moveSectionItem(request: google.chat.v1.IMoveSectionItemRequest, callback: google.chat.v1.ChatService.MoveSectionItemCallback): void;
|
|
14832
|
+
|
|
14833
|
+
/**
|
|
14834
|
+
* Calls MoveSectionItem.
|
|
14835
|
+
* @param request MoveSectionItemRequest message or plain object
|
|
14836
|
+
* @returns Promise
|
|
14837
|
+
*/
|
|
14838
|
+
public moveSectionItem(request: google.chat.v1.IMoveSectionItemRequest): Promise<google.chat.v1.MoveSectionItemResponse>;
|
|
14741
14839
|
}
|
|
14742
14840
|
|
|
14743
14841
|
namespace ChatService {
|
|
@@ -14986,6 +15084,55 @@ export namespace google {
|
|
|
14986
15084
|
* @param [response] SpaceNotificationSetting
|
|
14987
15085
|
*/
|
|
14988
15086
|
type UpdateSpaceNotificationSettingCallback = (error: (Error|null), response?: google.chat.v1.SpaceNotificationSetting) => void;
|
|
15087
|
+
|
|
15088
|
+
/**
|
|
15089
|
+
* Callback as used by {@link google.chat.v1.ChatService|createSection}.
|
|
15090
|
+
* @param error Error, if any
|
|
15091
|
+
* @param [response] Section
|
|
15092
|
+
*/
|
|
15093
|
+
type CreateSectionCallback = (error: (Error|null), response?: google.chat.v1.Section) => void;
|
|
15094
|
+
|
|
15095
|
+
/**
|
|
15096
|
+
* Callback as used by {@link google.chat.v1.ChatService|deleteSection}.
|
|
15097
|
+
* @param error Error, if any
|
|
15098
|
+
* @param [response] Empty
|
|
15099
|
+
*/
|
|
15100
|
+
type DeleteSectionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
15101
|
+
|
|
15102
|
+
/**
|
|
15103
|
+
* Callback as used by {@link google.chat.v1.ChatService|updateSection}.
|
|
15104
|
+
* @param error Error, if any
|
|
15105
|
+
* @param [response] Section
|
|
15106
|
+
*/
|
|
15107
|
+
type UpdateSectionCallback = (error: (Error|null), response?: google.chat.v1.Section) => void;
|
|
15108
|
+
|
|
15109
|
+
/**
|
|
15110
|
+
* Callback as used by {@link google.chat.v1.ChatService|listSections}.
|
|
15111
|
+
* @param error Error, if any
|
|
15112
|
+
* @param [response] ListSectionsResponse
|
|
15113
|
+
*/
|
|
15114
|
+
type ListSectionsCallback = (error: (Error|null), response?: google.chat.v1.ListSectionsResponse) => void;
|
|
15115
|
+
|
|
15116
|
+
/**
|
|
15117
|
+
* Callback as used by {@link google.chat.v1.ChatService|positionSection}.
|
|
15118
|
+
* @param error Error, if any
|
|
15119
|
+
* @param [response] PositionSectionResponse
|
|
15120
|
+
*/
|
|
15121
|
+
type PositionSectionCallback = (error: (Error|null), response?: google.chat.v1.PositionSectionResponse) => void;
|
|
15122
|
+
|
|
15123
|
+
/**
|
|
15124
|
+
* Callback as used by {@link google.chat.v1.ChatService|listSectionItems}.
|
|
15125
|
+
* @param error Error, if any
|
|
15126
|
+
* @param [response] ListSectionItemsResponse
|
|
15127
|
+
*/
|
|
15128
|
+
type ListSectionItemsCallback = (error: (Error|null), response?: google.chat.v1.ListSectionItemsResponse) => void;
|
|
15129
|
+
|
|
15130
|
+
/**
|
|
15131
|
+
* Callback as used by {@link google.chat.v1.ChatService|moveSectionItem}.
|
|
15132
|
+
* @param error Error, if any
|
|
15133
|
+
* @param [response] MoveSectionItemResponse
|
|
15134
|
+
*/
|
|
15135
|
+
type MoveSectionItemCallback = (error: (Error|null), response?: google.chat.v1.MoveSectionItemResponse) => void;
|
|
14989
15136
|
}
|
|
14990
15137
|
|
|
14991
15138
|
/** Properties of a Membership. */
|
|
@@ -16252,6 +16399,15 @@ export namespace google {
|
|
|
16252
16399
|
|
|
16253
16400
|
/** QuotedMessageMetadata lastUpdateTime */
|
|
16254
16401
|
lastUpdateTime?: (google.protobuf.ITimestamp|null);
|
|
16402
|
+
|
|
16403
|
+
/** QuotedMessageMetadata quoteType */
|
|
16404
|
+
quoteType?: (google.chat.v1.QuotedMessageMetadata.QuoteType|keyof typeof google.chat.v1.QuotedMessageMetadata.QuoteType|null);
|
|
16405
|
+
|
|
16406
|
+
/** QuotedMessageMetadata quotedMessageSnapshot */
|
|
16407
|
+
quotedMessageSnapshot?: (google.chat.v1.IQuotedMessageSnapshot|null);
|
|
16408
|
+
|
|
16409
|
+
/** QuotedMessageMetadata forwardedMetadata */
|
|
16410
|
+
forwardedMetadata?: (google.chat.v1.IForwardedMetadata|null);
|
|
16255
16411
|
}
|
|
16256
16412
|
|
|
16257
16413
|
/** Represents a QuotedMessageMetadata. */
|
|
@@ -16269,6 +16425,15 @@ export namespace google {
|
|
|
16269
16425
|
/** QuotedMessageMetadata lastUpdateTime. */
|
|
16270
16426
|
public lastUpdateTime?: (google.protobuf.ITimestamp|null);
|
|
16271
16427
|
|
|
16428
|
+
/** QuotedMessageMetadata quoteType. */
|
|
16429
|
+
public quoteType: (google.chat.v1.QuotedMessageMetadata.QuoteType|keyof typeof google.chat.v1.QuotedMessageMetadata.QuoteType);
|
|
16430
|
+
|
|
16431
|
+
/** QuotedMessageMetadata quotedMessageSnapshot. */
|
|
16432
|
+
public quotedMessageSnapshot?: (google.chat.v1.IQuotedMessageSnapshot|null);
|
|
16433
|
+
|
|
16434
|
+
/** QuotedMessageMetadata forwardedMetadata. */
|
|
16435
|
+
public forwardedMetadata?: (google.chat.v1.IForwardedMetadata|null);
|
|
16436
|
+
|
|
16272
16437
|
/**
|
|
16273
16438
|
* Creates a new QuotedMessageMetadata instance using the specified properties.
|
|
16274
16439
|
* @param [properties] Properties to set
|
|
@@ -16347,6 +16512,239 @@ export namespace google {
|
|
|
16347
16512
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16348
16513
|
}
|
|
16349
16514
|
|
|
16515
|
+
namespace QuotedMessageMetadata {
|
|
16516
|
+
|
|
16517
|
+
/** QuoteType enum. */
|
|
16518
|
+
enum QuoteType {
|
|
16519
|
+
QUOTE_TYPE_UNSPECIFIED = 0,
|
|
16520
|
+
REPLY = 1
|
|
16521
|
+
}
|
|
16522
|
+
}
|
|
16523
|
+
|
|
16524
|
+
/** Properties of a QuotedMessageSnapshot. */
|
|
16525
|
+
interface IQuotedMessageSnapshot {
|
|
16526
|
+
|
|
16527
|
+
/** QuotedMessageSnapshot sender */
|
|
16528
|
+
sender?: (string|null);
|
|
16529
|
+
|
|
16530
|
+
/** QuotedMessageSnapshot text */
|
|
16531
|
+
text?: (string|null);
|
|
16532
|
+
|
|
16533
|
+
/** QuotedMessageSnapshot formattedText */
|
|
16534
|
+
formattedText?: (string|null);
|
|
16535
|
+
|
|
16536
|
+
/** QuotedMessageSnapshot annotations */
|
|
16537
|
+
annotations?: (google.chat.v1.IAnnotation[]|null);
|
|
16538
|
+
|
|
16539
|
+
/** QuotedMessageSnapshot attachments */
|
|
16540
|
+
attachments?: (google.chat.v1.IAttachment[]|null);
|
|
16541
|
+
}
|
|
16542
|
+
|
|
16543
|
+
/** Represents a QuotedMessageSnapshot. */
|
|
16544
|
+
class QuotedMessageSnapshot implements IQuotedMessageSnapshot {
|
|
16545
|
+
|
|
16546
|
+
/**
|
|
16547
|
+
* Constructs a new QuotedMessageSnapshot.
|
|
16548
|
+
* @param [properties] Properties to set
|
|
16549
|
+
*/
|
|
16550
|
+
constructor(properties?: google.chat.v1.IQuotedMessageSnapshot);
|
|
16551
|
+
|
|
16552
|
+
/** QuotedMessageSnapshot sender. */
|
|
16553
|
+
public sender: string;
|
|
16554
|
+
|
|
16555
|
+
/** QuotedMessageSnapshot text. */
|
|
16556
|
+
public text: string;
|
|
16557
|
+
|
|
16558
|
+
/** QuotedMessageSnapshot formattedText. */
|
|
16559
|
+
public formattedText: string;
|
|
16560
|
+
|
|
16561
|
+
/** QuotedMessageSnapshot annotations. */
|
|
16562
|
+
public annotations: google.chat.v1.IAnnotation[];
|
|
16563
|
+
|
|
16564
|
+
/** QuotedMessageSnapshot attachments. */
|
|
16565
|
+
public attachments: google.chat.v1.IAttachment[];
|
|
16566
|
+
|
|
16567
|
+
/**
|
|
16568
|
+
* Creates a new QuotedMessageSnapshot instance using the specified properties.
|
|
16569
|
+
* @param [properties] Properties to set
|
|
16570
|
+
* @returns QuotedMessageSnapshot instance
|
|
16571
|
+
*/
|
|
16572
|
+
public static create(properties?: google.chat.v1.IQuotedMessageSnapshot): google.chat.v1.QuotedMessageSnapshot;
|
|
16573
|
+
|
|
16574
|
+
/**
|
|
16575
|
+
* Encodes the specified QuotedMessageSnapshot message. Does not implicitly {@link google.chat.v1.QuotedMessageSnapshot.verify|verify} messages.
|
|
16576
|
+
* @param message QuotedMessageSnapshot message or plain object to encode
|
|
16577
|
+
* @param [writer] Writer to encode to
|
|
16578
|
+
* @returns Writer
|
|
16579
|
+
*/
|
|
16580
|
+
public static encode(message: google.chat.v1.IQuotedMessageSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16581
|
+
|
|
16582
|
+
/**
|
|
16583
|
+
* Encodes the specified QuotedMessageSnapshot message, length delimited. Does not implicitly {@link google.chat.v1.QuotedMessageSnapshot.verify|verify} messages.
|
|
16584
|
+
* @param message QuotedMessageSnapshot message or plain object to encode
|
|
16585
|
+
* @param [writer] Writer to encode to
|
|
16586
|
+
* @returns Writer
|
|
16587
|
+
*/
|
|
16588
|
+
public static encodeDelimited(message: google.chat.v1.IQuotedMessageSnapshot, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16589
|
+
|
|
16590
|
+
/**
|
|
16591
|
+
* Decodes a QuotedMessageSnapshot message from the specified reader or buffer.
|
|
16592
|
+
* @param reader Reader or buffer to decode from
|
|
16593
|
+
* @param [length] Message length if known beforehand
|
|
16594
|
+
* @returns QuotedMessageSnapshot
|
|
16595
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16596
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16597
|
+
*/
|
|
16598
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.QuotedMessageSnapshot;
|
|
16599
|
+
|
|
16600
|
+
/**
|
|
16601
|
+
* Decodes a QuotedMessageSnapshot message from the specified reader or buffer, length delimited.
|
|
16602
|
+
* @param reader Reader or buffer to decode from
|
|
16603
|
+
* @returns QuotedMessageSnapshot
|
|
16604
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16605
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16606
|
+
*/
|
|
16607
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.QuotedMessageSnapshot;
|
|
16608
|
+
|
|
16609
|
+
/**
|
|
16610
|
+
* Verifies a QuotedMessageSnapshot message.
|
|
16611
|
+
* @param message Plain object to verify
|
|
16612
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16613
|
+
*/
|
|
16614
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16615
|
+
|
|
16616
|
+
/**
|
|
16617
|
+
* Creates a QuotedMessageSnapshot message from a plain object. Also converts values to their respective internal types.
|
|
16618
|
+
* @param object Plain object
|
|
16619
|
+
* @returns QuotedMessageSnapshot
|
|
16620
|
+
*/
|
|
16621
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.QuotedMessageSnapshot;
|
|
16622
|
+
|
|
16623
|
+
/**
|
|
16624
|
+
* Creates a plain object from a QuotedMessageSnapshot message. Also converts values to other types if specified.
|
|
16625
|
+
* @param message QuotedMessageSnapshot
|
|
16626
|
+
* @param [options] Conversion options
|
|
16627
|
+
* @returns Plain object
|
|
16628
|
+
*/
|
|
16629
|
+
public static toObject(message: google.chat.v1.QuotedMessageSnapshot, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16630
|
+
|
|
16631
|
+
/**
|
|
16632
|
+
* Converts this QuotedMessageSnapshot to JSON.
|
|
16633
|
+
* @returns JSON object
|
|
16634
|
+
*/
|
|
16635
|
+
public toJSON(): { [k: string]: any };
|
|
16636
|
+
|
|
16637
|
+
/**
|
|
16638
|
+
* Gets the default type url for QuotedMessageSnapshot
|
|
16639
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16640
|
+
* @returns The default type url
|
|
16641
|
+
*/
|
|
16642
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16643
|
+
}
|
|
16644
|
+
|
|
16645
|
+
/** Properties of a ForwardedMetadata. */
|
|
16646
|
+
interface IForwardedMetadata {
|
|
16647
|
+
|
|
16648
|
+
/** ForwardedMetadata space */
|
|
16649
|
+
space?: (string|null);
|
|
16650
|
+
|
|
16651
|
+
/** ForwardedMetadata spaceDisplayName */
|
|
16652
|
+
spaceDisplayName?: (string|null);
|
|
16653
|
+
}
|
|
16654
|
+
|
|
16655
|
+
/** Represents a ForwardedMetadata. */
|
|
16656
|
+
class ForwardedMetadata implements IForwardedMetadata {
|
|
16657
|
+
|
|
16658
|
+
/**
|
|
16659
|
+
* Constructs a new ForwardedMetadata.
|
|
16660
|
+
* @param [properties] Properties to set
|
|
16661
|
+
*/
|
|
16662
|
+
constructor(properties?: google.chat.v1.IForwardedMetadata);
|
|
16663
|
+
|
|
16664
|
+
/** ForwardedMetadata space. */
|
|
16665
|
+
public space: string;
|
|
16666
|
+
|
|
16667
|
+
/** ForwardedMetadata spaceDisplayName. */
|
|
16668
|
+
public spaceDisplayName: string;
|
|
16669
|
+
|
|
16670
|
+
/**
|
|
16671
|
+
* Creates a new ForwardedMetadata instance using the specified properties.
|
|
16672
|
+
* @param [properties] Properties to set
|
|
16673
|
+
* @returns ForwardedMetadata instance
|
|
16674
|
+
*/
|
|
16675
|
+
public static create(properties?: google.chat.v1.IForwardedMetadata): google.chat.v1.ForwardedMetadata;
|
|
16676
|
+
|
|
16677
|
+
/**
|
|
16678
|
+
* Encodes the specified ForwardedMetadata message. Does not implicitly {@link google.chat.v1.ForwardedMetadata.verify|verify} messages.
|
|
16679
|
+
* @param message ForwardedMetadata message or plain object to encode
|
|
16680
|
+
* @param [writer] Writer to encode to
|
|
16681
|
+
* @returns Writer
|
|
16682
|
+
*/
|
|
16683
|
+
public static encode(message: google.chat.v1.IForwardedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16684
|
+
|
|
16685
|
+
/**
|
|
16686
|
+
* Encodes the specified ForwardedMetadata message, length delimited. Does not implicitly {@link google.chat.v1.ForwardedMetadata.verify|verify} messages.
|
|
16687
|
+
* @param message ForwardedMetadata message or plain object to encode
|
|
16688
|
+
* @param [writer] Writer to encode to
|
|
16689
|
+
* @returns Writer
|
|
16690
|
+
*/
|
|
16691
|
+
public static encodeDelimited(message: google.chat.v1.IForwardedMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
16692
|
+
|
|
16693
|
+
/**
|
|
16694
|
+
* Decodes a ForwardedMetadata message from the specified reader or buffer.
|
|
16695
|
+
* @param reader Reader or buffer to decode from
|
|
16696
|
+
* @param [length] Message length if known beforehand
|
|
16697
|
+
* @returns ForwardedMetadata
|
|
16698
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16699
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16700
|
+
*/
|
|
16701
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ForwardedMetadata;
|
|
16702
|
+
|
|
16703
|
+
/**
|
|
16704
|
+
* Decodes a ForwardedMetadata message from the specified reader or buffer, length delimited.
|
|
16705
|
+
* @param reader Reader or buffer to decode from
|
|
16706
|
+
* @returns ForwardedMetadata
|
|
16707
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16708
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16709
|
+
*/
|
|
16710
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ForwardedMetadata;
|
|
16711
|
+
|
|
16712
|
+
/**
|
|
16713
|
+
* Verifies a ForwardedMetadata message.
|
|
16714
|
+
* @param message Plain object to verify
|
|
16715
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16716
|
+
*/
|
|
16717
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
16718
|
+
|
|
16719
|
+
/**
|
|
16720
|
+
* Creates a ForwardedMetadata message from a plain object. Also converts values to their respective internal types.
|
|
16721
|
+
* @param object Plain object
|
|
16722
|
+
* @returns ForwardedMetadata
|
|
16723
|
+
*/
|
|
16724
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ForwardedMetadata;
|
|
16725
|
+
|
|
16726
|
+
/**
|
|
16727
|
+
* Creates a plain object from a ForwardedMetadata message. Also converts values to other types if specified.
|
|
16728
|
+
* @param message ForwardedMetadata
|
|
16729
|
+
* @param [options] Conversion options
|
|
16730
|
+
* @returns Plain object
|
|
16731
|
+
*/
|
|
16732
|
+
public static toObject(message: google.chat.v1.ForwardedMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
16733
|
+
|
|
16734
|
+
/**
|
|
16735
|
+
* Converts this ForwardedMetadata to JSON.
|
|
16736
|
+
* @returns JSON object
|
|
16737
|
+
*/
|
|
16738
|
+
public toJSON(): { [k: string]: any };
|
|
16739
|
+
|
|
16740
|
+
/**
|
|
16741
|
+
* Gets the default type url for ForwardedMetadata
|
|
16742
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16743
|
+
* @returns The default type url
|
|
16744
|
+
*/
|
|
16745
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16746
|
+
}
|
|
16747
|
+
|
|
16350
16748
|
/** Properties of a Thread. */
|
|
16351
16749
|
interface IThread {
|
|
16352
16750
|
|
|
@@ -21937,6 +22335,1391 @@ export namespace google {
|
|
|
21937
22335
|
HISTORY_ON = 2
|
|
21938
22336
|
}
|
|
21939
22337
|
|
|
22338
|
+
/** Properties of a Section. */
|
|
22339
|
+
interface ISection {
|
|
22340
|
+
|
|
22341
|
+
/** Section name */
|
|
22342
|
+
name?: (string|null);
|
|
22343
|
+
|
|
22344
|
+
/** Section displayName */
|
|
22345
|
+
displayName?: (string|null);
|
|
22346
|
+
|
|
22347
|
+
/** Section sortOrder */
|
|
22348
|
+
sortOrder?: (number|null);
|
|
22349
|
+
|
|
22350
|
+
/** Section type */
|
|
22351
|
+
type?: (google.chat.v1.Section.SectionType|keyof typeof google.chat.v1.Section.SectionType|null);
|
|
22352
|
+
}
|
|
22353
|
+
|
|
22354
|
+
/** Represents a Section. */
|
|
22355
|
+
class Section implements ISection {
|
|
22356
|
+
|
|
22357
|
+
/**
|
|
22358
|
+
* Constructs a new Section.
|
|
22359
|
+
* @param [properties] Properties to set
|
|
22360
|
+
*/
|
|
22361
|
+
constructor(properties?: google.chat.v1.ISection);
|
|
22362
|
+
|
|
22363
|
+
/** Section name. */
|
|
22364
|
+
public name: string;
|
|
22365
|
+
|
|
22366
|
+
/** Section displayName. */
|
|
22367
|
+
public displayName: string;
|
|
22368
|
+
|
|
22369
|
+
/** Section sortOrder. */
|
|
22370
|
+
public sortOrder: number;
|
|
22371
|
+
|
|
22372
|
+
/** Section type. */
|
|
22373
|
+
public type: (google.chat.v1.Section.SectionType|keyof typeof google.chat.v1.Section.SectionType);
|
|
22374
|
+
|
|
22375
|
+
/**
|
|
22376
|
+
* Creates a new Section instance using the specified properties.
|
|
22377
|
+
* @param [properties] Properties to set
|
|
22378
|
+
* @returns Section instance
|
|
22379
|
+
*/
|
|
22380
|
+
public static create(properties?: google.chat.v1.ISection): google.chat.v1.Section;
|
|
22381
|
+
|
|
22382
|
+
/**
|
|
22383
|
+
* Encodes the specified Section message. Does not implicitly {@link google.chat.v1.Section.verify|verify} messages.
|
|
22384
|
+
* @param message Section message or plain object to encode
|
|
22385
|
+
* @param [writer] Writer to encode to
|
|
22386
|
+
* @returns Writer
|
|
22387
|
+
*/
|
|
22388
|
+
public static encode(message: google.chat.v1.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22389
|
+
|
|
22390
|
+
/**
|
|
22391
|
+
* Encodes the specified Section message, length delimited. Does not implicitly {@link google.chat.v1.Section.verify|verify} messages.
|
|
22392
|
+
* @param message Section message or plain object to encode
|
|
22393
|
+
* @param [writer] Writer to encode to
|
|
22394
|
+
* @returns Writer
|
|
22395
|
+
*/
|
|
22396
|
+
public static encodeDelimited(message: google.chat.v1.ISection, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22397
|
+
|
|
22398
|
+
/**
|
|
22399
|
+
* Decodes a Section message from the specified reader or buffer.
|
|
22400
|
+
* @param reader Reader or buffer to decode from
|
|
22401
|
+
* @param [length] Message length if known beforehand
|
|
22402
|
+
* @returns Section
|
|
22403
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22404
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22405
|
+
*/
|
|
22406
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.Section;
|
|
22407
|
+
|
|
22408
|
+
/**
|
|
22409
|
+
* Decodes a Section message from the specified reader or buffer, length delimited.
|
|
22410
|
+
* @param reader Reader or buffer to decode from
|
|
22411
|
+
* @returns Section
|
|
22412
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22413
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22414
|
+
*/
|
|
22415
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.Section;
|
|
22416
|
+
|
|
22417
|
+
/**
|
|
22418
|
+
* Verifies a Section message.
|
|
22419
|
+
* @param message Plain object to verify
|
|
22420
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22421
|
+
*/
|
|
22422
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22423
|
+
|
|
22424
|
+
/**
|
|
22425
|
+
* Creates a Section message from a plain object. Also converts values to their respective internal types.
|
|
22426
|
+
* @param object Plain object
|
|
22427
|
+
* @returns Section
|
|
22428
|
+
*/
|
|
22429
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.Section;
|
|
22430
|
+
|
|
22431
|
+
/**
|
|
22432
|
+
* Creates a plain object from a Section message. Also converts values to other types if specified.
|
|
22433
|
+
* @param message Section
|
|
22434
|
+
* @param [options] Conversion options
|
|
22435
|
+
* @returns Plain object
|
|
22436
|
+
*/
|
|
22437
|
+
public static toObject(message: google.chat.v1.Section, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22438
|
+
|
|
22439
|
+
/**
|
|
22440
|
+
* Converts this Section to JSON.
|
|
22441
|
+
* @returns JSON object
|
|
22442
|
+
*/
|
|
22443
|
+
public toJSON(): { [k: string]: any };
|
|
22444
|
+
|
|
22445
|
+
/**
|
|
22446
|
+
* Gets the default type url for Section
|
|
22447
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22448
|
+
* @returns The default type url
|
|
22449
|
+
*/
|
|
22450
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22451
|
+
}
|
|
22452
|
+
|
|
22453
|
+
namespace Section {
|
|
22454
|
+
|
|
22455
|
+
/** SectionType enum. */
|
|
22456
|
+
enum SectionType {
|
|
22457
|
+
SECTION_TYPE_UNSPECIFIED = 0,
|
|
22458
|
+
CUSTOM_SECTION = 1,
|
|
22459
|
+
DEFAULT_DIRECT_MESSAGES = 2,
|
|
22460
|
+
DEFAULT_SPACES = 3,
|
|
22461
|
+
DEFAULT_APPS = 6
|
|
22462
|
+
}
|
|
22463
|
+
}
|
|
22464
|
+
|
|
22465
|
+
/** Properties of a SectionItem. */
|
|
22466
|
+
interface ISectionItem {
|
|
22467
|
+
|
|
22468
|
+
/** SectionItem name */
|
|
22469
|
+
name?: (string|null);
|
|
22470
|
+
|
|
22471
|
+
/** SectionItem space */
|
|
22472
|
+
space?: (string|null);
|
|
22473
|
+
}
|
|
22474
|
+
|
|
22475
|
+
/** Represents a SectionItem. */
|
|
22476
|
+
class SectionItem implements ISectionItem {
|
|
22477
|
+
|
|
22478
|
+
/**
|
|
22479
|
+
* Constructs a new SectionItem.
|
|
22480
|
+
* @param [properties] Properties to set
|
|
22481
|
+
*/
|
|
22482
|
+
constructor(properties?: google.chat.v1.ISectionItem);
|
|
22483
|
+
|
|
22484
|
+
/** SectionItem name. */
|
|
22485
|
+
public name: string;
|
|
22486
|
+
|
|
22487
|
+
/** SectionItem space. */
|
|
22488
|
+
public space?: (string|null);
|
|
22489
|
+
|
|
22490
|
+
/** SectionItem item. */
|
|
22491
|
+
public item?: "space";
|
|
22492
|
+
|
|
22493
|
+
/**
|
|
22494
|
+
* Creates a new SectionItem instance using the specified properties.
|
|
22495
|
+
* @param [properties] Properties to set
|
|
22496
|
+
* @returns SectionItem instance
|
|
22497
|
+
*/
|
|
22498
|
+
public static create(properties?: google.chat.v1.ISectionItem): google.chat.v1.SectionItem;
|
|
22499
|
+
|
|
22500
|
+
/**
|
|
22501
|
+
* Encodes the specified SectionItem message. Does not implicitly {@link google.chat.v1.SectionItem.verify|verify} messages.
|
|
22502
|
+
* @param message SectionItem message or plain object to encode
|
|
22503
|
+
* @param [writer] Writer to encode to
|
|
22504
|
+
* @returns Writer
|
|
22505
|
+
*/
|
|
22506
|
+
public static encode(message: google.chat.v1.ISectionItem, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22507
|
+
|
|
22508
|
+
/**
|
|
22509
|
+
* Encodes the specified SectionItem message, length delimited. Does not implicitly {@link google.chat.v1.SectionItem.verify|verify} messages.
|
|
22510
|
+
* @param message SectionItem message or plain object to encode
|
|
22511
|
+
* @param [writer] Writer to encode to
|
|
22512
|
+
* @returns Writer
|
|
22513
|
+
*/
|
|
22514
|
+
public static encodeDelimited(message: google.chat.v1.ISectionItem, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22515
|
+
|
|
22516
|
+
/**
|
|
22517
|
+
* Decodes a SectionItem message from the specified reader or buffer.
|
|
22518
|
+
* @param reader Reader or buffer to decode from
|
|
22519
|
+
* @param [length] Message length if known beforehand
|
|
22520
|
+
* @returns SectionItem
|
|
22521
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22522
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22523
|
+
*/
|
|
22524
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.SectionItem;
|
|
22525
|
+
|
|
22526
|
+
/**
|
|
22527
|
+
* Decodes a SectionItem message from the specified reader or buffer, length delimited.
|
|
22528
|
+
* @param reader Reader or buffer to decode from
|
|
22529
|
+
* @returns SectionItem
|
|
22530
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22531
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22532
|
+
*/
|
|
22533
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.SectionItem;
|
|
22534
|
+
|
|
22535
|
+
/**
|
|
22536
|
+
* Verifies a SectionItem message.
|
|
22537
|
+
* @param message Plain object to verify
|
|
22538
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22539
|
+
*/
|
|
22540
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22541
|
+
|
|
22542
|
+
/**
|
|
22543
|
+
* Creates a SectionItem message from a plain object. Also converts values to their respective internal types.
|
|
22544
|
+
* @param object Plain object
|
|
22545
|
+
* @returns SectionItem
|
|
22546
|
+
*/
|
|
22547
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.SectionItem;
|
|
22548
|
+
|
|
22549
|
+
/**
|
|
22550
|
+
* Creates a plain object from a SectionItem message. Also converts values to other types if specified.
|
|
22551
|
+
* @param message SectionItem
|
|
22552
|
+
* @param [options] Conversion options
|
|
22553
|
+
* @returns Plain object
|
|
22554
|
+
*/
|
|
22555
|
+
public static toObject(message: google.chat.v1.SectionItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22556
|
+
|
|
22557
|
+
/**
|
|
22558
|
+
* Converts this SectionItem to JSON.
|
|
22559
|
+
* @returns JSON object
|
|
22560
|
+
*/
|
|
22561
|
+
public toJSON(): { [k: string]: any };
|
|
22562
|
+
|
|
22563
|
+
/**
|
|
22564
|
+
* Gets the default type url for SectionItem
|
|
22565
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22566
|
+
* @returns The default type url
|
|
22567
|
+
*/
|
|
22568
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22569
|
+
}
|
|
22570
|
+
|
|
22571
|
+
/** Properties of a CreateSectionRequest. */
|
|
22572
|
+
interface ICreateSectionRequest {
|
|
22573
|
+
|
|
22574
|
+
/** CreateSectionRequest parent */
|
|
22575
|
+
parent?: (string|null);
|
|
22576
|
+
|
|
22577
|
+
/** CreateSectionRequest section */
|
|
22578
|
+
section?: (google.chat.v1.ISection|null);
|
|
22579
|
+
}
|
|
22580
|
+
|
|
22581
|
+
/** Represents a CreateSectionRequest. */
|
|
22582
|
+
class CreateSectionRequest implements ICreateSectionRequest {
|
|
22583
|
+
|
|
22584
|
+
/**
|
|
22585
|
+
* Constructs a new CreateSectionRequest.
|
|
22586
|
+
* @param [properties] Properties to set
|
|
22587
|
+
*/
|
|
22588
|
+
constructor(properties?: google.chat.v1.ICreateSectionRequest);
|
|
22589
|
+
|
|
22590
|
+
/** CreateSectionRequest parent. */
|
|
22591
|
+
public parent: string;
|
|
22592
|
+
|
|
22593
|
+
/** CreateSectionRequest section. */
|
|
22594
|
+
public section?: (google.chat.v1.ISection|null);
|
|
22595
|
+
|
|
22596
|
+
/**
|
|
22597
|
+
* Creates a new CreateSectionRequest instance using the specified properties.
|
|
22598
|
+
* @param [properties] Properties to set
|
|
22599
|
+
* @returns CreateSectionRequest instance
|
|
22600
|
+
*/
|
|
22601
|
+
public static create(properties?: google.chat.v1.ICreateSectionRequest): google.chat.v1.CreateSectionRequest;
|
|
22602
|
+
|
|
22603
|
+
/**
|
|
22604
|
+
* Encodes the specified CreateSectionRequest message. Does not implicitly {@link google.chat.v1.CreateSectionRequest.verify|verify} messages.
|
|
22605
|
+
* @param message CreateSectionRequest message or plain object to encode
|
|
22606
|
+
* @param [writer] Writer to encode to
|
|
22607
|
+
* @returns Writer
|
|
22608
|
+
*/
|
|
22609
|
+
public static encode(message: google.chat.v1.ICreateSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22610
|
+
|
|
22611
|
+
/**
|
|
22612
|
+
* Encodes the specified CreateSectionRequest message, length delimited. Does not implicitly {@link google.chat.v1.CreateSectionRequest.verify|verify} messages.
|
|
22613
|
+
* @param message CreateSectionRequest message or plain object to encode
|
|
22614
|
+
* @param [writer] Writer to encode to
|
|
22615
|
+
* @returns Writer
|
|
22616
|
+
*/
|
|
22617
|
+
public static encodeDelimited(message: google.chat.v1.ICreateSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22618
|
+
|
|
22619
|
+
/**
|
|
22620
|
+
* Decodes a CreateSectionRequest message from the specified reader or buffer.
|
|
22621
|
+
* @param reader Reader or buffer to decode from
|
|
22622
|
+
* @param [length] Message length if known beforehand
|
|
22623
|
+
* @returns CreateSectionRequest
|
|
22624
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22625
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22626
|
+
*/
|
|
22627
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.CreateSectionRequest;
|
|
22628
|
+
|
|
22629
|
+
/**
|
|
22630
|
+
* Decodes a CreateSectionRequest message from the specified reader or buffer, length delimited.
|
|
22631
|
+
* @param reader Reader or buffer to decode from
|
|
22632
|
+
* @returns CreateSectionRequest
|
|
22633
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22634
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22635
|
+
*/
|
|
22636
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.CreateSectionRequest;
|
|
22637
|
+
|
|
22638
|
+
/**
|
|
22639
|
+
* Verifies a CreateSectionRequest message.
|
|
22640
|
+
* @param message Plain object to verify
|
|
22641
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22642
|
+
*/
|
|
22643
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22644
|
+
|
|
22645
|
+
/**
|
|
22646
|
+
* Creates a CreateSectionRequest message from a plain object. Also converts values to their respective internal types.
|
|
22647
|
+
* @param object Plain object
|
|
22648
|
+
* @returns CreateSectionRequest
|
|
22649
|
+
*/
|
|
22650
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.CreateSectionRequest;
|
|
22651
|
+
|
|
22652
|
+
/**
|
|
22653
|
+
* Creates a plain object from a CreateSectionRequest message. Also converts values to other types if specified.
|
|
22654
|
+
* @param message CreateSectionRequest
|
|
22655
|
+
* @param [options] Conversion options
|
|
22656
|
+
* @returns Plain object
|
|
22657
|
+
*/
|
|
22658
|
+
public static toObject(message: google.chat.v1.CreateSectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22659
|
+
|
|
22660
|
+
/**
|
|
22661
|
+
* Converts this CreateSectionRequest to JSON.
|
|
22662
|
+
* @returns JSON object
|
|
22663
|
+
*/
|
|
22664
|
+
public toJSON(): { [k: string]: any };
|
|
22665
|
+
|
|
22666
|
+
/**
|
|
22667
|
+
* Gets the default type url for CreateSectionRequest
|
|
22668
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22669
|
+
* @returns The default type url
|
|
22670
|
+
*/
|
|
22671
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22672
|
+
}
|
|
22673
|
+
|
|
22674
|
+
/** Properties of a DeleteSectionRequest. */
|
|
22675
|
+
interface IDeleteSectionRequest {
|
|
22676
|
+
|
|
22677
|
+
/** DeleteSectionRequest name */
|
|
22678
|
+
name?: (string|null);
|
|
22679
|
+
}
|
|
22680
|
+
|
|
22681
|
+
/** Represents a DeleteSectionRequest. */
|
|
22682
|
+
class DeleteSectionRequest implements IDeleteSectionRequest {
|
|
22683
|
+
|
|
22684
|
+
/**
|
|
22685
|
+
* Constructs a new DeleteSectionRequest.
|
|
22686
|
+
* @param [properties] Properties to set
|
|
22687
|
+
*/
|
|
22688
|
+
constructor(properties?: google.chat.v1.IDeleteSectionRequest);
|
|
22689
|
+
|
|
22690
|
+
/** DeleteSectionRequest name. */
|
|
22691
|
+
public name: string;
|
|
22692
|
+
|
|
22693
|
+
/**
|
|
22694
|
+
* Creates a new DeleteSectionRequest instance using the specified properties.
|
|
22695
|
+
* @param [properties] Properties to set
|
|
22696
|
+
* @returns DeleteSectionRequest instance
|
|
22697
|
+
*/
|
|
22698
|
+
public static create(properties?: google.chat.v1.IDeleteSectionRequest): google.chat.v1.DeleteSectionRequest;
|
|
22699
|
+
|
|
22700
|
+
/**
|
|
22701
|
+
* Encodes the specified DeleteSectionRequest message. Does not implicitly {@link google.chat.v1.DeleteSectionRequest.verify|verify} messages.
|
|
22702
|
+
* @param message DeleteSectionRequest message or plain object to encode
|
|
22703
|
+
* @param [writer] Writer to encode to
|
|
22704
|
+
* @returns Writer
|
|
22705
|
+
*/
|
|
22706
|
+
public static encode(message: google.chat.v1.IDeleteSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22707
|
+
|
|
22708
|
+
/**
|
|
22709
|
+
* Encodes the specified DeleteSectionRequest message, length delimited. Does not implicitly {@link google.chat.v1.DeleteSectionRequest.verify|verify} messages.
|
|
22710
|
+
* @param message DeleteSectionRequest message or plain object to encode
|
|
22711
|
+
* @param [writer] Writer to encode to
|
|
22712
|
+
* @returns Writer
|
|
22713
|
+
*/
|
|
22714
|
+
public static encodeDelimited(message: google.chat.v1.IDeleteSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22715
|
+
|
|
22716
|
+
/**
|
|
22717
|
+
* Decodes a DeleteSectionRequest message from the specified reader or buffer.
|
|
22718
|
+
* @param reader Reader or buffer to decode from
|
|
22719
|
+
* @param [length] Message length if known beforehand
|
|
22720
|
+
* @returns DeleteSectionRequest
|
|
22721
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22722
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22723
|
+
*/
|
|
22724
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.DeleteSectionRequest;
|
|
22725
|
+
|
|
22726
|
+
/**
|
|
22727
|
+
* Decodes a DeleteSectionRequest message from the specified reader or buffer, length delimited.
|
|
22728
|
+
* @param reader Reader or buffer to decode from
|
|
22729
|
+
* @returns DeleteSectionRequest
|
|
22730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22732
|
+
*/
|
|
22733
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.DeleteSectionRequest;
|
|
22734
|
+
|
|
22735
|
+
/**
|
|
22736
|
+
* Verifies a DeleteSectionRequest message.
|
|
22737
|
+
* @param message Plain object to verify
|
|
22738
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22739
|
+
*/
|
|
22740
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22741
|
+
|
|
22742
|
+
/**
|
|
22743
|
+
* Creates a DeleteSectionRequest message from a plain object. Also converts values to their respective internal types.
|
|
22744
|
+
* @param object Plain object
|
|
22745
|
+
* @returns DeleteSectionRequest
|
|
22746
|
+
*/
|
|
22747
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.DeleteSectionRequest;
|
|
22748
|
+
|
|
22749
|
+
/**
|
|
22750
|
+
* Creates a plain object from a DeleteSectionRequest message. Also converts values to other types if specified.
|
|
22751
|
+
* @param message DeleteSectionRequest
|
|
22752
|
+
* @param [options] Conversion options
|
|
22753
|
+
* @returns Plain object
|
|
22754
|
+
*/
|
|
22755
|
+
public static toObject(message: google.chat.v1.DeleteSectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22756
|
+
|
|
22757
|
+
/**
|
|
22758
|
+
* Converts this DeleteSectionRequest to JSON.
|
|
22759
|
+
* @returns JSON object
|
|
22760
|
+
*/
|
|
22761
|
+
public toJSON(): { [k: string]: any };
|
|
22762
|
+
|
|
22763
|
+
/**
|
|
22764
|
+
* Gets the default type url for DeleteSectionRequest
|
|
22765
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22766
|
+
* @returns The default type url
|
|
22767
|
+
*/
|
|
22768
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22769
|
+
}
|
|
22770
|
+
|
|
22771
|
+
/** Properties of an UpdateSectionRequest. */
|
|
22772
|
+
interface IUpdateSectionRequest {
|
|
22773
|
+
|
|
22774
|
+
/** UpdateSectionRequest section */
|
|
22775
|
+
section?: (google.chat.v1.ISection|null);
|
|
22776
|
+
|
|
22777
|
+
/** UpdateSectionRequest updateMask */
|
|
22778
|
+
updateMask?: (google.protobuf.IFieldMask|null);
|
|
22779
|
+
}
|
|
22780
|
+
|
|
22781
|
+
/** Represents an UpdateSectionRequest. */
|
|
22782
|
+
class UpdateSectionRequest implements IUpdateSectionRequest {
|
|
22783
|
+
|
|
22784
|
+
/**
|
|
22785
|
+
* Constructs a new UpdateSectionRequest.
|
|
22786
|
+
* @param [properties] Properties to set
|
|
22787
|
+
*/
|
|
22788
|
+
constructor(properties?: google.chat.v1.IUpdateSectionRequest);
|
|
22789
|
+
|
|
22790
|
+
/** UpdateSectionRequest section. */
|
|
22791
|
+
public section?: (google.chat.v1.ISection|null);
|
|
22792
|
+
|
|
22793
|
+
/** UpdateSectionRequest updateMask. */
|
|
22794
|
+
public updateMask?: (google.protobuf.IFieldMask|null);
|
|
22795
|
+
|
|
22796
|
+
/**
|
|
22797
|
+
* Creates a new UpdateSectionRequest instance using the specified properties.
|
|
22798
|
+
* @param [properties] Properties to set
|
|
22799
|
+
* @returns UpdateSectionRequest instance
|
|
22800
|
+
*/
|
|
22801
|
+
public static create(properties?: google.chat.v1.IUpdateSectionRequest): google.chat.v1.UpdateSectionRequest;
|
|
22802
|
+
|
|
22803
|
+
/**
|
|
22804
|
+
* Encodes the specified UpdateSectionRequest message. Does not implicitly {@link google.chat.v1.UpdateSectionRequest.verify|verify} messages.
|
|
22805
|
+
* @param message UpdateSectionRequest message or plain object to encode
|
|
22806
|
+
* @param [writer] Writer to encode to
|
|
22807
|
+
* @returns Writer
|
|
22808
|
+
*/
|
|
22809
|
+
public static encode(message: google.chat.v1.IUpdateSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22810
|
+
|
|
22811
|
+
/**
|
|
22812
|
+
* Encodes the specified UpdateSectionRequest message, length delimited. Does not implicitly {@link google.chat.v1.UpdateSectionRequest.verify|verify} messages.
|
|
22813
|
+
* @param message UpdateSectionRequest message or plain object to encode
|
|
22814
|
+
* @param [writer] Writer to encode to
|
|
22815
|
+
* @returns Writer
|
|
22816
|
+
*/
|
|
22817
|
+
public static encodeDelimited(message: google.chat.v1.IUpdateSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22818
|
+
|
|
22819
|
+
/**
|
|
22820
|
+
* Decodes an UpdateSectionRequest message from the specified reader or buffer.
|
|
22821
|
+
* @param reader Reader or buffer to decode from
|
|
22822
|
+
* @param [length] Message length if known beforehand
|
|
22823
|
+
* @returns UpdateSectionRequest
|
|
22824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22826
|
+
*/
|
|
22827
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.UpdateSectionRequest;
|
|
22828
|
+
|
|
22829
|
+
/**
|
|
22830
|
+
* Decodes an UpdateSectionRequest message from the specified reader or buffer, length delimited.
|
|
22831
|
+
* @param reader Reader or buffer to decode from
|
|
22832
|
+
* @returns UpdateSectionRequest
|
|
22833
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22834
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22835
|
+
*/
|
|
22836
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.UpdateSectionRequest;
|
|
22837
|
+
|
|
22838
|
+
/**
|
|
22839
|
+
* Verifies an UpdateSectionRequest message.
|
|
22840
|
+
* @param message Plain object to verify
|
|
22841
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22842
|
+
*/
|
|
22843
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22844
|
+
|
|
22845
|
+
/**
|
|
22846
|
+
* Creates an UpdateSectionRequest message from a plain object. Also converts values to their respective internal types.
|
|
22847
|
+
* @param object Plain object
|
|
22848
|
+
* @returns UpdateSectionRequest
|
|
22849
|
+
*/
|
|
22850
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.UpdateSectionRequest;
|
|
22851
|
+
|
|
22852
|
+
/**
|
|
22853
|
+
* Creates a plain object from an UpdateSectionRequest message. Also converts values to other types if specified.
|
|
22854
|
+
* @param message UpdateSectionRequest
|
|
22855
|
+
* @param [options] Conversion options
|
|
22856
|
+
* @returns Plain object
|
|
22857
|
+
*/
|
|
22858
|
+
public static toObject(message: google.chat.v1.UpdateSectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22859
|
+
|
|
22860
|
+
/**
|
|
22861
|
+
* Converts this UpdateSectionRequest to JSON.
|
|
22862
|
+
* @returns JSON object
|
|
22863
|
+
*/
|
|
22864
|
+
public toJSON(): { [k: string]: any };
|
|
22865
|
+
|
|
22866
|
+
/**
|
|
22867
|
+
* Gets the default type url for UpdateSectionRequest
|
|
22868
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22869
|
+
* @returns The default type url
|
|
22870
|
+
*/
|
|
22871
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22872
|
+
}
|
|
22873
|
+
|
|
22874
|
+
/** Properties of a ListSectionsRequest. */
|
|
22875
|
+
interface IListSectionsRequest {
|
|
22876
|
+
|
|
22877
|
+
/** ListSectionsRequest parent */
|
|
22878
|
+
parent?: (string|null);
|
|
22879
|
+
|
|
22880
|
+
/** ListSectionsRequest pageSize */
|
|
22881
|
+
pageSize?: (number|null);
|
|
22882
|
+
|
|
22883
|
+
/** ListSectionsRequest pageToken */
|
|
22884
|
+
pageToken?: (string|null);
|
|
22885
|
+
}
|
|
22886
|
+
|
|
22887
|
+
/** Represents a ListSectionsRequest. */
|
|
22888
|
+
class ListSectionsRequest implements IListSectionsRequest {
|
|
22889
|
+
|
|
22890
|
+
/**
|
|
22891
|
+
* Constructs a new ListSectionsRequest.
|
|
22892
|
+
* @param [properties] Properties to set
|
|
22893
|
+
*/
|
|
22894
|
+
constructor(properties?: google.chat.v1.IListSectionsRequest);
|
|
22895
|
+
|
|
22896
|
+
/** ListSectionsRequest parent. */
|
|
22897
|
+
public parent: string;
|
|
22898
|
+
|
|
22899
|
+
/** ListSectionsRequest pageSize. */
|
|
22900
|
+
public pageSize: number;
|
|
22901
|
+
|
|
22902
|
+
/** ListSectionsRequest pageToken. */
|
|
22903
|
+
public pageToken: string;
|
|
22904
|
+
|
|
22905
|
+
/**
|
|
22906
|
+
* Creates a new ListSectionsRequest instance using the specified properties.
|
|
22907
|
+
* @param [properties] Properties to set
|
|
22908
|
+
* @returns ListSectionsRequest instance
|
|
22909
|
+
*/
|
|
22910
|
+
public static create(properties?: google.chat.v1.IListSectionsRequest): google.chat.v1.ListSectionsRequest;
|
|
22911
|
+
|
|
22912
|
+
/**
|
|
22913
|
+
* Encodes the specified ListSectionsRequest message. Does not implicitly {@link google.chat.v1.ListSectionsRequest.verify|verify} messages.
|
|
22914
|
+
* @param message ListSectionsRequest message or plain object to encode
|
|
22915
|
+
* @param [writer] Writer to encode to
|
|
22916
|
+
* @returns Writer
|
|
22917
|
+
*/
|
|
22918
|
+
public static encode(message: google.chat.v1.IListSectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22919
|
+
|
|
22920
|
+
/**
|
|
22921
|
+
* Encodes the specified ListSectionsRequest message, length delimited. Does not implicitly {@link google.chat.v1.ListSectionsRequest.verify|verify} messages.
|
|
22922
|
+
* @param message ListSectionsRequest message or plain object to encode
|
|
22923
|
+
* @param [writer] Writer to encode to
|
|
22924
|
+
* @returns Writer
|
|
22925
|
+
*/
|
|
22926
|
+
public static encodeDelimited(message: google.chat.v1.IListSectionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22927
|
+
|
|
22928
|
+
/**
|
|
22929
|
+
* Decodes a ListSectionsRequest message from the specified reader or buffer.
|
|
22930
|
+
* @param reader Reader or buffer to decode from
|
|
22931
|
+
* @param [length] Message length if known beforehand
|
|
22932
|
+
* @returns ListSectionsRequest
|
|
22933
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22934
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22935
|
+
*/
|
|
22936
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSectionsRequest;
|
|
22937
|
+
|
|
22938
|
+
/**
|
|
22939
|
+
* Decodes a ListSectionsRequest message from the specified reader or buffer, length delimited.
|
|
22940
|
+
* @param reader Reader or buffer to decode from
|
|
22941
|
+
* @returns ListSectionsRequest
|
|
22942
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22943
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22944
|
+
*/
|
|
22945
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSectionsRequest;
|
|
22946
|
+
|
|
22947
|
+
/**
|
|
22948
|
+
* Verifies a ListSectionsRequest message.
|
|
22949
|
+
* @param message Plain object to verify
|
|
22950
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22951
|
+
*/
|
|
22952
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22953
|
+
|
|
22954
|
+
/**
|
|
22955
|
+
* Creates a ListSectionsRequest message from a plain object. Also converts values to their respective internal types.
|
|
22956
|
+
* @param object Plain object
|
|
22957
|
+
* @returns ListSectionsRequest
|
|
22958
|
+
*/
|
|
22959
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSectionsRequest;
|
|
22960
|
+
|
|
22961
|
+
/**
|
|
22962
|
+
* Creates a plain object from a ListSectionsRequest message. Also converts values to other types if specified.
|
|
22963
|
+
* @param message ListSectionsRequest
|
|
22964
|
+
* @param [options] Conversion options
|
|
22965
|
+
* @returns Plain object
|
|
22966
|
+
*/
|
|
22967
|
+
public static toObject(message: google.chat.v1.ListSectionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22968
|
+
|
|
22969
|
+
/**
|
|
22970
|
+
* Converts this ListSectionsRequest to JSON.
|
|
22971
|
+
* @returns JSON object
|
|
22972
|
+
*/
|
|
22973
|
+
public toJSON(): { [k: string]: any };
|
|
22974
|
+
|
|
22975
|
+
/**
|
|
22976
|
+
* Gets the default type url for ListSectionsRequest
|
|
22977
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22978
|
+
* @returns The default type url
|
|
22979
|
+
*/
|
|
22980
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22981
|
+
}
|
|
22982
|
+
|
|
22983
|
+
/** Properties of a ListSectionsResponse. */
|
|
22984
|
+
interface IListSectionsResponse {
|
|
22985
|
+
|
|
22986
|
+
/** ListSectionsResponse sections */
|
|
22987
|
+
sections?: (google.chat.v1.ISection[]|null);
|
|
22988
|
+
|
|
22989
|
+
/** ListSectionsResponse nextPageToken */
|
|
22990
|
+
nextPageToken?: (string|null);
|
|
22991
|
+
}
|
|
22992
|
+
|
|
22993
|
+
/** Represents a ListSectionsResponse. */
|
|
22994
|
+
class ListSectionsResponse implements IListSectionsResponse {
|
|
22995
|
+
|
|
22996
|
+
/**
|
|
22997
|
+
* Constructs a new ListSectionsResponse.
|
|
22998
|
+
* @param [properties] Properties to set
|
|
22999
|
+
*/
|
|
23000
|
+
constructor(properties?: google.chat.v1.IListSectionsResponse);
|
|
23001
|
+
|
|
23002
|
+
/** ListSectionsResponse sections. */
|
|
23003
|
+
public sections: google.chat.v1.ISection[];
|
|
23004
|
+
|
|
23005
|
+
/** ListSectionsResponse nextPageToken. */
|
|
23006
|
+
public nextPageToken: string;
|
|
23007
|
+
|
|
23008
|
+
/**
|
|
23009
|
+
* Creates a new ListSectionsResponse instance using the specified properties.
|
|
23010
|
+
* @param [properties] Properties to set
|
|
23011
|
+
* @returns ListSectionsResponse instance
|
|
23012
|
+
*/
|
|
23013
|
+
public static create(properties?: google.chat.v1.IListSectionsResponse): google.chat.v1.ListSectionsResponse;
|
|
23014
|
+
|
|
23015
|
+
/**
|
|
23016
|
+
* Encodes the specified ListSectionsResponse message. Does not implicitly {@link google.chat.v1.ListSectionsResponse.verify|verify} messages.
|
|
23017
|
+
* @param message ListSectionsResponse message or plain object to encode
|
|
23018
|
+
* @param [writer] Writer to encode to
|
|
23019
|
+
* @returns Writer
|
|
23020
|
+
*/
|
|
23021
|
+
public static encode(message: google.chat.v1.IListSectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23022
|
+
|
|
23023
|
+
/**
|
|
23024
|
+
* Encodes the specified ListSectionsResponse message, length delimited. Does not implicitly {@link google.chat.v1.ListSectionsResponse.verify|verify} messages.
|
|
23025
|
+
* @param message ListSectionsResponse message or plain object to encode
|
|
23026
|
+
* @param [writer] Writer to encode to
|
|
23027
|
+
* @returns Writer
|
|
23028
|
+
*/
|
|
23029
|
+
public static encodeDelimited(message: google.chat.v1.IListSectionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23030
|
+
|
|
23031
|
+
/**
|
|
23032
|
+
* Decodes a ListSectionsResponse message from the specified reader or buffer.
|
|
23033
|
+
* @param reader Reader or buffer to decode from
|
|
23034
|
+
* @param [length] Message length if known beforehand
|
|
23035
|
+
* @returns ListSectionsResponse
|
|
23036
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23037
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23038
|
+
*/
|
|
23039
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSectionsResponse;
|
|
23040
|
+
|
|
23041
|
+
/**
|
|
23042
|
+
* Decodes a ListSectionsResponse message from the specified reader or buffer, length delimited.
|
|
23043
|
+
* @param reader Reader or buffer to decode from
|
|
23044
|
+
* @returns ListSectionsResponse
|
|
23045
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23046
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23047
|
+
*/
|
|
23048
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSectionsResponse;
|
|
23049
|
+
|
|
23050
|
+
/**
|
|
23051
|
+
* Verifies a ListSectionsResponse message.
|
|
23052
|
+
* @param message Plain object to verify
|
|
23053
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23054
|
+
*/
|
|
23055
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23056
|
+
|
|
23057
|
+
/**
|
|
23058
|
+
* Creates a ListSectionsResponse message from a plain object. Also converts values to their respective internal types.
|
|
23059
|
+
* @param object Plain object
|
|
23060
|
+
* @returns ListSectionsResponse
|
|
23061
|
+
*/
|
|
23062
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSectionsResponse;
|
|
23063
|
+
|
|
23064
|
+
/**
|
|
23065
|
+
* Creates a plain object from a ListSectionsResponse message. Also converts values to other types if specified.
|
|
23066
|
+
* @param message ListSectionsResponse
|
|
23067
|
+
* @param [options] Conversion options
|
|
23068
|
+
* @returns Plain object
|
|
23069
|
+
*/
|
|
23070
|
+
public static toObject(message: google.chat.v1.ListSectionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23071
|
+
|
|
23072
|
+
/**
|
|
23073
|
+
* Converts this ListSectionsResponse to JSON.
|
|
23074
|
+
* @returns JSON object
|
|
23075
|
+
*/
|
|
23076
|
+
public toJSON(): { [k: string]: any };
|
|
23077
|
+
|
|
23078
|
+
/**
|
|
23079
|
+
* Gets the default type url for ListSectionsResponse
|
|
23080
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23081
|
+
* @returns The default type url
|
|
23082
|
+
*/
|
|
23083
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23084
|
+
}
|
|
23085
|
+
|
|
23086
|
+
/** Properties of a PositionSectionRequest. */
|
|
23087
|
+
interface IPositionSectionRequest {
|
|
23088
|
+
|
|
23089
|
+
/** PositionSectionRequest name */
|
|
23090
|
+
name?: (string|null);
|
|
23091
|
+
|
|
23092
|
+
/** PositionSectionRequest sortOrder */
|
|
23093
|
+
sortOrder?: (number|null);
|
|
23094
|
+
|
|
23095
|
+
/** PositionSectionRequest relativePosition */
|
|
23096
|
+
relativePosition?: (google.chat.v1.PositionSectionRequest.Position|keyof typeof google.chat.v1.PositionSectionRequest.Position|null);
|
|
23097
|
+
}
|
|
23098
|
+
|
|
23099
|
+
/** Represents a PositionSectionRequest. */
|
|
23100
|
+
class PositionSectionRequest implements IPositionSectionRequest {
|
|
23101
|
+
|
|
23102
|
+
/**
|
|
23103
|
+
* Constructs a new PositionSectionRequest.
|
|
23104
|
+
* @param [properties] Properties to set
|
|
23105
|
+
*/
|
|
23106
|
+
constructor(properties?: google.chat.v1.IPositionSectionRequest);
|
|
23107
|
+
|
|
23108
|
+
/** PositionSectionRequest name. */
|
|
23109
|
+
public name: string;
|
|
23110
|
+
|
|
23111
|
+
/** PositionSectionRequest sortOrder. */
|
|
23112
|
+
public sortOrder?: (number|null);
|
|
23113
|
+
|
|
23114
|
+
/** PositionSectionRequest relativePosition. */
|
|
23115
|
+
public relativePosition?: (google.chat.v1.PositionSectionRequest.Position|keyof typeof google.chat.v1.PositionSectionRequest.Position|null);
|
|
23116
|
+
|
|
23117
|
+
/** PositionSectionRequest position. */
|
|
23118
|
+
public position?: ("sortOrder"|"relativePosition");
|
|
23119
|
+
|
|
23120
|
+
/**
|
|
23121
|
+
* Creates a new PositionSectionRequest instance using the specified properties.
|
|
23122
|
+
* @param [properties] Properties to set
|
|
23123
|
+
* @returns PositionSectionRequest instance
|
|
23124
|
+
*/
|
|
23125
|
+
public static create(properties?: google.chat.v1.IPositionSectionRequest): google.chat.v1.PositionSectionRequest;
|
|
23126
|
+
|
|
23127
|
+
/**
|
|
23128
|
+
* Encodes the specified PositionSectionRequest message. Does not implicitly {@link google.chat.v1.PositionSectionRequest.verify|verify} messages.
|
|
23129
|
+
* @param message PositionSectionRequest message or plain object to encode
|
|
23130
|
+
* @param [writer] Writer to encode to
|
|
23131
|
+
* @returns Writer
|
|
23132
|
+
*/
|
|
23133
|
+
public static encode(message: google.chat.v1.IPositionSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23134
|
+
|
|
23135
|
+
/**
|
|
23136
|
+
* Encodes the specified PositionSectionRequest message, length delimited. Does not implicitly {@link google.chat.v1.PositionSectionRequest.verify|verify} messages.
|
|
23137
|
+
* @param message PositionSectionRequest message or plain object to encode
|
|
23138
|
+
* @param [writer] Writer to encode to
|
|
23139
|
+
* @returns Writer
|
|
23140
|
+
*/
|
|
23141
|
+
public static encodeDelimited(message: google.chat.v1.IPositionSectionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23142
|
+
|
|
23143
|
+
/**
|
|
23144
|
+
* Decodes a PositionSectionRequest message from the specified reader or buffer.
|
|
23145
|
+
* @param reader Reader or buffer to decode from
|
|
23146
|
+
* @param [length] Message length if known beforehand
|
|
23147
|
+
* @returns PositionSectionRequest
|
|
23148
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23149
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23150
|
+
*/
|
|
23151
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.PositionSectionRequest;
|
|
23152
|
+
|
|
23153
|
+
/**
|
|
23154
|
+
* Decodes a PositionSectionRequest message from the specified reader or buffer, length delimited.
|
|
23155
|
+
* @param reader Reader or buffer to decode from
|
|
23156
|
+
* @returns PositionSectionRequest
|
|
23157
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23158
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23159
|
+
*/
|
|
23160
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.PositionSectionRequest;
|
|
23161
|
+
|
|
23162
|
+
/**
|
|
23163
|
+
* Verifies a PositionSectionRequest message.
|
|
23164
|
+
* @param message Plain object to verify
|
|
23165
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23166
|
+
*/
|
|
23167
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23168
|
+
|
|
23169
|
+
/**
|
|
23170
|
+
* Creates a PositionSectionRequest message from a plain object. Also converts values to their respective internal types.
|
|
23171
|
+
* @param object Plain object
|
|
23172
|
+
* @returns PositionSectionRequest
|
|
23173
|
+
*/
|
|
23174
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.PositionSectionRequest;
|
|
23175
|
+
|
|
23176
|
+
/**
|
|
23177
|
+
* Creates a plain object from a PositionSectionRequest message. Also converts values to other types if specified.
|
|
23178
|
+
* @param message PositionSectionRequest
|
|
23179
|
+
* @param [options] Conversion options
|
|
23180
|
+
* @returns Plain object
|
|
23181
|
+
*/
|
|
23182
|
+
public static toObject(message: google.chat.v1.PositionSectionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23183
|
+
|
|
23184
|
+
/**
|
|
23185
|
+
* Converts this PositionSectionRequest to JSON.
|
|
23186
|
+
* @returns JSON object
|
|
23187
|
+
*/
|
|
23188
|
+
public toJSON(): { [k: string]: any };
|
|
23189
|
+
|
|
23190
|
+
/**
|
|
23191
|
+
* Gets the default type url for PositionSectionRequest
|
|
23192
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23193
|
+
* @returns The default type url
|
|
23194
|
+
*/
|
|
23195
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23196
|
+
}
|
|
23197
|
+
|
|
23198
|
+
namespace PositionSectionRequest {
|
|
23199
|
+
|
|
23200
|
+
/** Position enum. */
|
|
23201
|
+
enum Position {
|
|
23202
|
+
POSITION_UNSPECIFIED = 0,
|
|
23203
|
+
START = 1,
|
|
23204
|
+
END = 2
|
|
23205
|
+
}
|
|
23206
|
+
}
|
|
23207
|
+
|
|
23208
|
+
/** Properties of a PositionSectionResponse. */
|
|
23209
|
+
interface IPositionSectionResponse {
|
|
23210
|
+
|
|
23211
|
+
/** PositionSectionResponse section */
|
|
23212
|
+
section?: (google.chat.v1.ISection|null);
|
|
23213
|
+
}
|
|
23214
|
+
|
|
23215
|
+
/** Represents a PositionSectionResponse. */
|
|
23216
|
+
class PositionSectionResponse implements IPositionSectionResponse {
|
|
23217
|
+
|
|
23218
|
+
/**
|
|
23219
|
+
* Constructs a new PositionSectionResponse.
|
|
23220
|
+
* @param [properties] Properties to set
|
|
23221
|
+
*/
|
|
23222
|
+
constructor(properties?: google.chat.v1.IPositionSectionResponse);
|
|
23223
|
+
|
|
23224
|
+
/** PositionSectionResponse section. */
|
|
23225
|
+
public section?: (google.chat.v1.ISection|null);
|
|
23226
|
+
|
|
23227
|
+
/**
|
|
23228
|
+
* Creates a new PositionSectionResponse instance using the specified properties.
|
|
23229
|
+
* @param [properties] Properties to set
|
|
23230
|
+
* @returns PositionSectionResponse instance
|
|
23231
|
+
*/
|
|
23232
|
+
public static create(properties?: google.chat.v1.IPositionSectionResponse): google.chat.v1.PositionSectionResponse;
|
|
23233
|
+
|
|
23234
|
+
/**
|
|
23235
|
+
* Encodes the specified PositionSectionResponse message. Does not implicitly {@link google.chat.v1.PositionSectionResponse.verify|verify} messages.
|
|
23236
|
+
* @param message PositionSectionResponse message or plain object to encode
|
|
23237
|
+
* @param [writer] Writer to encode to
|
|
23238
|
+
* @returns Writer
|
|
23239
|
+
*/
|
|
23240
|
+
public static encode(message: google.chat.v1.IPositionSectionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23241
|
+
|
|
23242
|
+
/**
|
|
23243
|
+
* Encodes the specified PositionSectionResponse message, length delimited. Does not implicitly {@link google.chat.v1.PositionSectionResponse.verify|verify} messages.
|
|
23244
|
+
* @param message PositionSectionResponse message or plain object to encode
|
|
23245
|
+
* @param [writer] Writer to encode to
|
|
23246
|
+
* @returns Writer
|
|
23247
|
+
*/
|
|
23248
|
+
public static encodeDelimited(message: google.chat.v1.IPositionSectionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23249
|
+
|
|
23250
|
+
/**
|
|
23251
|
+
* Decodes a PositionSectionResponse message from the specified reader or buffer.
|
|
23252
|
+
* @param reader Reader or buffer to decode from
|
|
23253
|
+
* @param [length] Message length if known beforehand
|
|
23254
|
+
* @returns PositionSectionResponse
|
|
23255
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23256
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23257
|
+
*/
|
|
23258
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.PositionSectionResponse;
|
|
23259
|
+
|
|
23260
|
+
/**
|
|
23261
|
+
* Decodes a PositionSectionResponse message from the specified reader or buffer, length delimited.
|
|
23262
|
+
* @param reader Reader or buffer to decode from
|
|
23263
|
+
* @returns PositionSectionResponse
|
|
23264
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23265
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23266
|
+
*/
|
|
23267
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.PositionSectionResponse;
|
|
23268
|
+
|
|
23269
|
+
/**
|
|
23270
|
+
* Verifies a PositionSectionResponse message.
|
|
23271
|
+
* @param message Plain object to verify
|
|
23272
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23273
|
+
*/
|
|
23274
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23275
|
+
|
|
23276
|
+
/**
|
|
23277
|
+
* Creates a PositionSectionResponse message from a plain object. Also converts values to their respective internal types.
|
|
23278
|
+
* @param object Plain object
|
|
23279
|
+
* @returns PositionSectionResponse
|
|
23280
|
+
*/
|
|
23281
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.PositionSectionResponse;
|
|
23282
|
+
|
|
23283
|
+
/**
|
|
23284
|
+
* Creates a plain object from a PositionSectionResponse message. Also converts values to other types if specified.
|
|
23285
|
+
* @param message PositionSectionResponse
|
|
23286
|
+
* @param [options] Conversion options
|
|
23287
|
+
* @returns Plain object
|
|
23288
|
+
*/
|
|
23289
|
+
public static toObject(message: google.chat.v1.PositionSectionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23290
|
+
|
|
23291
|
+
/**
|
|
23292
|
+
* Converts this PositionSectionResponse to JSON.
|
|
23293
|
+
* @returns JSON object
|
|
23294
|
+
*/
|
|
23295
|
+
public toJSON(): { [k: string]: any };
|
|
23296
|
+
|
|
23297
|
+
/**
|
|
23298
|
+
* Gets the default type url for PositionSectionResponse
|
|
23299
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23300
|
+
* @returns The default type url
|
|
23301
|
+
*/
|
|
23302
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23303
|
+
}
|
|
23304
|
+
|
|
23305
|
+
/** Properties of a ListSectionItemsRequest. */
|
|
23306
|
+
interface IListSectionItemsRequest {
|
|
23307
|
+
|
|
23308
|
+
/** ListSectionItemsRequest parent */
|
|
23309
|
+
parent?: (string|null);
|
|
23310
|
+
|
|
23311
|
+
/** ListSectionItemsRequest pageSize */
|
|
23312
|
+
pageSize?: (number|null);
|
|
23313
|
+
|
|
23314
|
+
/** ListSectionItemsRequest pageToken */
|
|
23315
|
+
pageToken?: (string|null);
|
|
23316
|
+
|
|
23317
|
+
/** ListSectionItemsRequest filter */
|
|
23318
|
+
filter?: (string|null);
|
|
23319
|
+
}
|
|
23320
|
+
|
|
23321
|
+
/** Represents a ListSectionItemsRequest. */
|
|
23322
|
+
class ListSectionItemsRequest implements IListSectionItemsRequest {
|
|
23323
|
+
|
|
23324
|
+
/**
|
|
23325
|
+
* Constructs a new ListSectionItemsRequest.
|
|
23326
|
+
* @param [properties] Properties to set
|
|
23327
|
+
*/
|
|
23328
|
+
constructor(properties?: google.chat.v1.IListSectionItemsRequest);
|
|
23329
|
+
|
|
23330
|
+
/** ListSectionItemsRequest parent. */
|
|
23331
|
+
public parent: string;
|
|
23332
|
+
|
|
23333
|
+
/** ListSectionItemsRequest pageSize. */
|
|
23334
|
+
public pageSize: number;
|
|
23335
|
+
|
|
23336
|
+
/** ListSectionItemsRequest pageToken. */
|
|
23337
|
+
public pageToken: string;
|
|
23338
|
+
|
|
23339
|
+
/** ListSectionItemsRequest filter. */
|
|
23340
|
+
public filter: string;
|
|
23341
|
+
|
|
23342
|
+
/**
|
|
23343
|
+
* Creates a new ListSectionItemsRequest instance using the specified properties.
|
|
23344
|
+
* @param [properties] Properties to set
|
|
23345
|
+
* @returns ListSectionItemsRequest instance
|
|
23346
|
+
*/
|
|
23347
|
+
public static create(properties?: google.chat.v1.IListSectionItemsRequest): google.chat.v1.ListSectionItemsRequest;
|
|
23348
|
+
|
|
23349
|
+
/**
|
|
23350
|
+
* Encodes the specified ListSectionItemsRequest message. Does not implicitly {@link google.chat.v1.ListSectionItemsRequest.verify|verify} messages.
|
|
23351
|
+
* @param message ListSectionItemsRequest message or plain object to encode
|
|
23352
|
+
* @param [writer] Writer to encode to
|
|
23353
|
+
* @returns Writer
|
|
23354
|
+
*/
|
|
23355
|
+
public static encode(message: google.chat.v1.IListSectionItemsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23356
|
+
|
|
23357
|
+
/**
|
|
23358
|
+
* Encodes the specified ListSectionItemsRequest message, length delimited. Does not implicitly {@link google.chat.v1.ListSectionItemsRequest.verify|verify} messages.
|
|
23359
|
+
* @param message ListSectionItemsRequest message or plain object to encode
|
|
23360
|
+
* @param [writer] Writer to encode to
|
|
23361
|
+
* @returns Writer
|
|
23362
|
+
*/
|
|
23363
|
+
public static encodeDelimited(message: google.chat.v1.IListSectionItemsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23364
|
+
|
|
23365
|
+
/**
|
|
23366
|
+
* Decodes a ListSectionItemsRequest message from the specified reader or buffer.
|
|
23367
|
+
* @param reader Reader or buffer to decode from
|
|
23368
|
+
* @param [length] Message length if known beforehand
|
|
23369
|
+
* @returns ListSectionItemsRequest
|
|
23370
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23371
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23372
|
+
*/
|
|
23373
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSectionItemsRequest;
|
|
23374
|
+
|
|
23375
|
+
/**
|
|
23376
|
+
* Decodes a ListSectionItemsRequest message from the specified reader or buffer, length delimited.
|
|
23377
|
+
* @param reader Reader or buffer to decode from
|
|
23378
|
+
* @returns ListSectionItemsRequest
|
|
23379
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23380
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23381
|
+
*/
|
|
23382
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSectionItemsRequest;
|
|
23383
|
+
|
|
23384
|
+
/**
|
|
23385
|
+
* Verifies a ListSectionItemsRequest message.
|
|
23386
|
+
* @param message Plain object to verify
|
|
23387
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23388
|
+
*/
|
|
23389
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23390
|
+
|
|
23391
|
+
/**
|
|
23392
|
+
* Creates a ListSectionItemsRequest message from a plain object. Also converts values to their respective internal types.
|
|
23393
|
+
* @param object Plain object
|
|
23394
|
+
* @returns ListSectionItemsRequest
|
|
23395
|
+
*/
|
|
23396
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSectionItemsRequest;
|
|
23397
|
+
|
|
23398
|
+
/**
|
|
23399
|
+
* Creates a plain object from a ListSectionItemsRequest message. Also converts values to other types if specified.
|
|
23400
|
+
* @param message ListSectionItemsRequest
|
|
23401
|
+
* @param [options] Conversion options
|
|
23402
|
+
* @returns Plain object
|
|
23403
|
+
*/
|
|
23404
|
+
public static toObject(message: google.chat.v1.ListSectionItemsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23405
|
+
|
|
23406
|
+
/**
|
|
23407
|
+
* Converts this ListSectionItemsRequest to JSON.
|
|
23408
|
+
* @returns JSON object
|
|
23409
|
+
*/
|
|
23410
|
+
public toJSON(): { [k: string]: any };
|
|
23411
|
+
|
|
23412
|
+
/**
|
|
23413
|
+
* Gets the default type url for ListSectionItemsRequest
|
|
23414
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23415
|
+
* @returns The default type url
|
|
23416
|
+
*/
|
|
23417
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23418
|
+
}
|
|
23419
|
+
|
|
23420
|
+
/** Properties of a ListSectionItemsResponse. */
|
|
23421
|
+
interface IListSectionItemsResponse {
|
|
23422
|
+
|
|
23423
|
+
/** ListSectionItemsResponse sectionItems */
|
|
23424
|
+
sectionItems?: (google.chat.v1.ISectionItem[]|null);
|
|
23425
|
+
|
|
23426
|
+
/** ListSectionItemsResponse nextPageToken */
|
|
23427
|
+
nextPageToken?: (string|null);
|
|
23428
|
+
}
|
|
23429
|
+
|
|
23430
|
+
/** Represents a ListSectionItemsResponse. */
|
|
23431
|
+
class ListSectionItemsResponse implements IListSectionItemsResponse {
|
|
23432
|
+
|
|
23433
|
+
/**
|
|
23434
|
+
* Constructs a new ListSectionItemsResponse.
|
|
23435
|
+
* @param [properties] Properties to set
|
|
23436
|
+
*/
|
|
23437
|
+
constructor(properties?: google.chat.v1.IListSectionItemsResponse);
|
|
23438
|
+
|
|
23439
|
+
/** ListSectionItemsResponse sectionItems. */
|
|
23440
|
+
public sectionItems: google.chat.v1.ISectionItem[];
|
|
23441
|
+
|
|
23442
|
+
/** ListSectionItemsResponse nextPageToken. */
|
|
23443
|
+
public nextPageToken: string;
|
|
23444
|
+
|
|
23445
|
+
/**
|
|
23446
|
+
* Creates a new ListSectionItemsResponse instance using the specified properties.
|
|
23447
|
+
* @param [properties] Properties to set
|
|
23448
|
+
* @returns ListSectionItemsResponse instance
|
|
23449
|
+
*/
|
|
23450
|
+
public static create(properties?: google.chat.v1.IListSectionItemsResponse): google.chat.v1.ListSectionItemsResponse;
|
|
23451
|
+
|
|
23452
|
+
/**
|
|
23453
|
+
* Encodes the specified ListSectionItemsResponse message. Does not implicitly {@link google.chat.v1.ListSectionItemsResponse.verify|verify} messages.
|
|
23454
|
+
* @param message ListSectionItemsResponse message or plain object to encode
|
|
23455
|
+
* @param [writer] Writer to encode to
|
|
23456
|
+
* @returns Writer
|
|
23457
|
+
*/
|
|
23458
|
+
public static encode(message: google.chat.v1.IListSectionItemsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23459
|
+
|
|
23460
|
+
/**
|
|
23461
|
+
* Encodes the specified ListSectionItemsResponse message, length delimited. Does not implicitly {@link google.chat.v1.ListSectionItemsResponse.verify|verify} messages.
|
|
23462
|
+
* @param message ListSectionItemsResponse message or plain object to encode
|
|
23463
|
+
* @param [writer] Writer to encode to
|
|
23464
|
+
* @returns Writer
|
|
23465
|
+
*/
|
|
23466
|
+
public static encodeDelimited(message: google.chat.v1.IListSectionItemsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23467
|
+
|
|
23468
|
+
/**
|
|
23469
|
+
* Decodes a ListSectionItemsResponse message from the specified reader or buffer.
|
|
23470
|
+
* @param reader Reader or buffer to decode from
|
|
23471
|
+
* @param [length] Message length if known beforehand
|
|
23472
|
+
* @returns ListSectionItemsResponse
|
|
23473
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23474
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23475
|
+
*/
|
|
23476
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.ListSectionItemsResponse;
|
|
23477
|
+
|
|
23478
|
+
/**
|
|
23479
|
+
* Decodes a ListSectionItemsResponse message from the specified reader or buffer, length delimited.
|
|
23480
|
+
* @param reader Reader or buffer to decode from
|
|
23481
|
+
* @returns ListSectionItemsResponse
|
|
23482
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23483
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23484
|
+
*/
|
|
23485
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.ListSectionItemsResponse;
|
|
23486
|
+
|
|
23487
|
+
/**
|
|
23488
|
+
* Verifies a ListSectionItemsResponse message.
|
|
23489
|
+
* @param message Plain object to verify
|
|
23490
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23491
|
+
*/
|
|
23492
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23493
|
+
|
|
23494
|
+
/**
|
|
23495
|
+
* Creates a ListSectionItemsResponse message from a plain object. Also converts values to their respective internal types.
|
|
23496
|
+
* @param object Plain object
|
|
23497
|
+
* @returns ListSectionItemsResponse
|
|
23498
|
+
*/
|
|
23499
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.ListSectionItemsResponse;
|
|
23500
|
+
|
|
23501
|
+
/**
|
|
23502
|
+
* Creates a plain object from a ListSectionItemsResponse message. Also converts values to other types if specified.
|
|
23503
|
+
* @param message ListSectionItemsResponse
|
|
23504
|
+
* @param [options] Conversion options
|
|
23505
|
+
* @returns Plain object
|
|
23506
|
+
*/
|
|
23507
|
+
public static toObject(message: google.chat.v1.ListSectionItemsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23508
|
+
|
|
23509
|
+
/**
|
|
23510
|
+
* Converts this ListSectionItemsResponse to JSON.
|
|
23511
|
+
* @returns JSON object
|
|
23512
|
+
*/
|
|
23513
|
+
public toJSON(): { [k: string]: any };
|
|
23514
|
+
|
|
23515
|
+
/**
|
|
23516
|
+
* Gets the default type url for ListSectionItemsResponse
|
|
23517
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23518
|
+
* @returns The default type url
|
|
23519
|
+
*/
|
|
23520
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23521
|
+
}
|
|
23522
|
+
|
|
23523
|
+
/** Properties of a MoveSectionItemRequest. */
|
|
23524
|
+
interface IMoveSectionItemRequest {
|
|
23525
|
+
|
|
23526
|
+
/** MoveSectionItemRequest name */
|
|
23527
|
+
name?: (string|null);
|
|
23528
|
+
|
|
23529
|
+
/** MoveSectionItemRequest targetSection */
|
|
23530
|
+
targetSection?: (string|null);
|
|
23531
|
+
}
|
|
23532
|
+
|
|
23533
|
+
/** Represents a MoveSectionItemRequest. */
|
|
23534
|
+
class MoveSectionItemRequest implements IMoveSectionItemRequest {
|
|
23535
|
+
|
|
23536
|
+
/**
|
|
23537
|
+
* Constructs a new MoveSectionItemRequest.
|
|
23538
|
+
* @param [properties] Properties to set
|
|
23539
|
+
*/
|
|
23540
|
+
constructor(properties?: google.chat.v1.IMoveSectionItemRequest);
|
|
23541
|
+
|
|
23542
|
+
/** MoveSectionItemRequest name. */
|
|
23543
|
+
public name: string;
|
|
23544
|
+
|
|
23545
|
+
/** MoveSectionItemRequest targetSection. */
|
|
23546
|
+
public targetSection: string;
|
|
23547
|
+
|
|
23548
|
+
/**
|
|
23549
|
+
* Creates a new MoveSectionItemRequest instance using the specified properties.
|
|
23550
|
+
* @param [properties] Properties to set
|
|
23551
|
+
* @returns MoveSectionItemRequest instance
|
|
23552
|
+
*/
|
|
23553
|
+
public static create(properties?: google.chat.v1.IMoveSectionItemRequest): google.chat.v1.MoveSectionItemRequest;
|
|
23554
|
+
|
|
23555
|
+
/**
|
|
23556
|
+
* Encodes the specified MoveSectionItemRequest message. Does not implicitly {@link google.chat.v1.MoveSectionItemRequest.verify|verify} messages.
|
|
23557
|
+
* @param message MoveSectionItemRequest message or plain object to encode
|
|
23558
|
+
* @param [writer] Writer to encode to
|
|
23559
|
+
* @returns Writer
|
|
23560
|
+
*/
|
|
23561
|
+
public static encode(message: google.chat.v1.IMoveSectionItemRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23562
|
+
|
|
23563
|
+
/**
|
|
23564
|
+
* Encodes the specified MoveSectionItemRequest message, length delimited. Does not implicitly {@link google.chat.v1.MoveSectionItemRequest.verify|verify} messages.
|
|
23565
|
+
* @param message MoveSectionItemRequest message or plain object to encode
|
|
23566
|
+
* @param [writer] Writer to encode to
|
|
23567
|
+
* @returns Writer
|
|
23568
|
+
*/
|
|
23569
|
+
public static encodeDelimited(message: google.chat.v1.IMoveSectionItemRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23570
|
+
|
|
23571
|
+
/**
|
|
23572
|
+
* Decodes a MoveSectionItemRequest message from the specified reader or buffer.
|
|
23573
|
+
* @param reader Reader or buffer to decode from
|
|
23574
|
+
* @param [length] Message length if known beforehand
|
|
23575
|
+
* @returns MoveSectionItemRequest
|
|
23576
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23577
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23578
|
+
*/
|
|
23579
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MoveSectionItemRequest;
|
|
23580
|
+
|
|
23581
|
+
/**
|
|
23582
|
+
* Decodes a MoveSectionItemRequest message from the specified reader or buffer, length delimited.
|
|
23583
|
+
* @param reader Reader or buffer to decode from
|
|
23584
|
+
* @returns MoveSectionItemRequest
|
|
23585
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23586
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23587
|
+
*/
|
|
23588
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MoveSectionItemRequest;
|
|
23589
|
+
|
|
23590
|
+
/**
|
|
23591
|
+
* Verifies a MoveSectionItemRequest message.
|
|
23592
|
+
* @param message Plain object to verify
|
|
23593
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23594
|
+
*/
|
|
23595
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23596
|
+
|
|
23597
|
+
/**
|
|
23598
|
+
* Creates a MoveSectionItemRequest message from a plain object. Also converts values to their respective internal types.
|
|
23599
|
+
* @param object Plain object
|
|
23600
|
+
* @returns MoveSectionItemRequest
|
|
23601
|
+
*/
|
|
23602
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.MoveSectionItemRequest;
|
|
23603
|
+
|
|
23604
|
+
/**
|
|
23605
|
+
* Creates a plain object from a MoveSectionItemRequest message. Also converts values to other types if specified.
|
|
23606
|
+
* @param message MoveSectionItemRequest
|
|
23607
|
+
* @param [options] Conversion options
|
|
23608
|
+
* @returns Plain object
|
|
23609
|
+
*/
|
|
23610
|
+
public static toObject(message: google.chat.v1.MoveSectionItemRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23611
|
+
|
|
23612
|
+
/**
|
|
23613
|
+
* Converts this MoveSectionItemRequest to JSON.
|
|
23614
|
+
* @returns JSON object
|
|
23615
|
+
*/
|
|
23616
|
+
public toJSON(): { [k: string]: any };
|
|
23617
|
+
|
|
23618
|
+
/**
|
|
23619
|
+
* Gets the default type url for MoveSectionItemRequest
|
|
23620
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23621
|
+
* @returns The default type url
|
|
23622
|
+
*/
|
|
23623
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23624
|
+
}
|
|
23625
|
+
|
|
23626
|
+
/** Properties of a MoveSectionItemResponse. */
|
|
23627
|
+
interface IMoveSectionItemResponse {
|
|
23628
|
+
|
|
23629
|
+
/** MoveSectionItemResponse sectionItem */
|
|
23630
|
+
sectionItem?: (google.chat.v1.ISectionItem|null);
|
|
23631
|
+
}
|
|
23632
|
+
|
|
23633
|
+
/** Represents a MoveSectionItemResponse. */
|
|
23634
|
+
class MoveSectionItemResponse implements IMoveSectionItemResponse {
|
|
23635
|
+
|
|
23636
|
+
/**
|
|
23637
|
+
* Constructs a new MoveSectionItemResponse.
|
|
23638
|
+
* @param [properties] Properties to set
|
|
23639
|
+
*/
|
|
23640
|
+
constructor(properties?: google.chat.v1.IMoveSectionItemResponse);
|
|
23641
|
+
|
|
23642
|
+
/** MoveSectionItemResponse sectionItem. */
|
|
23643
|
+
public sectionItem?: (google.chat.v1.ISectionItem|null);
|
|
23644
|
+
|
|
23645
|
+
/**
|
|
23646
|
+
* Creates a new MoveSectionItemResponse instance using the specified properties.
|
|
23647
|
+
* @param [properties] Properties to set
|
|
23648
|
+
* @returns MoveSectionItemResponse instance
|
|
23649
|
+
*/
|
|
23650
|
+
public static create(properties?: google.chat.v1.IMoveSectionItemResponse): google.chat.v1.MoveSectionItemResponse;
|
|
23651
|
+
|
|
23652
|
+
/**
|
|
23653
|
+
* Encodes the specified MoveSectionItemResponse message. Does not implicitly {@link google.chat.v1.MoveSectionItemResponse.verify|verify} messages.
|
|
23654
|
+
* @param message MoveSectionItemResponse message or plain object to encode
|
|
23655
|
+
* @param [writer] Writer to encode to
|
|
23656
|
+
* @returns Writer
|
|
23657
|
+
*/
|
|
23658
|
+
public static encode(message: google.chat.v1.IMoveSectionItemResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23659
|
+
|
|
23660
|
+
/**
|
|
23661
|
+
* Encodes the specified MoveSectionItemResponse message, length delimited. Does not implicitly {@link google.chat.v1.MoveSectionItemResponse.verify|verify} messages.
|
|
23662
|
+
* @param message MoveSectionItemResponse message or plain object to encode
|
|
23663
|
+
* @param [writer] Writer to encode to
|
|
23664
|
+
* @returns Writer
|
|
23665
|
+
*/
|
|
23666
|
+
public static encodeDelimited(message: google.chat.v1.IMoveSectionItemResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23667
|
+
|
|
23668
|
+
/**
|
|
23669
|
+
* Decodes a MoveSectionItemResponse message from the specified reader or buffer.
|
|
23670
|
+
* @param reader Reader or buffer to decode from
|
|
23671
|
+
* @param [length] Message length if known beforehand
|
|
23672
|
+
* @returns MoveSectionItemResponse
|
|
23673
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23674
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23675
|
+
*/
|
|
23676
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.chat.v1.MoveSectionItemResponse;
|
|
23677
|
+
|
|
23678
|
+
/**
|
|
23679
|
+
* Decodes a MoveSectionItemResponse message from the specified reader or buffer, length delimited.
|
|
23680
|
+
* @param reader Reader or buffer to decode from
|
|
23681
|
+
* @returns MoveSectionItemResponse
|
|
23682
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23683
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23684
|
+
*/
|
|
23685
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.chat.v1.MoveSectionItemResponse;
|
|
23686
|
+
|
|
23687
|
+
/**
|
|
23688
|
+
* Verifies a MoveSectionItemResponse message.
|
|
23689
|
+
* @param message Plain object to verify
|
|
23690
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23691
|
+
*/
|
|
23692
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23693
|
+
|
|
23694
|
+
/**
|
|
23695
|
+
* Creates a MoveSectionItemResponse message from a plain object. Also converts values to their respective internal types.
|
|
23696
|
+
* @param object Plain object
|
|
23697
|
+
* @returns MoveSectionItemResponse
|
|
23698
|
+
*/
|
|
23699
|
+
public static fromObject(object: { [k: string]: any }): google.chat.v1.MoveSectionItemResponse;
|
|
23700
|
+
|
|
23701
|
+
/**
|
|
23702
|
+
* Creates a plain object from a MoveSectionItemResponse message. Also converts values to other types if specified.
|
|
23703
|
+
* @param message MoveSectionItemResponse
|
|
23704
|
+
* @param [options] Conversion options
|
|
23705
|
+
* @returns Plain object
|
|
23706
|
+
*/
|
|
23707
|
+
public static toObject(message: google.chat.v1.MoveSectionItemResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23708
|
+
|
|
23709
|
+
/**
|
|
23710
|
+
* Converts this MoveSectionItemResponse to JSON.
|
|
23711
|
+
* @returns JSON object
|
|
23712
|
+
*/
|
|
23713
|
+
public toJSON(): { [k: string]: any };
|
|
23714
|
+
|
|
23715
|
+
/**
|
|
23716
|
+
* Gets the default type url for MoveSectionItemResponse
|
|
23717
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23718
|
+
* @returns The default type url
|
|
23719
|
+
*/
|
|
23720
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23721
|
+
}
|
|
23722
|
+
|
|
21940
23723
|
/** Properties of a SpaceEvent. */
|
|
21941
23724
|
interface ISpaceEvent {
|
|
21942
23725
|
|