@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20240312 → 0.0.20240411

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 +367 -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=v1alpha
12
- // Revision: 20240312
12
+ // Revision: 20240411
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -55,6 +55,14 @@ declare namespace gapi.client {
55
55
  /** The log type that this config enables. */
56
56
  logType?: string;
57
57
  }
58
+ interface AutoscalingConfig {
59
+ /** Optional. Whether or not autoscaling is enabled for this service. */
60
+ autoscalingEnabled?: boolean;
61
+ /** Output only. The scaling factor of a service with autoscaling enabled. */
62
+ autoscalingFactor?: number;
63
+ /** Optional. The LimitConfig of the service. */
64
+ limitConfig?: LimitConfig;
65
+ }
58
66
  interface AuxiliaryVersionConfig {
59
67
  /** 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. */
60
68
  configOverrides?: {[P in string]: string};
@@ -93,7 +101,57 @@ declare namespace gapi.client {
93
101
  /** 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). */
94
102
  role?: string;
95
103
  }
104
+ interface CancelMigrationRequest {}
105
+ interface CancelMigrationResponse {
106
+ /** 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}. */
107
+ migrationExecution?: string;
108
+ }
96
109
  interface CancelOperationRequest {}
110
+ interface CdcConfig {
111
+ /** 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. */
112
+ bucket?: string;
113
+ /** Required. Input only. The password for the user that Datastream service should use for the MySQL connection. This field is not returned on request. */
114
+ password?: string;
115
+ /** 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} */
116
+ reverseProxySubnet?: string;
117
+ /** Optional. The root path inside the Cloud Storage bucket. The stream event data will be written to this path. The default value is /migration. */
118
+ rootPath?: string;
119
+ /** Required. A /29 CIDR IP range for peering with datastream. */
120
+ subnetIpRange?: string;
121
+ /** Required. The username that the Datastream service should use for the MySQL connection. */
122
+ username?: string;
123
+ /** 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 */
124
+ vpcNetwork?: string;
125
+ }
126
+ interface CloudSQLConnectionConfig {
127
+ /** Required. The hive database name. */
128
+ hiveDatabaseName?: string;
129
+ /** Required. Cloud SQL database connection name (project_id:region:instance_name) */
130
+ instanceConnectionName?: string;
131
+ /** Required. The private IP address of the Cloud SQL instance. */
132
+ ipAddress?: string;
133
+ /** 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} */
134
+ natSubnet?: string;
135
+ /** 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. */
136
+ password?: string;
137
+ /** Required. The network port of the database. */
138
+ port?: number;
139
+ /** 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} */
140
+ proxySubnet?: string;
141
+ /** Required. The username that Dataproc Metastore service will use to connect to the database. */
142
+ username?: string;
143
+ }
144
+ interface CloudSQLMigrationConfig {
145
+ /** 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. */
146
+ cdcConfig?: CdcConfig;
147
+ /** Required. Configuration information to establish customer database connection before the cutover phase of migration */
148
+ cloudSqlConnectionConfig?: CloudSQLConnectionConfig;
149
+ }
150
+ interface CompleteMigrationRequest {}
151
+ interface CompleteMigrationResponse {
152
+ /** 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}. */
153
+ migrationExecution?: string;
154
+ }
97
155
  interface Consumer {
98
156
  /** Output only. The location of the endpoint URI. Format: projects/{project}/locations/{location}. */
99
157
  endpointLocation?: string;
@@ -122,7 +180,7 @@ declare namespace gapi.client {
122
180
  }
123
181
  interface Empty {}
124
182
  interface EncryptionConfig {
125
- /** The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following form:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. */
183
+ /** The fully qualified customer provided Cloud KMS key name to use for customer data encryption, in the following format:projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}. */
126
184
  kmsKey?: string;
127
185
  }
128
186
  interface ErrorDetails {
@@ -209,6 +267,12 @@ declare namespace gapi.client {
209
267
  /** Output only. The current state of the backup. */
210
268
  state?: string;
211
269
  }
270
+ interface LimitConfig {
271
+ /** Optional. The highest scaling factor that the service should be autoscaled to. */
272
+ maxScalingFactor?: number;
273
+ /** Optional. The lowest scaling factor that the service should be autoscaled to. */
274
+ minScalingFactor?: number;
275
+ }
212
276
  interface ListBackupsResponse {
213
277
  /** The backups of the specified service. */
214
278
  backups?: Backup[];
@@ -239,6 +303,14 @@ declare namespace gapi.client {
239
303
  /** Locations that could not be reached. */
240
304
  unreachable?: string[];
241
305
  }
306
+ interface ListMigrationExecutionsResponse {
307
+ /** The migration executions on the specified service. */
308
+ migrationExecutions?: MigrationExecution[];
309
+ /** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
310
+ nextPageToken?: string;
311
+ /** Locations that could not be reached. */
312
+ unreachable?: string[];
313
+ }
242
314
  interface ListOperationsResponse {
243
315
  /** The standard List next-page token. */
244
316
  nextPageToken?: string;
@@ -317,6 +389,22 @@ declare namespace gapi.client {
317
389
  /** Output only. The latest restores of the metastore service. */
318
390
  restores?: Restore[];
319
391
  }
392
+ interface MigrationExecution {
393
+ /** Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. */
394
+ cloudSqlMigrationConfig?: CloudSQLMigrationConfig;
395
+ /** Output only. The time when the migration execution was started. */
396
+ createTime?: string;
397
+ /** Output only. The time when the migration execution finished. */
398
+ endTime?: string;
399
+ /** 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} */
400
+ name?: string;
401
+ /** Output only. The current phase of the migration execution. */
402
+ phase?: string;
403
+ /** Output only. The current state of the migration execution. */
404
+ state?: string;
405
+ /** Output only. Additional information about the current state of the migration execution. */
406
+ stateMessage?: string;
407
+ }
320
408
  interface MoveTableToDatabaseRequest {
321
409
  /** Required. The name of the database where the table resides. */
322
410
  dbName?: string;
@@ -417,6 +505,8 @@ declare namespace gapi.client {
417
505
  restoreType?: string;
418
506
  }
419
507
  interface ScalingConfig {
508
+ /** Optional. The autoscaling configuration. */
509
+ autoscalingConfig?: AutoscalingConfig;
420
510
  /** An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */
421
511
  instanceSize?: string;
422
512
  /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
@@ -494,6 +584,12 @@ declare namespace gapi.client {
494
584
  /** 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" */
495
585
  updateMask?: string;
496
586
  }
587
+ interface StartMigrationRequest {
588
+ /** Required. The configuration details for the migration. */
589
+ migrationExecution?: MigrationExecution;
590
+ /** 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. */
591
+ requestId?: string;
592
+ }
497
593
  interface Status {
498
594
  /** The status code, which should be an enum value of google.rpc.Code. */
499
595
  code?: number;
@@ -1602,6 +1698,99 @@ declare namespace gapi.client {
1602
1698
  body: MetadataImport
1603
1699
  ): Request<Operation>;
1604
1700
  }
1701
+ interface MigrationExecutionsResource {
1702
+ /** Deletes a single migration execution. */
1703
+ delete(request?: {
1704
+ /** V1 error format. */
1705
+ '$.xgafv'?: string;
1706
+ /** OAuth access token. */
1707
+ access_token?: string;
1708
+ /** Data format for response. */
1709
+ alt?: string;
1710
+ /** JSONP */
1711
+ callback?: string;
1712
+ /** Selector specifying which fields to include in a partial response. */
1713
+ fields?: string;
1714
+ /** 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. */
1715
+ key?: string;
1716
+ /** 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}. */
1717
+ name: string;
1718
+ /** OAuth 2.0 token for the current user. */
1719
+ oauth_token?: string;
1720
+ /** Returns response with indentations and line breaks. */
1721
+ prettyPrint?: boolean;
1722
+ /** 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. */
1723
+ quotaUser?: string;
1724
+ /** 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. */
1725
+ requestId?: string;
1726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1727
+ upload_protocol?: string;
1728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1729
+ uploadType?: string;
1730
+ }): Request<Operation>;
1731
+ /** Gets details of a single migration execution. */
1732
+ get(request?: {
1733
+ /** V1 error format. */
1734
+ '$.xgafv'?: string;
1735
+ /** OAuth access token. */
1736
+ access_token?: string;
1737
+ /** Data format for response. */
1738
+ alt?: string;
1739
+ /** JSONP */
1740
+ callback?: string;
1741
+ /** Selector specifying which fields to include in a partial response. */
1742
+ fields?: string;
1743
+ /** 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. */
1744
+ key?: string;
1745
+ /** 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}. */
1746
+ name: string;
1747
+ /** OAuth 2.0 token for the current user. */
1748
+ oauth_token?: string;
1749
+ /** Returns response with indentations and line breaks. */
1750
+ prettyPrint?: boolean;
1751
+ /** 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. */
1752
+ quotaUser?: string;
1753
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1754
+ upload_protocol?: string;
1755
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1756
+ uploadType?: string;
1757
+ }): Request<MigrationExecution>;
1758
+ /** Lists migration executions on a service. */
1759
+ list(request?: {
1760
+ /** V1 error format. */
1761
+ '$.xgafv'?: string;
1762
+ /** OAuth access token. */
1763
+ access_token?: string;
1764
+ /** Data format for response. */
1765
+ alt?: string;
1766
+ /** JSONP */
1767
+ callback?: string;
1768
+ /** Selector specifying which fields to include in a partial response. */
1769
+ fields?: string;
1770
+ /** Optional. The filter to apply to list results. */
1771
+ filter?: string;
1772
+ /** 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. */
1773
+ key?: string;
1774
+ /** OAuth 2.0 token for the current user. */
1775
+ oauth_token?: string;
1776
+ /** 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. */
1777
+ orderBy?: string;
1778
+ /** 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. */
1779
+ pageSize?: number;
1780
+ /** 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. */
1781
+ pageToken?: string;
1782
+ /** 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. */
1783
+ parent: string;
1784
+ /** Returns response with indentations and line breaks. */
1785
+ prettyPrint?: boolean;
1786
+ /** 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. */
1787
+ quotaUser?: string;
1788
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1789
+ upload_protocol?: string;
1790
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1791
+ uploadType?: string;
1792
+ }): Request<ListMigrationExecutionsResponse>;
1793
+ }
1605
1794
  interface ServicesResource {
1606
1795
  /** 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. */
1607
1796
  alterLocation(request: {
@@ -1719,6 +1908,122 @@ declare namespace gapi.client {
1719
1908
  },
1720
1909
  body: AlterTablePropertiesRequest
1721
1910
  ): Request<Operation>;
1911
+ /** Cancels the ongoing Managed Migration process. */
1912
+ cancelMigration(request: {
1913
+ /** V1 error format. */
1914
+ '$.xgafv'?: string;
1915
+ /** OAuth access token. */
1916
+ access_token?: string;
1917
+ /** Data format for response. */
1918
+ alt?: string;
1919
+ /** JSONP */
1920
+ callback?: string;
1921
+ /** Selector specifying which fields to include in a partial response. */
1922
+ fields?: string;
1923
+ /** 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. */
1924
+ key?: string;
1925
+ /** OAuth 2.0 token for the current user. */
1926
+ oauth_token?: string;
1927
+ /** Returns response with indentations and line breaks. */
1928
+ prettyPrint?: boolean;
1929
+ /** 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. */
1930
+ quotaUser?: string;
1931
+ /** 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}. */
1932
+ service: string;
1933
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1934
+ upload_protocol?: string;
1935
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1936
+ uploadType?: string;
1937
+ /** Request body */
1938
+ resource: CancelMigrationRequest;
1939
+ }): Request<Operation>;
1940
+ cancelMigration(
1941
+ request: {
1942
+ /** V1 error format. */
1943
+ '$.xgafv'?: string;
1944
+ /** OAuth access token. */
1945
+ access_token?: string;
1946
+ /** Data format for response. */
1947
+ alt?: string;
1948
+ /** JSONP */
1949
+ callback?: string;
1950
+ /** Selector specifying which fields to include in a partial response. */
1951
+ fields?: string;
1952
+ /** 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. */
1953
+ key?: string;
1954
+ /** OAuth 2.0 token for the current user. */
1955
+ oauth_token?: string;
1956
+ /** Returns response with indentations and line breaks. */
1957
+ prettyPrint?: boolean;
1958
+ /** 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. */
1959
+ quotaUser?: string;
1960
+ /** 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}. */
1961
+ service: string;
1962
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1963
+ upload_protocol?: string;
1964
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1965
+ uploadType?: string;
1966
+ },
1967
+ body: CancelMigrationRequest
1968
+ ): Request<Operation>;
1969
+ /** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
1970
+ completeMigration(request: {
1971
+ /** V1 error format. */
1972
+ '$.xgafv'?: string;
1973
+ /** OAuth access token. */
1974
+ access_token?: string;
1975
+ /** Data format for response. */
1976
+ alt?: string;
1977
+ /** JSONP */
1978
+ callback?: string;
1979
+ /** Selector specifying which fields to include in a partial response. */
1980
+ fields?: string;
1981
+ /** 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. */
1982
+ key?: string;
1983
+ /** OAuth 2.0 token for the current user. */
1984
+ oauth_token?: string;
1985
+ /** Returns response with indentations and line breaks. */
1986
+ prettyPrint?: boolean;
1987
+ /** 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. */
1988
+ quotaUser?: string;
1989
+ /** 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}. */
1990
+ service: string;
1991
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
1992
+ upload_protocol?: string;
1993
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1994
+ uploadType?: string;
1995
+ /** Request body */
1996
+ resource: CompleteMigrationRequest;
1997
+ }): Request<Operation>;
1998
+ completeMigration(
1999
+ request: {
2000
+ /** V1 error format. */
2001
+ '$.xgafv'?: string;
2002
+ /** OAuth access token. */
2003
+ access_token?: string;
2004
+ /** Data format for response. */
2005
+ alt?: string;
2006
+ /** JSONP */
2007
+ callback?: string;
2008
+ /** Selector specifying which fields to include in a partial response. */
2009
+ fields?: string;
2010
+ /** 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. */
2011
+ key?: string;
2012
+ /** OAuth 2.0 token for the current user. */
2013
+ oauth_token?: string;
2014
+ /** Returns response with indentations and line breaks. */
2015
+ prettyPrint?: boolean;
2016
+ /** 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. */
2017
+ quotaUser?: string;
2018
+ /** 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}. */
2019
+ service: string;
2020
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2021
+ upload_protocol?: string;
2022
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2023
+ uploadType?: string;
2024
+ },
2025
+ body: CompleteMigrationRequest
2026
+ ): Request<Operation>;
1722
2027
  /** Creates a metastore service in a project and location. */
1723
2028
  create(request: {
1724
2029
  /** V1 error format. */
@@ -2087,7 +2392,7 @@ declare namespace gapi.client {
2087
2392
  },
2088
2393
  body: Service
2089
2394
  ): Request<Operation>;
2090
- /** Query DPMS metadata. */
2395
+ /** Query Dataproc Metastore metadata. */
2091
2396
  queryMetadata(request: {
2092
2397
  /** V1 error format. */
2093
2398
  '$.xgafv'?: string;
@@ -2263,6 +2568,64 @@ declare namespace gapi.client {
2263
2568
  },
2264
2569
  body: SetIamPolicyRequest
2265
2570
  ): Request<Policy>;
2571
+ /** Starts the Managed Migration process. */
2572
+ startMigration(request: {
2573
+ /** V1 error format. */
2574
+ '$.xgafv'?: string;
2575
+ /** OAuth access token. */
2576
+ access_token?: string;
2577
+ /** Data format for response. */
2578
+ alt?: string;
2579
+ /** JSONP */
2580
+ callback?: string;
2581
+ /** Selector specifying which fields to include in a partial response. */
2582
+ fields?: string;
2583
+ /** 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. */
2584
+ key?: string;
2585
+ /** OAuth 2.0 token for the current user. */
2586
+ oauth_token?: string;
2587
+ /** Returns response with indentations and line breaks. */
2588
+ prettyPrint?: boolean;
2589
+ /** 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. */
2590
+ quotaUser?: string;
2591
+ /** 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}. */
2592
+ service: string;
2593
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2594
+ upload_protocol?: string;
2595
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2596
+ uploadType?: string;
2597
+ /** Request body */
2598
+ resource: StartMigrationRequest;
2599
+ }): Request<Operation>;
2600
+ startMigration(
2601
+ request: {
2602
+ /** V1 error format. */
2603
+ '$.xgafv'?: string;
2604
+ /** OAuth access token. */
2605
+ access_token?: string;
2606
+ /** Data format for response. */
2607
+ alt?: string;
2608
+ /** JSONP */
2609
+ callback?: string;
2610
+ /** Selector specifying which fields to include in a partial response. */
2611
+ fields?: string;
2612
+ /** 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. */
2613
+ key?: string;
2614
+ /** OAuth 2.0 token for the current user. */
2615
+ oauth_token?: string;
2616
+ /** Returns response with indentations and line breaks. */
2617
+ prettyPrint?: boolean;
2618
+ /** 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. */
2619
+ quotaUser?: string;
2620
+ /** 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}. */
2621
+ service: string;
2622
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
2623
+ upload_protocol?: string;
2624
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
2625
+ uploadType?: string;
2626
+ },
2627
+ body: StartMigrationRequest
2628
+ ): Request<Operation>;
2266
2629
  /** 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. */
2267
2630
  testIamPermissions(
2268
2631
  request: {
@@ -2296,6 +2659,7 @@ declare namespace gapi.client {
2296
2659
  backups: BackupsResource;
2297
2660
  databases: DatabasesResource;
2298
2661
  metadataImports: MetadataImportsResource;
2662
+ migrationExecutions: MigrationExecutionsResource;
2299
2663
  }
2300
2664
  interface LocationsResource {
2301
2665
  /** Gets information about a location. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1alpha",
3
- "version": "0.0.20240312",
3
+ "version": "0.0.20240411",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",