Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 023cd68

Browse files
committedMay 24, 2023
feat(migrationcenter): update the api
#### migrationcenter:v1alpha1 The following keys were deleted: - schemas.UploadFileInfo.properties.uri (Total Keys: 2) The following keys were added: - resources.projects.resources.locations.resources.sources.resources.errorFrames.methods.get (Total Keys: 13) - resources.projects.resources.locations.resources.sources.resources.errorFrames.methods.list (Total Keys: 18) - schemas.ErrorFrame (Total Keys: 12) - schemas.FrameViolationEntry (Total Keys: 4) - schemas.ListErrorFramesResponse (Total Keys: 7) - schemas.Source.properties.errorFrameCount (Total Keys: 3) - schemas.Source.properties.state (Total Keys: 2) The following keys were changed: - resources.projects.resources.locations.resources.assets.methods.delete.response.$ref (Total Keys: 1) - resources.projects.resources.locations.resources.assets.methods.patch.response.$ref (Total Keys: 1)
1 parent 4318920 commit 023cd68

6 files changed

+1270
-53
lines changed
 

‎docs/dyn/migrationcenter_v1alpha1.projects.locations.assets.html

+334-36
Large diffs are not rendered by default.

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ <h3>Method Details</h3>
147147
Returns:
148148
An object of the form:
149149

150-
{ # A resource that represents Google Cloud Platform location.
150+
{ # A resource that represents a Google Cloud location.
151151
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
152152
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
153153
&quot;a_key&quot;: &quot;A String&quot;,
@@ -199,7 +199,7 @@ <h3>Method Details</h3>
199199

200200
{ # The response message for Locations.ListLocations.
201201
&quot;locations&quot;: [ # A list of locations that matches the specified filter in the request.
202-
{ # A resource that represents Google Cloud Platform location.
202+
{ # A resource that represents a Google Cloud location.
203203
&quot;displayName&quot;: &quot;A String&quot;, # The friendly name for this location, typically a nearby city name. For example, &quot;Tokyo&quot;.
204204
&quot;labels&quot;: { # Cross-service attributes for the location. For example {&quot;cloud.googleapis.com/region&quot;: &quot;us-east1&quot;}
205205
&quot;a_key&quot;: &quot;A String&quot;,

‎docs/dyn/migrationcenter_v1alpha1.projects.locations.importJobs.importDataFiles.html

-3
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ <h3>Method Details</h3>
118118
&quot;a_key&quot;: &quot;A String&quot;,
119119
},
120120
&quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
121-
&quot;uri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
122121
&quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
123122
},
124123
}
@@ -215,7 +214,6 @@ <h3>Method Details</h3>
215214
&quot;a_key&quot;: &quot;A String&quot;,
216215
},
217216
&quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
218-
&quot;uri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
219217
&quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
220218
},
221219
}</pre>
@@ -252,7 +250,6 @@ <h3>Method Details</h3>
252250
&quot;a_key&quot;: &quot;A String&quot;,
253251
},
254252
&quot;signedUri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
255-
&quot;uri&quot;: &quot;A String&quot;, # Output only. Upload URI for the file.
256253
&quot;uriExpirationTime&quot;: &quot;A String&quot;, # Output only. Expiration time of the upload URI.
257254
},
258255
},

‎docs/dyn/migrationcenter_v1alpha1.projects.locations.sources.errorFrames.html

+723
Large diffs are not rendered by default.

‎docs/dyn/migrationcenter_v1alpha1.projects.locations.sources.html

+13
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
<h1><a href="migrationcenter_v1alpha1.html">Migration Center API</a> . <a href="migrationcenter_v1alpha1.projects.html">projects</a> . <a href="migrationcenter_v1alpha1.projects.locations.html">locations</a> . <a href="migrationcenter_v1alpha1.projects.locations.sources.html">sources</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="migrationcenter_v1alpha1.projects.locations.sources.errorFrames.html">errorFrames()</a></code>
79+
</p>
80+
<p class="firstline">Returns the errorFrames Resource.</p>
81+
7782
<p class="toc_element">
7883
<code><a href="#close">close()</a></code></p>
7984
<p class="firstline">Close httplib2 connections.</p>
@@ -114,10 +119,12 @@ <h3>Method Details</h3>
114119
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
115120
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
116121
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
122+
&quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
117123
&quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
118124
&quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
119125
&quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
120126
&quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
127+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
121128
&quot;type&quot;: &quot;A String&quot;, # Data source type.
122129
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
123130
}
@@ -207,10 +214,12 @@ <h3>Method Details</h3>
207214
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
208215
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
209216
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
217+
&quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
210218
&quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
211219
&quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
212220
&quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
213221
&quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
222+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
214223
&quot;type&quot;: &quot;A String&quot;, # Data source type.
215224
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
216225
}</pre>
@@ -241,10 +250,12 @@ <h3>Method Details</h3>
241250
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
242251
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
243252
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
253+
&quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
244254
&quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
245255
&quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
246256
&quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
247257
&quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
258+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
248259
&quot;type&quot;: &quot;A String&quot;, # Data source type.
249260
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
250261
},
@@ -282,10 +293,12 @@ <h3>Method Details</h3>
282293
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was created.
283294
&quot;description&quot;: &quot;A String&quot;, # Free-text description.
284295
&quot;displayName&quot;: &quot;A String&quot;, # User-friendly display name.
296+
&quot;errorFrameCount&quot;: 42, # Output only. The number of frames that were reported by the source and contained errors.
285297
&quot;isManaged&quot;: True or False, # If `true`, the source is managed by other service(s).
286298
&quot;name&quot;: &quot;A String&quot;, # Output only. The full name of the source.
287299
&quot;pendingFrameCount&quot;: 42, # Output only. Number of frames that are still being processed.
288300
&quot;priority&quot;: 42, # The information confidence of the source. The higher the value, the higher the confidence.
301+
&quot;state&quot;: &quot;A String&quot;, # Output only. The state of the source.
289302
&quot;type&quot;: &quot;A String&quot;, # Data source type.
290303
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the source was last updated.
291304
}

‎googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json

+198-12
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
]
329329
},
330330
"delete": {
331-
"description": "Deletes an asset. Deprecated: Please use BatchDeleteAssets API instead.",
331+
"description": "Deletes an asset.",
332332
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assets/{assetsId}",
333333
"httpMethod": "DELETE",
334334
"id": "migrationcenter.projects.locations.assets.delete",
@@ -351,7 +351,7 @@
351351
},
352352
"path": "v1alpha1/{+name}",
353353
"response": {
354-
"$ref": "Operation"
354+
"$ref": "Empty"
355355
},
356356
"scopes": [
357357
"https://www.googleapis.com/auth/cloud-platform"
@@ -463,7 +463,7 @@
463463
]
464464
},
465465
"patch": {
466-
"description": "Updates the parameters of an asset. Deprecated: Please use BatchUpdateAssets API instead.",
466+
"description": "Updates the parameters of an asset.",
467467
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assets/{assetsId}",
468468
"httpMethod": "PATCH",
469469
"id": "migrationcenter.projects.locations.assets.patch",
@@ -495,7 +495,7 @@
495495
"$ref": "Asset"
496496
},
497497
"response": {
498-
"$ref": "Operation"
498+
"$ref": "Asset"
499499
},
500500
"scopes": [
501501
"https://www.googleapis.com/auth/cloud-platform"
@@ -1998,14 +1998,111 @@
19981998
"https://www.googleapis.com/auth/cloud-platform"
19991999
]
20002000
}
2001+
},
2002+
"resources": {
2003+
"errorFrames": {
2004+
"methods": {
2005+
"get": {
2006+
"description": "Gets the details of an error frame.",
2007+
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/errorFrames/{errorFramesId}",
2008+
"httpMethod": "GET",
2009+
"id": "migrationcenter.projects.locations.sources.errorFrames.get",
2010+
"parameterOrder": [
2011+
"name"
2012+
],
2013+
"parameters": {
2014+
"name": {
2015+
"description": "Required. The name of the frame to retrieve. Format: projects/{project}/locations/{location}/sources/{source}/errorFrames/{error_frame}",
2016+
"location": "path",
2017+
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+/errorFrames/[^/]+$",
2018+
"required": true,
2019+
"type": "string"
2020+
},
2021+
"view": {
2022+
"description": "Optional. An optional view mode to control the level of details for the frame. The default is a basic frame view.",
2023+
"enum": [
2024+
"ERROR_FRAME_VIEW_UNSPECIFIED",
2025+
"ERROR_FRAME_VIEW_BASIC",
2026+
"ERROR_FRAME_VIEW_FULL"
2027+
],
2028+
"enumDescriptions": [
2029+
"Value is unset. The system will fallback to the default value.",
2030+
"Include basic frame data, but not the full contents.",
2031+
"Include everything."
2032+
],
2033+
"location": "query",
2034+
"type": "string"
2035+
}
2036+
},
2037+
"path": "v1alpha1/{+name}",
2038+
"response": {
2039+
"$ref": "ErrorFrame"
2040+
},
2041+
"scopes": [
2042+
"https://www.googleapis.com/auth/cloud-platform"
2043+
]
2044+
},
2045+
"list": {
2046+
"description": "Lists all error frames in a given source and location.",
2047+
"flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/sources/{sourcesId}/errorFrames",
2048+
"httpMethod": "GET",
2049+
"id": "migrationcenter.projects.locations.sources.errorFrames.list",
2050+
"parameterOrder": [
2051+
"parent"
2052+
],
2053+
"parameters": {
2054+
"pageSize": {
2055+
"description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
2056+
"format": "int32",
2057+
"location": "query",
2058+
"type": "integer"
2059+
},
2060+
"pageToken": {
2061+
"description": "A token identifying a page of results the server should return.",
2062+
"location": "query",
2063+
"type": "string"
2064+
},
2065+
"parent": {
2066+
"description": "Required. Parent value (the source) for `ListErrorFramesRequest`.",
2067+
"location": "path",
2068+
"pattern": "^projects/[^/]+/locations/[^/]+/sources/[^/]+$",
2069+
"required": true,
2070+
"type": "string"
2071+
},
2072+
"view": {
2073+
"description": "Optional. An optional view mode to control the level of details of each error frame. The default is a BASIC frame view.",
2074+
"enum": [
2075+
"ERROR_FRAME_VIEW_UNSPECIFIED",
2076+
"ERROR_FRAME_VIEW_BASIC",
2077+
"ERROR_FRAME_VIEW_FULL"
2078+
],
2079+
"enumDescriptions": [
2080+
"Value is unset. The system will fallback to the default value.",
2081+
"Include basic frame data, but not the full contents.",
2082+
"Include everything."
2083+
],
2084+
"location": "query",
2085+
"type": "string"
2086+
}
2087+
},
2088+
"path": "v1alpha1/{+parent}/errorFrames",
2089+
"response": {
2090+
"$ref": "ListErrorFramesResponse"
2091+
},
2092+
"scopes": [
2093+
"https://www.googleapis.com/auth/cloud-platform"
2094+
]
2095+
}
2096+
}
2097+
}
20012098
}
20022099
}
20032100
}
20042101
}
20052102
}
20062103
}
20072104
},
2008-
"revision": "20230404",
2105+
"revision": "20230505",
20092106
"rootUrl": "https://migrationcenter.googleapis.com/",
20102107
"schemas": {
20112108
"AddAssetsToGroupRequest": {
@@ -2394,7 +2491,7 @@
23942491
"type": "boolean"
23952492
},
23962493
"names": {
2397-
"description": "Required. The IDs of the assets to delete. A maximum of 10 assets can be deleted in a batch. format: projects/{project}/locations/{location}/asset/{name}.",
2494+
"description": "Required. The IDs of the assets to delete. A maximum of 1000 assets can be deleted in a batch. format: projects/{project}/locations/{location}/asset/{name}.",
23982495
"items": {
23992496
"type": "string"
24002497
},
@@ -2861,6 +2958,37 @@
28612958
"properties": {},
28622959
"type": "object"
28632960
},
2961+
"ErrorFrame": {
2962+
"description": "Message representing a frame which failed to be processed due to an error.",
2963+
"id": "ErrorFrame",
2964+
"properties": {
2965+
"ingestionTime": {
2966+
"description": "Output only. Frame ingestion time.",
2967+
"format": "google-datetime",
2968+
"readOnly": true,
2969+
"type": "string"
2970+
},
2971+
"name": {
2972+
"description": "Output only. The identifier of the ErrorFrame.",
2973+
"readOnly": true,
2974+
"type": "string"
2975+
},
2976+
"originalFrame": {
2977+
"$ref": "AssetFrame",
2978+
"description": "Output only. The frame that was originally reported.",
2979+
"readOnly": true
2980+
},
2981+
"violations": {
2982+
"description": "Output only. All the violations that were detected for the frame.",
2983+
"items": {
2984+
"$ref": "FrameViolationEntry"
2985+
},
2986+
"readOnly": true,
2987+
"type": "array"
2988+
}
2989+
},
2990+
"type": "object"
2991+
},
28642992
"ExecutionReport": {
28652993
"description": "A resource that reports result of the import job execution.",
28662994
"id": "ExecutionReport",
@@ -2941,6 +3069,21 @@
29413069
},
29423070
"type": "object"
29433071
},
3072+
"FrameViolationEntry": {
3073+
"description": "A resource that contains a single violation of a reported `AssetFrame` resource.",
3074+
"id": "FrameViolationEntry",
3075+
"properties": {
3076+
"field": {
3077+
"description": "The field of the original frame where the violation occurred.",
3078+
"type": "string"
3079+
},
3080+
"violation": {
3081+
"description": "A message describing the violation.",
3082+
"type": "string"
3083+
}
3084+
},
3085+
"type": "object"
3086+
},
29443087
"Frames": {
29453088
"description": "Collection of frame data.",
29463089
"id": "Frames",
@@ -3544,6 +3687,31 @@
35443687
},
35453688
"type": "object"
35463689
},
3690+
"ListErrorFramesResponse": {
3691+
"description": "A response for listing error frames.",
3692+
"id": "ListErrorFramesResponse",
3693+
"properties": {
3694+
"errorFrames": {
3695+
"description": "The list of error frames.",
3696+
"items": {
3697+
"$ref": "ErrorFrame"
3698+
},
3699+
"type": "array"
3700+
},
3701+
"nextPageToken": {
3702+
"description": "A token identifying a page of results the server should return.",
3703+
"type": "string"
3704+
},
3705+
"unreachable": {
3706+
"description": "Locations that could not be reached.",
3707+
"items": {
3708+
"type": "string"
3709+
},
3710+
"type": "array"
3711+
}
3712+
},
3713+
"type": "object"
3714+
},
35473715
"ListGroupsResponse": {
35483716
"description": "A response for listing groups.",
35493717
"id": "ListGroupsResponse",
@@ -3756,7 +3924,7 @@
37563924
"type": "object"
37573925
},
37583926
"Location": {
3759-
"description": "A resource that represents Google Cloud Platform location.",
3927+
"description": "A resource that represents a Google Cloud location.",
37603928
"id": "Location",
37613929
"properties": {
37623930
"displayName": {
@@ -4943,6 +5111,12 @@
49435111
"description": "User-friendly display name.",
49445112
"type": "string"
49455113
},
5114+
"errorFrameCount": {
5115+
"description": "Output only. The number of frames that were reported by the source and contained errors.",
5116+
"format": "int32",
5117+
"readOnly": true,
5118+
"type": "integer"
5119+
},
49465120
"isManaged": {
49475121
"description": "If `true`, the source is managed by other service(s).",
49485122
"type": "boolean"
@@ -4963,6 +5137,23 @@
49635137
"format": "int32",
49645138
"type": "integer"
49655139
},
5140+
"state": {
5141+
"description": "Output only. The state of the source.",
5142+
"enum": [
5143+
"STATE_UNSPECIFIED",
5144+
"ACTIVE",
5145+
"DELETING",
5146+
"INVALID"
5147+
],
5148+
"enumDescriptions": [
5149+
"Unspecified.",
5150+
"The source is active and ready to be used.",
5151+
"In the process of being deleted.",
5152+
"Source is in an invalid state. Asset frames reported to it will be ignored."
5153+
],
5154+
"readOnly": true,
5155+
"type": "string"
5156+
},
49665157
"type": {
49675158
"description": "Data source type.",
49685159
"enum": [
@@ -5069,11 +5260,6 @@
50695260
"readOnly": true,
50705261
"type": "string"
50715262
},
5072-
"uri": {
5073-
"description": "Output only. Upload URI for the file.",
5074-
"readOnly": true,
5075-
"type": "string"
5076-
},
50775263
"uriExpirationTime": {
50785264
"description": "Output only. Expiration time of the upload URI.",
50795265
"format": "google-datetime",

0 commit comments

Comments
 (0)
Please sign in to comment.