|
328 | 328 | ]
|
329 | 329 | },
|
330 | 330 | "delete": {
|
331 |
| - "description": "Deletes an asset. Deprecated: Please use BatchDeleteAssets API instead.", |
| 331 | + "description": "Deletes an asset.", |
332 | 332 | "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assets/{assetsId}",
|
333 | 333 | "httpMethod": "DELETE",
|
334 | 334 | "id": "migrationcenter.projects.locations.assets.delete",
|
|
351 | 351 | },
|
352 | 352 | "path": "v1alpha1/{+name}",
|
353 | 353 | "response": {
|
354 |
| - "$ref": "Operation" |
| 354 | + "$ref": "Empty" |
355 | 355 | },
|
356 | 356 | "scopes": [
|
357 | 357 | "https://www.googleapis.com/auth/cloud-platform"
|
|
463 | 463 | ]
|
464 | 464 | },
|
465 | 465 | "patch": {
|
466 |
| - "description": "Updates the parameters of an asset. Deprecated: Please use BatchUpdateAssets API instead.", |
| 466 | + "description": "Updates the parameters of an asset.", |
467 | 467 | "flatPath": "v1alpha1/projects/{projectsId}/locations/{locationsId}/assets/{assetsId}",
|
468 | 468 | "httpMethod": "PATCH",
|
469 | 469 | "id": "migrationcenter.projects.locations.assets.patch",
|
|
495 | 495 | "$ref": "Asset"
|
496 | 496 | },
|
497 | 497 | "response": {
|
498 |
| - "$ref": "Operation" |
| 498 | + "$ref": "Asset" |
499 | 499 | },
|
500 | 500 | "scopes": [
|
501 | 501 | "https://www.googleapis.com/auth/cloud-platform"
|
|
1998 | 1998 | "https://www.googleapis.com/auth/cloud-platform"
|
1999 | 1999 | ]
|
2000 | 2000 | }
|
| 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 | + } |
2001 | 2098 | }
|
2002 | 2099 | }
|
2003 | 2100 | }
|
2004 | 2101 | }
|
2005 | 2102 | }
|
2006 | 2103 | }
|
2007 | 2104 | },
|
2008 |
| - "revision": "20230404", |
| 2105 | + "revision": "20230505", |
2009 | 2106 | "rootUrl": "https://migrationcenter.googleapis.com/",
|
2010 | 2107 | "schemas": {
|
2011 | 2108 | "AddAssetsToGroupRequest": {
|
|
2394 | 2491 | "type": "boolean"
|
2395 | 2492 | },
|
2396 | 2493 | "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}.", |
2398 | 2495 | "items": {
|
2399 | 2496 | "type": "string"
|
2400 | 2497 | },
|
|
2861 | 2958 | "properties": {},
|
2862 | 2959 | "type": "object"
|
2863 | 2960 | },
|
| 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 | + }, |
2864 | 2992 | "ExecutionReport": {
|
2865 | 2993 | "description": "A resource that reports result of the import job execution.",
|
2866 | 2994 | "id": "ExecutionReport",
|
|
2941 | 3069 | },
|
2942 | 3070 | "type": "object"
|
2943 | 3071 | },
|
| 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 | + }, |
2944 | 3087 | "Frames": {
|
2945 | 3088 | "description": "Collection of frame data.",
|
2946 | 3089 | "id": "Frames",
|
|
3544 | 3687 | },
|
3545 | 3688 | "type": "object"
|
3546 | 3689 | },
|
| 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 | + }, |
3547 | 3715 | "ListGroupsResponse": {
|
3548 | 3716 | "description": "A response for listing groups.",
|
3549 | 3717 | "id": "ListGroupsResponse",
|
|
3756 | 3924 | "type": "object"
|
3757 | 3925 | },
|
3758 | 3926 | "Location": {
|
3759 |
| - "description": "A resource that represents Google Cloud Platform location.", |
| 3927 | + "description": "A resource that represents a Google Cloud location.", |
3760 | 3928 | "id": "Location",
|
3761 | 3929 | "properties": {
|
3762 | 3930 | "displayName": {
|
|
4943 | 5111 | "description": "User-friendly display name.",
|
4944 | 5112 | "type": "string"
|
4945 | 5113 | },
|
| 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 | + }, |
4946 | 5120 | "isManaged": {
|
4947 | 5121 | "description": "If `true`, the source is managed by other service(s).",
|
4948 | 5122 | "type": "boolean"
|
|
4963 | 5137 | "format": "int32",
|
4964 | 5138 | "type": "integer"
|
4965 | 5139 | },
|
| 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 | + }, |
4966 | 5157 | "type": {
|
4967 | 5158 | "description": "Data source type.",
|
4968 | 5159 | "enum": [
|
|
5069 | 5260 | "readOnly": true,
|
5070 | 5261 | "type": "string"
|
5071 | 5262 | },
|
5072 |
| - "uri": { |
5073 |
| - "description": "Output only. Upload URI for the file.", |
5074 |
| - "readOnly": true, |
5075 |
| - "type": "string" |
5076 |
| - }, |
5077 | 5263 | "uriExpirationTime": {
|
5078 | 5264 | "description": "Output only. Expiration time of the upload URI.",
|
5079 | 5265 | "format": "google-datetime",
|
|
0 commit comments