@maxim_mazurok/gapi.client.metastore-v1 0.0.20240613 → 0.0.20240709
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.
- package/index.d.ts +367 -1
- 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:
|
|
12
|
+
// Revision: 20240709
|
|
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;
|
|
@@ -98,6 +148,14 @@ declare namespace gapi.client {
|
|
|
98
148
|
/** Immutable. The subnetwork of the customer project from which an IP address is reserved and used as the Dataproc Metastore service's endpoint. It is accessible to hosts in the subnet and to all hosts in a subnet in the same region and same network. There must be at least one IP address available in the subnet's primary range. The subnet is specified in the following form:projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id} */
|
|
99
149
|
subnetwork?: string;
|
|
100
150
|
}
|
|
151
|
+
interface CustomRegionMetadata {
|
|
152
|
+
/** The read-only regions for this custom region. */
|
|
153
|
+
optionalReadOnlyRegions?: string[];
|
|
154
|
+
/** The read-write regions for this custom region. */
|
|
155
|
+
requiredReadWriteRegions?: string[];
|
|
156
|
+
/** The Spanner witness region for this custom region. */
|
|
157
|
+
witnessRegion?: string;
|
|
158
|
+
}
|
|
101
159
|
interface DatabaseDump {
|
|
102
160
|
/** The type of the database. */
|
|
103
161
|
databaseType?: string;
|
|
@@ -197,6 +255,12 @@ declare namespace gapi.client {
|
|
|
197
255
|
/** Output only. The current state of the backup. */
|
|
198
256
|
state?: string;
|
|
199
257
|
}
|
|
258
|
+
interface LimitConfig {
|
|
259
|
+
/** Optional. The highest scaling factor that the service should be autoscaled to. */
|
|
260
|
+
maxScalingFactor?: number;
|
|
261
|
+
/** Optional. The lowest scaling factor that the service should be autoscaled to. */
|
|
262
|
+
minScalingFactor?: number;
|
|
263
|
+
}
|
|
200
264
|
interface ListBackupsResponse {
|
|
201
265
|
/** The backups of the specified service. */
|
|
202
266
|
backups?: Backup[];
|
|
@@ -227,6 +291,14 @@ declare namespace gapi.client {
|
|
|
227
291
|
/** Locations that could not be reached. */
|
|
228
292
|
unreachable?: string[];
|
|
229
293
|
}
|
|
294
|
+
interface ListMigrationExecutionsResponse {
|
|
295
|
+
/** The migration executions on the specified service. */
|
|
296
|
+
migrationExecutions?: MigrationExecution[];
|
|
297
|
+
/** A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
298
|
+
nextPageToken?: string;
|
|
299
|
+
/** Locations that could not be reached. */
|
|
300
|
+
unreachable?: string[];
|
|
301
|
+
}
|
|
230
302
|
interface ListOperationsResponse {
|
|
231
303
|
/** The standard List next-page token. */
|
|
232
304
|
nextPageToken?: string;
|
|
@@ -254,6 +326,8 @@ declare namespace gapi.client {
|
|
|
254
326
|
name?: string;
|
|
255
327
|
}
|
|
256
328
|
interface LocationMetadata {
|
|
329
|
+
/** Possible configurations supported if the current region is a custom region. */
|
|
330
|
+
customRegionMetadata?: CustomRegionMetadata[];
|
|
257
331
|
/** The multi-region metadata if the current region is a multi-region. */
|
|
258
332
|
multiRegionMetadata?: MultiRegionMetadata;
|
|
259
333
|
/** The versions of Hive Metastore that can be used when creating a new metastore service in this location. The server guarantees that exactly one HiveMetastoreVersion in the list will set is_default. */
|
|
@@ -303,6 +377,22 @@ declare namespace gapi.client {
|
|
|
303
377
|
/** Output only. The latest restores of the metastore service. */
|
|
304
378
|
restores?: Restore[];
|
|
305
379
|
}
|
|
380
|
+
interface MigrationExecution {
|
|
381
|
+
/** Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. */
|
|
382
|
+
cloudSqlMigrationConfig?: CloudSQLMigrationConfig;
|
|
383
|
+
/** Output only. The time when the migration execution was started. */
|
|
384
|
+
createTime?: string;
|
|
385
|
+
/** Output only. The time when the migration execution finished. */
|
|
386
|
+
endTime?: string;
|
|
387
|
+
/** 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} */
|
|
388
|
+
name?: string;
|
|
389
|
+
/** Output only. The current phase of the migration execution. */
|
|
390
|
+
phase?: string;
|
|
391
|
+
/** Output only. The current state of the migration execution. */
|
|
392
|
+
state?: string;
|
|
393
|
+
/** Output only. Additional information about the current state of the migration execution. */
|
|
394
|
+
stateMessage?: string;
|
|
395
|
+
}
|
|
306
396
|
interface MoveTableToDatabaseRequest {
|
|
307
397
|
/** Required. The name of the database where the table resides. */
|
|
308
398
|
dbName?: string;
|
|
@@ -393,6 +483,8 @@ declare namespace gapi.client {
|
|
|
393
483
|
restoreType?: string;
|
|
394
484
|
}
|
|
395
485
|
interface ScalingConfig {
|
|
486
|
+
/** Optional. The autoscaling configuration. */
|
|
487
|
+
autoscalingConfig?: AutoscalingConfig;
|
|
396
488
|
/** 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
489
|
instanceSize?: string;
|
|
398
490
|
/** 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 +564,12 @@ declare namespace gapi.client {
|
|
|
472
564
|
/** 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
565
|
updateMask?: string;
|
|
474
566
|
}
|
|
567
|
+
interface StartMigrationRequest {
|
|
568
|
+
/** Required. The configuration details for the migration. */
|
|
569
|
+
migrationExecution?: MigrationExecution;
|
|
570
|
+
/** 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. */
|
|
571
|
+
requestId?: string;
|
|
572
|
+
}
|
|
475
573
|
interface Status {
|
|
476
574
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
477
575
|
code?: number;
|
|
@@ -1490,6 +1588,99 @@ declare namespace gapi.client {
|
|
|
1490
1588
|
body: MetadataImport
|
|
1491
1589
|
): Request<Operation>;
|
|
1492
1590
|
}
|
|
1591
|
+
interface MigrationExecutionsResource {
|
|
1592
|
+
/** Deletes a single migration execution. */
|
|
1593
|
+
delete(request?: {
|
|
1594
|
+
/** V1 error format. */
|
|
1595
|
+
'$.xgafv'?: string;
|
|
1596
|
+
/** OAuth access token. */
|
|
1597
|
+
access_token?: string;
|
|
1598
|
+
/** Data format for response. */
|
|
1599
|
+
alt?: string;
|
|
1600
|
+
/** JSONP */
|
|
1601
|
+
callback?: string;
|
|
1602
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1603
|
+
fields?: string;
|
|
1604
|
+
/** 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. */
|
|
1605
|
+
key?: string;
|
|
1606
|
+
/** 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}. */
|
|
1607
|
+
name: string;
|
|
1608
|
+
/** OAuth 2.0 token for the current user. */
|
|
1609
|
+
oauth_token?: string;
|
|
1610
|
+
/** Returns response with indentations and line breaks. */
|
|
1611
|
+
prettyPrint?: boolean;
|
|
1612
|
+
/** 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. */
|
|
1613
|
+
quotaUser?: string;
|
|
1614
|
+
/** 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. */
|
|
1615
|
+
requestId?: string;
|
|
1616
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1617
|
+
upload_protocol?: string;
|
|
1618
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1619
|
+
uploadType?: string;
|
|
1620
|
+
}): Request<Operation>;
|
|
1621
|
+
/** Gets details of a single migration execution. */
|
|
1622
|
+
get(request?: {
|
|
1623
|
+
/** V1 error format. */
|
|
1624
|
+
'$.xgafv'?: string;
|
|
1625
|
+
/** OAuth access token. */
|
|
1626
|
+
access_token?: string;
|
|
1627
|
+
/** Data format for response. */
|
|
1628
|
+
alt?: string;
|
|
1629
|
+
/** JSONP */
|
|
1630
|
+
callback?: string;
|
|
1631
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1632
|
+
fields?: string;
|
|
1633
|
+
/** 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. */
|
|
1634
|
+
key?: string;
|
|
1635
|
+
/** 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}. */
|
|
1636
|
+
name: string;
|
|
1637
|
+
/** OAuth 2.0 token for the current user. */
|
|
1638
|
+
oauth_token?: string;
|
|
1639
|
+
/** Returns response with indentations and line breaks. */
|
|
1640
|
+
prettyPrint?: boolean;
|
|
1641
|
+
/** 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. */
|
|
1642
|
+
quotaUser?: string;
|
|
1643
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1644
|
+
upload_protocol?: string;
|
|
1645
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1646
|
+
uploadType?: string;
|
|
1647
|
+
}): Request<MigrationExecution>;
|
|
1648
|
+
/** Lists migration executions on a service. */
|
|
1649
|
+
list(request?: {
|
|
1650
|
+
/** V1 error format. */
|
|
1651
|
+
'$.xgafv'?: string;
|
|
1652
|
+
/** OAuth access token. */
|
|
1653
|
+
access_token?: string;
|
|
1654
|
+
/** Data format for response. */
|
|
1655
|
+
alt?: string;
|
|
1656
|
+
/** JSONP */
|
|
1657
|
+
callback?: string;
|
|
1658
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1659
|
+
fields?: string;
|
|
1660
|
+
/** Optional. The filter to apply to list results. */
|
|
1661
|
+
filter?: string;
|
|
1662
|
+
/** 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. */
|
|
1663
|
+
key?: string;
|
|
1664
|
+
/** OAuth 2.0 token for the current user. */
|
|
1665
|
+
oauth_token?: string;
|
|
1666
|
+
/** 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. */
|
|
1667
|
+
orderBy?: string;
|
|
1668
|
+
/** 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. */
|
|
1669
|
+
pageSize?: number;
|
|
1670
|
+
/** 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. */
|
|
1671
|
+
pageToken?: string;
|
|
1672
|
+
/** 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. */
|
|
1673
|
+
parent: string;
|
|
1674
|
+
/** Returns response with indentations and line breaks. */
|
|
1675
|
+
prettyPrint?: boolean;
|
|
1676
|
+
/** 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. */
|
|
1677
|
+
quotaUser?: string;
|
|
1678
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1679
|
+
upload_protocol?: string;
|
|
1680
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1681
|
+
uploadType?: string;
|
|
1682
|
+
}): Request<ListMigrationExecutionsResponse>;
|
|
1683
|
+
}
|
|
1493
1684
|
interface ServicesResource {
|
|
1494
1685
|
/** 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
1686
|
alterLocation(request: {
|
|
@@ -1607,6 +1798,122 @@ declare namespace gapi.client {
|
|
|
1607
1798
|
},
|
|
1608
1799
|
body: AlterTablePropertiesRequest
|
|
1609
1800
|
): Request<Operation>;
|
|
1801
|
+
/** Cancels the ongoing Managed Migration process. */
|
|
1802
|
+
cancelMigration(request: {
|
|
1803
|
+
/** V1 error format. */
|
|
1804
|
+
'$.xgafv'?: string;
|
|
1805
|
+
/** OAuth access token. */
|
|
1806
|
+
access_token?: string;
|
|
1807
|
+
/** Data format for response. */
|
|
1808
|
+
alt?: string;
|
|
1809
|
+
/** JSONP */
|
|
1810
|
+
callback?: string;
|
|
1811
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1812
|
+
fields?: string;
|
|
1813
|
+
/** 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. */
|
|
1814
|
+
key?: string;
|
|
1815
|
+
/** OAuth 2.0 token for the current user. */
|
|
1816
|
+
oauth_token?: string;
|
|
1817
|
+
/** Returns response with indentations and line breaks. */
|
|
1818
|
+
prettyPrint?: boolean;
|
|
1819
|
+
/** 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. */
|
|
1820
|
+
quotaUser?: string;
|
|
1821
|
+
/** 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}. */
|
|
1822
|
+
service: string;
|
|
1823
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1824
|
+
upload_protocol?: string;
|
|
1825
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1826
|
+
uploadType?: string;
|
|
1827
|
+
/** Request body */
|
|
1828
|
+
resource: CancelMigrationRequest;
|
|
1829
|
+
}): Request<Operation>;
|
|
1830
|
+
cancelMigration(
|
|
1831
|
+
request: {
|
|
1832
|
+
/** V1 error format. */
|
|
1833
|
+
'$.xgafv'?: string;
|
|
1834
|
+
/** OAuth access token. */
|
|
1835
|
+
access_token?: string;
|
|
1836
|
+
/** Data format for response. */
|
|
1837
|
+
alt?: string;
|
|
1838
|
+
/** JSONP */
|
|
1839
|
+
callback?: string;
|
|
1840
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1841
|
+
fields?: string;
|
|
1842
|
+
/** 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. */
|
|
1843
|
+
key?: string;
|
|
1844
|
+
/** OAuth 2.0 token for the current user. */
|
|
1845
|
+
oauth_token?: string;
|
|
1846
|
+
/** Returns response with indentations and line breaks. */
|
|
1847
|
+
prettyPrint?: boolean;
|
|
1848
|
+
/** 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. */
|
|
1849
|
+
quotaUser?: string;
|
|
1850
|
+
/** 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}. */
|
|
1851
|
+
service: string;
|
|
1852
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1853
|
+
upload_protocol?: string;
|
|
1854
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1855
|
+
uploadType?: string;
|
|
1856
|
+
},
|
|
1857
|
+
body: CancelMigrationRequest
|
|
1858
|
+
): Request<Operation>;
|
|
1859
|
+
/** Completes the managed migration process. The Dataproc Metastore service will switch to using its own backend database after successful migration. */
|
|
1860
|
+
completeMigration(request: {
|
|
1861
|
+
/** V1 error format. */
|
|
1862
|
+
'$.xgafv'?: string;
|
|
1863
|
+
/** OAuth access token. */
|
|
1864
|
+
access_token?: string;
|
|
1865
|
+
/** Data format for response. */
|
|
1866
|
+
alt?: string;
|
|
1867
|
+
/** JSONP */
|
|
1868
|
+
callback?: string;
|
|
1869
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1870
|
+
fields?: string;
|
|
1871
|
+
/** 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. */
|
|
1872
|
+
key?: string;
|
|
1873
|
+
/** OAuth 2.0 token for the current user. */
|
|
1874
|
+
oauth_token?: string;
|
|
1875
|
+
/** Returns response with indentations and line breaks. */
|
|
1876
|
+
prettyPrint?: boolean;
|
|
1877
|
+
/** 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. */
|
|
1878
|
+
quotaUser?: string;
|
|
1879
|
+
/** 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}. */
|
|
1880
|
+
service: string;
|
|
1881
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1882
|
+
upload_protocol?: string;
|
|
1883
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1884
|
+
uploadType?: string;
|
|
1885
|
+
/** Request body */
|
|
1886
|
+
resource: CompleteMigrationRequest;
|
|
1887
|
+
}): Request<Operation>;
|
|
1888
|
+
completeMigration(
|
|
1889
|
+
request: {
|
|
1890
|
+
/** V1 error format. */
|
|
1891
|
+
'$.xgafv'?: string;
|
|
1892
|
+
/** OAuth access token. */
|
|
1893
|
+
access_token?: string;
|
|
1894
|
+
/** Data format for response. */
|
|
1895
|
+
alt?: string;
|
|
1896
|
+
/** JSONP */
|
|
1897
|
+
callback?: string;
|
|
1898
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1899
|
+
fields?: string;
|
|
1900
|
+
/** 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. */
|
|
1901
|
+
key?: string;
|
|
1902
|
+
/** OAuth 2.0 token for the current user. */
|
|
1903
|
+
oauth_token?: string;
|
|
1904
|
+
/** Returns response with indentations and line breaks. */
|
|
1905
|
+
prettyPrint?: boolean;
|
|
1906
|
+
/** 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. */
|
|
1907
|
+
quotaUser?: string;
|
|
1908
|
+
/** 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}. */
|
|
1909
|
+
service: string;
|
|
1910
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1911
|
+
upload_protocol?: string;
|
|
1912
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1913
|
+
uploadType?: string;
|
|
1914
|
+
},
|
|
1915
|
+
body: CompleteMigrationRequest
|
|
1916
|
+
): Request<Operation>;
|
|
1610
1917
|
/** Creates a metastore service in a project and location. */
|
|
1611
1918
|
create(request: {
|
|
1612
1919
|
/** V1 error format. */
|
|
@@ -2121,6 +2428,64 @@ declare namespace gapi.client {
|
|
|
2121
2428
|
},
|
|
2122
2429
|
body: SetIamPolicyRequest
|
|
2123
2430
|
): Request<Policy>;
|
|
2431
|
+
/** Starts the Managed Migration process. */
|
|
2432
|
+
startMigration(request: {
|
|
2433
|
+
/** V1 error format. */
|
|
2434
|
+
'$.xgafv'?: string;
|
|
2435
|
+
/** OAuth access token. */
|
|
2436
|
+
access_token?: string;
|
|
2437
|
+
/** Data format for response. */
|
|
2438
|
+
alt?: string;
|
|
2439
|
+
/** JSONP */
|
|
2440
|
+
callback?: string;
|
|
2441
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2442
|
+
fields?: string;
|
|
2443
|
+
/** 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. */
|
|
2444
|
+
key?: string;
|
|
2445
|
+
/** OAuth 2.0 token for the current user. */
|
|
2446
|
+
oauth_token?: string;
|
|
2447
|
+
/** Returns response with indentations and line breaks. */
|
|
2448
|
+
prettyPrint?: boolean;
|
|
2449
|
+
/** 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. */
|
|
2450
|
+
quotaUser?: string;
|
|
2451
|
+
/** 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}. */
|
|
2452
|
+
service: string;
|
|
2453
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2454
|
+
upload_protocol?: string;
|
|
2455
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2456
|
+
uploadType?: string;
|
|
2457
|
+
/** Request body */
|
|
2458
|
+
resource: StartMigrationRequest;
|
|
2459
|
+
}): Request<Operation>;
|
|
2460
|
+
startMigration(
|
|
2461
|
+
request: {
|
|
2462
|
+
/** V1 error format. */
|
|
2463
|
+
'$.xgafv'?: string;
|
|
2464
|
+
/** OAuth access token. */
|
|
2465
|
+
access_token?: string;
|
|
2466
|
+
/** Data format for response. */
|
|
2467
|
+
alt?: string;
|
|
2468
|
+
/** JSONP */
|
|
2469
|
+
callback?: string;
|
|
2470
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2471
|
+
fields?: string;
|
|
2472
|
+
/** 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. */
|
|
2473
|
+
key?: string;
|
|
2474
|
+
/** OAuth 2.0 token for the current user. */
|
|
2475
|
+
oauth_token?: string;
|
|
2476
|
+
/** Returns response with indentations and line breaks. */
|
|
2477
|
+
prettyPrint?: boolean;
|
|
2478
|
+
/** 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. */
|
|
2479
|
+
quotaUser?: string;
|
|
2480
|
+
/** 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}. */
|
|
2481
|
+
service: string;
|
|
2482
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2483
|
+
upload_protocol?: string;
|
|
2484
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2485
|
+
uploadType?: string;
|
|
2486
|
+
},
|
|
2487
|
+
body: StartMigrationRequest
|
|
2488
|
+
): Request<Operation>;
|
|
2124
2489
|
/** 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
2490
|
testIamPermissions(
|
|
2126
2491
|
request: {
|
|
@@ -2154,6 +2519,7 @@ declare namespace gapi.client {
|
|
|
2154
2519
|
backups: BackupsResource;
|
|
2155
2520
|
databases: DatabasesResource;
|
|
2156
2521
|
metadataImports: MetadataImportsResource;
|
|
2522
|
+
migrationExecutions: MigrationExecutionsResource;
|
|
2157
2523
|
}
|
|
2158
2524
|
interface LocationsResource {
|
|
2159
2525
|
/** Gets information about a location. */
|