@maxim_mazurok/gapi.client.logging-v2 0.0.20230517 → 0.0.20230531

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.
Files changed (3) hide show
  1. package/index.d.ts +176 -5
  2. package/package.json +1 -1
  3. package/tests.ts +15 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20230517
12
+ // Revision: 20230531
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -378,8 +378,10 @@ declare namespace gapi.client {
378
378
  }
379
379
  interface ListLogEntriesRequest {
380
380
  /**
381
- * Optional. Only log entries that match the filter are returned. An empty filter matches all log entries in the resources listed in resource_names. Referencing a parent resource that
382
- * is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000 characters.
381
+ * Optional. A filter that chooses which log entries to return. For more information, see Logging query language
382
+ * (https://cloud.google.com/logging/docs/view/logging-query-language).Only log entries that match the filter are returned. An empty filter matches all log entries in the resources
383
+ * listed in resource_names. Referencing a parent resource that is not listed in resource_names will cause the filter to return no results. The maximum length of a filter is 20,000
384
+ * characters.
383
385
  */
384
386
  filter?:
385
387
  string;
@@ -821,8 +823,9 @@ declare namespace gapi.client {
821
823
  string;
822
824
  /**
823
825
  * Required. The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
824
- * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to the destination or else
825
- * the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
826
+ * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]" The sink's writer_identity, set when the sink is created, must have
827
+ * permission to write to the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks
828
+ * (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
826
829
  */
827
830
  destination?:
828
831
  string;
@@ -3367,6 +3370,12 @@ declare namespace gapi.client {
3367
3370
  /** JSONP */
3368
3371
  callback?:
3369
3372
  string;
3373
+ /**
3374
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3375
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3376
+ */
3377
+ customWriterIdentity?:
3378
+ string;
3370
3379
  /** Selector specifying which fields to include in a partial response. */
3371
3380
  fields?:
3372
3381
  string;
@@ -3419,6 +3428,12 @@ declare namespace gapi.client {
3419
3428
  /** JSONP */
3420
3429
  callback?:
3421
3430
  string;
3431
+ /**
3432
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3433
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3434
+ */
3435
+ customWriterIdentity?:
3436
+ string;
3422
3437
  /** Selector specifying which fields to include in a partial response. */
3423
3438
  fields?:
3424
3439
  string;
@@ -3612,6 +3627,12 @@ declare namespace gapi.client {
3612
3627
  /** JSONP */
3613
3628
  callback?:
3614
3629
  string;
3630
+ /**
3631
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3632
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3633
+ */
3634
+ customWriterIdentity?:
3635
+ string;
3615
3636
  /** Selector specifying which fields to include in a partial response. */
3616
3637
  fields?:
3617
3638
  string;
@@ -3673,6 +3694,12 @@ declare namespace gapi.client {
3673
3694
  /** JSONP */
3674
3695
  callback?:
3675
3696
  string;
3697
+ /**
3698
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3699
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3700
+ */
3701
+ customWriterIdentity?:
3702
+ string;
3676
3703
  /** Selector specifying which fields to include in a partial response. */
3677
3704
  fields?:
3678
3705
  string;
@@ -3736,6 +3763,12 @@ declare namespace gapi.client {
3736
3763
  /** JSONP */
3737
3764
  callback?:
3738
3765
  string;
3766
+ /**
3767
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3768
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3769
+ */
3770
+ customWriterIdentity?:
3771
+ string;
3739
3772
  /** Selector specifying which fields to include in a partial response. */
3740
3773
  fields?:
3741
3774
  string;
@@ -3797,6 +3830,12 @@ declare namespace gapi.client {
3797
3830
  /** JSONP */
3798
3831
  callback?:
3799
3832
  string;
3833
+ /**
3834
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
3835
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
3836
+ */
3837
+ customWriterIdentity?:
3838
+ string;
3800
3839
  /** Selector specifying which fields to include in a partial response. */
3801
3840
  fields?:
3802
3841
  string;
@@ -6579,6 +6618,12 @@ declare namespace gapi.client {
6579
6618
  /** JSONP */
6580
6619
  callback?:
6581
6620
  string;
6621
+ /**
6622
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6623
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6624
+ */
6625
+ customWriterIdentity?:
6626
+ string;
6582
6627
  /** Selector specifying which fields to include in a partial response. */
6583
6628
  fields?:
6584
6629
  string;
@@ -6631,6 +6676,12 @@ declare namespace gapi.client {
6631
6676
  /** JSONP */
6632
6677
  callback?:
6633
6678
  string;
6679
+ /**
6680
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6681
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6682
+ */
6683
+ customWriterIdentity?:
6684
+ string;
6634
6685
  /** Selector specifying which fields to include in a partial response. */
6635
6686
  fields?:
6636
6687
  string;
@@ -6824,6 +6875,12 @@ declare namespace gapi.client {
6824
6875
  /** JSONP */
6825
6876
  callback?:
6826
6877
  string;
6878
+ /**
6879
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6880
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6881
+ */
6882
+ customWriterIdentity?:
6883
+ string;
6827
6884
  /** Selector specifying which fields to include in a partial response. */
6828
6885
  fields?:
6829
6886
  string;
@@ -6885,6 +6942,12 @@ declare namespace gapi.client {
6885
6942
  /** JSONP */
6886
6943
  callback?:
6887
6944
  string;
6945
+ /**
6946
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
6947
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
6948
+ */
6949
+ customWriterIdentity?:
6950
+ string;
6888
6951
  /** Selector specifying which fields to include in a partial response. */
6889
6952
  fields?:
6890
6953
  string;
@@ -6948,6 +7011,12 @@ declare namespace gapi.client {
6948
7011
  /** JSONP */
6949
7012
  callback?:
6950
7013
  string;
7014
+ /**
7015
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
7016
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
7017
+ */
7018
+ customWriterIdentity?:
7019
+ string;
6951
7020
  /** Selector specifying which fields to include in a partial response. */
6952
7021
  fields?:
6953
7022
  string;
@@ -7009,6 +7078,12 @@ declare namespace gapi.client {
7009
7078
  /** JSONP */
7010
7079
  callback?:
7011
7080
  string;
7081
+ /**
7082
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
7083
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
7084
+ */
7085
+ customWriterIdentity?:
7086
+ string;
7012
7087
  /** Selector specifying which fields to include in a partial response. */
7013
7088
  fields?:
7014
7089
  string;
@@ -10881,6 +10956,12 @@ declare namespace gapi.client {
10881
10956
  /** JSONP */
10882
10957
  callback?:
10883
10958
  string;
10959
+ /**
10960
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
10961
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
10962
+ */
10963
+ customWriterIdentity?:
10964
+ string;
10884
10965
  /** Selector specifying which fields to include in a partial response. */
10885
10966
  fields?:
10886
10967
  string;
@@ -10933,6 +11014,12 @@ declare namespace gapi.client {
10933
11014
  /** JSONP */
10934
11015
  callback?:
10935
11016
  string;
11017
+ /**
11018
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11019
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11020
+ */
11021
+ customWriterIdentity?:
11022
+ string;
10936
11023
  /** Selector specifying which fields to include in a partial response. */
10937
11024
  fields?:
10938
11025
  string;
@@ -11126,6 +11213,12 @@ declare namespace gapi.client {
11126
11213
  /** JSONP */
11127
11214
  callback?:
11128
11215
  string;
11216
+ /**
11217
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11218
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11219
+ */
11220
+ customWriterIdentity?:
11221
+ string;
11129
11222
  /** Selector specifying which fields to include in a partial response. */
11130
11223
  fields?:
11131
11224
  string;
@@ -11187,6 +11280,12 @@ declare namespace gapi.client {
11187
11280
  /** JSONP */
11188
11281
  callback?:
11189
11282
  string;
11283
+ /**
11284
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11285
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11286
+ */
11287
+ customWriterIdentity?:
11288
+ string;
11190
11289
  /** Selector specifying which fields to include in a partial response. */
11191
11290
  fields?:
11192
11291
  string;
@@ -11250,6 +11349,12 @@ declare namespace gapi.client {
11250
11349
  /** JSONP */
11251
11350
  callback?:
11252
11351
  string;
11352
+ /**
11353
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11354
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11355
+ */
11356
+ customWriterIdentity?:
11357
+ string;
11253
11358
  /** Selector specifying which fields to include in a partial response. */
11254
11359
  fields?:
11255
11360
  string;
@@ -11311,6 +11416,12 @@ declare namespace gapi.client {
11311
11416
  /** JSONP */
11312
11417
  callback?:
11313
11418
  string;
11419
+ /**
11420
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
11421
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
11422
+ */
11423
+ customWriterIdentity?:
11424
+ string;
11314
11425
  /** Selector specifying which fields to include in a partial response. */
11315
11426
  fields?:
11316
11427
  string;
@@ -13962,6 +14073,12 @@ declare namespace gapi.client {
13962
14073
  /** JSONP */
13963
14074
  callback?:
13964
14075
  string;
14076
+ /**
14077
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14078
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14079
+ */
14080
+ customWriterIdentity?:
14081
+ string;
13965
14082
  /** Selector specifying which fields to include in a partial response. */
13966
14083
  fields?:
13967
14084
  string;
@@ -14014,6 +14131,12 @@ declare namespace gapi.client {
14014
14131
  /** JSONP */
14015
14132
  callback?:
14016
14133
  string;
14134
+ /**
14135
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14136
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14137
+ */
14138
+ customWriterIdentity?:
14139
+ string;
14017
14140
  /** Selector specifying which fields to include in a partial response. */
14018
14141
  fields?:
14019
14142
  string;
@@ -14207,6 +14330,12 @@ declare namespace gapi.client {
14207
14330
  /** JSONP */
14208
14331
  callback?:
14209
14332
  string;
14333
+ /**
14334
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14335
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14336
+ */
14337
+ customWriterIdentity?:
14338
+ string;
14210
14339
  /** Selector specifying which fields to include in a partial response. */
14211
14340
  fields?:
14212
14341
  string;
@@ -14268,6 +14397,12 @@ declare namespace gapi.client {
14268
14397
  /** JSONP */
14269
14398
  callback?:
14270
14399
  string;
14400
+ /**
14401
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14402
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14403
+ */
14404
+ customWriterIdentity?:
14405
+ string;
14271
14406
  /** Selector specifying which fields to include in a partial response. */
14272
14407
  fields?:
14273
14408
  string;
@@ -14331,6 +14466,12 @@ declare namespace gapi.client {
14331
14466
  /** JSONP */
14332
14467
  callback?:
14333
14468
  string;
14469
+ /**
14470
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14471
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14472
+ */
14473
+ customWriterIdentity?:
14474
+ string;
14334
14475
  /** Selector specifying which fields to include in a partial response. */
14335
14476
  fields?:
14336
14477
  string;
@@ -14392,6 +14533,12 @@ declare namespace gapi.client {
14392
14533
  /** JSONP */
14393
14534
  callback?:
14394
14535
  string;
14536
+ /**
14537
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14538
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14539
+ */
14540
+ customWriterIdentity?:
14541
+ string;
14395
14542
  /** Selector specifying which fields to include in a partial response. */
14396
14543
  fields?:
14397
14544
  string;
@@ -14565,6 +14712,12 @@ declare namespace gapi.client {
14565
14712
  /** JSONP */
14566
14713
  callback?:
14567
14714
  string;
14715
+ /**
14716
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14717
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14718
+ */
14719
+ customWriterIdentity?:
14720
+ string;
14568
14721
  /** Selector specifying which fields to include in a partial response. */
14569
14722
  fields?:
14570
14723
  string;
@@ -14617,6 +14770,12 @@ declare namespace gapi.client {
14617
14770
  /** JSONP */
14618
14771
  callback?:
14619
14772
  string;
14773
+ /**
14774
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14775
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14776
+ */
14777
+ customWriterIdentity?:
14778
+ string;
14620
14779
  /** Selector specifying which fields to include in a partial response. */
14621
14780
  fields?:
14622
14781
  string;
@@ -14810,6 +14969,12 @@ declare namespace gapi.client {
14810
14969
  /** JSONP */
14811
14970
  callback?:
14812
14971
  string;
14972
+ /**
14973
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
14974
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
14975
+ */
14976
+ customWriterIdentity?:
14977
+ string;
14813
14978
  /** Selector specifying which fields to include in a partial response. */
14814
14979
  fields?:
14815
14980
  string;
@@ -14871,6 +15036,12 @@ declare namespace gapi.client {
14871
15036
  /** JSONP */
14872
15037
  callback?:
14873
15038
  string;
15039
+ /**
15040
+ * Optional. A service account provided by the caller that will be used to write the log entries. Must be of format serviceAccount:some@email. This can only be specified if writing
15041
+ * to a destination outside the sink's project. If not specified, a p4 service account will automatically be generated.
15042
+ */
15043
+ customWriterIdentity?:
15044
+ string;
14874
15045
  /** Selector specifying which fields to include in a partial response. */
14875
15046
  fields?:
14876
15047
  string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20230517",
3
+ "version": "0.0.20230531",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230517
6
+ // Revision: 20230531
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -365,6 +365,7 @@ gapi.load('client', async () => {
365
365
  * write to the destination. A sink can export log entries only from the resource owning the sink.
366
366
  */
367
367
  await gapi.client.logging.billingAccounts.sinks.create({
368
+ customWriterIdentity: "Test string",
368
369
  parent: "Test string",
369
370
  uniqueWriterIdentity: true,
370
371
  }, {
@@ -412,6 +413,7 @@ gapi.load('client', async () => {
412
413
  * writer_identity; see the unique_writer_identity field.
413
414
  */
414
415
  await gapi.client.logging.billingAccounts.sinks.patch({
416
+ customWriterIdentity: "Test string",
415
417
  sinkName: "Test string",
416
418
  uniqueWriterIdentity: true,
417
419
  updateMask: "Test string",
@@ -446,6 +448,7 @@ gapi.load('client', async () => {
446
448
  * writer_identity; see the unique_writer_identity field.
447
449
  */
448
450
  await gapi.client.logging.billingAccounts.sinks.update({
451
+ customWriterIdentity: "Test string",
449
452
  sinkName: "Test string",
450
453
  uniqueWriterIdentity: true,
451
454
  updateMask: "Test string",
@@ -978,6 +981,7 @@ gapi.load('client', async () => {
978
981
  * write to the destination. A sink can export log entries only from the resource owning the sink.
979
982
  */
980
983
  await gapi.client.logging.folders.sinks.create({
984
+ customWriterIdentity: "Test string",
981
985
  parent: "Test string",
982
986
  uniqueWriterIdentity: true,
983
987
  }, {
@@ -1025,6 +1029,7 @@ gapi.load('client', async () => {
1025
1029
  * writer_identity; see the unique_writer_identity field.
1026
1030
  */
1027
1031
  await gapi.client.logging.folders.sinks.patch({
1032
+ customWriterIdentity: "Test string",
1028
1033
  sinkName: "Test string",
1029
1034
  uniqueWriterIdentity: true,
1030
1035
  updateMask: "Test string",
@@ -1059,6 +1064,7 @@ gapi.load('client', async () => {
1059
1064
  * writer_identity; see the unique_writer_identity field.
1060
1065
  */
1061
1066
  await gapi.client.logging.folders.sinks.update({
1067
+ customWriterIdentity: "Test string",
1062
1068
  sinkName: "Test string",
1063
1069
  uniqueWriterIdentity: true,
1064
1070
  updateMask: "Test string",
@@ -1716,6 +1722,7 @@ gapi.load('client', async () => {
1716
1722
  * write to the destination. A sink can export log entries only from the resource owning the sink.
1717
1723
  */
1718
1724
  await gapi.client.logging.organizations.sinks.create({
1725
+ customWriterIdentity: "Test string",
1719
1726
  parent: "Test string",
1720
1727
  uniqueWriterIdentity: true,
1721
1728
  }, {
@@ -1763,6 +1770,7 @@ gapi.load('client', async () => {
1763
1770
  * writer_identity; see the unique_writer_identity field.
1764
1771
  */
1765
1772
  await gapi.client.logging.organizations.sinks.patch({
1773
+ customWriterIdentity: "Test string",
1766
1774
  sinkName: "Test string",
1767
1775
  uniqueWriterIdentity: true,
1768
1776
  updateMask: "Test string",
@@ -1797,6 +1805,7 @@ gapi.load('client', async () => {
1797
1805
  * writer_identity; see the unique_writer_identity field.
1798
1806
  */
1799
1807
  await gapi.client.logging.organizations.sinks.update({
1808
+ customWriterIdentity: "Test string",
1800
1809
  sinkName: "Test string",
1801
1810
  uniqueWriterIdentity: true,
1802
1811
  updateMask: "Test string",
@@ -2286,6 +2295,7 @@ gapi.load('client', async () => {
2286
2295
  * write to the destination. A sink can export log entries only from the resource owning the sink.
2287
2296
  */
2288
2297
  await gapi.client.logging.projects.sinks.create({
2298
+ customWriterIdentity: "Test string",
2289
2299
  parent: "Test string",
2290
2300
  uniqueWriterIdentity: true,
2291
2301
  }, {
@@ -2333,6 +2343,7 @@ gapi.load('client', async () => {
2333
2343
  * writer_identity; see the unique_writer_identity field.
2334
2344
  */
2335
2345
  await gapi.client.logging.projects.sinks.patch({
2346
+ customWriterIdentity: "Test string",
2336
2347
  sinkName: "Test string",
2337
2348
  uniqueWriterIdentity: true,
2338
2349
  updateMask: "Test string",
@@ -2367,6 +2378,7 @@ gapi.load('client', async () => {
2367
2378
  * writer_identity; see the unique_writer_identity field.
2368
2379
  */
2369
2380
  await gapi.client.logging.projects.sinks.update({
2381
+ customWriterIdentity: "Test string",
2370
2382
  sinkName: "Test string",
2371
2383
  uniqueWriterIdentity: true,
2372
2384
  updateMask: "Test string",
@@ -2401,6 +2413,7 @@ gapi.load('client', async () => {
2401
2413
  * write to the destination. A sink can export log entries only from the resource owning the sink.
2402
2414
  */
2403
2415
  await gapi.client.logging.sinks.create({
2416
+ customWriterIdentity: "Test string",
2404
2417
  parent: "Test string",
2405
2418
  uniqueWriterIdentity: true,
2406
2419
  }, {
@@ -2448,6 +2461,7 @@ gapi.load('client', async () => {
2448
2461
  * writer_identity; see the unique_writer_identity field.
2449
2462
  */
2450
2463
  await gapi.client.logging.sinks.update({
2464
+ customWriterIdentity: "Test string",
2451
2465
  sinkName: "Test string",
2452
2466
  uniqueWriterIdentity: true,
2453
2467
  updateMask: "Test string",