@maxim_mazurok/gapi.client.logging-v2 0.0.20230224 → 0.0.20230331

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 +53 -63
  2. package/package.json +1 -1
  3. package/tests.ts +11 -36
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: 20230224
12
+ // Revision: 20230331
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1342,7 +1342,10 @@ declare namespace gapi.client {
1342
1342
  body: LogExclusion): Request<LogExclusion>;
1343
1343
  }
1344
1344
  interface LinksResource {
1345
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
1345
+ /**
1346
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one
1347
+ * link.
1348
+ */
1346
1349
  create(request: {
1347
1350
  /** V1 error format. */
1348
1351
  "$.xgafv"?: string;
@@ -1535,18 +1538,18 @@ declare namespace gapi.client {
1535
1538
  * The values of other method parameters should be identical to those in the previous call.
1536
1539
  */
1537
1540
  pageToken?: string;
1538
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
1541
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
1539
1542
  parent: string;
1540
1543
  /** Returns response with indentations and line breaks. */
1541
1544
  prettyPrint?: boolean;
1542
1545
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
1543
1546
  quotaUser?: string;
1544
1547
  /**
1545
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
1548
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
1546
1549
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
1547
1550
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
1548
1551
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
1549
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
1552
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
1550
1553
  */
1551
1554
  resourceNames?: string | string[];
1552
1555
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -2342,12 +2345,7 @@ declare namespace gapi.client {
2342
2345
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2343
2346
  uploadType?: string;
2344
2347
  }): Request<Operation>;
2345
- /**
2346
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
2347
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
2348
- * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
2349
- * ensure the name binding is the parent resource, without the operations collection id.
2350
- */
2348
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
2351
2349
  list(request?: {
2352
2350
  /** V1 error format. */
2353
2351
  "$.xgafv"?: string;
@@ -2509,18 +2507,18 @@ declare namespace gapi.client {
2509
2507
  * The values of other method parameters should be identical to those in the previous call.
2510
2508
  */
2511
2509
  pageToken?: string;
2512
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
2510
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
2513
2511
  parent: string;
2514
2512
  /** Returns response with indentations and line breaks. */
2515
2513
  prettyPrint?: boolean;
2516
2514
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
2517
2515
  quotaUser?: string;
2518
2516
  /**
2519
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2517
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2520
2518
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2521
2519
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
2522
2520
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
2523
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
2521
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
2524
2522
  */
2525
2523
  resourceNames?: string | string[];
2526
2524
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -3679,7 +3677,10 @@ declare namespace gapi.client {
3679
3677
  body: LogExclusion): Request<LogExclusion>;
3680
3678
  }
3681
3679
  interface LinksResource {
3682
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
3680
+ /**
3681
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one
3682
+ * link.
3683
+ */
3683
3684
  create(request: {
3684
3685
  /** V1 error format. */
3685
3686
  "$.xgafv"?: string;
@@ -3872,18 +3873,18 @@ declare namespace gapi.client {
3872
3873
  * The values of other method parameters should be identical to those in the previous call.
3873
3874
  */
3874
3875
  pageToken?: string;
3875
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
3876
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
3876
3877
  parent: string;
3877
3878
  /** Returns response with indentations and line breaks. */
3878
3879
  prettyPrint?: boolean;
3879
3880
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
3880
3881
  quotaUser?: string;
3881
3882
  /**
3882
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3883
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3883
3884
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3884
3885
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
3885
3886
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
3886
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
3887
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
3887
3888
  */
3888
3889
  resourceNames?: string | string[];
3889
3890
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -4679,12 +4680,7 @@ declare namespace gapi.client {
4679
4680
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4680
4681
  uploadType?: string;
4681
4682
  }): Request<Operation>;
4682
- /**
4683
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
4684
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
4685
- * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
4686
- * ensure the name binding is the parent resource, without the operations collection id.
4687
- */
4683
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
4688
4684
  list(request?: {
4689
4685
  /** V1 error format. */
4690
4686
  "$.xgafv"?: string;
@@ -4846,18 +4842,18 @@ declare namespace gapi.client {
4846
4842
  * The values of other method parameters should be identical to those in the previous call.
4847
4843
  */
4848
4844
  pageToken?: string;
4849
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
4845
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
4850
4846
  parent: string;
4851
4847
  /** Returns response with indentations and line breaks. */
4852
4848
  prettyPrint?: boolean;
4853
4849
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
4854
4850
  quotaUser?: string;
4855
4851
  /**
4856
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
4852
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
4857
4853
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
4858
4854
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
4859
4855
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
4860
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
4856
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
4861
4857
  */
4862
4858
  resourceNames?: string | string[];
4863
4859
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -5394,7 +5390,10 @@ declare namespace gapi.client {
5394
5390
  sinks: SinksResource;
5395
5391
  }
5396
5392
  interface LinksResource {
5397
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
5393
+ /**
5394
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one
5395
+ * link.
5396
+ */
5398
5397
  create(request: {
5399
5398
  /** V1 error format. */
5400
5399
  "$.xgafv"?: string;
@@ -6346,12 +6345,7 @@ declare namespace gapi.client {
6346
6345
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6347
6346
  uploadType?: string;
6348
6347
  }): Request<Operation>;
6349
- /**
6350
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
6351
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
6352
- * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
6353
- * ensure the name binding is the parent resource, without the operations collection id.
6354
- */
6348
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
6355
6349
  list(request?: {
6356
6350
  /** V1 error format. */
6357
6351
  "$.xgafv"?: string;
@@ -6513,18 +6507,18 @@ declare namespace gapi.client {
6513
6507
  * The values of other method parameters should be identical to those in the previous call.
6514
6508
  */
6515
6509
  pageToken?: string;
6516
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
6510
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
6517
6511
  parent: string;
6518
6512
  /** Returns response with indentations and line breaks. */
6519
6513
  prettyPrint?: boolean;
6520
6514
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6521
6515
  quotaUser?: string;
6522
6516
  /**
6523
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
6517
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
6524
6518
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
6525
6519
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
6526
6520
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
6527
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
6521
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
6528
6522
  */
6529
6523
  resourceNames?: string | string[];
6530
6524
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -6812,7 +6806,10 @@ declare namespace gapi.client {
6812
6806
  body: LogExclusion): Request<LogExclusion>;
6813
6807
  }
6814
6808
  interface LinksResource {
6815
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
6809
+ /**
6810
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one
6811
+ * link.
6812
+ */
6816
6813
  create(request: {
6817
6814
  /** V1 error format. */
6818
6815
  "$.xgafv"?: string;
@@ -7005,18 +7002,18 @@ declare namespace gapi.client {
7005
7002
  * The values of other method parameters should be identical to those in the previous call.
7006
7003
  */
7007
7004
  pageToken?: string;
7008
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
7005
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
7009
7006
  parent: string;
7010
7007
  /** Returns response with indentations and line breaks. */
7011
7008
  prettyPrint?: boolean;
7012
7009
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7013
7010
  quotaUser?: string;
7014
7011
  /**
7015
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7012
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7016
7013
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7017
7014
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7018
7015
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
7019
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
7016
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
7020
7017
  */
7021
7018
  resourceNames?: string | string[];
7022
7019
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -7812,12 +7809,7 @@ declare namespace gapi.client {
7812
7809
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7813
7810
  uploadType?: string;
7814
7811
  }): Request<Operation>;
7815
- /**
7816
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
7817
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
7818
- * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
7819
- * ensure the name binding is the parent resource, without the operations collection id.
7820
- */
7812
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
7821
7813
  list(request?: {
7822
7814
  /** V1 error format. */
7823
7815
  "$.xgafv"?: string;
@@ -7979,18 +7971,18 @@ declare namespace gapi.client {
7979
7971
  * The values of other method parameters should be identical to those in the previous call.
7980
7972
  */
7981
7973
  pageToken?: string;
7982
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
7974
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
7983
7975
  parent: string;
7984
7976
  /** Returns response with indentations and line breaks. */
7985
7977
  prettyPrint?: boolean;
7986
7978
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
7987
7979
  quotaUser?: string;
7988
7980
  /**
7989
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7981
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7990
7982
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7991
7983
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
7992
7984
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
7993
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
7985
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
7994
7986
  */
7995
7987
  resourceNames?: string | string[];
7996
7988
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -8847,7 +8839,10 @@ declare namespace gapi.client {
8847
8839
  body: LogExclusion): Request<LogExclusion>;
8848
8840
  }
8849
8841
  interface LinksResource {
8850
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
8842
+ /**
8843
+ * Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one
8844
+ * link.
8845
+ */
8851
8846
  create(request: {
8852
8847
  /** V1 error format. */
8853
8848
  "$.xgafv"?: string;
@@ -9040,18 +9035,18 @@ declare namespace gapi.client {
9040
9035
  * The values of other method parameters should be identical to those in the previous call.
9041
9036
  */
9042
9037
  pageToken?: string;
9043
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
9038
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
9044
9039
  parent: string;
9045
9040
  /** Returns response with indentations and line breaks. */
9046
9041
  prettyPrint?: boolean;
9047
9042
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
9048
9043
  quotaUser?: string;
9049
9044
  /**
9050
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
9045
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
9051
9046
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
9052
9047
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
9053
9048
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
9054
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
9049
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
9055
9050
  */
9056
9051
  resourceNames?: string | string[];
9057
9052
  /** Upload protocol for media (e.g. "raw", "multipart"). */
@@ -9847,12 +9842,7 @@ declare namespace gapi.client {
9847
9842
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9848
9843
  uploadType?: string;
9849
9844
  }): Request<Operation>;
9850
- /**
9851
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
9852
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as
9853
- * "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
9854
- * ensure the name binding is the parent resource, without the operations collection id.
9855
- */
9845
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
9856
9846
  list(request?: {
9857
9847
  /** V1 error format. */
9858
9848
  "$.xgafv"?: string;
@@ -10014,18 +10004,18 @@ declare namespace gapi.client {
10014
10004
  * The values of other method parameters should be identical to those in the previous call.
10015
10005
  */
10016
10006
  pageToken?: string;
10017
- /** Required. The resource name that owns the logs: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
10007
+ /** Required. The resource name to list logs for: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID] billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID] */
10018
10008
  parent: string;
10019
10009
  /** Returns response with indentations and line breaks. */
10020
10010
  prettyPrint?: boolean;
10021
10011
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
10022
10012
  quotaUser?: string;
10023
10013
  /**
10024
- * Optional. The resource name that owns the logs: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
10014
+ * Optional. List of resource names to list logs for: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
10025
10015
  * organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
10026
10016
  * billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]
10027
10017
  * folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]To support legacy queries, it could also be: projects/[PROJECT_ID] organizations/[ORGANIZATION_ID]
10028
- * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]
10018
+ * billingAccounts/[BILLING_ACCOUNT_ID] folders/[FOLDER_ID]The resource name in the parent field is added to this list.
10029
10019
  */
10030
10020
  resourceNames?: string | string[];
10031
10021
  /** Upload protocol for media (e.g. "raw", "multipart"). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20230224",
3
+ "version": "0.0.20230331",
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: 20230224
6
+ // Revision: 20230331
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -249,7 +249,7 @@ gapi.load('client', async () => {
249
249
  retentionDays: 42,
250
250
  updateTime: "Test string",
251
251
  });
252
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
252
+ /** Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. */
253
253
  await gapi.client.logging.billingAccounts.locations.buckets.links.create({
254
254
  linkId: "Test string",
255
255
  parent: "Test string",
@@ -339,12 +339,7 @@ gapi.load('client', async () => {
339
339
  await gapi.client.logging.billingAccounts.locations.operations.get({
340
340
  name: "Test string",
341
341
  });
342
- /**
343
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
344
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
345
- * to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
346
- * resource, without the operations collection id.
347
- */
342
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
348
343
  await gapi.client.logging.billingAccounts.locations.operations.list({
349
344
  filter: "Test string",
350
345
  name: "Test string",
@@ -866,7 +861,7 @@ gapi.load('client', async () => {
866
861
  retentionDays: 42,
867
862
  updateTime: "Test string",
868
863
  });
869
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
864
+ /** Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. */
870
865
  await gapi.client.logging.folders.locations.buckets.links.create({
871
866
  linkId: "Test string",
872
867
  parent: "Test string",
@@ -956,12 +951,7 @@ gapi.load('client', async () => {
956
951
  await gapi.client.logging.folders.locations.operations.get({
957
952
  name: "Test string",
958
953
  });
959
- /**
960
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
961
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
962
- * to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
963
- * resource, without the operations collection id.
964
- */
954
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
965
955
  await gapi.client.logging.folders.locations.operations.list({
966
956
  filter: "Test string",
967
957
  name: "Test string",
@@ -1256,7 +1246,7 @@ gapi.load('client', async () => {
1256
1246
  retentionDays: 42,
1257
1247
  updateTime: "Test string",
1258
1248
  });
1259
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
1249
+ /** Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. */
1260
1250
  await gapi.client.logging.locations.buckets.links.create({
1261
1251
  linkId: "Test string",
1262
1252
  parent: "Test string",
@@ -1339,12 +1329,7 @@ gapi.load('client', async () => {
1339
1329
  await gapi.client.logging.locations.operations.get({
1340
1330
  name: "Test string",
1341
1331
  });
1342
- /**
1343
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
1344
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
1345
- * to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
1346
- * resource, without the operations collection id.
1347
- */
1332
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
1348
1333
  await gapi.client.logging.locations.operations.list({
1349
1334
  filter: "Test string",
1350
1335
  name: "Test string",
@@ -1613,7 +1598,7 @@ gapi.load('client', async () => {
1613
1598
  retentionDays: 42,
1614
1599
  updateTime: "Test string",
1615
1600
  });
1616
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
1601
+ /** Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. */
1617
1602
  await gapi.client.logging.organizations.locations.buckets.links.create({
1618
1603
  linkId: "Test string",
1619
1604
  parent: "Test string",
@@ -1703,12 +1688,7 @@ gapi.load('client', async () => {
1703
1688
  await gapi.client.logging.organizations.locations.operations.get({
1704
1689
  name: "Test string",
1705
1690
  });
1706
- /**
1707
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
1708
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
1709
- * to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
1710
- * resource, without the operations collection id.
1711
- */
1691
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
1712
1692
  await gapi.client.logging.organizations.locations.operations.list({
1713
1693
  filter: "Test string",
1714
1694
  name: "Test string",
@@ -2056,7 +2036,7 @@ gapi.load('client', async () => {
2056
2036
  retentionDays: 42,
2057
2037
  updateTime: "Test string",
2058
2038
  });
2059
- /** Asynchronously creates linked dataset in BigQuery which makes it possible to use BugQuery to read the logs stored in the bucket. A bucket may currently only contain one link. */
2039
+ /** Asynchronously creates a linked dataset in BigQuery which makes it possible to use BigQuery to read the logs stored in the log bucket. A log bucket may currently only contain one link. */
2060
2040
  await gapi.client.logging.projects.locations.buckets.links.create({
2061
2041
  linkId: "Test string",
2062
2042
  parent: "Test string",
@@ -2146,12 +2126,7 @@ gapi.load('client', async () => {
2146
2126
  await gapi.client.logging.projects.locations.operations.get({
2147
2127
  name: "Test string",
2148
2128
  });
2149
- /**
2150
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
2151
- * override the binding to use different resource name schemes, such as users/*‍/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
2152
- * to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
2153
- * resource, without the operations collection id.
2154
- */
2129
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
2155
2130
  await gapi.client.logging.projects.locations.operations.list({
2156
2131
  filter: "Test string",
2157
2132
  name: "Test string",