@maxim_mazurok/gapi.client.logging-v2 0.0.20230510 → 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 +179 -5
  2. package/package.json +1 -1
  3. package/tests.ts +18 -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: 20230510
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;
@@ -1216,6 +1219,9 @@ declare namespace gapi.client {
1216
1219
  */
1217
1220
  kmsServiceAccountId?:
1218
1221
  string;
1222
+ /** Output only. The service account for the given container. Sinks use this service account as their writer_identity if no custom service account is provided. */
1223
+ loggingServiceAccountId?:
1224
+ string;
1219
1225
  /** Output only. The resource name of the settings. */
1220
1226
  name?:
1221
1227
  string;
@@ -3364,6 +3370,12 @@ declare namespace gapi.client {
3364
3370
  /** JSONP */
3365
3371
  callback?:
3366
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;
3367
3379
  /** Selector specifying which fields to include in a partial response. */
3368
3380
  fields?:
3369
3381
  string;
@@ -3416,6 +3428,12 @@ declare namespace gapi.client {
3416
3428
  /** JSONP */
3417
3429
  callback?:
3418
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;
3419
3437
  /** Selector specifying which fields to include in a partial response. */
3420
3438
  fields?:
3421
3439
  string;
@@ -3609,6 +3627,12 @@ declare namespace gapi.client {
3609
3627
  /** JSONP */
3610
3628
  callback?:
3611
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;
3612
3636
  /** Selector specifying which fields to include in a partial response. */
3613
3637
  fields?:
3614
3638
  string;
@@ -3670,6 +3694,12 @@ declare namespace gapi.client {
3670
3694
  /** JSONP */
3671
3695
  callback?:
3672
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;
3673
3703
  /** Selector specifying which fields to include in a partial response. */
3674
3704
  fields?:
3675
3705
  string;
@@ -3733,6 +3763,12 @@ declare namespace gapi.client {
3733
3763
  /** JSONP */
3734
3764
  callback?:
3735
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;
3736
3772
  /** Selector specifying which fields to include in a partial response. */
3737
3773
  fields?:
3738
3774
  string;
@@ -3794,6 +3830,12 @@ declare namespace gapi.client {
3794
3830
  /** JSONP */
3795
3831
  callback?:
3796
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;
3797
3839
  /** Selector specifying which fields to include in a partial response. */
3798
3840
  fields?:
3799
3841
  string;
@@ -6576,6 +6618,12 @@ declare namespace gapi.client {
6576
6618
  /** JSONP */
6577
6619
  callback?:
6578
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;
6579
6627
  /** Selector specifying which fields to include in a partial response. */
6580
6628
  fields?:
6581
6629
  string;
@@ -6628,6 +6676,12 @@ declare namespace gapi.client {
6628
6676
  /** JSONP */
6629
6677
  callback?:
6630
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;
6631
6685
  /** Selector specifying which fields to include in a partial response. */
6632
6686
  fields?:
6633
6687
  string;
@@ -6821,6 +6875,12 @@ declare namespace gapi.client {
6821
6875
  /** JSONP */
6822
6876
  callback?:
6823
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;
6824
6884
  /** Selector specifying which fields to include in a partial response. */
6825
6885
  fields?:
6826
6886
  string;
@@ -6882,6 +6942,12 @@ declare namespace gapi.client {
6882
6942
  /** JSONP */
6883
6943
  callback?:
6884
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;
6885
6951
  /** Selector specifying which fields to include in a partial response. */
6886
6952
  fields?:
6887
6953
  string;
@@ -6945,6 +7011,12 @@ declare namespace gapi.client {
6945
7011
  /** JSONP */
6946
7012
  callback?:
6947
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;
6948
7020
  /** Selector specifying which fields to include in a partial response. */
6949
7021
  fields?:
6950
7022
  string;
@@ -7006,6 +7078,12 @@ declare namespace gapi.client {
7006
7078
  /** JSONP */
7007
7079
  callback?:
7008
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;
7009
7087
  /** Selector specifying which fields to include in a partial response. */
7010
7088
  fields?:
7011
7089
  string;
@@ -10878,6 +10956,12 @@ declare namespace gapi.client {
10878
10956
  /** JSONP */
10879
10957
  callback?:
10880
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;
10881
10965
  /** Selector specifying which fields to include in a partial response. */
10882
10966
  fields?:
10883
10967
  string;
@@ -10930,6 +11014,12 @@ declare namespace gapi.client {
10930
11014
  /** JSONP */
10931
11015
  callback?:
10932
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;
10933
11023
  /** Selector specifying which fields to include in a partial response. */
10934
11024
  fields?:
10935
11025
  string;
@@ -11123,6 +11213,12 @@ declare namespace gapi.client {
11123
11213
  /** JSONP */
11124
11214
  callback?:
11125
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;
11126
11222
  /** Selector specifying which fields to include in a partial response. */
11127
11223
  fields?:
11128
11224
  string;
@@ -11184,6 +11280,12 @@ declare namespace gapi.client {
11184
11280
  /** JSONP */
11185
11281
  callback?:
11186
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;
11187
11289
  /** Selector specifying which fields to include in a partial response. */
11188
11290
  fields?:
11189
11291
  string;
@@ -11247,6 +11349,12 @@ declare namespace gapi.client {
11247
11349
  /** JSONP */
11248
11350
  callback?:
11249
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;
11250
11358
  /** Selector specifying which fields to include in a partial response. */
11251
11359
  fields?:
11252
11360
  string;
@@ -11308,6 +11416,12 @@ declare namespace gapi.client {
11308
11416
  /** JSONP */
11309
11417
  callback?:
11310
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;
11311
11425
  /** Selector specifying which fields to include in a partial response. */
11312
11426
  fields?:
11313
11427
  string;
@@ -13959,6 +14073,12 @@ declare namespace gapi.client {
13959
14073
  /** JSONP */
13960
14074
  callback?:
13961
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;
13962
14082
  /** Selector specifying which fields to include in a partial response. */
13963
14083
  fields?:
13964
14084
  string;
@@ -14011,6 +14131,12 @@ declare namespace gapi.client {
14011
14131
  /** JSONP */
14012
14132
  callback?:
14013
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;
14014
14140
  /** Selector specifying which fields to include in a partial response. */
14015
14141
  fields?:
14016
14142
  string;
@@ -14204,6 +14330,12 @@ declare namespace gapi.client {
14204
14330
  /** JSONP */
14205
14331
  callback?:
14206
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;
14207
14339
  /** Selector specifying which fields to include in a partial response. */
14208
14340
  fields?:
14209
14341
  string;
@@ -14265,6 +14397,12 @@ declare namespace gapi.client {
14265
14397
  /** JSONP */
14266
14398
  callback?:
14267
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;
14268
14406
  /** Selector specifying which fields to include in a partial response. */
14269
14407
  fields?:
14270
14408
  string;
@@ -14328,6 +14466,12 @@ declare namespace gapi.client {
14328
14466
  /** JSONP */
14329
14467
  callback?:
14330
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;
14331
14475
  /** Selector specifying which fields to include in a partial response. */
14332
14476
  fields?:
14333
14477
  string;
@@ -14389,6 +14533,12 @@ declare namespace gapi.client {
14389
14533
  /** JSONP */
14390
14534
  callback?:
14391
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;
14392
14542
  /** Selector specifying which fields to include in a partial response. */
14393
14543
  fields?:
14394
14544
  string;
@@ -14562,6 +14712,12 @@ declare namespace gapi.client {
14562
14712
  /** JSONP */
14563
14713
  callback?:
14564
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;
14565
14721
  /** Selector specifying which fields to include in a partial response. */
14566
14722
  fields?:
14567
14723
  string;
@@ -14614,6 +14770,12 @@ declare namespace gapi.client {
14614
14770
  /** JSONP */
14615
14771
  callback?:
14616
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;
14617
14779
  /** Selector specifying which fields to include in a partial response. */
14618
14780
  fields?:
14619
14781
  string;
@@ -14807,6 +14969,12 @@ declare namespace gapi.client {
14807
14969
  /** JSONP */
14808
14970
  callback?:
14809
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;
14810
14978
  /** Selector specifying which fields to include in a partial response. */
14811
14979
  fields?:
14812
14980
  string;
@@ -14868,6 +15036,12 @@ declare namespace gapi.client {
14868
15036
  /** JSONP */
14869
15037
  callback?:
14870
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;
14871
15045
  /** Selector specifying which fields to include in a partial response. */
14872
15046
  fields?:
14873
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.20230510",
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: 20230510
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",
@@ -662,6 +665,7 @@ gapi.load('client', async () => {
662
665
  disableDefaultSink: true,
663
666
  kmsKeyName: "Test string",
664
667
  kmsServiceAccountId: "Test string",
668
+ loggingServiceAccountId: "Test string",
665
669
  name: "Test string",
666
670
  storageLocation: "Test string",
667
671
  });
@@ -977,6 +981,7 @@ gapi.load('client', async () => {
977
981
  * write to the destination. A sink can export log entries only from the resource owning the sink.
978
982
  */
979
983
  await gapi.client.logging.folders.sinks.create({
984
+ customWriterIdentity: "Test string",
980
985
  parent: "Test string",
981
986
  uniqueWriterIdentity: true,
982
987
  }, {
@@ -1024,6 +1029,7 @@ gapi.load('client', async () => {
1024
1029
  * writer_identity; see the unique_writer_identity field.
1025
1030
  */
1026
1031
  await gapi.client.logging.folders.sinks.patch({
1032
+ customWriterIdentity: "Test string",
1027
1033
  sinkName: "Test string",
1028
1034
  uniqueWriterIdentity: true,
1029
1035
  updateMask: "Test string",
@@ -1058,6 +1064,7 @@ gapi.load('client', async () => {
1058
1064
  * writer_identity; see the unique_writer_identity field.
1059
1065
  */
1060
1066
  await gapi.client.logging.folders.sinks.update({
1067
+ customWriterIdentity: "Test string",
1061
1068
  sinkName: "Test string",
1062
1069
  uniqueWriterIdentity: true,
1063
1070
  updateMask: "Test string",
@@ -1399,6 +1406,7 @@ gapi.load('client', async () => {
1399
1406
  disableDefaultSink: true,
1400
1407
  kmsKeyName: "Test string",
1401
1408
  kmsServiceAccountId: "Test string",
1409
+ loggingServiceAccountId: "Test string",
1402
1410
  name: "Test string",
1403
1411
  storageLocation: "Test string",
1404
1412
  });
@@ -1714,6 +1722,7 @@ gapi.load('client', async () => {
1714
1722
  * write to the destination. A sink can export log entries only from the resource owning the sink.
1715
1723
  */
1716
1724
  await gapi.client.logging.organizations.sinks.create({
1725
+ customWriterIdentity: "Test string",
1717
1726
  parent: "Test string",
1718
1727
  uniqueWriterIdentity: true,
1719
1728
  }, {
@@ -1761,6 +1770,7 @@ gapi.load('client', async () => {
1761
1770
  * writer_identity; see the unique_writer_identity field.
1762
1771
  */
1763
1772
  await gapi.client.logging.organizations.sinks.patch({
1773
+ customWriterIdentity: "Test string",
1764
1774
  sinkName: "Test string",
1765
1775
  uniqueWriterIdentity: true,
1766
1776
  updateMask: "Test string",
@@ -1795,6 +1805,7 @@ gapi.load('client', async () => {
1795
1805
  * writer_identity; see the unique_writer_identity field.
1796
1806
  */
1797
1807
  await gapi.client.logging.organizations.sinks.update({
1808
+ customWriterIdentity: "Test string",
1798
1809
  sinkName: "Test string",
1799
1810
  uniqueWriterIdentity: true,
1800
1811
  updateMask: "Test string",
@@ -2284,6 +2295,7 @@ gapi.load('client', async () => {
2284
2295
  * write to the destination. A sink can export log entries only from the resource owning the sink.
2285
2296
  */
2286
2297
  await gapi.client.logging.projects.sinks.create({
2298
+ customWriterIdentity: "Test string",
2287
2299
  parent: "Test string",
2288
2300
  uniqueWriterIdentity: true,
2289
2301
  }, {
@@ -2331,6 +2343,7 @@ gapi.load('client', async () => {
2331
2343
  * writer_identity; see the unique_writer_identity field.
2332
2344
  */
2333
2345
  await gapi.client.logging.projects.sinks.patch({
2346
+ customWriterIdentity: "Test string",
2334
2347
  sinkName: "Test string",
2335
2348
  uniqueWriterIdentity: true,
2336
2349
  updateMask: "Test string",
@@ -2365,6 +2378,7 @@ gapi.load('client', async () => {
2365
2378
  * writer_identity; see the unique_writer_identity field.
2366
2379
  */
2367
2380
  await gapi.client.logging.projects.sinks.update({
2381
+ customWriterIdentity: "Test string",
2368
2382
  sinkName: "Test string",
2369
2383
  uniqueWriterIdentity: true,
2370
2384
  updateMask: "Test string",
@@ -2399,6 +2413,7 @@ gapi.load('client', async () => {
2399
2413
  * write to the destination. A sink can export log entries only from the resource owning the sink.
2400
2414
  */
2401
2415
  await gapi.client.logging.sinks.create({
2416
+ customWriterIdentity: "Test string",
2402
2417
  parent: "Test string",
2403
2418
  uniqueWriterIdentity: true,
2404
2419
  }, {
@@ -2446,6 +2461,7 @@ gapi.load('client', async () => {
2446
2461
  * writer_identity; see the unique_writer_identity field.
2447
2462
  */
2448
2463
  await gapi.client.logging.sinks.update({
2464
+ customWriterIdentity: "Test string",
2449
2465
  sinkName: "Test string",
2450
2466
  uniqueWriterIdentity: true,
2451
2467
  updateMask: "Test string",
@@ -2519,6 +2535,7 @@ gapi.load('client', async () => {
2519
2535
  disableDefaultSink: true,
2520
2536
  kmsKeyName: "Test string",
2521
2537
  kmsServiceAccountId: "Test string",
2538
+ loggingServiceAccountId: "Test string",
2522
2539
  name: "Test string",
2523
2540
  storageLocation: "Test string",
2524
2541
  });