@maxim_mazurok/gapi.client.metastore-v1 0.0.20240613 → 0.0.20240627

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 +357 -1
  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: 20240613
12
+ // Revision: 20240627
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -51,6 +51,14 @@ declare namespace gapi.client {
51
51
  /** The log type that this config enables. */
52
52
  logType?: string;
53
53
  }
54
+ interface AutoscalingConfig {
55
+ /** Optional. Whether or not autoscaling is enabled for this service. */
56
+ autoscalingEnabled?: boolean;
57
+ /** Output only. The scaling factor of a service with autoscaling enabled. */
58
+ autoscalingFactor?: number;
59
+ /** Optional. The LimitConfig of the service. */
60
+ limitConfig?: LimitConfig;
61
+ }
54
62
  interface AuxiliaryVersionConfig {
55
63
  /** A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence. */
56
64
  configOverrides?: {[P in string]: string};
@@ -89,7 +97,49 @@ declare namespace gapi.client {
89
97
  /** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner.For an overview of the IAM roles and permissions, see the IAM documentation (https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see here (https://cloud.google.com/iam/docs/understanding-roles). */
90
98
  role?: string;
91
99
  }
100
+ interface CancelMigrationRequest {}
92
101
  interface CancelOperationRequest {}
102
+ interface CdcConfig {
103
+ /** Optional. The bucket to write the intermediate stream event data in. The bucket name must be without any prefix like "gs://". See the bucket naming requirements (https://cloud.google.com/storage/docs/buckets#naming). This field is optional. If not set, the Artifacts Cloud Storage bucket will be used. */
104
+ bucket?: string;
105
+ /** Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. */
106
+ password?: string;
107
+ /** Required. The URL of the subnetwork resource to create the VM instance hosting the reverse proxy in. More context in https://cloud.google.com/datastream/docs/private-connectivity#reverse-csql-proxy The subnetwork should reside in the network provided in the request that Datastream will peer to and should be in the same region as Datastream, in the following format. projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} */
108
+ reverseProxySubnet?: string;
109
+ /** Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration. */
110
+ rootPath?: string;
111
+ /** Required. A /29 CIDR IP range for peering with datastream. */
112
+ subnetIpRange?: string;
113
+ /** Required. The username that the Datastream service should use for the MySQL connection. */
114
+ username?: string;
115
+ /** Required. Fully qualified name of the Cloud SQL instance's VPC network or the shared VPC network that Datastream will peer to, in the following format: projects/{project_id}/locations/global/networks/{network_id}. More context in https://cloud.google.com/datastream/docs/network-connectivity-options#privateconnectivity */
116
+ vpcNetwork?: string;
117
+ }
118
+ interface CloudSQLConnectionConfig {
119
+ /** Required. The hive database name. */
120
+ hiveDatabaseName?: string;
121
+ /** Required. Cloud SQL database connection name (project_id:region:instance_name) */
122
+ instanceConnectionName?: string;
123
+ /** Required. The private IP address of the Cloud SQL instance. */
124
+ ipAddress?: string;
125
+ /** Required. The relative resource name of the subnetwork to be used for Private Service Connect. Note that this cannot be a regular subnet and is used only for NAT. (https://cloud.google.com/vpc/docs/about-vpc-hosted-services#psc-subnets) This subnet is used to publish the SOCKS5 proxy service. The subnet size must be at least /29 and it should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} */
126
+ natSubnet?: string;
127
+ /** Required. Input only. The password for the user that Dataproc Metastore service will be using to connect to the database. This field is not returned on request. */
128
+ password?: string;
129
+ /** Required. The network port of the database. */
130
+ port?: number;
131
+ /** Required. The relative resource name of the subnetwork to deploy the SOCKS5 proxy service in. The subnetwork should reside in a network through which the Cloud SQL instance is accessible. The resource name should be in the format, projects/{project_id}/regions/{region_id}/subnetworks/{subnetwork_id} */
132
+ proxySubnet?: string;
133
+ /** Required. The username that Dataproc Metastore service will use to connect to the database. */
134
+ username?: string;
135
+ }
136
+ interface CloudSQLMigrationConfig {
137
+ /** Required. Configuration information to start the Change Data Capture (CDC) streams from customer database to backend database of Dataproc Metastore. Dataproc Metastore switches to using its backend database after the cutover phase of migration. */
138
+ cdcConfig?: CdcConfig;
139
+ /** Required. Configuration information to establish customer database connection before the cutover phase of migration */
140
+ cloudSqlConnectionConfig?: CloudSQLConnectionConfig;
141
+ }
142
+ interface CompleteMigrationRequest {}
93
143
  interface Consumer {
94
144
  /** Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}. */
95
145
  endpointLocation?: string;
@@ -197,6 +247,12 @@ declare namespace gapi.client {
197
247
  /** Output only. The current state of the backup. */
198
248
  state?: string;
199
249
  }
250
+ interface LimitConfig {
251
+ /** Optional. The highest scaling factor that the service should be autoscaled to. */
252
+ maxScalingFactor?: number;
253
+ /** Optional. The lowest scaling factor that the service should be autoscaled to. */
254
+ minScalingFactor?: number;
255
+ }
200
256
  interface ListBackupsResponse {
201
257
  /** The backups of the specified service. */
202
258
  backups?: Backup[];
@@ -227,6 +283,14 @@ declare namespace gapi.client {
227
283
  /** Locations that could not be reached. */
228
284
  unreachable?: string[];
229
285
  }
286
+ interface ListMigrationExecutionsResponse {
287
+ /** The migration executions on the specified service. */
288
+ migrationExecutions?: MigrationExecution[];
289
+ /** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
290
+ nextPageToken?: string;
291
+ /** Locations that could not be reached. */
292
+ unreachable?: string[];
293
+ }
230
294
  interface ListOperationsResponse {
231
295
  /** The standard List next-page token. */
232
296
  nextPageToken?: string;
@@ -303,6 +367,22 @@ declare namespace gapi.client {
303
367
  /** Output only. The latest restores of the metastore service. */
304
368
  restores?: Restore[];
305
369
  }
370
+ interface MigrationExecution {
371
+ /** Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. */
372
+ cloudSqlMigrationConfig?: CloudSQLMigrationConfig;
373
+ /** Output only. The time when the migration execution was started. */
374
+ createTime?: string;
375
+ /** Output only. The time when the migration execution finished. */
376
+ endTime?: string;
377
+ /** Output only. The relative resource name of the migration execution, in the following form: projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id} */
378
+ name?: string;
379
+ /** Output only. The current phase of the migration execution. */
380
+ phase?: string;
381
+ /** Output only. The current state of the migration execution. */
382
+ state?: string;
383
+ /** Output only. Additional information about the current state of the migration execution. */
384
+ stateMessage?: string;
385
+ }
306
386
  interface MoveTableToDatabaseRequest {
307
387
  /** Required. The name of the database where the table resides. */
308
388
  dbName?: string;
@@ -393,6 +473,8 @@ declare namespace gapi.client {
393
473
  restoreType?: string;
394
474
  }
395
475
  interface ScalingConfig {
476
+ /** Optional. The autoscaling configuration. */
477
+ autoscalingConfig?: AutoscalingConfig;
396
478
  /** An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */
397
479
  instanceSize?: string;
398
480
  /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
@@ -472,6 +554,12 @@ declare namespace gapi.client {
472
554
  /** OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used:paths: "bindings, etag" */
473
555
  updateMask?: string;
474
556
  }
557
+ interface StartMigrationRequest {
558
+ /** Required. The configuration details for the migration. */
559
+ migrationExecution?: MigrationExecution;
560
+ /** Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */
561
+ requestId?: string;
562
+ }
475
563
  interface Status {
476
564
  /** The status code, which should be an enum value of google.rpc.Code. */
477
565
  code?: number;
@@ -1490,6 +1578,99 @@ declare namespace gapi.client {
1490
1578
  body: MetadataImport
1491
1579
  ): Request<Operation>;
1492
1580
  }
1581
+ interface MigrationExecutionsResource {
1582
+ /** Deletes a single migration execution. */
1583
+ delete(request?: {
1584
+ /** V1 error format. */
1585
+ '$.xgafv'?: string;
1586
+ /** OAuth access token. */
1587
+ access_token?: string;
1588
+ /** Data format for response. */
1589
+ alt?: string;
1590
+ /** JSONP */
1591
+ callback?: string;
1592
+ /** Selector specifying which fields to include in a partial response. */
1593
+ fields?: string;
1594
+ /** 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. */
1595
+ key?: string;
1596
+ /** Required. The relative resource name of the migrationExecution to delete, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */
1597
+ name: string;
1598
+ /** OAuth 2.0 token for the current user. */
1599
+ oauth_token?: string;
1600
+ /** Returns response with indentations and line breaks. */
1601
+ prettyPrint?: boolean;
1602
+ /** 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. */
1603
+ quotaUser?: string;
1604
+ /** Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */
1605
+ requestId?: string;
1606
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1607
+ upload_protocol?: string;
1608
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1609
+ uploadType?: string;
1610
+ }): Request<Operation>;
1611
+ /** Gets details of a single migration execution. */
1612
+ get(request?: {
1613
+ /** V1 error format. */
1614
+ '$.xgafv'?: string;
1615
+ /** OAuth access token. */
1616
+ access_token?: string;
1617
+ /** Data format for response. */
1618
+ alt?: string;
1619
+ /** JSONP */
1620
+ callback?: string;
1621
+ /** Selector specifying which fields to include in a partial response. */
1622
+ fields?: string;
1623
+ /** 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. */
1624
+ key?: string;
1625
+ /** Required. The relative resource name of the migration execution to retrieve, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions/{migration_execution_id}. */
1626
+ name: string;
1627
+ /** OAuth 2.0 token for the current user. */
1628
+ oauth_token?: string;
1629
+ /** Returns response with indentations and line breaks. */
1630
+ prettyPrint?: boolean;
1631
+ /** 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. */
1632
+ quotaUser?: string;
1633
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1634
+ upload_protocol?: string;
1635
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1636
+ uploadType?: string;
1637
+ }): Request<MigrationExecution>;
1638
+ /** Lists migration executions on a service. */
1639
+ list(request?: {
1640
+ /** V1 error format. */
1641
+ '$.xgafv'?: string;
1642
+ /** OAuth access token. */
1643
+ access_token?: string;
1644
+ /** Data format for response. */
1645
+ alt?: string;
1646
+ /** JSONP */
1647
+ callback?: string;
1648
+ /** Selector specifying which fields to include in a partial response. */
1649
+ fields?: string;
1650
+ /** Optional. The filter to apply to list results. */
1651
+ filter?: string;
1652
+ /** 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. */
1653
+ key?: string;
1654
+ /** OAuth 2.0 token for the current user. */
1655
+ oauth_token?: string;
1656
+ /** Optional. Specify the ordering of results as described in Sorting Order (https://cloud.google.com/apis/design/design_patterns#sorting_order). If not specified, the results will be sorted in the default order. */
1657
+ orderBy?: string;
1658
+ /** Optional. The maximum number of migration executions to return. The response may contain less than the maximum number. If unspecified, no more than 500 migration executions are returned. The maximum value is 1000; values above 1000 are changed to 1000. */
1659
+ pageSize?: number;
1660
+ /** Optional. A page token, received from a previous DataprocMetastore.ListMigrationExecutions call. Provide this token to retrieve the subsequent page.To retrieve the first page, supply an empty page token.When paginating, other parameters provided to DataprocMetastore.ListMigrationExecutions must match the call that provided the page token. */
1661
+ pageToken?: string;
1662
+ /** Required. The relative resource name of the service whose migration executions to list, in the following form:projects/{project_number}/locations/{location_id}/services/{service_id}/migrationExecutions. */
1663
+ parent: string;
1664
+ /** Returns response with indentations and line breaks. */
1665
+ prettyPrint?: boolean;
1666
+ /** 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. */
1667
+ quotaUser?: string;
1668
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1669
+ upload_protocol?: string;
1670
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1671
+ uploadType?: string;
1672
+ }): Request<ListMigrationExecutionsResponse>;
1673
+ }
1493
1674
  interface ServicesResource {
1494
1675
  /** Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location. */
1495
1676
  alterLocation(request: {
@@ -1607,6 +1788,122 @@ declare namespace gapi.client {
1607
1788
  },
1608
1789
  body: AlterTablePropertiesRequest
1609
1790
  ): Request<Operation>;
1791
+ /** Cancels the ongoing Managed Migration process. */
1792
+ cancelMigration(request: {
1793
+ /** V1 error format. */
1794
+ '$.xgafv'?: string;
1795
+ /** OAuth access token. */
1796
+ access_token?: string;
1797
+ /** Data format for response. */
1798
+ alt?: string;
1799
+ /** JSONP */
1800
+ callback?: string;
1801
+ /** Selector specifying which fields to include in a partial response. */
1802
+ fields?: string;
1803
+ /** 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. */
1804
+ key?: string;
1805
+ /** OAuth 2.0 token for the current user. */
1806
+ oauth_token?: string;
1807
+ /** Returns response with indentations and line breaks. */
1808
+ prettyPrint?: boolean;
1809
+ /** 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. */
1810
+ quotaUser?: string;
1811
+ /** Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1812
+ service: string;
1813
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1814
+ upload_protocol?: string;
1815
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1816
+ uploadType?: string;
1817
+ /** Request body */
1818
+ resource: CancelMigrationRequest;
1819
+ }): Request<Operation>;
1820
+ cancelMigration(
1821
+ request: {
1822
+ /** V1 error format. */
1823
+ '$.xgafv'?: string;
1824
+ /** OAuth access token. */
1825
+ access_token?: string;
1826
+ /** Data format for response. */
1827
+ alt?: string;
1828
+ /** JSONP */
1829
+ callback?: string;
1830
+ /** Selector specifying which fields to include in a partial response. */
1831
+ fields?: string;
1832
+ /** 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. */
1833
+ key?: string;
1834
+ /** OAuth 2.0 token for the current user. */
1835
+ oauth_token?: string;
1836
+ /** Returns response with indentations and line breaks. */
1837
+ prettyPrint?: boolean;
1838
+ /** 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. */
1839
+ quotaUser?: string;
1840
+ /** Required. The relative resource name of the metastore service to cancel the ongoing migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1841
+ service: string;
1842
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1843
+ upload_protocol?: string;
1844
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1845
+ uploadType?: string;
1846
+ },
1847
+ body: CancelMigrationRequest
1848
+ ): Request<Operation>;
1849
+ /** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
1850
+ completeMigration(request: {
1851
+ /** V1 error format. */
1852
+ '$.xgafv'?: string;
1853
+ /** OAuth access token. */
1854
+ access_token?: string;
1855
+ /** Data format for response. */
1856
+ alt?: string;
1857
+ /** JSONP */
1858
+ callback?: string;
1859
+ /** Selector specifying which fields to include in a partial response. */
1860
+ fields?: string;
1861
+ /** 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. */
1862
+ key?: string;
1863
+ /** OAuth 2.0 token for the current user. */
1864
+ oauth_token?: string;
1865
+ /** Returns response with indentations and line breaks. */
1866
+ prettyPrint?: boolean;
1867
+ /** 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. */
1868
+ quotaUser?: string;
1869
+ /** Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1870
+ service: string;
1871
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1872
+ upload_protocol?: string;
1873
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1874
+ uploadType?: string;
1875
+ /** Request body */
1876
+ resource: CompleteMigrationRequest;
1877
+ }): Request<Operation>;
1878
+ completeMigration(
1879
+ request: {
1880
+ /** V1 error format. */
1881
+ '$.xgafv'?: string;
1882
+ /** OAuth access token. */
1883
+ access_token?: string;
1884
+ /** Data format for response. */
1885
+ alt?: string;
1886
+ /** JSONP */
1887
+ callback?: string;
1888
+ /** Selector specifying which fields to include in a partial response. */
1889
+ fields?: string;
1890
+ /** 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. */
1891
+ key?: string;
1892
+ /** OAuth 2.0 token for the current user. */
1893
+ oauth_token?: string;
1894
+ /** Returns response with indentations and line breaks. */
1895
+ prettyPrint?: boolean;
1896
+ /** 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. */
1897
+ quotaUser?: string;
1898
+ /** Required. The relative resource name of the metastore service to complete the migration to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
1899
+ service: string;
1900
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1901
+ upload_protocol?: string;
1902
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1903
+ uploadType?: string;
1904
+ },
1905
+ body: CompleteMigrationRequest
1906
+ ): Request<Operation>;
1610
1907
  /** Creates a metastore service in a project and location. */
1611
1908
  create(request: {
1612
1909
  /** V1 error format. */
@@ -2121,6 +2418,64 @@ declare namespace gapi.client {
2121
2418
  },
2122
2419
  body: SetIamPolicyRequest
2123
2420
  ): Request<Policy>;
2421
+ /** Starts the Managed Migration process. */
2422
+ startMigration(request: {
2423
+ /** V1 error format. */
2424
+ '$.xgafv'?: string;
2425
+ /** OAuth access token. */
2426
+ access_token?: string;
2427
+ /** Data format for response. */
2428
+ alt?: string;
2429
+ /** JSONP */
2430
+ callback?: string;
2431
+ /** Selector specifying which fields to include in a partial response. */
2432
+ fields?: string;
2433
+ /** 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. */
2434
+ key?: string;
2435
+ /** OAuth 2.0 token for the current user. */
2436
+ oauth_token?: string;
2437
+ /** Returns response with indentations and line breaks. */
2438
+ prettyPrint?: boolean;
2439
+ /** 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. */
2440
+ quotaUser?: string;
2441
+ /** Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
2442
+ service: string;
2443
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2444
+ upload_protocol?: string;
2445
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2446
+ uploadType?: string;
2447
+ /** Request body */
2448
+ resource: StartMigrationRequest;
2449
+ }): Request<Operation>;
2450
+ startMigration(
2451
+ request: {
2452
+ /** V1 error format. */
2453
+ '$.xgafv'?: string;
2454
+ /** OAuth access token. */
2455
+ access_token?: string;
2456
+ /** Data format for response. */
2457
+ alt?: string;
2458
+ /** JSONP */
2459
+ callback?: string;
2460
+ /** Selector specifying which fields to include in a partial response. */
2461
+ fields?: string;
2462
+ /** 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. */
2463
+ key?: string;
2464
+ /** OAuth 2.0 token for the current user. */
2465
+ oauth_token?: string;
2466
+ /** Returns response with indentations and line breaks. */
2467
+ prettyPrint?: boolean;
2468
+ /** 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. */
2469
+ quotaUser?: string;
2470
+ /** Required. The relative resource name of the metastore service to start migrating to, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}. */
2471
+ service: string;
2472
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2473
+ upload_protocol?: string;
2474
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2475
+ uploadType?: string;
2476
+ },
2477
+ body: StartMigrationRequest
2478
+ ): Request<Operation>;
2124
2479
  /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
2125
2480
  testIamPermissions(
2126
2481
  request: {
@@ -2154,6 +2509,7 @@ declare namespace gapi.client {
2154
2509
  backups: BackupsResource;
2155
2510
  databases: DatabasesResource;
2156
2511
  metadataImports: MetadataImportsResource;
2512
+ migrationExecutions: MigrationExecutionsResource;
2157
2513
  }
2158
2514
  interface LocationsResource {
2159
2515
  /** Gets information about a location. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1",
3
- "version": "0.0.20240613",
3
+ "version": "0.0.20240627",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1",
5
5
  "repository": {
6
6
  "type": "git",