Resource Changes
The following list contains changes to operations and schemas. Note that these changes do not affect REST API V1.2-rev0 functionality.
Operation Changes
The following changes in operations were made:
- The HTTP POST /api/v1/buckets/rescan/{projectId} request was replaced by the POST /api/v1/buckets/rescan/{projectId}/accounts/{serviceAccountId} request.
- The HTTP POST /api/v1/buckets/{bucketId}/folders/rescan request was replaced by the POST /api/v1/buckets/{bucketId}/accounts/{serviceAccountId}/folders/rescan request.
- The HTTP GET /api/v1/projects/{projectId}/networks request was replaced by the GET /api/v1/projects/{projectId}/account/{serviceAccountId}/networks request.
- The HTTP GET /api/v1/projects/{projectId}/networks/{networkId}/subnets request was replaced by the GET /api/v1/projects/{projectId}/networks/{networkId}/account/{serviceAccountId}/subnets request.
- The HTTP GET /api/v1/projects/{projectId}/networks/{networkId}/firewallRules request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/networks/{networkId}/firewallRules request.
- The HTTP POST /api/v1/projects/{projectId}/networks/rescan request was replaced by the POST /api/v1/projects/{projectId}/accounts/{serviceAccountId}/networks/rescan request.
- The HTTP GET /api/v1/projects/{projectId}/encryptionKeys request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/encryptionKeys request.
- The HTTP GET /api/v1/projects/{projectId}/regions/{regionId}/encryptionKeys request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/regions/{regionId}/encryptionKeys request.
- The HTTP GET /api/v1/projects/{projectId}/regions/machineTypes request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/regions/machineTypes request.
- The HTTP GET /api/v1/projects/{projectId}/zones/{zoneId}/machineTypes request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/zones/{zoneId}/machineTypes request.
- The HTTP GET /api/v1/projects/{projectId}/zones/{zoneId}/sqlMachineTypes request was replaced by the GET /api/v1/projects/{projectId}/accounts/{serviceAccountId}/zones/{zoneId}/sqlMachineTypes request.
- The HTTP POST /api/v1/regions/rescan/{projectId} request was replaced by the POST /api/v1/regions/rescan/{projectId}/accounts/{serviceAccountId} request.
- The HTTP POST /api/v1/sqlInstances/projects/{projectId}/{instanceName}/snapshot request was replaced by the POST /api/v1/sqlInstances/projects/{projectId}/accounts/{serviceAccountId}/{instanceName}/snapshot request.
For more information on new resource collections, see New Operations.
Schema Changes
The following changes in the REST API schemas were made:
- PolicyCostOperationResultModel/PolicyCostModel schema:
- Added the totalArchiveCost property.
- PolicyCostOperationResultModel/PolicyCostModel/PolicyInstanceCostModel schema:
- Added the archiveCost property.
- SqlPolicyCostOperationResultModel/SqlPolicyCostModel schema:
- Added the totalArchiveCost property.
- SqlPolicyCostOperationResultModel/SqlPolicyCostModel/SqlPolicyInstanceCostModel schema:
- Added the archiveCost property.
- ProjectModel schema:
- Added the isStandalone property.
- PolicyModelV2/PolicySourceOptionsModel schema:
- Added the properties excludedFolders and excludedProjects.
- SqlPolicyModelV2/SqlPolicySourceOptionsModel schema:
- Added the properties excludedFolders and excludedProjects.
- PolicyBackupInstanceModel schema:
- Added the projectId property.
- RepositoryModel schema:
- Added the serviceAccountId property.
- PolicySpecV2/SnapshotOptionsModel schema:
- Added the properties locationType, location and region.
- SessionModel schema:
- Added the CreateServiceAccount and RescanCloudFolders enum values to the ESessionType property.
- SessionInfoItemModel schema:
- Added the CreateServiceAccount and RescanCloudFolders enum values to the ESessionType property.
- NotificationModel schema:
- Added the HighMemoryUsage and SessionRetentionDefaultChanged enum values to the ENotificationType property.
- HTTP PUT /api/v1/workers/networkConfiguration/project request:
- The ConfigurationChangeResultModel response body schema replaced by ConfigurationChangeResultModelV2 schema.
- HTTP GET /api/v1/workers/networkConfiguration/project request:
- The ConfigurationModel response body schema replaced by ConfigurationModelV2 schema.
- HTTP POST /api/v1/vmInstance/policies request:
- The PolicyOperationResultModel response body schema replaced by PolicyOperationResultModelV2 schema.
- HTTP POST /api/v1/sqlInstance/policies request:
- The SqlPolicyOperationResultModel response body schema replaced by SqlPolicyOperationResultModelV2 schema.
- HTTP GET /api/v1/vmInstance/policies request:
- The PolicyListModel response body schema replaced by PolicyListModelV2 schema.
- HTTP GET /api/v1/sqlInstance/policies request:
- The SqlPolicyListModel response body schema replaced by SqlPolicyListModelV2 schema.