@maxim_mazurok/gapi.client.logging-v2 0.0.20230714 → 0.0.20230727

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 (4) hide show
  1. package/index.d.ts +103 -93
  2. package/package.json +1 -1
  3. package/readme.md +2 -2
  4. package/tests.ts +17 -17
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: 20230714
12
+ // Revision: 20230727
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -39,9 +39,9 @@ declare namespace gapi.client {
39
39
  usePartitionedTables?:
40
40
  boolean;
41
41
  /**
42
- * Output only. True if new timestamp column based partitioning is in use, false if legacy ingestion-time partitioning is in use.All new sinks will have this field set true and will
43
- * use timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field
44
- * set to false.
42
+ * Output only. True if new timestamp column based partitioning is in use, false if legacy ingress-time partitioning is in use.All new sinks will have this field set true and will use
43
+ * timestamp column based partitioning. If use_partitioned_tables is false, this value has no meaning and will be false. Legacy sinks using partitioned tables will have this field set
44
+ * to false.
45
45
  */
46
46
  usesTimestampColumnPartitioning?:
47
47
  boolean;
@@ -593,7 +593,7 @@ declare namespace gapi.client {
593
593
  * corresponding PROJECT_ID internally and the log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be URL-encoded within log_name. Example:
594
594
  * "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".[LOG_ID] must be less than 512 characters long and can only include the following characters: upper
595
595
  * and lower case alphanumeric characters, forward-slash, underscore, hyphen, and period.For backward compatibility, if log_name begins with a forward-slash, such as /projects/...,
596
- * then the log entry is ingested as usual, but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash
596
+ * then the log entry is processed as usual, but the forward-slash is removed. Listing the log entry will not show the leading slash and filtering for a log name with a leading slash
597
597
  * will never return any results.
598
598
  */
599
599
  logName?:
@@ -647,7 +647,7 @@ declare namespace gapi.client {
647
647
  * Optional. The time the event described by the log entry occurred. This time is used to compute the log entry's age and to enforce the logs retention period. If this field is omitted
648
648
  * in a new log entry, then Logging assigns it the current time. Timestamps have nanosecond accuracy, but trailing zeros in the fractional seconds might be omitted when the timestamp
649
649
  * is displayed.Incoming log entries must have timestamps that don't exceed the logs retention period (https://cloud.google.com/logging/quotas#logs_retention_periods) in the past, and
650
- * that don't exceed 24 hours in the future. Log entries outside those time boundaries aren't ingested by Logging.
650
+ * that don't exceed 24 hours in the future. Log entries outside those time boundaries are rejected by Logging.
651
651
  */
652
652
  timestamp?:
653
653
  string;
@@ -823,9 +823,9 @@ declare namespace gapi.client {
823
823
  string;
824
824
  /**
825
825
  * Required. The export destination: "storage.googleapis.com/[GCS_BUCKET]" "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
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
+ * "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]" "logging.googleapis.com/projects/[PROJECT_ID]"
827
+ * "logging.googleapis.com/projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" The sink's writer_identity, set when the sink is created, must have permission to write to
828
+ * the destination or else the log entries are not exported. For more information, see Exporting Logs with Sinks (https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
829
829
  */
830
830
  destination?:
831
831
  string;
@@ -1197,8 +1197,8 @@ declare namespace gapi.client {
1197
1197
  }
1198
1198
  interface Settings {
1199
1199
  /**
1200
- * Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log ingestion if there
1201
- * is already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed.
1200
+ * Optional. If set to true, the _Default sink in newly created projects and folders will created in a disabled state. This can be used to automatically disable log storage if there is
1201
+ * already an aggregated sink configured in the hierarchy. The _Default sink can be re-enabled manually if needed.
1202
1202
  */
1203
1203
  disableDefaultSink?:
1204
1204
  boolean;
@@ -1878,7 +1878,7 @@ declare namespace gapi.client {
1878
1878
  /**
1879
1879
  * Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
1880
1880
  * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
1881
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
1881
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
1882
1882
  */
1883
1883
  name:
1884
1884
  string;
@@ -1928,9 +1928,9 @@ declare namespace gapi.client {
1928
1928
  pageToken?:
1929
1929
  string;
1930
1930
  /**
1931
- * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
1932
- * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
1933
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
1931
+ * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
1932
+ * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
1933
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
1934
1934
  */
1935
1935
  parent:
1936
1936
  string;
@@ -2149,7 +2149,7 @@ declare namespace gapi.client {
2149
2149
  uploadType?:
2150
2150
  string;
2151
2151
  }): Request<{}>;
2152
- /** Gets a view on a log bucket.. */
2152
+ /** Gets a view on a log bucket. */
2153
2153
  get(request?: {
2154
2154
  /** V1 error format. */
2155
2155
  "$.xgafv"?:
@@ -3355,8 +3355,8 @@ declare namespace gapi.client {
3355
3355
  }
3356
3356
  interface SinksResource {
3357
3357
  /**
3358
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted
3359
- * to write to the destination. A sink can export log entries only from the resource owning the sink.
3358
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
3359
+ * sink can export log entries only from the resource owning the sink.
3360
3360
  */
3361
3361
  create(request: {
3362
3362
  /** V1 error format. */
@@ -3402,7 +3402,8 @@ declare namespace gapi.client {
3402
3402
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
3403
3403
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
3404
3404
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
3405
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
3405
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
3406
+ * see writer_identity in LogSink.
3406
3407
  */
3407
3408
  uniqueWriterIdentity?:
3408
3409
  boolean;
@@ -3460,7 +3461,8 @@ declare namespace gapi.client {
3460
3461
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
3461
3462
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
3462
3463
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
3463
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
3464
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
3465
+ * see writer_identity in LogSink.
3464
3466
  */
3465
3467
  uniqueWriterIdentity?:
3466
3468
  boolean;
@@ -3659,8 +3661,8 @@ declare namespace gapi.client {
3659
3661
  /**
3660
3662
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
3661
3663
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
3662
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
3663
- * or defaulted to false.
3664
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
3665
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
3664
3666
  */
3665
3667
  uniqueWriterIdentity?:
3666
3668
  boolean;
@@ -3726,8 +3728,8 @@ declare namespace gapi.client {
3726
3728
  /**
3727
3729
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
3728
3730
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
3729
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
3730
- * or defaulted to false.
3731
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
3732
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
3731
3733
  */
3732
3734
  uniqueWriterIdentity?:
3733
3735
  boolean;
@@ -3795,8 +3797,8 @@ declare namespace gapi.client {
3795
3797
  /**
3796
3798
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
3797
3799
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
3798
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
3799
- * or defaulted to false.
3800
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
3801
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
3800
3802
  */
3801
3803
  uniqueWriterIdentity?:
3802
3804
  boolean;
@@ -3862,8 +3864,8 @@ declare namespace gapi.client {
3862
3864
  /**
3863
3865
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
3864
3866
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
3865
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
3866
- * or defaulted to false.
3867
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
3868
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
3867
3869
  */
3868
3870
  uniqueWriterIdentity?:
3869
3871
  boolean;
@@ -4144,7 +4146,7 @@ declare namespace gapi.client {
4144
4146
  string;
4145
4147
  },
4146
4148
  body: ListLogEntriesRequest): Request<ListLogEntriesResponse>;
4147
- /** Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs. */
4149
+ /** Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. */
4148
4150
  tail(request: {
4149
4151
  /** V1 error format. */
4150
4152
  "$.xgafv"?:
@@ -5126,7 +5128,7 @@ declare namespace gapi.client {
5126
5128
  /**
5127
5129
  * Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
5128
5130
  * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
5129
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
5131
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
5130
5132
  */
5131
5133
  name:
5132
5134
  string;
@@ -5176,9 +5178,9 @@ declare namespace gapi.client {
5176
5178
  pageToken?:
5177
5179
  string;
5178
5180
  /**
5179
- * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
5180
- * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
5181
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
5181
+ * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
5182
+ * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
5183
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
5182
5184
  */
5183
5185
  parent:
5184
5186
  string;
@@ -5397,7 +5399,7 @@ declare namespace gapi.client {
5397
5399
  uploadType?:
5398
5400
  string;
5399
5401
  }): Request<{}>;
5400
- /** Gets a view on a log bucket.. */
5402
+ /** Gets a view on a log bucket. */
5401
5403
  get(request?: {
5402
5404
  /** V1 error format. */
5403
5405
  "$.xgafv"?:
@@ -6603,8 +6605,8 @@ declare namespace gapi.client {
6603
6605
  }
6604
6606
  interface SinksResource {
6605
6607
  /**
6606
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted
6607
- * to write to the destination. A sink can export log entries only from the resource owning the sink.
6608
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
6609
+ * sink can export log entries only from the resource owning the sink.
6608
6610
  */
6609
6611
  create(request: {
6610
6612
  /** V1 error format. */
@@ -6650,7 +6652,8 @@ declare namespace gapi.client {
6650
6652
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
6651
6653
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
6652
6654
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
6653
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
6655
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
6656
+ * see writer_identity in LogSink.
6654
6657
  */
6655
6658
  uniqueWriterIdentity?:
6656
6659
  boolean;
@@ -6708,7 +6711,8 @@ declare namespace gapi.client {
6708
6711
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
6709
6712
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
6710
6713
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
6711
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
6714
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
6715
+ * see writer_identity in LogSink.
6712
6716
  */
6713
6717
  uniqueWriterIdentity?:
6714
6718
  boolean;
@@ -6907,8 +6911,8 @@ declare namespace gapi.client {
6907
6911
  /**
6908
6912
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
6909
6913
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
6910
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
6911
- * or defaulted to false.
6914
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
6915
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
6912
6916
  */
6913
6917
  uniqueWriterIdentity?:
6914
6918
  boolean;
@@ -6974,8 +6978,8 @@ declare namespace gapi.client {
6974
6978
  /**
6975
6979
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
6976
6980
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
6977
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
6978
- * or defaulted to false.
6981
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
6982
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
6979
6983
  */
6980
6984
  uniqueWriterIdentity?:
6981
6985
  boolean;
@@ -7043,8 +7047,8 @@ declare namespace gapi.client {
7043
7047
  /**
7044
7048
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
7045
7049
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
7046
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
7047
- * or defaulted to false.
7050
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
7051
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
7048
7052
  */
7049
7053
  uniqueWriterIdentity?:
7050
7054
  boolean;
@@ -7110,8 +7114,8 @@ declare namespace gapi.client {
7110
7114
  /**
7111
7115
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
7112
7116
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
7113
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
7114
- * or defaulted to false.
7117
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
7118
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
7115
7119
  */
7116
7120
  uniqueWriterIdentity?:
7117
7121
  boolean;
@@ -7507,7 +7511,7 @@ declare namespace gapi.client {
7507
7511
  /**
7508
7512
  * Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
7509
7513
  * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
7510
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
7514
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
7511
7515
  */
7512
7516
  name:
7513
7517
  string;
@@ -7557,9 +7561,9 @@ declare namespace gapi.client {
7557
7561
  pageToken?:
7558
7562
  string;
7559
7563
  /**
7560
- * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
7561
- * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
7562
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
7564
+ * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
7565
+ * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
7566
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
7563
7567
  */
7564
7568
  parent:
7565
7569
  string;
@@ -7716,7 +7720,7 @@ declare namespace gapi.client {
7716
7720
  uploadType?:
7717
7721
  string;
7718
7722
  }): Request<{}>;
7719
- /** Gets a view on a log bucket.. */
7723
+ /** Gets a view on a log bucket. */
7720
7724
  get(request?: {
7721
7725
  /** V1 error format. */
7722
7726
  "$.xgafv"?:
@@ -9464,7 +9468,7 @@ declare namespace gapi.client {
9464
9468
  /**
9465
9469
  * Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
9466
9470
  * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
9467
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
9471
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
9468
9472
  */
9469
9473
  name:
9470
9474
  string;
@@ -9514,9 +9518,9 @@ declare namespace gapi.client {
9514
9518
  pageToken?:
9515
9519
  string;
9516
9520
  /**
9517
- * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
9518
- * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
9519
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
9521
+ * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
9522
+ * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
9523
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
9520
9524
  */
9521
9525
  parent:
9522
9526
  string;
@@ -9735,7 +9739,7 @@ declare namespace gapi.client {
9735
9739
  uploadType?:
9736
9740
  string;
9737
9741
  }): Request<{}>;
9738
- /** Gets a view on a log bucket.. */
9742
+ /** Gets a view on a log bucket. */
9739
9743
  get(request?: {
9740
9744
  /** V1 error format. */
9741
9745
  "$.xgafv"?:
@@ -10941,8 +10945,8 @@ declare namespace gapi.client {
10941
10945
  }
10942
10946
  interface SinksResource {
10943
10947
  /**
10944
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted
10945
- * to write to the destination. A sink can export log entries only from the resource owning the sink.
10948
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
10949
+ * sink can export log entries only from the resource owning the sink.
10946
10950
  */
10947
10951
  create(request: {
10948
10952
  /** V1 error format. */
@@ -10988,7 +10992,8 @@ declare namespace gapi.client {
10988
10992
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
10989
10993
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
10990
10994
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
10991
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
10995
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
10996
+ * see writer_identity in LogSink.
10992
10997
  */
10993
10998
  uniqueWriterIdentity?:
10994
10999
  boolean;
@@ -11046,7 +11051,8 @@ declare namespace gapi.client {
11046
11051
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
11047
11052
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
11048
11053
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
11049
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
11054
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
11055
+ * see writer_identity in LogSink.
11050
11056
  */
11051
11057
  uniqueWriterIdentity?:
11052
11058
  boolean;
@@ -11245,8 +11251,8 @@ declare namespace gapi.client {
11245
11251
  /**
11246
11252
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
11247
11253
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
11248
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
11249
- * or defaulted to false.
11254
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
11255
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
11250
11256
  */
11251
11257
  uniqueWriterIdentity?:
11252
11258
  boolean;
@@ -11312,8 +11318,8 @@ declare namespace gapi.client {
11312
11318
  /**
11313
11319
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
11314
11320
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
11315
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
11316
- * or defaulted to false.
11321
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
11322
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
11317
11323
  */
11318
11324
  uniqueWriterIdentity?:
11319
11325
  boolean;
@@ -11381,8 +11387,8 @@ declare namespace gapi.client {
11381
11387
  /**
11382
11388
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
11383
11389
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
11384
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
11385
- * or defaulted to false.
11390
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
11391
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
11386
11392
  */
11387
11393
  uniqueWriterIdentity?:
11388
11394
  boolean;
@@ -11448,8 +11454,8 @@ declare namespace gapi.client {
11448
11454
  /**
11449
11455
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
11450
11456
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
11451
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
11452
- * or defaulted to false.
11457
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
11458
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
11453
11459
  */
11454
11460
  uniqueWriterIdentity?:
11455
11461
  boolean;
@@ -12282,7 +12288,7 @@ declare namespace gapi.client {
12282
12288
  /**
12283
12289
  * Required. The resource name of the link:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
12284
12290
  * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
12285
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID
12291
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/LINK_ID"
12286
12292
  */
12287
12293
  name:
12288
12294
  string;
@@ -12332,9 +12338,9 @@ declare namespace gapi.client {
12332
12338
  pageToken?:
12333
12339
  string;
12334
12340
  /**
12335
- * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/links/"
12336
- * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID/" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID/"
12337
- * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID/
12341
+ * Required. The parent resource whose links are to be listed:"projects/PROJECT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
12342
+ * "organizations/ORGANIZATION_ID/locations/LOCATION_ID/buckets/BUCKET_ID" "billingAccounts/BILLING_ACCOUNT_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
12343
+ * "folders/FOLDER_ID/locations/LOCATION_ID/buckets/BUCKET_ID"
12338
12344
  */
12339
12345
  parent:
12340
12346
  string;
@@ -12553,7 +12559,7 @@ declare namespace gapi.client {
12553
12559
  uploadType?:
12554
12560
  string;
12555
12561
  }): Request<{}>;
12556
- /** Gets a view on a log bucket.. */
12562
+ /** Gets a view on a log bucket. */
12557
12563
  get(request?: {
12558
12564
  /** V1 error format. */
12559
12565
  "$.xgafv"?:
@@ -14058,8 +14064,8 @@ declare namespace gapi.client {
14058
14064
  }
14059
14065
  interface SinksResource {
14060
14066
  /**
14061
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted
14062
- * to write to the destination. A sink can export log entries only from the resource owning the sink.
14067
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
14068
+ * sink can export log entries only from the resource owning the sink.
14063
14069
  */
14064
14070
  create(request: {
14065
14071
  /** V1 error format. */
@@ -14105,7 +14111,8 @@ declare namespace gapi.client {
14105
14111
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
14106
14112
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
14107
14113
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
14108
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
14114
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
14115
+ * see writer_identity in LogSink.
14109
14116
  */
14110
14117
  uniqueWriterIdentity?:
14111
14118
  boolean;
@@ -14163,7 +14170,8 @@ declare namespace gapi.client {
14163
14170
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
14164
14171
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
14165
14172
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
14166
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
14173
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
14174
+ * see writer_identity in LogSink.
14167
14175
  */
14168
14176
  uniqueWriterIdentity?:
14169
14177
  boolean;
@@ -14362,8 +14370,8 @@ declare namespace gapi.client {
14362
14370
  /**
14363
14371
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
14364
14372
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
14365
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
14366
- * or defaulted to false.
14373
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
14374
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
14367
14375
  */
14368
14376
  uniqueWriterIdentity?:
14369
14377
  boolean;
@@ -14429,8 +14437,8 @@ declare namespace gapi.client {
14429
14437
  /**
14430
14438
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
14431
14439
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
14432
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
14433
- * or defaulted to false.
14440
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
14441
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
14434
14442
  */
14435
14443
  uniqueWriterIdentity?:
14436
14444
  boolean;
@@ -14498,8 +14506,8 @@ declare namespace gapi.client {
14498
14506
  /**
14499
14507
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
14500
14508
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
14501
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
14502
- * or defaulted to false.
14509
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
14510
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
14503
14511
  */
14504
14512
  uniqueWriterIdentity?:
14505
14513
  boolean;
@@ -14565,8 +14573,8 @@ declare namespace gapi.client {
14565
14573
  /**
14566
14574
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
14567
14575
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
14568
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
14569
- * or defaulted to false.
14576
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
14577
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
14570
14578
  */
14571
14579
  uniqueWriterIdentity?:
14572
14580
  boolean;
@@ -14697,8 +14705,8 @@ declare namespace gapi.client {
14697
14705
  }
14698
14706
  interface SinksResource {
14699
14707
  /**
14700
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted
14701
- * to write to the destination. A sink can export log entries only from the resource owning the sink.
14708
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
14709
+ * sink can export log entries only from the resource owning the sink.
14702
14710
  */
14703
14711
  create(request: {
14704
14712
  /** V1 error format. */
@@ -14744,7 +14752,8 @@ declare namespace gapi.client {
14744
14752
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
14745
14753
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
14746
14754
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
14747
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
14755
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
14756
+ * see writer_identity in LogSink.
14748
14757
  */
14749
14758
  uniqueWriterIdentity?:
14750
14759
  boolean;
@@ -14802,7 +14811,8 @@ declare namespace gapi.client {
14802
14811
  * Optional. Determines the kind of IAM identity returned as writer_identity in the new sink. If this value is omitted or set to false, and if the sink's parent is a project, then
14803
14812
  * the value returned as writer_identity is the same group or service account used by Cloud Logging before the addition of writer identities to this API. The sink's destination
14804
14813
  * must be in the same project as the sink itself.If this field is set to true, or if the sink is owned by a non-project resource such as an organization, then the value of
14805
- * writer_identity will be a unique service account used only for exports from the new sink. For more information, see writer_identity in LogSink.
14814
+ * writer_identity will be a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents) used by the sinks with the same parent. For more information,
14815
+ * see writer_identity in LogSink.
14806
14816
  */
14807
14817
  uniqueWriterIdentity?:
14808
14818
  boolean;
@@ -15001,8 +15011,8 @@ declare namespace gapi.client {
15001
15011
  /**
15002
15012
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
15003
15013
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
15004
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
15005
- * or defaulted to false.
15014
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
15015
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
15006
15016
  */
15007
15017
  uniqueWriterIdentity?:
15008
15018
  boolean;
@@ -15068,8 +15078,8 @@ declare namespace gapi.client {
15068
15078
  /**
15069
15079
  * Optional. See sinks.create for a description of this field. When updating a sink, the effect of this field on the value of writer_identity in the updated sink depends on both
15070
15080
  * the old and new values of this field: If the old and new values of this field are both false or both true, then there is no change to the sink's writer_identity. If the old
15071
- * value is false and the new value is true, then writer_identity is changed to a unique service account. It is an error if the old value is true and the new value is set to false
15072
- * or defaulted to false.
15081
+ * value is false and the new value is true, then writer_identity is changed to a service agent (https://cloud.google.com/iam/docs/service-account-types#service-agents)) owned by
15082
+ * Cloud Logging. It is an error if the old value is true and the new value is set to false or defaulted to false.
15073
15083
  */
15074
15084
  uniqueWriterIdentity?:
15075
15085
  boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20230714",
3
+ "version": "0.0.20230727",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -99,7 +99,7 @@ Lists log entries. Use this method to retrieve log entries that originated from
99
99
  await gapi.client.logging.entries.list({ });
100
100
 
101
101
  /*
102
- Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs.
102
+ Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs.
103
103
  */
104
104
  await gapi.client.logging.entries.tail({ });
105
105
 
@@ -204,7 +204,7 @@ Gets the Log Router settings for the given resource.Note: Settings for the Log R
204
204
  await gapi.client.logging.projects.getSettings({ name: "name", });
205
205
 
206
206
  /*
207
- Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.
207
+ Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A sink can export log entries only from the resource owning the sink.
208
208
  */
209
209
  await gapi.client.logging.sinks.create({ parent: "parent", });
210
210
 
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: 20230714
6
+ // Revision: 20230727
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -294,7 +294,7 @@ gapi.load('client', async () => {
294
294
  await gapi.client.logging.billingAccounts.locations.buckets.views.delete({
295
295
  name: "Test string",
296
296
  });
297
- /** Gets a view on a log bucket.. */
297
+ /** Gets a view on a log bucket. */
298
298
  await gapi.client.logging.billingAccounts.locations.buckets.views.get({
299
299
  name: "Test string",
300
300
  });
@@ -361,8 +361,8 @@ gapi.load('client', async () => {
361
361
  resourceNames: "Test string",
362
362
  });
363
363
  /**
364
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to
365
- * write to the destination. A sink can export log entries only from the resource owning the sink.
364
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
365
+ * sink can export log entries only from the resource owning the sink.
366
366
  */
367
367
  await gapi.client.logging.billingAccounts.sinks.create({
368
368
  customWriterIdentity: "Test string",
@@ -502,7 +502,7 @@ gapi.load('client', async () => {
502
502
  "Test string"
503
503
  ],
504
504
  });
505
- /** Streaming read of log entries as they are ingested. Until the stream is terminated, it will continue reading logs. */
505
+ /** Streaming read of log entries as they are received. Until the stream is terminated, it will continue reading logs. */
506
506
  await gapi.client.logging.entries.tail({
507
507
  }, {
508
508
  bufferWindow: "Test string",
@@ -910,7 +910,7 @@ gapi.load('client', async () => {
910
910
  await gapi.client.logging.folders.locations.buckets.views.delete({
911
911
  name: "Test string",
912
912
  });
913
- /** Gets a view on a log bucket.. */
913
+ /** Gets a view on a log bucket. */
914
914
  await gapi.client.logging.folders.locations.buckets.views.get({
915
915
  name: "Test string",
916
916
  });
@@ -977,8 +977,8 @@ gapi.load('client', async () => {
977
977
  resourceNames: "Test string",
978
978
  });
979
979
  /**
980
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to
981
- * write to the destination. A sink can export log entries only from the resource owning the sink.
980
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
981
+ * sink can export log entries only from the resource owning the sink.
982
982
  */
983
983
  await gapi.client.logging.folders.sinks.create({
984
984
  customWriterIdentity: "Test string",
@@ -1298,7 +1298,7 @@ gapi.load('client', async () => {
1298
1298
  await gapi.client.logging.locations.buckets.views.delete({
1299
1299
  name: "Test string",
1300
1300
  });
1301
- /** Gets a view on a log bucket.. */
1301
+ /** Gets a view on a log bucket. */
1302
1302
  await gapi.client.logging.locations.buckets.views.get({
1303
1303
  name: "Test string",
1304
1304
  });
@@ -1651,7 +1651,7 @@ gapi.load('client', async () => {
1651
1651
  await gapi.client.logging.organizations.locations.buckets.views.delete({
1652
1652
  name: "Test string",
1653
1653
  });
1654
- /** Gets a view on a log bucket.. */
1654
+ /** Gets a view on a log bucket. */
1655
1655
  await gapi.client.logging.organizations.locations.buckets.views.get({
1656
1656
  name: "Test string",
1657
1657
  });
@@ -1718,8 +1718,8 @@ gapi.load('client', async () => {
1718
1718
  resourceNames: "Test string",
1719
1719
  });
1720
1720
  /**
1721
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to
1722
- * write to the destination. A sink can export log entries only from the resource owning the sink.
1721
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
1722
+ * sink can export log entries only from the resource owning the sink.
1723
1723
  */
1724
1724
  await gapi.client.logging.organizations.sinks.create({
1725
1725
  customWriterIdentity: "Test string",
@@ -2092,7 +2092,7 @@ gapi.load('client', async () => {
2092
2092
  await gapi.client.logging.projects.locations.buckets.views.delete({
2093
2093
  name: "Test string",
2094
2094
  });
2095
- /** Gets a view on a log bucket.. */
2095
+ /** Gets a view on a log bucket. */
2096
2096
  await gapi.client.logging.projects.locations.buckets.views.get({
2097
2097
  name: "Test string",
2098
2098
  });
@@ -2291,8 +2291,8 @@ gapi.load('client', async () => {
2291
2291
  version: "Test string",
2292
2292
  });
2293
2293
  /**
2294
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to
2295
- * write to the destination. A sink can export log entries only from the resource owning the sink.
2294
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
2295
+ * sink can export log entries only from the resource owning the sink.
2296
2296
  */
2297
2297
  await gapi.client.logging.projects.sinks.create({
2298
2298
  customWriterIdentity: "Test string",
@@ -2409,8 +2409,8 @@ gapi.load('client', async () => {
2409
2409
  writerIdentity: "Test string",
2410
2410
  });
2411
2411
  /**
2412
- * Creates a sink that exports specified log entries to a destination. The export of newly-ingested log entries begins immediately, unless the sink's writer_identity is not permitted to
2413
- * write to the destination. A sink can export log entries only from the resource owning the sink.
2412
+ * Creates a sink that exports specified log entries to a destination. The export begins upon ingress, unless the sink's writer_identity is not permitted to write to the destination. A
2413
+ * sink can export log entries only from the resource owning the sink.
2414
2414
  */
2415
2415
  await gapi.client.logging.sinks.create({
2416
2416
  customWriterIdentity: "Test string",