---
title: "POST /v1/{+parent}/assetsExportJobs"
method: POST
path: "/v1/{+parent}/assetsExportJobs"
tags: ["projects"]
---

# POST /v1/{+parent}/assetsExportJobs

`POST /v1/{+parent}/assetsExportJobs`

Creates a new assets export job.

## Path parameters

- `parent` string, required

## Query parameters

- `assetsExportJobId` string
- `requestId` string

## Request body

- AssetsExportJob — Assets export job message.
  - `updateTime` string, google-datetime — Output only. Resource update time.
  - `condition` AssetsExportJobExportCondition — Conditions for selecting assets to export.
    - `filter` string — Optional. Assets filter, supports the same syntax as asset listing.
  - `performanceData` AssetsExportJobPerformanceData — Configuration for performance data exports.
    - `maxDays` integer — Optional. When this value is set to a positive integer, performance data will be returned for the most recent days for which data is available. When this value is unset (or set to zero), all available data is returned. The maximum value is 420; values above 420 will be coerced to 420. If unset (0 value) a default value of 40 will be used.
  - `inventory` AssetsExportJobInventory — Configuration for asset inventory details exports.
  - `recentExecutions` AssetsExportJobExecution[] — Output only. Recent non expired executions of the job.
    - `result` AssetsExportJobExecutionResult — Contains the result of the assets export.
      - `error` Status — The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
        - `code` integer — The status code, which should be an enum value of google.rpc.Code.
        - `message` string — A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
        - `details` object[] — A list of messages that carry the error details. There is a common set of message types for APIs to use.
      - `outputFiles` OutputFileList — Contains a list of output files.
        - `entries` OutputFile[] — Output only. List of output files.
          - `csvOutputFile` CsvOutputFile — Contains a single output file of type CSV.
            - `columnsCount` integer — Output only. Number of columns in the file.
            - `rowCount` integer — Output only. Number of rows in the file.
            - `signedUri` SignedUri — Contains a signed URI.
              - …
          - `xlsxOutputFile` XlsxOutputFile — Contains a single output file of type XLSX.
            - `signedUri` SignedUri — Contains a signed URI.
              - …
          - `fileSizeBytes` string, int64 — Output only. File size in bytes.
      - `signedUris` SignedUris — Contains a list of Signed URIs.
        - `signedUris` SignedUri[] — Output only. List of signed URIs.
          - `uri` string — Output only. Download URI for the file.
          - `file` string — Output only. Name of the file the Signed URI references.
    - `endTime` string, google-datetime — Output only. Completion time of the export.
    - `expireTime` string, google-datetime — Output only. Expiration time for the export and artifacts.
    - `requestedAssetCount` integer — Output only. Number of assets requested for export after resolving the requested filters.
    - `startTime` string, google-datetime — Output only. Execution timestamp.
    - `executionId` string — Output only. Globally unique identifier of the execution.
  - `showHidden` boolean — Optional. When this value is set to 'true' the response will include all assets, including those that are hidden.
  - `labels` object — Optional. Labels as key value pairs. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
  - `networkDependencies` AssetsExportJobNetworkDependencies — Configuration for network dependencies exports.
  - `signedUriDestination` SignedUriDestination — Signed URI destination configuration.
    - `fileFormat` 'FILE_FORMAT_UNSPECIFIED' | 'CSV' | 'XLSX' — Required. The file format to export.
  - `name` string — Output only. Identifier. Resource name.
  - `createTime` string, google-datetime — Output only. Resource creation time.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/migrationcenter.md) · [All operations](https://skmtc.dev/google/apis/migrationcenter/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/migrationcenter/revisions/2a8b4eea0432/schema)
