@temporalio/proto 1.13.2 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,6 @@
1
- Temporal TypeScript SDK
1
+ The MIT License
2
2
 
3
- MIT License
4
-
5
- Copyright (c) 2021 Temporal Technologies Inc. All Rights Reserved
3
+ Copyright (c) 2021-2025 Temporal Technologies Inc. All rights reserved.
6
4
 
7
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
8
6
  of this software and associated documentation files (the "Software"), to deal
@@ -11,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
9
  copies of the Software, and to permit persons to whom the Software is
12
10
  furnished to do so, subject to the following conditions:
13
11
 
14
- The above copyright notice and this permission notice shall be included in all
15
- copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
16
14
 
17
15
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
16
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
17
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- SOFTWARE.
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temporalio/proto",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "description": "Temporal.io SDK compiled protobuf definitions",
5
5
  "main": "protos/index.js",
6
6
  "types": "protos/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "engines": {
43
43
  "node": ">= 18.0.0"
44
44
  },
45
- "gitHead": "524b1bcf72b36fbf3148fe5adb0ddbe036293f6d"
45
+ "gitHead": "eb428ac36568b48be67fdba662c38631867b932d"
46
46
  }
@@ -16293,6 +16293,22 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
16293
16293
  }
16294
16294
  ]
16295
16295
  },
16296
+ SetServiceAccountNamespaceAccess: {
16297
+ requestType: "SetServiceAccountNamespaceAccessRequest",
16298
+ responseType: "SetServiceAccountNamespaceAccessResponse",
16299
+ options: {
16300
+ "(google.api.http).post": "/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access",
16301
+ "(google.api.http).body": "*"
16302
+ },
16303
+ parsedOptions: [
16304
+ {
16305
+ "(google.api.http)": {
16306
+ post: "/cloud/namespaces/{namespace}/service-accounts/{service_account_id}/access",
16307
+ body: "*"
16308
+ }
16309
+ }
16310
+ ]
16311
+ },
16296
16312
  DeleteServiceAccount: {
16297
16313
  requestType: "DeleteServiceAccountRequest",
16298
16314
  responseType: "DeleteServiceAccountResponse",
@@ -16514,6 +16530,22 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
16514
16530
  }
16515
16531
  }
16516
16532
  ]
16533
+ },
16534
+ ValidateAccountAuditLogSink: {
16535
+ requestType: "ValidateAccountAuditLogSinkRequest",
16536
+ responseType: "ValidateAccountAuditLogSinkResponse",
16537
+ options: {
16538
+ "(google.api.http).post": "/cloud/account/audit-logs/sink/validate",
16539
+ "(google.api.http).body": "*"
16540
+ },
16541
+ parsedOptions: [
16542
+ {
16543
+ "(google.api.http)": {
16544
+ post: "/cloud/account/audit-logs/sink/validate",
16545
+ body: "*"
16546
+ }
16547
+ }
16548
+ ]
16517
16549
  }
16518
16550
  }
16519
16551
  },
@@ -17574,6 +17606,38 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
17574
17606
  }
17575
17607
  }
17576
17608
  },
17609
+ SetServiceAccountNamespaceAccessRequest: {
17610
+ fields: {
17611
+ serviceAccountId: {
17612
+ type: "string",
17613
+ id: 1
17614
+ },
17615
+ namespace: {
17616
+ type: "string",
17617
+ id: 2
17618
+ },
17619
+ access: {
17620
+ type: "temporal.api.cloud.identity.v1.NamespaceAccess",
17621
+ id: 3
17622
+ },
17623
+ resourceVersion: {
17624
+ type: "string",
17625
+ id: 4
17626
+ },
17627
+ asyncOperationId: {
17628
+ type: "string",
17629
+ id: 5
17630
+ }
17631
+ }
17632
+ },
17633
+ SetServiceAccountNamespaceAccessResponse: {
17634
+ fields: {
17635
+ asyncOperation: {
17636
+ type: "temporal.api.cloud.operation.v1.AsyncOperation",
17637
+ id: 1
17638
+ }
17639
+ }
17640
+ },
17577
17641
  DeleteServiceAccountRequest: {
17578
17642
  fields: {
17579
17643
  serviceAccountId: {
@@ -17932,6 +17996,17 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
17932
17996
  id: 1
17933
17997
  }
17934
17998
  }
17999
+ },
18000
+ ValidateAccountAuditLogSinkRequest: {
18001
+ fields: {
18002
+ spec: {
18003
+ type: "temporal.api.cloud.account.v1.AuditLogSinkSpec",
18004
+ id: 1
18005
+ }
18006
+ }
18007
+ },
18008
+ ValidateAccountAuditLogSinkResponse: {
18009
+ fields: {}
17935
18010
  }
17936
18011
  }
17937
18012
  }
@@ -18926,6 +19001,38 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
18926
19001
  id: 4
18927
19002
  }
18928
19003
  }
19004
+ },
19005
+ KinesisSpec: {
19006
+ fields: {
19007
+ roleName: {
19008
+ type: "string",
19009
+ id: 1
19010
+ },
19011
+ destinationUri: {
19012
+ type: "string",
19013
+ id: 2
19014
+ },
19015
+ region: {
19016
+ type: "string",
19017
+ id: 3
19018
+ }
19019
+ }
19020
+ },
19021
+ PubSubSpec: {
19022
+ fields: {
19023
+ serviceAccountId: {
19024
+ type: "string",
19025
+ id: 1
19026
+ },
19027
+ topicName: {
19028
+ type: "string",
19029
+ id: 2
19030
+ },
19031
+ gcpProjectId: {
19032
+ type: "string",
19033
+ id: 3
19034
+ }
19035
+ }
18929
19036
  }
18930
19037
  }
18931
19038
  }
@@ -19267,6 +19374,34 @@ var $root = ($protobuf.roots.__temporal || ($protobuf.roots.__temporal = new $pr
19267
19374
  id: 6
19268
19375
  }
19269
19376
  }
19377
+ },
19378
+ AuditLogSinkSpec: {
19379
+ oneofs: {
19380
+ sinkType: {
19381
+ oneof: [
19382
+ "kinesisSink",
19383
+ "pubSubSink"
19384
+ ]
19385
+ }
19386
+ },
19387
+ fields: {
19388
+ name: {
19389
+ type: "string",
19390
+ id: 1
19391
+ },
19392
+ kinesisSink: {
19393
+ type: "api.cloud.sink.v1.KinesisSpec",
19394
+ id: 2
19395
+ },
19396
+ pubSubSink: {
19397
+ type: "api.cloud.sink.v1.PubSubSpec",
19398
+ id: 3
19399
+ },
19400
+ enabled: {
19401
+ type: "bool",
19402
+ id: 4
19403
+ }
19404
+ }
19270
19405
  }
19271
19406
  }
19272
19407
  }
package/protos/root.d.ts CHANGED
@@ -73312,6 +73312,20 @@ export namespace temporal {
73312
73312
  */
73313
73313
  public updateServiceAccount(request: temporal.api.cloud.cloudservice.v1.IUpdateServiceAccountRequest): Promise<temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse>;
73314
73314
 
73315
+ /**
73316
+ * Set a service account's access to a namespace.
73317
+ * @param request SetServiceAccountNamespaceAccessRequest message or plain object
73318
+ * @param callback Node-style callback called with the error, if any, and SetServiceAccountNamespaceAccessResponse
73319
+ */
73320
+ public setServiceAccountNamespaceAccess(request: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, callback: temporal.api.cloud.cloudservice.v1.CloudService.SetServiceAccountNamespaceAccessCallback): void;
73321
+
73322
+ /**
73323
+ * Set a service account's access to a namespace.
73324
+ * @param request SetServiceAccountNamespaceAccessRequest message or plain object
73325
+ * @returns Promise
73326
+ */
73327
+ public setServiceAccountNamespaceAccess(request: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest): Promise<temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse>;
73328
+
73315
73329
  /**
73316
73330
  * Delete a service account.
73317
73331
  * @param request DeleteServiceAccountRequest message or plain object
@@ -73525,6 +73539,22 @@ export namespace temporal {
73525
73539
  * @returns Promise
73526
73540
  */
73527
73541
  public deleteConnectivityRule(request: temporal.api.cloud.cloudservice.v1.IDeleteConnectivityRuleRequest): Promise<temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse>;
73542
+
73543
+ /**
73544
+ * Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.
73545
+ * The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.
73546
+ * @param request ValidateAccountAuditLogSinkRequest message or plain object
73547
+ * @param callback Node-style callback called with the error, if any, and ValidateAccountAuditLogSinkResponse
73548
+ */
73549
+ public validateAccountAuditLogSink(request: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, callback: temporal.api.cloud.cloudservice.v1.CloudService.ValidateAccountAuditLogSinkCallback): void;
73550
+
73551
+ /**
73552
+ * Validate customer audit log sink is accessible from Temporal's workflow by delivering an empty file to the specified sink.
73553
+ * The operation verifies that the sink is correctly configured, accessible and ready to receive audit logs.
73554
+ * @param request ValidateAccountAuditLogSinkRequest message or plain object
73555
+ * @returns Promise
73556
+ */
73557
+ public validateAccountAuditLogSink(request: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest): Promise<temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse>;
73528
73558
  }
73529
73559
 
73530
73560
  namespace CloudService {
@@ -73816,6 +73846,13 @@ export namespace temporal {
73816
73846
  */
73817
73847
  type UpdateServiceAccountCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.UpdateServiceAccountResponse) => void;
73818
73848
 
73849
+ /**
73850
+ * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#setServiceAccountNamespaceAccess}.
73851
+ * @param error Error, if any
73852
+ * @param [response] SetServiceAccountNamespaceAccessResponse
73853
+ */
73854
+ type SetServiceAccountNamespaceAccessCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse) => void;
73855
+
73819
73856
  /**
73820
73857
  * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#deleteServiceAccount}.
73821
73858
  * @param error Error, if any
@@ -73920,6 +73957,13 @@ export namespace temporal {
73920
73957
  * @param [response] DeleteConnectivityRuleResponse
73921
73958
  */
73922
73959
  type DeleteConnectivityRuleCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.DeleteConnectivityRuleResponse) => void;
73960
+
73961
+ /**
73962
+ * Callback as used by {@link temporal.api.cloud.cloudservice.v1.CloudService#validateAccountAuditLogSink}.
73963
+ * @param error Error, if any
73964
+ * @param [response] ValidateAccountAuditLogSinkResponse
73965
+ */
73966
+ type ValidateAccountAuditLogSinkCallback = (error: (Error|null), response?: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse) => void;
73923
73967
  }
73924
73968
 
73925
73969
  /** Properties of a GetUsersRequest. */
@@ -82303,6 +82347,216 @@ export namespace temporal {
82303
82347
  public static getTypeUrl(typeUrlPrefix?: string): string;
82304
82348
  }
82305
82349
 
82350
+ /** Properties of a SetServiceAccountNamespaceAccessRequest. */
82351
+ interface ISetServiceAccountNamespaceAccessRequest {
82352
+
82353
+ /** The ID of the service account to update. */
82354
+ serviceAccountId?: (string|null);
82355
+
82356
+ /** The namespace to set permissions for. */
82357
+ namespace?: (string|null);
82358
+
82359
+ /** The namespace access to assign the service account. */
82360
+ access?: (temporal.api.cloud.identity.v1.INamespaceAccess|null);
82361
+
82362
+ /**
82363
+ * The version of the service account for which this update is intended for.
82364
+ * The latest version can be found in the GetServiceAccount response.
82365
+ */
82366
+ resourceVersion?: (string|null);
82367
+
82368
+ /** The ID to use for this async operation - optional. */
82369
+ asyncOperationId?: (string|null);
82370
+ }
82371
+
82372
+ /** Represents a SetServiceAccountNamespaceAccessRequest. */
82373
+ class SetServiceAccountNamespaceAccessRequest implements ISetServiceAccountNamespaceAccessRequest {
82374
+
82375
+ /**
82376
+ * Constructs a new SetServiceAccountNamespaceAccessRequest.
82377
+ * @param [properties] Properties to set
82378
+ */
82379
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest);
82380
+
82381
+ /** The ID of the service account to update. */
82382
+ public serviceAccountId: string;
82383
+
82384
+ /** The namespace to set permissions for. */
82385
+ public namespace: string;
82386
+
82387
+ /** The namespace access to assign the service account. */
82388
+ public access?: (temporal.api.cloud.identity.v1.INamespaceAccess|null);
82389
+
82390
+ /**
82391
+ * The version of the service account for which this update is intended for.
82392
+ * The latest version can be found in the GetServiceAccount response.
82393
+ */
82394
+ public resourceVersion: string;
82395
+
82396
+ /** The ID to use for this async operation - optional. */
82397
+ public asyncOperationId: string;
82398
+
82399
+ /**
82400
+ * Creates a new SetServiceAccountNamespaceAccessRequest instance using the specified properties.
82401
+ * @param [properties] Properties to set
82402
+ * @returns SetServiceAccountNamespaceAccessRequest instance
82403
+ */
82404
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82405
+
82406
+ /**
82407
+ * Encodes the specified SetServiceAccountNamespaceAccessRequest message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.verify|verify} messages.
82408
+ * @param message SetServiceAccountNamespaceAccessRequest message or plain object to encode
82409
+ * @param [writer] Writer to encode to
82410
+ * @returns Writer
82411
+ */
82412
+ public static encode(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, writer?: $protobuf.Writer): $protobuf.Writer;
82413
+
82414
+ /**
82415
+ * Encodes the specified SetServiceAccountNamespaceAccessRequest message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest.verify|verify} messages.
82416
+ * @param message SetServiceAccountNamespaceAccessRequest message or plain object to encode
82417
+ * @param [writer] Writer to encode to
82418
+ * @returns Writer
82419
+ */
82420
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessRequest, writer?: $protobuf.Writer): $protobuf.Writer;
82421
+
82422
+ /**
82423
+ * Decodes a SetServiceAccountNamespaceAccessRequest message from the specified reader or buffer.
82424
+ * @param reader Reader or buffer to decode from
82425
+ * @param [length] Message length if known beforehand
82426
+ * @returns SetServiceAccountNamespaceAccessRequest
82427
+ * @throws {Error} If the payload is not a reader or valid buffer
82428
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82429
+ */
82430
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82431
+
82432
+ /**
82433
+ * Decodes a SetServiceAccountNamespaceAccessRequest message from the specified reader or buffer, length delimited.
82434
+ * @param reader Reader or buffer to decode from
82435
+ * @returns SetServiceAccountNamespaceAccessRequest
82436
+ * @throws {Error} If the payload is not a reader or valid buffer
82437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82438
+ */
82439
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82440
+
82441
+ /**
82442
+ * Creates a SetServiceAccountNamespaceAccessRequest message from a plain object. Also converts values to their respective internal types.
82443
+ * @param object Plain object
82444
+ * @returns SetServiceAccountNamespaceAccessRequest
82445
+ */
82446
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest;
82447
+
82448
+ /**
82449
+ * Creates a plain object from a SetServiceAccountNamespaceAccessRequest message. Also converts values to other types if specified.
82450
+ * @param message SetServiceAccountNamespaceAccessRequest
82451
+ * @param [options] Conversion options
82452
+ * @returns Plain object
82453
+ */
82454
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
82455
+
82456
+ /**
82457
+ * Converts this SetServiceAccountNamespaceAccessRequest to JSON.
82458
+ * @returns JSON object
82459
+ */
82460
+ public toJSON(): { [k: string]: any };
82461
+
82462
+ /**
82463
+ * Gets the default type url for SetServiceAccountNamespaceAccessRequest
82464
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
82465
+ * @returns The default type url
82466
+ */
82467
+ public static getTypeUrl(typeUrlPrefix?: string): string;
82468
+ }
82469
+
82470
+ /** Properties of a SetServiceAccountNamespaceAccessResponse. */
82471
+ interface ISetServiceAccountNamespaceAccessResponse {
82472
+
82473
+ /** The async operation. */
82474
+ asyncOperation?: (temporal.api.cloud.operation.v1.IAsyncOperation|null);
82475
+ }
82476
+
82477
+ /** Represents a SetServiceAccountNamespaceAccessResponse. */
82478
+ class SetServiceAccountNamespaceAccessResponse implements ISetServiceAccountNamespaceAccessResponse {
82479
+
82480
+ /**
82481
+ * Constructs a new SetServiceAccountNamespaceAccessResponse.
82482
+ * @param [properties] Properties to set
82483
+ */
82484
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse);
82485
+
82486
+ /** The async operation. */
82487
+ public asyncOperation?: (temporal.api.cloud.operation.v1.IAsyncOperation|null);
82488
+
82489
+ /**
82490
+ * Creates a new SetServiceAccountNamespaceAccessResponse instance using the specified properties.
82491
+ * @param [properties] Properties to set
82492
+ * @returns SetServiceAccountNamespaceAccessResponse instance
82493
+ */
82494
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82495
+
82496
+ /**
82497
+ * Encodes the specified SetServiceAccountNamespaceAccessResponse message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse.verify|verify} messages.
82498
+ * @param message SetServiceAccountNamespaceAccessResponse message or plain object to encode
82499
+ * @param [writer] Writer to encode to
82500
+ * @returns Writer
82501
+ */
82502
+ public static encode(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse, writer?: $protobuf.Writer): $protobuf.Writer;
82503
+
82504
+ /**
82505
+ * Encodes the specified SetServiceAccountNamespaceAccessResponse message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse.verify|verify} messages.
82506
+ * @param message SetServiceAccountNamespaceAccessResponse message or plain object to encode
82507
+ * @param [writer] Writer to encode to
82508
+ * @returns Writer
82509
+ */
82510
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.ISetServiceAccountNamespaceAccessResponse, writer?: $protobuf.Writer): $protobuf.Writer;
82511
+
82512
+ /**
82513
+ * Decodes a SetServiceAccountNamespaceAccessResponse message from the specified reader or buffer.
82514
+ * @param reader Reader or buffer to decode from
82515
+ * @param [length] Message length if known beforehand
82516
+ * @returns SetServiceAccountNamespaceAccessResponse
82517
+ * @throws {Error} If the payload is not a reader or valid buffer
82518
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82519
+ */
82520
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82521
+
82522
+ /**
82523
+ * Decodes a SetServiceAccountNamespaceAccessResponse message from the specified reader or buffer, length delimited.
82524
+ * @param reader Reader or buffer to decode from
82525
+ * @returns SetServiceAccountNamespaceAccessResponse
82526
+ * @throws {Error} If the payload is not a reader or valid buffer
82527
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
82528
+ */
82529
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82530
+
82531
+ /**
82532
+ * Creates a SetServiceAccountNamespaceAccessResponse message from a plain object. Also converts values to their respective internal types.
82533
+ * @param object Plain object
82534
+ * @returns SetServiceAccountNamespaceAccessResponse
82535
+ */
82536
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse;
82537
+
82538
+ /**
82539
+ * Creates a plain object from a SetServiceAccountNamespaceAccessResponse message. Also converts values to other types if specified.
82540
+ * @param message SetServiceAccountNamespaceAccessResponse
82541
+ * @param [options] Conversion options
82542
+ * @returns Plain object
82543
+ */
82544
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.SetServiceAccountNamespaceAccessResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
82545
+
82546
+ /**
82547
+ * Converts this SetServiceAccountNamespaceAccessResponse to JSON.
82548
+ * @returns JSON object
82549
+ */
82550
+ public toJSON(): { [k: string]: any };
82551
+
82552
+ /**
82553
+ * Gets the default type url for SetServiceAccountNamespaceAccessResponse
82554
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
82555
+ * @returns The default type url
82556
+ */
82557
+ public static getTypeUrl(typeUrlPrefix?: string): string;
82558
+ }
82559
+
82306
82560
  /** Properties of a DeleteServiceAccountRequest. */
82307
82561
  interface IDeleteServiceAccountRequest {
82308
82562
 
@@ -85292,6 +85546,180 @@ export namespace temporal {
85292
85546
  */
85293
85547
  public static getTypeUrl(typeUrlPrefix?: string): string;
85294
85548
  }
85549
+
85550
+ /** Properties of a ValidateAccountAuditLogSinkRequest. */
85551
+ interface IValidateAccountAuditLogSinkRequest {
85552
+
85553
+ /** The audit log sink spec that will be validated */
85554
+ spec?: (temporal.api.cloud.account.v1.IAuditLogSinkSpec|null);
85555
+ }
85556
+
85557
+ /** Represents a ValidateAccountAuditLogSinkRequest. */
85558
+ class ValidateAccountAuditLogSinkRequest implements IValidateAccountAuditLogSinkRequest {
85559
+
85560
+ /**
85561
+ * Constructs a new ValidateAccountAuditLogSinkRequest.
85562
+ * @param [properties] Properties to set
85563
+ */
85564
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest);
85565
+
85566
+ /** The audit log sink spec that will be validated */
85567
+ public spec?: (temporal.api.cloud.account.v1.IAuditLogSinkSpec|null);
85568
+
85569
+ /**
85570
+ * Creates a new ValidateAccountAuditLogSinkRequest instance using the specified properties.
85571
+ * @param [properties] Properties to set
85572
+ * @returns ValidateAccountAuditLogSinkRequest instance
85573
+ */
85574
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85575
+
85576
+ /**
85577
+ * Encodes the specified ValidateAccountAuditLogSinkRequest message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest.verify|verify} messages.
85578
+ * @param message ValidateAccountAuditLogSinkRequest message or plain object to encode
85579
+ * @param [writer] Writer to encode to
85580
+ * @returns Writer
85581
+ */
85582
+ public static encode(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
85583
+
85584
+ /**
85585
+ * Encodes the specified ValidateAccountAuditLogSinkRequest message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest.verify|verify} messages.
85586
+ * @param message ValidateAccountAuditLogSinkRequest message or plain object to encode
85587
+ * @param [writer] Writer to encode to
85588
+ * @returns Writer
85589
+ */
85590
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
85591
+
85592
+ /**
85593
+ * Decodes a ValidateAccountAuditLogSinkRequest message from the specified reader or buffer.
85594
+ * @param reader Reader or buffer to decode from
85595
+ * @param [length] Message length if known beforehand
85596
+ * @returns ValidateAccountAuditLogSinkRequest
85597
+ * @throws {Error} If the payload is not a reader or valid buffer
85598
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85599
+ */
85600
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85601
+
85602
+ /**
85603
+ * Decodes a ValidateAccountAuditLogSinkRequest message from the specified reader or buffer, length delimited.
85604
+ * @param reader Reader or buffer to decode from
85605
+ * @returns ValidateAccountAuditLogSinkRequest
85606
+ * @throws {Error} If the payload is not a reader or valid buffer
85607
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85608
+ */
85609
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85610
+
85611
+ /**
85612
+ * Creates a ValidateAccountAuditLogSinkRequest message from a plain object. Also converts values to their respective internal types.
85613
+ * @param object Plain object
85614
+ * @returns ValidateAccountAuditLogSinkRequest
85615
+ */
85616
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest;
85617
+
85618
+ /**
85619
+ * Creates a plain object from a ValidateAccountAuditLogSinkRequest message. Also converts values to other types if specified.
85620
+ * @param message ValidateAccountAuditLogSinkRequest
85621
+ * @param [options] Conversion options
85622
+ * @returns Plain object
85623
+ */
85624
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
85625
+
85626
+ /**
85627
+ * Converts this ValidateAccountAuditLogSinkRequest to JSON.
85628
+ * @returns JSON object
85629
+ */
85630
+ public toJSON(): { [k: string]: any };
85631
+
85632
+ /**
85633
+ * Gets the default type url for ValidateAccountAuditLogSinkRequest
85634
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
85635
+ * @returns The default type url
85636
+ */
85637
+ public static getTypeUrl(typeUrlPrefix?: string): string;
85638
+ }
85639
+
85640
+ /** Properties of a ValidateAccountAuditLogSinkResponse. */
85641
+ interface IValidateAccountAuditLogSinkResponse {
85642
+ }
85643
+
85644
+ /** Represents a ValidateAccountAuditLogSinkResponse. */
85645
+ class ValidateAccountAuditLogSinkResponse implements IValidateAccountAuditLogSinkResponse {
85646
+
85647
+ /**
85648
+ * Constructs a new ValidateAccountAuditLogSinkResponse.
85649
+ * @param [properties] Properties to set
85650
+ */
85651
+ constructor(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse);
85652
+
85653
+ /**
85654
+ * Creates a new ValidateAccountAuditLogSinkResponse instance using the specified properties.
85655
+ * @param [properties] Properties to set
85656
+ * @returns ValidateAccountAuditLogSinkResponse instance
85657
+ */
85658
+ public static create(properties?: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85659
+
85660
+ /**
85661
+ * Encodes the specified ValidateAccountAuditLogSinkResponse message. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse.verify|verify} messages.
85662
+ * @param message ValidateAccountAuditLogSinkResponse message or plain object to encode
85663
+ * @param [writer] Writer to encode to
85664
+ * @returns Writer
85665
+ */
85666
+ public static encode(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
85667
+
85668
+ /**
85669
+ * Encodes the specified ValidateAccountAuditLogSinkResponse message, length delimited. Does not implicitly {@link temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse.verify|verify} messages.
85670
+ * @param message ValidateAccountAuditLogSinkResponse message or plain object to encode
85671
+ * @param [writer] Writer to encode to
85672
+ * @returns Writer
85673
+ */
85674
+ public static encodeDelimited(message: temporal.api.cloud.cloudservice.v1.IValidateAccountAuditLogSinkResponse, writer?: $protobuf.Writer): $protobuf.Writer;
85675
+
85676
+ /**
85677
+ * Decodes a ValidateAccountAuditLogSinkResponse message from the specified reader or buffer.
85678
+ * @param reader Reader or buffer to decode from
85679
+ * @param [length] Message length if known beforehand
85680
+ * @returns ValidateAccountAuditLogSinkResponse
85681
+ * @throws {Error} If the payload is not a reader or valid buffer
85682
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85683
+ */
85684
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85685
+
85686
+ /**
85687
+ * Decodes a ValidateAccountAuditLogSinkResponse message from the specified reader or buffer, length delimited.
85688
+ * @param reader Reader or buffer to decode from
85689
+ * @returns ValidateAccountAuditLogSinkResponse
85690
+ * @throws {Error} If the payload is not a reader or valid buffer
85691
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
85692
+ */
85693
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85694
+
85695
+ /**
85696
+ * Creates a ValidateAccountAuditLogSinkResponse message from a plain object. Also converts values to their respective internal types.
85697
+ * @param object Plain object
85698
+ * @returns ValidateAccountAuditLogSinkResponse
85699
+ */
85700
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse;
85701
+
85702
+ /**
85703
+ * Creates a plain object from a ValidateAccountAuditLogSinkResponse message. Also converts values to other types if specified.
85704
+ * @param message ValidateAccountAuditLogSinkResponse
85705
+ * @param [options] Conversion options
85706
+ * @returns Plain object
85707
+ */
85708
+ public static toObject(message: temporal.api.cloud.cloudservice.v1.ValidateAccountAuditLogSinkResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
85709
+
85710
+ /**
85711
+ * Converts this ValidateAccountAuditLogSinkResponse to JSON.
85712
+ * @returns JSON object
85713
+ */
85714
+ public toJSON(): { [k: string]: any };
85715
+
85716
+ /**
85717
+ * Gets the default type url for ValidateAccountAuditLogSinkResponse
85718
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
85719
+ * @returns The default type url
85720
+ */
85721
+ public static getTypeUrl(typeUrlPrefix?: string): string;
85722
+ }
85295
85723
  }
85296
85724
  }
85297
85725
 
@@ -90076,6 +90504,210 @@ export namespace temporal {
90076
90504
  */
90077
90505
  public static getTypeUrl(typeUrlPrefix?: string): string;
90078
90506
  }
90507
+
90508
+ /** Properties of a KinesisSpec. */
90509
+ interface IKinesisSpec {
90510
+
90511
+ /** The role Temporal Cloud assumes when writing records to Kinesis */
90512
+ roleName?: (string|null);
90513
+
90514
+ /** Destination Kinesis endpoint arn for temporal to send data to. */
90515
+ destinationUri?: (string|null);
90516
+
90517
+ /** The sink's region. */
90518
+ region?: (string|null);
90519
+ }
90520
+
90521
+ /** Represents a KinesisSpec. */
90522
+ class KinesisSpec implements IKinesisSpec {
90523
+
90524
+ /**
90525
+ * Constructs a new KinesisSpec.
90526
+ * @param [properties] Properties to set
90527
+ */
90528
+ constructor(properties?: temporal.api.cloud.sink.v1.IKinesisSpec);
90529
+
90530
+ /** The role Temporal Cloud assumes when writing records to Kinesis */
90531
+ public roleName: string;
90532
+
90533
+ /** Destination Kinesis endpoint arn for temporal to send data to. */
90534
+ public destinationUri: string;
90535
+
90536
+ /** The sink's region. */
90537
+ public region: string;
90538
+
90539
+ /**
90540
+ * Creates a new KinesisSpec instance using the specified properties.
90541
+ * @param [properties] Properties to set
90542
+ * @returns KinesisSpec instance
90543
+ */
90544
+ public static create(properties?: temporal.api.cloud.sink.v1.IKinesisSpec): temporal.api.cloud.sink.v1.KinesisSpec;
90545
+
90546
+ /**
90547
+ * Encodes the specified KinesisSpec message. Does not implicitly {@link temporal.api.cloud.sink.v1.KinesisSpec.verify|verify} messages.
90548
+ * @param message KinesisSpec message or plain object to encode
90549
+ * @param [writer] Writer to encode to
90550
+ * @returns Writer
90551
+ */
90552
+ public static encode(message: temporal.api.cloud.sink.v1.IKinesisSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90553
+
90554
+ /**
90555
+ * Encodes the specified KinesisSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.sink.v1.KinesisSpec.verify|verify} messages.
90556
+ * @param message KinesisSpec message or plain object to encode
90557
+ * @param [writer] Writer to encode to
90558
+ * @returns Writer
90559
+ */
90560
+ public static encodeDelimited(message: temporal.api.cloud.sink.v1.IKinesisSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90561
+
90562
+ /**
90563
+ * Decodes a KinesisSpec message from the specified reader or buffer.
90564
+ * @param reader Reader or buffer to decode from
90565
+ * @param [length] Message length if known beforehand
90566
+ * @returns KinesisSpec
90567
+ * @throws {Error} If the payload is not a reader or valid buffer
90568
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90569
+ */
90570
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.sink.v1.KinesisSpec;
90571
+
90572
+ /**
90573
+ * Decodes a KinesisSpec message from the specified reader or buffer, length delimited.
90574
+ * @param reader Reader or buffer to decode from
90575
+ * @returns KinesisSpec
90576
+ * @throws {Error} If the payload is not a reader or valid buffer
90577
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90578
+ */
90579
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.sink.v1.KinesisSpec;
90580
+
90581
+ /**
90582
+ * Creates a KinesisSpec message from a plain object. Also converts values to their respective internal types.
90583
+ * @param object Plain object
90584
+ * @returns KinesisSpec
90585
+ */
90586
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.sink.v1.KinesisSpec;
90587
+
90588
+ /**
90589
+ * Creates a plain object from a KinesisSpec message. Also converts values to other types if specified.
90590
+ * @param message KinesisSpec
90591
+ * @param [options] Conversion options
90592
+ * @returns Plain object
90593
+ */
90594
+ public static toObject(message: temporal.api.cloud.sink.v1.KinesisSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
90595
+
90596
+ /**
90597
+ * Converts this KinesisSpec to JSON.
90598
+ * @returns JSON object
90599
+ */
90600
+ public toJSON(): { [k: string]: any };
90601
+
90602
+ /**
90603
+ * Gets the default type url for KinesisSpec
90604
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
90605
+ * @returns The default type url
90606
+ */
90607
+ public static getTypeUrl(typeUrlPrefix?: string): string;
90608
+ }
90609
+
90610
+ /** Properties of a PubSubSpec. */
90611
+ interface IPubSubSpec {
90612
+
90613
+ /** The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic */
90614
+ serviceAccountId?: (string|null);
90615
+
90616
+ /** Destination pubsub topic name for us */
90617
+ topicName?: (string|null);
90618
+
90619
+ /** The gcp project id of pubsub topic and service account */
90620
+ gcpProjectId?: (string|null);
90621
+ }
90622
+
90623
+ /** Represents a PubSubSpec. */
90624
+ class PubSubSpec implements IPubSubSpec {
90625
+
90626
+ /**
90627
+ * Constructs a new PubSubSpec.
90628
+ * @param [properties] Properties to set
90629
+ */
90630
+ constructor(properties?: temporal.api.cloud.sink.v1.IPubSubSpec);
90631
+
90632
+ /** The customer service account id that Temporal Cloud impersonates for writing records to customer's pubsub topic */
90633
+ public serviceAccountId: string;
90634
+
90635
+ /** Destination pubsub topic name for us */
90636
+ public topicName: string;
90637
+
90638
+ /** The gcp project id of pubsub topic and service account */
90639
+ public gcpProjectId: string;
90640
+
90641
+ /**
90642
+ * Creates a new PubSubSpec instance using the specified properties.
90643
+ * @param [properties] Properties to set
90644
+ * @returns PubSubSpec instance
90645
+ */
90646
+ public static create(properties?: temporal.api.cloud.sink.v1.IPubSubSpec): temporal.api.cloud.sink.v1.PubSubSpec;
90647
+
90648
+ /**
90649
+ * Encodes the specified PubSubSpec message. Does not implicitly {@link temporal.api.cloud.sink.v1.PubSubSpec.verify|verify} messages.
90650
+ * @param message PubSubSpec message or plain object to encode
90651
+ * @param [writer] Writer to encode to
90652
+ * @returns Writer
90653
+ */
90654
+ public static encode(message: temporal.api.cloud.sink.v1.IPubSubSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90655
+
90656
+ /**
90657
+ * Encodes the specified PubSubSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.sink.v1.PubSubSpec.verify|verify} messages.
90658
+ * @param message PubSubSpec message or plain object to encode
90659
+ * @param [writer] Writer to encode to
90660
+ * @returns Writer
90661
+ */
90662
+ public static encodeDelimited(message: temporal.api.cloud.sink.v1.IPubSubSpec, writer?: $protobuf.Writer): $protobuf.Writer;
90663
+
90664
+ /**
90665
+ * Decodes a PubSubSpec message from the specified reader or buffer.
90666
+ * @param reader Reader or buffer to decode from
90667
+ * @param [length] Message length if known beforehand
90668
+ * @returns PubSubSpec
90669
+ * @throws {Error} If the payload is not a reader or valid buffer
90670
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90671
+ */
90672
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.sink.v1.PubSubSpec;
90673
+
90674
+ /**
90675
+ * Decodes a PubSubSpec message from the specified reader or buffer, length delimited.
90676
+ * @param reader Reader or buffer to decode from
90677
+ * @returns PubSubSpec
90678
+ * @throws {Error} If the payload is not a reader or valid buffer
90679
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90680
+ */
90681
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.sink.v1.PubSubSpec;
90682
+
90683
+ /**
90684
+ * Creates a PubSubSpec message from a plain object. Also converts values to their respective internal types.
90685
+ * @param object Plain object
90686
+ * @returns PubSubSpec
90687
+ */
90688
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.sink.v1.PubSubSpec;
90689
+
90690
+ /**
90691
+ * Creates a plain object from a PubSubSpec message. Also converts values to other types if specified.
90692
+ * @param message PubSubSpec
90693
+ * @param [options] Conversion options
90694
+ * @returns Plain object
90695
+ */
90696
+ public static toObject(message: temporal.api.cloud.sink.v1.PubSubSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
90697
+
90698
+ /**
90699
+ * Converts this PubSubSpec to JSON.
90700
+ * @returns JSON object
90701
+ */
90702
+ public toJSON(): { [k: string]: any };
90703
+
90704
+ /**
90705
+ * Gets the default type url for PubSubSpec
90706
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
90707
+ * @returns The default type url
90708
+ */
90709
+ public static getTypeUrl(typeUrlPrefix?: string): string;
90710
+ }
90079
90711
  }
90080
90712
  }
90081
90713
 
@@ -91739,6 +92371,117 @@ export namespace temporal {
91739
92371
  */
91740
92372
  public static getTypeUrl(typeUrlPrefix?: string): string;
91741
92373
  }
92374
+
92375
+ /** Properties of an AuditLogSinkSpec. */
92376
+ interface IAuditLogSinkSpec {
92377
+
92378
+ /** Name of the sink e.g. "audit_log_01" */
92379
+ name?: (string|null);
92380
+
92381
+ /** The KinesisSpec when destination_type is Kinesis */
92382
+ kinesisSink?: (temporal.api.cloud.sink.v1.IKinesisSpec|null);
92383
+
92384
+ /** The PubSubSpec when destination_type is PubSub */
92385
+ pubSubSink?: (temporal.api.cloud.sink.v1.IPubSubSpec|null);
92386
+
92387
+ /** Enabled indicates whether the sink is enabled or not. */
92388
+ enabled?: (boolean|null);
92389
+ }
92390
+
92391
+ /** AuditLogSinkSpec is only used by Audit Log */
92392
+ class AuditLogSinkSpec implements IAuditLogSinkSpec {
92393
+
92394
+ /**
92395
+ * Constructs a new AuditLogSinkSpec.
92396
+ * @param [properties] Properties to set
92397
+ */
92398
+ constructor(properties?: temporal.api.cloud.account.v1.IAuditLogSinkSpec);
92399
+
92400
+ /** Name of the sink e.g. "audit_log_01" */
92401
+ public name: string;
92402
+
92403
+ /** The KinesisSpec when destination_type is Kinesis */
92404
+ public kinesisSink?: (temporal.api.cloud.sink.v1.IKinesisSpec|null);
92405
+
92406
+ /** The PubSubSpec when destination_type is PubSub */
92407
+ public pubSubSink?: (temporal.api.cloud.sink.v1.IPubSubSpec|null);
92408
+
92409
+ /** Enabled indicates whether the sink is enabled or not. */
92410
+ public enabled: boolean;
92411
+
92412
+ /** AuditLogSinkSpec sinkType. */
92413
+ public sinkType?: ("kinesisSink"|"pubSubSink");
92414
+
92415
+ /**
92416
+ * Creates a new AuditLogSinkSpec instance using the specified properties.
92417
+ * @param [properties] Properties to set
92418
+ * @returns AuditLogSinkSpec instance
92419
+ */
92420
+ public static create(properties?: temporal.api.cloud.account.v1.IAuditLogSinkSpec): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92421
+
92422
+ /**
92423
+ * Encodes the specified AuditLogSinkSpec message. Does not implicitly {@link temporal.api.cloud.account.v1.AuditLogSinkSpec.verify|verify} messages.
92424
+ * @param message AuditLogSinkSpec message or plain object to encode
92425
+ * @param [writer] Writer to encode to
92426
+ * @returns Writer
92427
+ */
92428
+ public static encode(message: temporal.api.cloud.account.v1.IAuditLogSinkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
92429
+
92430
+ /**
92431
+ * Encodes the specified AuditLogSinkSpec message, length delimited. Does not implicitly {@link temporal.api.cloud.account.v1.AuditLogSinkSpec.verify|verify} messages.
92432
+ * @param message AuditLogSinkSpec message or plain object to encode
92433
+ * @param [writer] Writer to encode to
92434
+ * @returns Writer
92435
+ */
92436
+ public static encodeDelimited(message: temporal.api.cloud.account.v1.IAuditLogSinkSpec, writer?: $protobuf.Writer): $protobuf.Writer;
92437
+
92438
+ /**
92439
+ * Decodes an AuditLogSinkSpec message from the specified reader or buffer.
92440
+ * @param reader Reader or buffer to decode from
92441
+ * @param [length] Message length if known beforehand
92442
+ * @returns AuditLogSinkSpec
92443
+ * @throws {Error} If the payload is not a reader or valid buffer
92444
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
92445
+ */
92446
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92447
+
92448
+ /**
92449
+ * Decodes an AuditLogSinkSpec message from the specified reader or buffer, length delimited.
92450
+ * @param reader Reader or buffer to decode from
92451
+ * @returns AuditLogSinkSpec
92452
+ * @throws {Error} If the payload is not a reader or valid buffer
92453
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
92454
+ */
92455
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92456
+
92457
+ /**
92458
+ * Creates an AuditLogSinkSpec message from a plain object. Also converts values to their respective internal types.
92459
+ * @param object Plain object
92460
+ * @returns AuditLogSinkSpec
92461
+ */
92462
+ public static fromObject(object: { [k: string]: any }): temporal.api.cloud.account.v1.AuditLogSinkSpec;
92463
+
92464
+ /**
92465
+ * Creates a plain object from an AuditLogSinkSpec message. Also converts values to other types if specified.
92466
+ * @param message AuditLogSinkSpec
92467
+ * @param [options] Conversion options
92468
+ * @returns Plain object
92469
+ */
92470
+ public static toObject(message: temporal.api.cloud.account.v1.AuditLogSinkSpec, options?: $protobuf.IConversionOptions): { [k: string]: any };
92471
+
92472
+ /**
92473
+ * Converts this AuditLogSinkSpec to JSON.
92474
+ * @returns JSON object
92475
+ */
92476
+ public toJSON(): { [k: string]: any };
92477
+
92478
+ /**
92479
+ * Gets the default type url for AuditLogSinkSpec
92480
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
92481
+ * @returns The default type url
92482
+ */
92483
+ public static getTypeUrl(typeUrlPrefix?: string): string;
92484
+ }
91742
92485
  }
91743
92486
  }
91744
92487