@maxim_mazurok/gapi.client.logging-v2 0.0.20240830 → 0.0.20240908

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 (2) hide show
  1. package/index.d.ts +706 -52
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://logging.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20240830
12
+ // Revision: 20240908
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -308,6 +308,12 @@ declare namespace gapi.client {
308
308
  /** If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call this method again using the value of nextPageToken as pageToken. */
309
309
  nextPageToken?: string;
310
310
  }
311
+ interface ListLogScopesResponse {
312
+ /** A list of log scopes. */
313
+ logScopes?: LogScope[];
314
+ /** If there might be more results than appear in this response, then nextPageToken is included. To get the next set of results, call the same method again using the value of nextPageToken as pageToken. */
315
+ nextPageToken?: string;
316
+ }
311
317
  interface ListLogsResponse {
312
318
  /** A list of log names. For example, "projects/my-project/logs/syslog" or "organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity". */
313
319
  logNames?: string[];
@@ -518,6 +524,18 @@ declare namespace gapi.client {
518
524
  /** Deprecated. The API version that created or updated this metric. The v2 format is used by default and cannot be changed. */
519
525
  version?: string;
520
526
  }
527
+ interface LogScope {
528
+ /** Output only. The creation timestamp of the log scope. */
529
+ createTime?: string;
530
+ /** Optional. Describes this log scope.The maximum length of the description is 8000 characters. */
531
+ description?: string;
532
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
533
+ name?: string;
534
+ /** Required. Names of one or more parent resources: projects/[PROJECT_ID]May alternatively be one or more views: projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]A log scope can include a maximum of 50 projects and a maximum of 100 resources in total. */
535
+ resourceNames?: string[];
536
+ /** Output only. The last update timestamp of the log scope. */
537
+ updateTime?: string;
538
+ }
521
539
  interface LogSink {
522
540
  /** Optional. Options that affect sinks exporting data to BigQuery. */
523
541
  bigqueryOptions?: BigQueryOptions;
@@ -4214,6 +4232,217 @@ declare namespace gapi.client {
4214
4232
  links: LinksResource;
4215
4233
  views: ViewsResource;
4216
4234
  }
4235
+ interface LogScopesResource {
4236
+ /** Creates a log scope. */
4237
+ create(request: {
4238
+ /** V1 error format. */
4239
+ '$.xgafv'?: string;
4240
+ /** OAuth access token. */
4241
+ access_token?: string;
4242
+ /** Data format for response. */
4243
+ alt?: string;
4244
+ /** JSONP */
4245
+ callback?: string;
4246
+ /** Selector specifying which fields to include in a partial response. */
4247
+ fields?: string;
4248
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4249
+ key?: string;
4250
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
4251
+ logScopeId?: string;
4252
+ /** OAuth 2.0 token for the current user. */
4253
+ oauth_token?: string;
4254
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
4255
+ parent: string;
4256
+ /** Returns response with indentations and line breaks. */
4257
+ prettyPrint?: boolean;
4258
+ /** 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. */
4259
+ quotaUser?: string;
4260
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4261
+ upload_protocol?: string;
4262
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4263
+ uploadType?: string;
4264
+ /** Request body */
4265
+ resource: LogScope;
4266
+ }): Request<LogScope>;
4267
+ create(
4268
+ request: {
4269
+ /** V1 error format. */
4270
+ '$.xgafv'?: string;
4271
+ /** OAuth access token. */
4272
+ access_token?: string;
4273
+ /** Data format for response. */
4274
+ alt?: string;
4275
+ /** JSONP */
4276
+ callback?: string;
4277
+ /** Selector specifying which fields to include in a partial response. */
4278
+ fields?: string;
4279
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4280
+ key?: string;
4281
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
4282
+ logScopeId?: string;
4283
+ /** OAuth 2.0 token for the current user. */
4284
+ oauth_token?: string;
4285
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
4286
+ parent: string;
4287
+ /** Returns response with indentations and line breaks. */
4288
+ prettyPrint?: boolean;
4289
+ /** 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. */
4290
+ quotaUser?: string;
4291
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4292
+ upload_protocol?: string;
4293
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4294
+ uploadType?: string;
4295
+ },
4296
+ body: LogScope
4297
+ ): Request<LogScope>;
4298
+ /** Deletes a log scope. */
4299
+ delete(request?: {
4300
+ /** V1 error format. */
4301
+ '$.xgafv'?: string;
4302
+ /** OAuth access token. */
4303
+ access_token?: string;
4304
+ /** Data format for response. */
4305
+ alt?: string;
4306
+ /** JSONP */
4307
+ callback?: string;
4308
+ /** Selector specifying which fields to include in a partial response. */
4309
+ fields?: string;
4310
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4311
+ key?: string;
4312
+ /** Required. The resource name of the log scope to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
4313
+ name: string;
4314
+ /** OAuth 2.0 token for the current user. */
4315
+ oauth_token?: string;
4316
+ /** Returns response with indentations and line breaks. */
4317
+ prettyPrint?: boolean;
4318
+ /** 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. */
4319
+ quotaUser?: string;
4320
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4321
+ upload_protocol?: string;
4322
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4323
+ uploadType?: string;
4324
+ }): Request<{}>;
4325
+ /** Gets a log scope. */
4326
+ get(request?: {
4327
+ /** V1 error format. */
4328
+ '$.xgafv'?: string;
4329
+ /** OAuth access token. */
4330
+ access_token?: string;
4331
+ /** Data format for response. */
4332
+ alt?: string;
4333
+ /** JSONP */
4334
+ callback?: string;
4335
+ /** Selector specifying which fields to include in a partial response. */
4336
+ fields?: string;
4337
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4338
+ key?: string;
4339
+ /** Required. The resource name of the log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
4340
+ name: string;
4341
+ /** OAuth 2.0 token for the current user. */
4342
+ oauth_token?: string;
4343
+ /** Returns response with indentations and line breaks. */
4344
+ prettyPrint?: boolean;
4345
+ /** 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. */
4346
+ quotaUser?: string;
4347
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4348
+ upload_protocol?: string;
4349
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4350
+ uploadType?: string;
4351
+ }): Request<LogScope>;
4352
+ /** Lists log scopes. */
4353
+ list(request?: {
4354
+ /** V1 error format. */
4355
+ '$.xgafv'?: string;
4356
+ /** OAuth access token. */
4357
+ access_token?: string;
4358
+ /** Data format for response. */
4359
+ alt?: string;
4360
+ /** JSONP */
4361
+ callback?: string;
4362
+ /** Selector specifying which fields to include in a partial response. */
4363
+ fields?: string;
4364
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4365
+ key?: string;
4366
+ /** OAuth 2.0 token for the current user. */
4367
+ oauth_token?: string;
4368
+ /** Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */
4369
+ pageSize?: number;
4370
+ /** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. */
4371
+ pageToken?: string;
4372
+ /** Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" */
4373
+ parent: string;
4374
+ /** Returns response with indentations and line breaks. */
4375
+ prettyPrint?: boolean;
4376
+ /** 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. */
4377
+ quotaUser?: string;
4378
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4379
+ upload_protocol?: string;
4380
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4381
+ uploadType?: string;
4382
+ }): Request<ListLogScopesResponse>;
4383
+ /** Updates a log scope. */
4384
+ patch(request: {
4385
+ /** V1 error format. */
4386
+ '$.xgafv'?: string;
4387
+ /** OAuth access token. */
4388
+ access_token?: string;
4389
+ /** Data format for response. */
4390
+ alt?: string;
4391
+ /** JSONP */
4392
+ callback?: string;
4393
+ /** Selector specifying which fields to include in a partial response. */
4394
+ fields?: string;
4395
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4396
+ key?: string;
4397
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
4398
+ name: string;
4399
+ /** OAuth 2.0 token for the current user. */
4400
+ oauth_token?: string;
4401
+ /** Returns response with indentations and line breaks. */
4402
+ prettyPrint?: boolean;
4403
+ /** 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. */
4404
+ quotaUser?: string;
4405
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
4406
+ updateMask?: string;
4407
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4408
+ upload_protocol?: string;
4409
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4410
+ uploadType?: string;
4411
+ /** Request body */
4412
+ resource: LogScope;
4413
+ }): Request<LogScope>;
4414
+ patch(
4415
+ request: {
4416
+ /** V1 error format. */
4417
+ '$.xgafv'?: string;
4418
+ /** OAuth access token. */
4419
+ access_token?: string;
4420
+ /** Data format for response. */
4421
+ alt?: string;
4422
+ /** JSONP */
4423
+ callback?: string;
4424
+ /** Selector specifying which fields to include in a partial response. */
4425
+ fields?: string;
4426
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4427
+ key?: string;
4428
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
4429
+ name: string;
4430
+ /** OAuth 2.0 token for the current user. */
4431
+ oauth_token?: string;
4432
+ /** Returns response with indentations and line breaks. */
4433
+ prettyPrint?: boolean;
4434
+ /** 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. */
4435
+ quotaUser?: string;
4436
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
4437
+ updateMask?: string;
4438
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
4439
+ upload_protocol?: string;
4440
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
4441
+ uploadType?: string;
4442
+ },
4443
+ body: LogScope
4444
+ ): Request<LogScope>;
4445
+ }
4217
4446
  interface OperationsResource {
4218
4447
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
4219
4448
  cancel(request: {
@@ -4644,6 +4873,7 @@ declare namespace gapi.client {
4644
4873
  uploadType?: string;
4645
4874
  }): Request<ListLocationsResponse>;
4646
4875
  buckets: BucketsResource;
4876
+ logScopes: LogScopesResource;
4647
4877
  operations: OperationsResource;
4648
4878
  recentQueries: RecentQueriesResource;
4649
4879
  savedQueries: SavedQueriesResource;
@@ -7337,9 +7567,9 @@ declare namespace gapi.client {
7337
7567
  links: LinksResource;
7338
7568
  views: ViewsResource;
7339
7569
  }
7340
- interface OperationsResource {
7341
- /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
7342
- cancel(request: {
7570
+ interface LogScopesResource {
7571
+ /** Creates a log scope. */
7572
+ create(request: {
7343
7573
  /** V1 error format. */
7344
7574
  '$.xgafv'?: string;
7345
7575
  /** OAuth access token. */
@@ -7352,10 +7582,12 @@ declare namespace gapi.client {
7352
7582
  fields?: string;
7353
7583
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7354
7584
  key?: string;
7355
- /** The name of the operation resource to be cancelled. */
7356
- name: string;
7585
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
7586
+ logScopeId?: string;
7357
7587
  /** OAuth 2.0 token for the current user. */
7358
7588
  oauth_token?: string;
7589
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
7590
+ parent: string;
7359
7591
  /** Returns response with indentations and line breaks. */
7360
7592
  prettyPrint?: boolean;
7361
7593
  /** 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. */
@@ -7365,9 +7597,9 @@ declare namespace gapi.client {
7365
7597
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7366
7598
  uploadType?: string;
7367
7599
  /** Request body */
7368
- resource: CancelOperationRequest;
7369
- }): Request<{}>;
7370
- cancel(
7600
+ resource: LogScope;
7601
+ }): Request<LogScope>;
7602
+ create(
7371
7603
  request: {
7372
7604
  /** V1 error format. */
7373
7605
  '$.xgafv'?: string;
@@ -7381,10 +7613,12 @@ declare namespace gapi.client {
7381
7613
  fields?: string;
7382
7614
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7383
7615
  key?: string;
7384
- /** The name of the operation resource to be cancelled. */
7385
- name: string;
7616
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
7617
+ logScopeId?: string;
7386
7618
  /** OAuth 2.0 token for the current user. */
7387
7619
  oauth_token?: string;
7620
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
7621
+ parent: string;
7388
7622
  /** Returns response with indentations and line breaks. */
7389
7623
  prettyPrint?: boolean;
7390
7624
  /** 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. */
@@ -7394,10 +7628,10 @@ declare namespace gapi.client {
7394
7628
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7395
7629
  uploadType?: string;
7396
7630
  },
7397
- body: CancelOperationRequest
7398
- ): Request<{}>;
7399
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
7400
- get(request?: {
7631
+ body: LogScope
7632
+ ): Request<LogScope>;
7633
+ /** Deletes a log scope. */
7634
+ delete(request?: {
7401
7635
  /** V1 error format. */
7402
7636
  '$.xgafv'?: string;
7403
7637
  /** OAuth access token. */
@@ -7410,7 +7644,7 @@ declare namespace gapi.client {
7410
7644
  fields?: string;
7411
7645
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7412
7646
  key?: string;
7413
- /** The name of the operation resource. */
7647
+ /** Required. The resource name of the log scope to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
7414
7648
  name: string;
7415
7649
  /** OAuth 2.0 token for the current user. */
7416
7650
  oauth_token?: string;
@@ -7422,9 +7656,9 @@ declare namespace gapi.client {
7422
7656
  upload_protocol?: string;
7423
7657
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7424
7658
  uploadType?: string;
7425
- }): Request<Operation>;
7426
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
7427
- list(request?: {
7659
+ }): Request<{}>;
7660
+ /** Gets a log scope. */
7661
+ get(request?: {
7428
7662
  /** V1 error format. */
7429
7663
  '$.xgafv'?: string;
7430
7664
  /** OAuth access token. */
@@ -7435,18 +7669,12 @@ declare namespace gapi.client {
7435
7669
  callback?: string;
7436
7670
  /** Selector specifying which fields to include in a partial response. */
7437
7671
  fields?: string;
7438
- /** The standard list filter. */
7439
- filter?: string;
7440
7672
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7441
7673
  key?: string;
7442
- /** The name of the operation's parent resource. */
7674
+ /** Required. The resource name of the log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
7443
7675
  name: string;
7444
7676
  /** OAuth 2.0 token for the current user. */
7445
7677
  oauth_token?: string;
7446
- /** The standard list page size. */
7447
- pageSize?: number;
7448
- /** The standard list page token. */
7449
- pageToken?: string;
7450
7678
  /** Returns response with indentations and line breaks. */
7451
7679
  prettyPrint?: boolean;
7452
7680
  /** 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. */
@@ -7455,10 +7683,8 @@ declare namespace gapi.client {
7455
7683
  upload_protocol?: string;
7456
7684
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7457
7685
  uploadType?: string;
7458
- }): Request<ListOperationsResponse>;
7459
- }
7460
- interface RecentQueriesResource {
7461
- /** Lists the RecentQueries that were created by the user making the request. */
7686
+ }): Request<LogScope>;
7687
+ /** Lists log scopes. */
7462
7688
  list(request?: {
7463
7689
  /** V1 error format. */
7464
7690
  '$.xgafv'?: string;
@@ -7470,17 +7696,15 @@ declare namespace gapi.client {
7470
7696
  callback?: string;
7471
7697
  /** Selector specifying which fields to include in a partial response. */
7472
7698
  fields?: string;
7473
- /** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
7474
- filter?: string;
7475
7699
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7476
7700
  key?: string;
7477
7701
  /** OAuth 2.0 token for the current user. */
7478
7702
  oauth_token?: string;
7479
- /** Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */
7703
+ /** Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */
7480
7704
  pageSize?: number;
7481
7705
  /** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. */
7482
7706
  pageToken?: string;
7483
- /** Required. The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries. */
7707
+ /** Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" */
7484
7708
  parent: string;
7485
7709
  /** Returns response with indentations and line breaks. */
7486
7710
  prettyPrint?: boolean;
@@ -7490,11 +7714,9 @@ declare namespace gapi.client {
7490
7714
  upload_protocol?: string;
7491
7715
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7492
7716
  uploadType?: string;
7493
- }): Request<ListRecentQueriesResponse>;
7494
- }
7495
- interface SavedQueriesResource {
7496
- /** Creates a new SavedQuery for the user making the request. */
7497
- create(request: {
7717
+ }): Request<ListLogScopesResponse>;
7718
+ /** Updates a log scope. */
7719
+ patch(request: {
7498
7720
  /** V1 error format. */
7499
7721
  '$.xgafv'?: string;
7500
7722
  /** OAuth access token. */
@@ -7507,24 +7729,24 @@ declare namespace gapi.client {
7507
7729
  fields?: string;
7508
7730
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7509
7731
  key?: string;
7732
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
7733
+ name: string;
7510
7734
  /** OAuth 2.0 token for the current user. */
7511
7735
  oauth_token?: string;
7512
- /** Required. The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1" */
7513
- parent: string;
7514
7736
  /** Returns response with indentations and line breaks. */
7515
7737
  prettyPrint?: boolean;
7516
7738
  /** 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. */
7517
7739
  quotaUser?: string;
7518
- /** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric. */
7519
- savedQueryId?: string;
7740
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
7741
+ updateMask?: string;
7520
7742
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7521
7743
  upload_protocol?: string;
7522
7744
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7523
7745
  uploadType?: string;
7524
7746
  /** Request body */
7525
- resource: SavedQuery;
7526
- }): Request<SavedQuery>;
7527
- create(
7747
+ resource: LogScope;
7748
+ }): Request<LogScope>;
7749
+ patch(
7528
7750
  request: {
7529
7751
  /** V1 error format. */
7530
7752
  '$.xgafv'?: string;
@@ -7538,23 +7760,242 @@ declare namespace gapi.client {
7538
7760
  fields?: string;
7539
7761
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7540
7762
  key?: string;
7763
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
7764
+ name: string;
7541
7765
  /** OAuth 2.0 token for the current user. */
7542
7766
  oauth_token?: string;
7543
- /** Required. The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1" */
7544
- parent: string;
7545
7767
  /** Returns response with indentations and line breaks. */
7546
7768
  prettyPrint?: boolean;
7547
7769
  /** 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. */
7548
7770
  quotaUser?: string;
7549
- /** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric. */
7550
- savedQueryId?: string;
7771
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
7772
+ updateMask?: string;
7551
7773
  /** Upload protocol for media (e.g. "raw", "multipart"). */
7552
7774
  upload_protocol?: string;
7553
7775
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7554
7776
  uploadType?: string;
7555
7777
  },
7556
- body: SavedQuery
7557
- ): Request<SavedQuery>;
7778
+ body: LogScope
7779
+ ): Request<LogScope>;
7780
+ }
7781
+ interface OperationsResource {
7782
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
7783
+ cancel(request: {
7784
+ /** V1 error format. */
7785
+ '$.xgafv'?: string;
7786
+ /** OAuth access token. */
7787
+ access_token?: string;
7788
+ /** Data format for response. */
7789
+ alt?: string;
7790
+ /** JSONP */
7791
+ callback?: string;
7792
+ /** Selector specifying which fields to include in a partial response. */
7793
+ fields?: string;
7794
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7795
+ key?: string;
7796
+ /** The name of the operation resource to be cancelled. */
7797
+ name: string;
7798
+ /** OAuth 2.0 token for the current user. */
7799
+ oauth_token?: string;
7800
+ /** Returns response with indentations and line breaks. */
7801
+ prettyPrint?: boolean;
7802
+ /** 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. */
7803
+ quotaUser?: string;
7804
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7805
+ upload_protocol?: string;
7806
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7807
+ uploadType?: string;
7808
+ /** Request body */
7809
+ resource: CancelOperationRequest;
7810
+ }): Request<{}>;
7811
+ cancel(
7812
+ request: {
7813
+ /** V1 error format. */
7814
+ '$.xgafv'?: string;
7815
+ /** OAuth access token. */
7816
+ access_token?: string;
7817
+ /** Data format for response. */
7818
+ alt?: string;
7819
+ /** JSONP */
7820
+ callback?: string;
7821
+ /** Selector specifying which fields to include in a partial response. */
7822
+ fields?: string;
7823
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7824
+ key?: string;
7825
+ /** The name of the operation resource to be cancelled. */
7826
+ name: string;
7827
+ /** OAuth 2.0 token for the current user. */
7828
+ oauth_token?: string;
7829
+ /** Returns response with indentations and line breaks. */
7830
+ prettyPrint?: boolean;
7831
+ /** 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. */
7832
+ quotaUser?: string;
7833
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7834
+ upload_protocol?: string;
7835
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7836
+ uploadType?: string;
7837
+ },
7838
+ body: CancelOperationRequest
7839
+ ): Request<{}>;
7840
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
7841
+ get(request?: {
7842
+ /** V1 error format. */
7843
+ '$.xgafv'?: string;
7844
+ /** OAuth access token. */
7845
+ access_token?: string;
7846
+ /** Data format for response. */
7847
+ alt?: string;
7848
+ /** JSONP */
7849
+ callback?: string;
7850
+ /** Selector specifying which fields to include in a partial response. */
7851
+ fields?: string;
7852
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7853
+ key?: string;
7854
+ /** The name of the operation resource. */
7855
+ name: string;
7856
+ /** OAuth 2.0 token for the current user. */
7857
+ oauth_token?: string;
7858
+ /** Returns response with indentations and line breaks. */
7859
+ prettyPrint?: boolean;
7860
+ /** 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. */
7861
+ quotaUser?: string;
7862
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7863
+ upload_protocol?: string;
7864
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7865
+ uploadType?: string;
7866
+ }): Request<Operation>;
7867
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
7868
+ list(request?: {
7869
+ /** V1 error format. */
7870
+ '$.xgafv'?: string;
7871
+ /** OAuth access token. */
7872
+ access_token?: string;
7873
+ /** Data format for response. */
7874
+ alt?: string;
7875
+ /** JSONP */
7876
+ callback?: string;
7877
+ /** Selector specifying which fields to include in a partial response. */
7878
+ fields?: string;
7879
+ /** The standard list filter. */
7880
+ filter?: string;
7881
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7882
+ key?: string;
7883
+ /** The name of the operation's parent resource. */
7884
+ name: string;
7885
+ /** OAuth 2.0 token for the current user. */
7886
+ oauth_token?: string;
7887
+ /** The standard list page size. */
7888
+ pageSize?: number;
7889
+ /** The standard list page token. */
7890
+ pageToken?: string;
7891
+ /** Returns response with indentations and line breaks. */
7892
+ prettyPrint?: boolean;
7893
+ /** 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. */
7894
+ quotaUser?: string;
7895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7896
+ upload_protocol?: string;
7897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7898
+ uploadType?: string;
7899
+ }): Request<ListOperationsResponse>;
7900
+ }
7901
+ interface RecentQueriesResource {
7902
+ /** Lists the RecentQueries that were created by the user making the request. */
7903
+ list(request?: {
7904
+ /** V1 error format. */
7905
+ '$.xgafv'?: string;
7906
+ /** OAuth access token. */
7907
+ access_token?: string;
7908
+ /** Data format for response. */
7909
+ alt?: string;
7910
+ /** JSONP */
7911
+ callback?: string;
7912
+ /** Selector specifying which fields to include in a partial response. */
7913
+ fields?: string;
7914
+ /** Optional. Specifies the type ("Logging" or "OpsAnalytics") of the recent queries to list. The only valid value for this field is one of the two allowable type function calls, which are the following: type("Logging") type("OpsAnalytics") */
7915
+ filter?: string;
7916
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7917
+ key?: string;
7918
+ /** OAuth 2.0 token for the current user. */
7919
+ oauth_token?: string;
7920
+ /** Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */
7921
+ pageSize?: number;
7922
+ /** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. */
7923
+ pageToken?: string;
7924
+ /** Required. The resource to which the listed queries belong. "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example:projects/my-project/locations/us-central1Note: The location portion of the resource must be specified, but supplying the character - in place of LOCATION_ID will return all recent queries. */
7925
+ parent: string;
7926
+ /** Returns response with indentations and line breaks. */
7927
+ prettyPrint?: boolean;
7928
+ /** 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. */
7929
+ quotaUser?: string;
7930
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7931
+ upload_protocol?: string;
7932
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7933
+ uploadType?: string;
7934
+ }): Request<ListRecentQueriesResponse>;
7935
+ }
7936
+ interface SavedQueriesResource {
7937
+ /** Creates a new SavedQuery for the user making the request. */
7938
+ create(request: {
7939
+ /** V1 error format. */
7940
+ '$.xgafv'?: string;
7941
+ /** OAuth access token. */
7942
+ access_token?: string;
7943
+ /** Data format for response. */
7944
+ alt?: string;
7945
+ /** JSONP */
7946
+ callback?: string;
7947
+ /** Selector specifying which fields to include in a partial response. */
7948
+ fields?: string;
7949
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7950
+ key?: string;
7951
+ /** OAuth 2.0 token for the current user. */
7952
+ oauth_token?: string;
7953
+ /** Required. The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1" */
7954
+ parent: string;
7955
+ /** Returns response with indentations and line breaks. */
7956
+ prettyPrint?: boolean;
7957
+ /** 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. */
7958
+ quotaUser?: string;
7959
+ /** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric. */
7960
+ savedQueryId?: string;
7961
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7962
+ upload_protocol?: string;
7963
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7964
+ uploadType?: string;
7965
+ /** Request body */
7966
+ resource: SavedQuery;
7967
+ }): Request<SavedQuery>;
7968
+ create(
7969
+ request: {
7970
+ /** V1 error format. */
7971
+ '$.xgafv'?: string;
7972
+ /** OAuth access token. */
7973
+ access_token?: string;
7974
+ /** Data format for response. */
7975
+ alt?: string;
7976
+ /** JSONP */
7977
+ callback?: string;
7978
+ /** Selector specifying which fields to include in a partial response. */
7979
+ fields?: string;
7980
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
7981
+ key?: string;
7982
+ /** OAuth 2.0 token for the current user. */
7983
+ oauth_token?: string;
7984
+ /** Required. The parent resource in which to create the saved query: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" For example: "projects/my-project/locations/global" "organizations/123456789/locations/us-central1" */
7985
+ parent: string;
7986
+ /** Returns response with indentations and line breaks. */
7987
+ prettyPrint?: boolean;
7988
+ /** 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. */
7989
+ quotaUser?: string;
7990
+ /** Optional. The ID to use for the saved query, which will become the final component of the saved query's resource name.If the saved_query_id is not provided, the system will generate an alphanumeric ID.The saved_query_id is limited to 100 characters and can include only the following characters: upper and lower-case alphanumeric characters, underscores, hyphens, periods.First character has to be alphanumeric. */
7991
+ savedQueryId?: string;
7992
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
7993
+ upload_protocol?: string;
7994
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
7995
+ uploadType?: string;
7996
+ },
7997
+ body: SavedQuery
7998
+ ): Request<SavedQuery>;
7558
7999
  /** Deletes an existing SavedQuery that was created by the user making the request. */
7559
8000
  delete(request?: {
7560
8001
  /** V1 error format. */
@@ -7767,6 +8208,7 @@ declare namespace gapi.client {
7767
8208
  uploadType?: string;
7768
8209
  }): Request<ListLocationsResponse>;
7769
8210
  buckets: BucketsResource;
8211
+ logScopes: LogScopesResource;
7770
8212
  operations: OperationsResource;
7771
8213
  recentQueries: RecentQueriesResource;
7772
8214
  savedQueries: SavedQueriesResource;
@@ -9400,6 +9842,217 @@ declare namespace gapi.client {
9400
9842
  links: LinksResource;
9401
9843
  views: ViewsResource;
9402
9844
  }
9845
+ interface LogScopesResource {
9846
+ /** Creates a log scope. */
9847
+ create(request: {
9848
+ /** V1 error format. */
9849
+ '$.xgafv'?: string;
9850
+ /** OAuth access token. */
9851
+ access_token?: string;
9852
+ /** Data format for response. */
9853
+ alt?: string;
9854
+ /** JSONP */
9855
+ callback?: string;
9856
+ /** Selector specifying which fields to include in a partial response. */
9857
+ fields?: string;
9858
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9859
+ key?: string;
9860
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
9861
+ logScopeId?: string;
9862
+ /** OAuth 2.0 token for the current user. */
9863
+ oauth_token?: string;
9864
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
9865
+ parent: string;
9866
+ /** Returns response with indentations and line breaks. */
9867
+ prettyPrint?: boolean;
9868
+ /** 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. */
9869
+ quotaUser?: string;
9870
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9871
+ upload_protocol?: string;
9872
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9873
+ uploadType?: string;
9874
+ /** Request body */
9875
+ resource: LogScope;
9876
+ }): Request<LogScope>;
9877
+ create(
9878
+ request: {
9879
+ /** V1 error format. */
9880
+ '$.xgafv'?: string;
9881
+ /** OAuth access token. */
9882
+ access_token?: string;
9883
+ /** Data format for response. */
9884
+ alt?: string;
9885
+ /** JSONP */
9886
+ callback?: string;
9887
+ /** Selector specifying which fields to include in a partial response. */
9888
+ fields?: string;
9889
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9890
+ key?: string;
9891
+ /** Required. A client-assigned identifier such as "log-scope". Identifiers are limited to 100 characters and can include only letters, digits, underscores, hyphens, and periods. First character has to be alphanumeric. */
9892
+ logScopeId?: string;
9893
+ /** OAuth 2.0 token for the current user. */
9894
+ oauth_token?: string;
9895
+ /** Required. The parent project in which to create the log scope "projects/[PROJECT_ID]/locations/[LOCATION_ID]" For example:"projects/my-project/locations/global" */
9896
+ parent: string;
9897
+ /** Returns response with indentations and line breaks. */
9898
+ prettyPrint?: boolean;
9899
+ /** 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. */
9900
+ quotaUser?: string;
9901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9902
+ upload_protocol?: string;
9903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9904
+ uploadType?: string;
9905
+ },
9906
+ body: LogScope
9907
+ ): Request<LogScope>;
9908
+ /** Deletes a log scope. */
9909
+ delete(request?: {
9910
+ /** V1 error format. */
9911
+ '$.xgafv'?: string;
9912
+ /** OAuth access token. */
9913
+ access_token?: string;
9914
+ /** Data format for response. */
9915
+ alt?: string;
9916
+ /** JSONP */
9917
+ callback?: string;
9918
+ /** Selector specifying which fields to include in a partial response. */
9919
+ fields?: string;
9920
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9921
+ key?: string;
9922
+ /** Required. The resource name of the log scope to delete: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
9923
+ name: string;
9924
+ /** OAuth 2.0 token for the current user. */
9925
+ oauth_token?: string;
9926
+ /** Returns response with indentations and line breaks. */
9927
+ prettyPrint?: boolean;
9928
+ /** 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. */
9929
+ quotaUser?: string;
9930
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9931
+ upload_protocol?: string;
9932
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9933
+ uploadType?: string;
9934
+ }): Request<{}>;
9935
+ /** Gets a log scope. */
9936
+ get(request?: {
9937
+ /** V1 error format. */
9938
+ '$.xgafv'?: string;
9939
+ /** OAuth access token. */
9940
+ access_token?: string;
9941
+ /** Data format for response. */
9942
+ alt?: string;
9943
+ /** JSONP */
9944
+ callback?: string;
9945
+ /** Selector specifying which fields to include in a partial response. */
9946
+ fields?: string;
9947
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9948
+ key?: string;
9949
+ /** Required. The resource name of the log scope: "projects/[PROJECT_ID]/locations/[LOCATION_ID]/logScopes/[LOG_SCOPE_ID]" For example:"projects/my-project/locations/global/logScopes/my-log-scope" */
9950
+ name: string;
9951
+ /** OAuth 2.0 token for the current user. */
9952
+ oauth_token?: string;
9953
+ /** Returns response with indentations and line breaks. */
9954
+ prettyPrint?: boolean;
9955
+ /** 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. */
9956
+ quotaUser?: string;
9957
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9958
+ upload_protocol?: string;
9959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9960
+ uploadType?: string;
9961
+ }): Request<LogScope>;
9962
+ /** Lists log scopes. */
9963
+ list(request?: {
9964
+ /** V1 error format. */
9965
+ '$.xgafv'?: string;
9966
+ /** OAuth access token. */
9967
+ access_token?: string;
9968
+ /** Data format for response. */
9969
+ alt?: string;
9970
+ /** JSONP */
9971
+ callback?: string;
9972
+ /** Selector specifying which fields to include in a partial response. */
9973
+ fields?: string;
9974
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
9975
+ key?: string;
9976
+ /** OAuth 2.0 token for the current user. */
9977
+ oauth_token?: string;
9978
+ /** Optional. The maximum number of results to return from this request.Non-positive values are ignored. The presence of nextPageToken in the response indicates that more results might be available. */
9979
+ pageSize?: number;
9980
+ /** Optional. If present, then retrieve the next batch of results from the preceding call to this method. pageToken must be the value of nextPageToken from the previous response. The values of other method parameters should be identical to those in the previous call. */
9981
+ pageToken?: string;
9982
+ /** Required. The parent resource whose log scopes are to be listed: "projects/[PROJECT_ID]/locations/[LOCATION_ID]" */
9983
+ parent: string;
9984
+ /** Returns response with indentations and line breaks. */
9985
+ prettyPrint?: boolean;
9986
+ /** 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. */
9987
+ quotaUser?: string;
9988
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9989
+ upload_protocol?: string;
9990
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9991
+ uploadType?: string;
9992
+ }): Request<ListLogScopesResponse>;
9993
+ /** Updates a log scope. */
9994
+ patch(request: {
9995
+ /** V1 error format. */
9996
+ '$.xgafv'?: string;
9997
+ /** OAuth access token. */
9998
+ access_token?: string;
9999
+ /** Data format for response. */
10000
+ alt?: string;
10001
+ /** JSONP */
10002
+ callback?: string;
10003
+ /** Selector specifying which fields to include in a partial response. */
10004
+ fields?: string;
10005
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10006
+ key?: string;
10007
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
10008
+ name: string;
10009
+ /** OAuth 2.0 token for the current user. */
10010
+ oauth_token?: string;
10011
+ /** Returns response with indentations and line breaks. */
10012
+ prettyPrint?: boolean;
10013
+ /** 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. */
10014
+ quotaUser?: string;
10015
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
10016
+ updateMask?: string;
10017
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10018
+ upload_protocol?: string;
10019
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10020
+ uploadType?: string;
10021
+ /** Request body */
10022
+ resource: LogScope;
10023
+ }): Request<LogScope>;
10024
+ patch(
10025
+ request: {
10026
+ /** V1 error format. */
10027
+ '$.xgafv'?: string;
10028
+ /** OAuth access token. */
10029
+ access_token?: string;
10030
+ /** Data format for response. */
10031
+ alt?: string;
10032
+ /** JSONP */
10033
+ callback?: string;
10034
+ /** Selector specifying which fields to include in a partial response. */
10035
+ fields?: string;
10036
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
10037
+ key?: string;
10038
+ /** Output only. The resource name of the log scope.For example:projects/my-project/locations/global/logScopes/my-log-scope */
10039
+ name: string;
10040
+ /** OAuth 2.0 token for the current user. */
10041
+ oauth_token?: string;
10042
+ /** Returns response with indentations and line breaks. */
10043
+ prettyPrint?: boolean;
10044
+ /** 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. */
10045
+ quotaUser?: string;
10046
+ /** Optional. Field mask that specifies the fields in log_scope that need an update. A field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMaskFor example: updateMask=description */
10047
+ updateMask?: string;
10048
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10049
+ upload_protocol?: string;
10050
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10051
+ uploadType?: string;
10052
+ },
10053
+ body: LogScope
10054
+ ): Request<LogScope>;
10055
+ }
9403
10056
  interface OperationsResource {
9404
10057
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
9405
10058
  cancel(request: {
@@ -9830,6 +10483,7 @@ declare namespace gapi.client {
9830
10483
  uploadType?: string;
9831
10484
  }): Request<ListLocationsResponse>;
9832
10485
  buckets: BucketsResource;
10486
+ logScopes: LogScopesResource;
9833
10487
  operations: OperationsResource;
9834
10488
  recentQueries: RecentQueriesResource;
9835
10489
  savedQueries: SavedQueriesResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.logging-v2",
3
- "version": "0.0.20240830",
3
+ "version": "0.0.20240908",
4
4
  "description": "TypeScript typings for Cloud Logging API v2",
5
5
  "repository": {
6
6
  "type": "git",