@maxim_mazurok/gapi.client.metastore-v1 0.0.20231126 → 0.0.20231205

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 +67 -3
  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://metastore.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20231126
12
+ // Revision: 20231205
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -31,6 +31,14 @@ declare namespace gapi.client {
31
31
  resourceName?: string;
32
32
  }
33
33
  interface AlterMetadataResourceLocationResponse {}
34
+ interface AlterTablePropertiesRequest {
35
+ /** A map that describes the desired values to mutate. If update_mask is empty, the properties will not update. Otherwise, the properties only alters the value whose associated paths exist in the update mask */
36
+ properties?: {[P in string]: string};
37
+ /** Required. The name of the table containing the properties you're altering in the following format.databases/{database_id}/tables/{table_id} */
38
+ tableName?: string;
39
+ /** A field mask that specifies the metadata table properties that are overwritten by the update. Fields specified in the update_mask are relative to the resource (not to the full request). A field is overwritten if it is in the mask.For example, given the target properties: properties { a: 1 b: 2 } And an update properties: properties { a: 2 b: 3 c: 4 } then if the field mask is:paths: "properties.b", "properties.c"then the result will be: properties { a: 1 b: 3 c: 4 } */
40
+ updateMask?: string;
41
+ }
34
42
  interface AuditConfig {
35
43
  /** The configuration for logging of each type of permission. */
36
44
  auditLogConfigs?: AuditLogConfig[];
@@ -351,8 +359,6 @@ declare namespace gapi.client {
351
359
  interface Restore {
352
360
  /** Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */
353
361
  backup?: string;
354
- /** Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. */
355
- backupLocation?: string;
356
362
  /** Output only. The restore details containing the revision of the service to be restored to, in format of JSON. */
357
363
  details?: string;
358
364
  /** Output only. The time when the restore ended. */
@@ -1388,6 +1394,64 @@ declare namespace gapi.client {
1388
1394
  },
1389
1395
  body: AlterMetadataResourceLocationRequest
1390
1396
  ): Request<Operation>;
1397
+ /** Alter metadata table properties. */
1398
+ alterTableProperties(request: {
1399
+ /** V1 error format. */
1400
+ '$.xgafv'?: string;
1401
+ /** OAuth access token. */
1402
+ access_token?: string;
1403
+ /** Data format for response. */
1404
+ alt?: string;
1405
+ /** JSONP */
1406
+ callback?: string;
1407
+ /** Selector specifying which fields to include in a partial response. */
1408
+ fields?: string;
1409
+ /** 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. */
1410
+ key?: string;
1411
+ /** OAuth 2.0 token for the current user. */
1412
+ oauth_token?: string;
1413
+ /** Returns response with indentations and line breaks. */
1414
+ prettyPrint?: boolean;
1415
+ /** 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. */
1416
+ quotaUser?: string;
1417
+ /** Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1418
+ service: string;
1419
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1420
+ upload_protocol?: string;
1421
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1422
+ uploadType?: string;
1423
+ /** Request body */
1424
+ resource: AlterTablePropertiesRequest;
1425
+ }): Request<Operation>;
1426
+ alterTableProperties(
1427
+ request: {
1428
+ /** V1 error format. */
1429
+ '$.xgafv'?: string;
1430
+ /** OAuth access token. */
1431
+ access_token?: string;
1432
+ /** Data format for response. */
1433
+ alt?: string;
1434
+ /** JSONP */
1435
+ callback?: string;
1436
+ /** Selector specifying which fields to include in a partial response. */
1437
+ fields?: string;
1438
+ /** 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. */
1439
+ key?: string;
1440
+ /** OAuth 2.0 token for the current user. */
1441
+ oauth_token?: string;
1442
+ /** Returns response with indentations and line breaks. */
1443
+ prettyPrint?: boolean;
1444
+ /** 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. */
1445
+ quotaUser?: string;
1446
+ /** Required. The relative resource name of the Dataproc Metastore service that's being used to mutate metadata table properties, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1447
+ service: string;
1448
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1449
+ upload_protocol?: string;
1450
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1451
+ uploadType?: string;
1452
+ },
1453
+ body: AlterTablePropertiesRequest
1454
+ ): Request<Operation>;
1391
1455
  /** Creates a metastore service in a project and location. */
1392
1456
  create(request: {
1393
1457
  /** V1 error format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1",
3
- "version": "0.0.20231126",
3
+ "version": "0.0.20231205",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1",
5
5
  "repository": {
6
6
  "type": "git",