Database Migration API (datamigration:v1)

2023-07-10

4 new methods | 1 updated method

Additions

    Methods
  • datamigration.projects.locations.conversionWorkspaces.mappingRules.list

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}/mappingRules

      Path: v1/{+parent}/mappingRules

      HTTP Method: GET

      Parameters:

        pageToken

          Type: string

          Description: 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.

          Location: query

        parent

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$

          Type: string

          Description: Required. Name of the conversion workspace resource whose mapping rules are listed in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

          Required: Yes

        pageSize

          Type: integer

          Location: query

          Format: int32

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

      Parameter Order: parent

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

      Description: Lists the mapping rules for a specific conversion workspace.

  • datamigration.projects.locations.conversionWorkspaces.mappingRules.create

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

      Description: Creates a new mapping rule for a given conversion workspace.

      Parameter Order: parent

      HTTP Method: POST

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}/mappingRules

      Path: v1/{+parent}/mappingRules

      Parameters:

        requestId

          Description: A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

          Location: query

          Type: string

        parent

          Required: Yes

          Pattern: ^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+$

          Location: path

          Type: string

          Description: Required. The parent which owns this collection of mapping rules.

        mappingRuleId

          Description: Required. The ID of the rule to create.

          Type: string

          Location: query

  • datamigration.projects.locations.conversionWorkspaces.mappingRules.delete

      HTTP Method: DELETE

      Parameters:

        requestId

          Type: string

          Location: query

          Description: Optional. A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored. It is recommended to always set this value to a UUID. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+/mappingRules/[^/]+$

          Required: Yes

          Type: string

          Description: Required. Name of the mapping rule resource to delete.

          Location: path

      Path: v1/{+name}

      Description: Deletes a single mapping rule.

      Parameter Order: name

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

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}/mappingRules/{mappingRulesId}

  • datamigration.projects.locations.conversionWorkspaces.mappingRules.get

      HTTP Method: GET

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/conversionWorkspaces/{conversionWorkspacesId}/mappingRules/{mappingRulesId}

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/conversionWorkspaces/[^/]+/mappingRules/[^/]+$

          Required: Yes

          Description: Required. Name of the mapping rule resource to get. Example: conversionWorkspaces/123/mappingRules/rule123 In order to retrieve a previous revision of the mapping rule, also provide the revision ID. Example: conversionWorkspace/123/mappingRules/rule123@c7cfa2a8c7cfa2a8c7cfa2a8c7cfa2a8

          Location: path

          Type: string

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

      Parameter Order: name

      Path: v1/{+name}

      Description: Gets the details of a mapping rule.

Updates

    Methods
  • datamigration.projects.locations.conversionWorkspaces.describeDatabaseEntities

      Parameters:

        view

          Enum:

        • DATABASE_ENTITY_VIEW_UNSPECIFIED
        • DATABASE_ENTITY_VIEW_BASIC
        • DATABASE_ENTITY_VIEW_FULL
        • DATABASE_ENTITY_VIEW_ROOT_SUMMARY
        • Description: Optional. Results view based on AIP-157

          Type: string

          Location: query

          Enum Descriptions:

        • Unspecified view. Defaults to basic view.
        • Default view. Does not return DDLs or Issues.
        • Return full entity details including mappings, ddl and issues.
        • Top-most (Database, Schema) nodes which are returned contains summary details for their decendents such as the number of entities per type and issues rollups. When this view is used, only a single page of result is returned and the page_size property of the request is ignored. The returned page will only include the top-most node types.