Method: projects.locations.conversionWorkspaces.mappingRules.list

Lists the mapping rules for a specific conversion workspace.

HTTP request

GET https://datamigration.googleapis.com/v1/{parent}/mappingRules

Path parameters

Parameters
parent

string

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

integer

The maximum number of rules to return. The service may return fewer than this value.

pageToken

string

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 (MappingRule)
    }
  ],
  "nextPageToken": string
}
Fields
mappingRules[]

object (MappingRule)

The list of conversion workspace mapping rules.

nextPageToken

string

A token which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.