Skip to content

Commit eecb558

Browse files
feat(migrationcenter): update the api
#### migrationcenter:v1 The following keys were added: - resources.projects.resources.locations.resources.assets.methods.list.parameters.showHidden (Total Keys: 2) - schemas.AggregateAssetsValuesRequest.properties.showHidden.type (Total Keys: 1) - schemas.Asset.properties.hidden.type (Total Keys: 1) - schemas.Asset.properties.hideReason.type (Total Keys: 1) - schemas.Asset.properties.hideTime (Total Keys: 3) #### migrationcenter:v1alpha1 The following keys were added: - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.uri.readOnly (Total Keys: 1) - schemas.DiscoveryClientDiscoveryClientRecommendedVersion.properties.version.readOnly (Total Keys: 1)
1 parent 3d0ccdd commit eecb558

File tree

4 files changed

+59
-14
lines changed

4 files changed

+59
-14
lines changed

docs/dyn/migrationcenter_v1.projects.locations.assets.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
9393
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
9494
<p class="firstline">Gets the details of an asset.</p>
9595
<p class="toc_element">
96-
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
96+
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showHidden=None, view=None, x__xgafv=None)</a></code></p>
9797
<p class="firstline">Lists all the assets in a given project and location.</p>
9898
<p class="toc_element">
9999
<code><a href="#list_next">list_next()</a></code></p>
@@ -132,6 +132,7 @@ <h3>Method Details</h3>
132132
},
133133
],
134134
&quot;filter&quot;: &quot;A String&quot;, # Optional. The aggregation will be performed on assets that match the provided filter.
135+
&quot;showHidden&quot;: True or False, # Optional. When this value is set to &#x27;true,&#x27; the response will include all assets, including those that are hidden.
135136
}
136137

137138
x__xgafv: string, V1 error format.
@@ -361,6 +362,9 @@ <h3>Method Details</h3>
361362
},
362363
],
363364
},
365+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
366+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
367+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
364368
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
365369
&quot;insights&quot;: [ # Output only. Insights of the list.
366370
{ # An insight about an asset.
@@ -880,6 +884,9 @@ <h3>Method Details</h3>
880884
},
881885
],
882886
},
887+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
888+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
889+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
883890
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
884891
&quot;insights&quot;: [ # Output only. Insights of the list.
885892
{ # An insight about an asset.
@@ -1433,6 +1440,9 @@ <h3>Method Details</h3>
14331440
},
14341441
],
14351442
},
1443+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
1444+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
1445+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
14361446
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
14371447
&quot;insights&quot;: [ # Output only. Insights of the list.
14381448
{ # An insight about an asset.
@@ -1789,7 +1799,7 @@ <h3>Method Details</h3>
17891799
</div>
17901800

17911801
<div class="method">
1792-
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
1802+
<code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showHidden=None, view=None, x__xgafv=None)</code>
17931803
<pre>Lists all the assets in a given project and location.
17941804

17951805
Args:
@@ -1798,6 +1808,7 @@ <h3>Method Details</h3>
17981808
orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
17991809
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
18001810
pageToken: string, A token identifying a page of results the server should return.
1811+
showHidden: boolean, Optional. When this value is set to &#x27;true,&#x27; the response will include all assets, including those that are hidden.
18011812
view: string, View of the assets. Defaults to BASIC.
18021813
Allowed values
18031814
ASSET_VIEW_UNSPECIFIED - The asset view is not specified. The API displays the basic view by default.
@@ -1966,6 +1977,9 @@ <h3>Method Details</h3>
19661977
},
19671978
],
19681979
},
1980+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
1981+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
1982+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
19691983
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
19701984
&quot;insights&quot;: [ # Output only. Insights of the list.
19711985
{ # An insight about an asset.
@@ -2500,6 +2514,9 @@ <h3>Method Details</h3>
25002514
},
25012515
],
25022516
},
2517+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
2518+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
2519+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
25032520
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
25042521
&quot;insights&quot;: [ # Output only. Insights of the list.
25052522
{ # An insight about an asset.
@@ -3014,6 +3031,9 @@ <h3>Method Details</h3>
30143031
},
30153032
],
30163033
},
3034+
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
3035+
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
3036+
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
30173037
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
30183038
&quot;insights&quot;: [ # Output only. Insights of the list.
30193039
{ # An insight about an asset.

docs/dyn/migrationcenter_v1alpha1.projects.locations.discoveryClients.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ <h3>Method Details</h3>
136136
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
137137
&quot;recommendedVersions&quot;: [ # Output only. The recommended versions of the discovery client.
138138
{ # Discovery client recommended version.
139-
&quot;uri&quot;: &quot;A String&quot;, # The URI of the discovery client version.
140-
&quot;version&quot;: &quot;A String&quot;, # The version of the discovery client.
139+
&quot;uri&quot;: &quot;A String&quot;, # Output only. The URI of the discovery client version.
140+
&quot;version&quot;: &quot;A String&quot;, # Output only. The version of the discovery client.
141141
},
142142
],
143143
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
@@ -253,8 +253,8 @@ <h3>Method Details</h3>
253253
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
254254
&quot;recommendedVersions&quot;: [ # Output only. The recommended versions of the discovery client.
255255
{ # Discovery client recommended version.
256-
&quot;uri&quot;: &quot;A String&quot;, # The URI of the discovery client version.
257-
&quot;version&quot;: &quot;A String&quot;, # The version of the discovery client.
256+
&quot;uri&quot;: &quot;A String&quot;, # Output only. The URI of the discovery client version.
257+
&quot;version&quot;: &quot;A String&quot;, # Output only. The version of the discovery client.
258258
},
259259
],
260260
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
@@ -310,8 +310,8 @@ <h3>Method Details</h3>
310310
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
311311
&quot;recommendedVersions&quot;: [ # Output only. The recommended versions of the discovery client.
312312
{ # Discovery client recommended version.
313-
&quot;uri&quot;: &quot;A String&quot;, # The URI of the discovery client version.
314-
&quot;version&quot;: &quot;A String&quot;, # The version of the discovery client.
313+
&quot;uri&quot;: &quot;A String&quot;, # Output only. The URI of the discovery client version.
314+
&quot;version&quot;: &quot;A String&quot;, # Output only. The version of the discovery client.
315315
},
316316
],
317317
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.
@@ -376,8 +376,8 @@ <h3>Method Details</h3>
376376
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. Full name of this discovery client.
377377
&quot;recommendedVersions&quot;: [ # Output only. The recommended versions of the discovery client.
378378
{ # Discovery client recommended version.
379-
&quot;uri&quot;: &quot;A String&quot;, # The URI of the discovery client version.
380-
&quot;version&quot;: &quot;A String&quot;, # The version of the discovery client.
379+
&quot;uri&quot;: &quot;A String&quot;, # Output only. The URI of the discovery client version.
380+
&quot;version&quot;: &quot;A String&quot;, # Output only. The version of the discovery client.
381381
},
382382
],
383383
&quot;serviceAccount&quot;: &quot;A String&quot;, # Required. Service account used by the discovery client for various operation.

googleapiclient/discovery_cache/documents/migrationcenter.v1.json

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@
446446
"required": true,
447447
"type": "string"
448448
},
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+
},
449454
"view": {
450455
"description": "View of the assets. Defaults to BASIC.",
451456
"enum": [
@@ -2402,7 +2407,7 @@
24022407
}
24032408
}
24042409
},
2405-
"revision": "20250320",
2410+
"revision": "20250422",
24062411
"rootUrl": "https://migrationcenter.googleapis.com/",
24072412
"schemas": {
24082413
"AddAssetsToGroupRequest": {
@@ -2438,6 +2443,10 @@
24382443
"filter": {
24392444
"description": "Optional. The aggregation will be performed on assets that match the provided filter.",
24402445
"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"
24412450
}
24422451
},
24432452
"type": "object"
@@ -2645,6 +2654,20 @@
26452654
"description": "Output only. Asset information specific for logical databases.",
26462655
"readOnly": true
26472656
},
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+
},
26482671
"insightList": {
26492672
"$ref": "InsightList",
26502673
"description": "Output only. The list of insights associated with the asset.",

googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,7 +2554,7 @@
25542554
}
25552555
}
25562556
},
2557-
"revision": "20250410",
2557+
"revision": "20250422",
25582558
"rootUrl": "https://migrationcenter.googleapis.com/",
25592559
"schemas": {
25602560
"AddAssetsToGroupRequest": {
@@ -4594,11 +4594,13 @@
45944594
"id": "DiscoveryClientDiscoveryClientRecommendedVersion",
45954595
"properties": {
45964596
"uri": {
4597-
"description": "The URI of the discovery client version.",
4597+
"description": "Output only. The URI of the discovery client version.",
4598+
"readOnly": true,
45984599
"type": "string"
45994600
},
46004601
"version": {
4601-
"description": "The version of the discovery client.",
4602+
"description": "Output only. The version of the discovery client.",
4603+
"readOnly": true,
46024604
"type": "string"
46034605
}
46044606
},

0 commit comments

Comments
 (0)