- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Lists the mapping rules for a specific conversion workspace.
HTTP request
GET https://datamigration.googleapis.com/v1/{parent}/mappingRules
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversionWorkspace}. |
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of rules to return. The service may return fewer than this value. |
pageToken |
The nextPageToken value received in the previous call to mappingRules.list, used in the subsequent request to retrieve the next page of results. On first call this should be left blank. When paginating, all other parameters provided to mappingRules.list must match the call that provided the page token. |
Request body
The request body must be empty.
Response body
Response message for 'ListMappingRulesRequest' request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"mappingRules": [
{
object ( |
Fields | |
---|---|
mappingRules[] |
The list of conversion workspace mapping rules. |
nextPageToken |
A token which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.