Skip to content

Commit

Permalink
feat(migrationcenter): update the api
Browse files Browse the repository at this point in the history
#### migrationcenter:v1alpha1

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)
  • Loading branch information
yoshi-automation committed Nov 7, 2023
1 parent bd19999 commit 6322ecf
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
24 changes: 22 additions & 2 deletions docs/dyn/migrationcenter_v1alpha1.projects.locations.assets.html
Expand Up @@ -93,7 +93,7 @@ <h2>Instance Methods</h2>
<code><a href="#get">get(name, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Gets the details of an asset.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
<code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, showHidden=None, view=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all the assets in a given project and location.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
Expand Down Expand Up @@ -132,6 +132,7 @@ <h3>Method Details</h3>
},
],
&quot;filter&quot;: &quot;A String&quot;, # The aggregation will be performed on assets that match the provided filter.
&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.
}

x__xgafv: string, V1 error format.
Expand Down Expand Up @@ -219,6 +220,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down Expand Up @@ -588,6 +592,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down Expand Up @@ -989,6 +996,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down Expand Up @@ -1337,7 +1347,7 @@ <h3>Method Details</h3>
</div>

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

Args:
Expand All @@ -1346,6 +1356,7 @@ <h3>Method Details</h3>
orderBy: string, Field to sort by. See https://google.aip.dev/132#ordering for more details.
pageSize: integer, Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
pageToken: string, A token identifying a page of results the server should return.
showHidden: boolean, Optional. When this value is set to &#x27;true&#x27; the response will include all assets, including those that are hidden.
view: string, View of the assets. Defaults to BASIC.
Allowed values
ASSET_VIEW_UNSPECIFIED - The asset view is not specified. The API displays the basic view by default.
Expand All @@ -1370,6 +1381,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down Expand Up @@ -1754,6 +1768,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down Expand Up @@ -2118,6 +2135,9 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was created.
&quot;hidden&quot;: True or False, # Optional. Indicates if the asset is hidden.
&quot;hideReason&quot;: &quot;A String&quot;, # Optional. An optional reason for marking this asset as hidden.
&quot;hideTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the asset was marked as hidden.
&quot;insightList&quot;: { # Message containing insights list. # Output only. The list of insights associated with the asset.
&quot;insights&quot;: [ # Output only. Insights of the list.
{ # An insight about an asset.
Expand Down
Expand Up @@ -2099,7 +2099,7 @@
}
}
},
"revision": "20231024",
"revision": "20231027",
"rootUrl": "https://migrationcenter.googleapis.com/",
"schemas": {
"AddAssetsToGroupRequest": {
Expand Down
Expand Up @@ -436,6 +436,11 @@
"required": true,
"type": "string"
},
"showHidden": {
"description": "Optional. When this value is set to 'true' the response will include all assets, including those that are hidden.",
"location": "query",
"type": "boolean"
},
"view": {
"description": "View of the assets. Defaults to BASIC.",
"enum": [
Expand Down Expand Up @@ -2102,7 +2107,7 @@
}
}
},
"revision": "20231024",
"revision": "20231027",
"rootUrl": "https://migrationcenter.googleapis.com/",
"schemas": {
"AddAssetsToGroupRequest": {
Expand Down Expand Up @@ -2138,6 +2143,10 @@
"filter": {
"description": "The aggregation will be performed on assets that match the provided filter.",
"type": "string"
},
"showHidden": {
"description": "Optional. When this value is set to 'true' the response will include all assets, including those that are hidden.",
"type": "boolean"
}
},
"type": "object"
Expand Down Expand Up @@ -2335,6 +2344,20 @@
"readOnly": true,
"type": "string"
},
"hidden": {
"description": "Optional. Indicates if the asset is hidden.",
"type": "boolean"
},
"hideReason": {
"description": "Optional. An optional reason for marking this asset as hidden.",
"type": "string"
},
"hideTime": {
"description": "Output only. The timestamp when the asset was marked as hidden.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"insightList": {
"$ref": "InsightList",
"description": "Output only. The list of insights associated with the asset.",
Expand Down

0 comments on commit 6322ecf

Please sign in to comment.