Method: organizations.inventorySettings.exportSettings.create

Creates an export setting.

HTTP request

POST https://cloudasset.googleapis.com/v1p7beta1/{parent=organizations/*/inventorySettings}/exportSettings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. name of the inventory settings where this export setting should be created in.

The format will be: projects/{PROJECT_NUMBER}/inventorySettings folders/{FOLDER_NUMBER}/inventorySettings organizations/{ORGANIZATION_NUMBER}/inventorySettings

Currently a maximum of 100 export setting can be created under each [InventorySettings].

Request body

The request body contains data with the following structure:

JSON representation
{
  "exportSettingId": string,
  "exportSetting": {
    object (ExportSetting)
  }
}
Fields
exportSettingId

string

Required. This is the client-assigned export setting identifier encoded in UTF-8 and it needs to be unique under a specific [InventorySettings].

exportSetting

object (ExportSetting)

Required. The export setting details. The field name must be empty and it will be generated in the format of: projects/{PROJECT_NUMBER}/inventorySettings/exportSettings/{EXPORT_SETTING_ID} folders/{FOLDER_NUMBER}/inventorySettings/exportSettings/{EXPORT_SETTING_ID} organizations/{ORGANIZATION_NUMBER}/inventorySettings/exportSettings/{EXPORT_SETTING_ID}

Response body

If successful, the response body contains a newly created instance of ExportSetting.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.