Skip to content

Commit b15d77c

Browse files
feat(migrationcenter): update the API
#### migrationcenter:v1alpha1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - schemas.DiscoveryClient.properties.recommendedVersions.description - schemas.DiscoveryClient.properties.recommendedVersions.items.$ref - schemas.DiscoveryClient.properties.recommendedVersions.readOnly - schemas.DiscoveryClient.properties.recommendedVersions.type - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.description - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.id - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.uri.description - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.uri.readOnly - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.uri.type - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.version.description - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.version.readOnly - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.version.type - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.type - schemas.DiskEntry.properties.vmwareConfig.deprecated #### migrationcenter:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type - resources.projects.resources.locations.resources.assets.methods.list.parameters.showHidden.description - resources.projects.resources.locations.resources.assets.methods.list.parameters.showHidden.location - resources.projects.resources.locations.resources.assets.methods.list.parameters.showHidden.type - schemas.AggregateAssetsValuesRequest.properties.showHidden.description - schemas.AggregateAssetsValuesRequest.properties.showHidden.type - schemas.Asset.properties.hidden.description - schemas.Asset.properties.hidden.type - schemas.Asset.properties.hideReason.description - schemas.Asset.properties.hideReason.type - schemas.Asset.properties.hideTime.description - schemas.Asset.properties.hideTime.format - schemas.Asset.properties.hideTime.readOnly - schemas.Asset.properties.hideTime.type
1 parent f0050d7 commit b15d77c

File tree

4 files changed

+108
-2
lines changed

4 files changed

+108
-2
lines changed

‎discovery/migrationcenter-v1.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@
168168
"name"
169169
],
170170
"parameters": {
171+
"extraLocationTypes": {
172+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
173+
"location": "query",
174+
"repeated": true,
175+
"type": "string"
176+
},
171177
"filter": {
172178
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
173179
"location": "query",
@@ -440,6 +446,11 @@
440446
"required": true,
441447
"type": "string"
442448
},
449+
"showHidden": {
450+
"description": "Optional. When this value is set to 'true,' the response will include all assets, including those that are hidden.",
451+
"location": "query",
452+
"type": "boolean"
453+
},
443454
"view": {
444455
"description": "View of the assets. Defaults to BASIC.",
445456
"enum": [
@@ -2396,7 +2407,7 @@
23962407
}
23972408
}
23982409
},
2399-
"revision": "20250227",
2410+
"revision": "20250422",
24002411
"rootUrl": "https://migrationcenter.googleapis.com/",
24012412
"schemas": {
24022413
"AddAssetsToGroupRequest": {
@@ -2432,6 +2443,10 @@
24322443
"filter": {
24332444
"description": "Optional. The aggregation will be performed on assets that match the provided filter.",
24342445
"type": "string"
2446+
},
2447+
"showHidden": {
2448+
"description": "Optional. When this value is set to 'true,' the response will include all assets, including those that are hidden.",
2449+
"type": "boolean"
24352450
}
24362451
},
24372452
"type": "object"
@@ -2639,6 +2654,20 @@
26392654
"description": "Output only. Asset information specific for logical databases.",
26402655
"readOnly": true
26412656
},
2657+
"hidden": {
2658+
"description": "Optional. Indicates if the asset is hidden.",
2659+
"type": "boolean"
2660+
},
2661+
"hideReason": {
2662+
"description": "Optional. An optional reason for marking this asset as hidden.",
2663+
"type": "string"
2664+
},
2665+
"hideTime": {
2666+
"description": "Output only. The timestamp when the asset was marked as hidden.",
2667+
"format": "google-datetime",
2668+
"readOnly": true,
2669+
"type": "string"
2670+
},
26422671
"insightList": {
26432672
"$ref": "InsightList",
26442673
"description": "Output only. The list of insights associated with the asset.",

‎discovery/migrationcenter-v1alpha1.json

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@
168168
"name"
169169
],
170170
"parameters": {
171+
"extraLocationTypes": {
172+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
173+
"location": "query",
174+
"repeated": true,
175+
"type": "string"
176+
},
171177
"filter": {
172178
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
173179
"location": "query",
@@ -2548,7 +2554,7 @@
25482554
}
25492555
}
25502556
},
2551-
"revision": "20250312",
2557+
"revision": "20250422",
25522558
"rootUrl": "https://migrationcenter.googleapis.com/",
25532559
"schemas": {
25542560
"AddAssetsToGroupRequest": {
@@ -4524,6 +4530,14 @@
45244530
"readOnly": true,
45254531
"type": "string"
45264532
},
4533+
"recommendedVersions": {
4534+
"description": "Output only. The recommended versions of the discovery client.",
4535+
"items": {
4536+
"$ref": "DiscoveryClientDiscoveryClientRecommendedVersion"
4537+
},
4538+
"readOnly": true,
4539+
"type": "array"
4540+
},
45274541
"serviceAccount": {
45284542
"description": "Required. Service account used by the discovery client for various operation.",
45294543
"type": "string"
@@ -4575,6 +4589,23 @@
45754589
},
45764590
"type": "object"
45774591
},
4592+
"DiscoveryClientDiscoveryClientRecommendedVersion": {
4593+
"description": "Discovery client recommended version.",
4594+
"id": "DiscoveryClientDiscoveryClientRecommendedVersion",
4595+
"properties": {
4596+
"uri": {
4597+
"description": "Output only. The URI of the discovery client version.",
4598+
"readOnly": true,
4599+
"type": "string"
4600+
},
4601+
"version": {
4602+
"description": "Output only. The version of the discovery client.",
4603+
"readOnly": true,
4604+
"type": "string"
4605+
}
4606+
},
4607+
"type": "object"
4608+
},
45784609
"DiskEntry": {
45794610
"description": "Single disk entry.",
45804611
"id": "DiskEntry",
@@ -4615,6 +4646,7 @@
46154646
},
46164647
"vmwareConfig": {
46174648
"$ref": "VmwareDiskConfig",
4649+
"deprecated": true,
46184650
"description": "VMware disk details."
46194651
}
46204652
},

‎src/apis/migrationcenter/v1.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ export namespace migrationcenter_v1 {
153153
* Optional. The aggregation will be performed on assets that match the provided filter.
154154
*/
155155
filter?: string | null;
156+
/**
157+
* Optional. When this value is set to 'true,' the response will include all assets, including those that are hidden.
158+
*/
159+
showHidden?: boolean | null;
156160
}
157161
/**
158162
* A response to a request to aggregated assets values.
@@ -287,6 +291,18 @@ export namespace migrationcenter_v1 {
287291
* Output only. Asset information specific for logical databases.
288292
*/
289293
databaseDetails?: Schema$DatabaseDetails;
294+
/**
295+
* Optional. Indicates if the asset is hidden.
296+
*/
297+
hidden?: boolean | null;
298+
/**
299+
* Optional. An optional reason for marking this asset as hidden.
300+
*/
301+
hideReason?: string | null;
302+
/**
303+
* Output only. The timestamp when the asset was marked as hidden.
304+
*/
305+
hideTime?: string | null;
290306
/**
291307
* Output only. The list of insights associated with the asset.
292308
*/
@@ -3824,6 +3840,10 @@ export namespace migrationcenter_v1 {
38243840
}
38253841
export interface Params$Resource$Projects$Locations$List
38263842
extends StandardParameters {
3843+
/**
3844+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
3845+
*/
3846+
extraLocationTypes?: string[];
38273847
/**
38283848
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
38293849
*/
@@ -4680,6 +4700,10 @@ export namespace migrationcenter_v1 {
46804700
* Required. Parent value for `ListAssetsRequest`.
46814701
*/
46824702
parent?: string;
4703+
/**
4704+
* Optional. When this value is set to 'true,' the response will include all assets, including those that are hidden.
4705+
*/
4706+
showHidden?: boolean;
46834707
/**
46844708
* View of the assets. Defaults to BASIC.
46854709
*/

‎src/apis/migrationcenter/v1alpha1.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,6 +1386,10 @@ export namespace migrationcenter_v1alpha1 {
13861386
* Output only. Identifier. Full name of this discovery client.
13871387
*/
13881388
name?: string | null;
1389+
/**
1390+
* Output only. The recommended versions of the discovery client.
1391+
*/
1392+
recommendedVersions?: Schema$DiscoveryClientDiscoveryClientRecommendedVersion[];
13891393
/**
13901394
* Required. Service account used by the discovery client for various operation.
13911395
*/
@@ -1415,6 +1419,19 @@ export namespace migrationcenter_v1alpha1 {
14151419
*/
14161420
version?: string | null;
14171421
}
1422+
/**
1423+
* Discovery client recommended version.
1424+
*/
1425+
export interface Schema$DiscoveryClientDiscoveryClientRecommendedVersion {
1426+
/**
1427+
* Output only. The URI of the discovery client version.
1428+
*/
1429+
uri?: string | null;
1430+
/**
1431+
* Output only. The version of the discovery client.
1432+
*/
1433+
version?: string | null;
1434+
}
14181435
/**
14191436
* Single disk entry.
14201437
*/
@@ -4907,6 +4924,10 @@ export namespace migrationcenter_v1alpha1 {
49074924
}
49084925
export interface Params$Resource$Projects$Locations$List
49094926
extends StandardParameters {
4927+
/**
4928+
* Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
4929+
*/
4930+
extraLocationTypes?: string[];
49104931
/**
49114932
* A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
49124933
*/

0 commit comments

Comments
 (0)