Skip to content

Commit

Permalink
feat(baremetalsolution)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### baremetalsolution:v2

The following keys were deleted:
- schemas.OperationMetadata.description
- schemas.OperationMetadata.id
- schemas.OperationMetadata.properties.apiVersion.description
- schemas.OperationMetadata.properties.apiVersion.readOnly
- schemas.OperationMetadata.properties.apiVersion.type
- schemas.OperationMetadata.properties.createTime.description
- schemas.OperationMetadata.properties.createTime.format
- schemas.OperationMetadata.properties.createTime.readOnly
- schemas.OperationMetadata.properties.createTime.type
- schemas.OperationMetadata.properties.endTime.description
- schemas.OperationMetadata.properties.endTime.format
- schemas.OperationMetadata.properties.endTime.readOnly
- schemas.OperationMetadata.properties.endTime.type
- schemas.OperationMetadata.properties.requestedCancellation.description
- schemas.OperationMetadata.properties.requestedCancellation.readOnly
- schemas.OperationMetadata.properties.requestedCancellation.type
- schemas.OperationMetadata.properties.statusMessage.description
- schemas.OperationMetadata.properties.statusMessage.readOnly
- schemas.OperationMetadata.properties.statusMessage.type
- schemas.OperationMetadata.properties.target.description
- schemas.OperationMetadata.properties.target.readOnly
- schemas.OperationMetadata.properties.target.type
- schemas.OperationMetadata.properties.verb.description
- schemas.OperationMetadata.properties.verb.readOnly
- schemas.OperationMetadata.properties.verb.type
- schemas.OperationMetadata.type

The following keys were added:
- schemas.Volume.properties.storageAggregatePool.description
- schemas.Volume.properties.storageAggregatePool.type
- schemas.VolumeConfig.properties.storageAggregatePool.description
- schemas.VolumeConfig.properties.storageAggregatePool.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 98dea74 commit 877f002
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 78 deletions.
54 changes: 9 additions & 45 deletions discovery/baremetalsolution-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@
}
}
},
"revision": "20221201",
"revision": "20230113",
"rootUrl": "https://baremetalsolution.googleapis.com/",
"schemas": {
"AllowedClient": {
Expand Down Expand Up @@ -2697,50 +2697,6 @@
},
"type": "object"
},
"OperationMetadata": {
"description": "Represents the metadata from a long-running operation.",
"id": "OperationMetadata",
"properties": {
"apiVersion": {
"description": "Output only. API version used with the operation.",
"readOnly": true,
"type": "string"
},
"createTime": {
"description": "Output only. The time the operation was created.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation finished running.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"requestedCancellation": {
"description": "Output only. Identifies whether the user requested the cancellation of the operation. Operations that have been successfully cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
"readOnly": true,
"type": "boolean"
},
"statusMessage": {
"description": "Output only. Human-readable status of the operation, if any.",
"readOnly": true,
"type": "string"
},
"target": {
"description": "Output only. Server-defined resource path for the target of the operation.",
"readOnly": true,
"type": "string"
},
"verb": {
"description": "Output only. Name of the action executed by the operation.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"ProvisioningConfig": {
"description": "A provisioning configuration.",
"id": "ProvisioningConfig",
Expand Down Expand Up @@ -3281,6 +3237,10 @@
],
"type": "string"
},
"storageAggregatePool": {
"description": "Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.",
"type": "string"
},
"storageType": {
"description": "The storage type for this volume.",
"enum": [
Expand Down Expand Up @@ -3389,6 +3349,10 @@
"description": "Whether snapshots should be enabled.",
"type": "boolean"
},
"storageAggregatePool": {
"description": "Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.",
"type": "string"
},
"type": {
"description": "The type of this Volume.",
"enum": [
Expand Down
43 changes: 10 additions & 33 deletions src/apis/baremetalsolution/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -940,39 +940,6 @@ export namespace baremetalsolution_v2 {
*/
response?: {[key: string]: any} | null;
}
/**
* Represents the metadata from a long-running operation.
*/
export interface Schema$OperationMetadata {
/**
* Output only. API version used with the operation.
*/
apiVersion?: string | null;
/**
* Output only. The time the operation was created.
*/
createTime?: string | null;
/**
* Output only. The time the operation finished running.
*/
endTime?: string | null;
/**
* Output only. Identifies whether the user requested the cancellation of the operation. Operations that have been successfully cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
*/
requestedCancellation?: boolean | null;
/**
* Output only. Human-readable status of the operation, if any.
*/
statusMessage?: string | null;
/**
* Output only. Server-defined resource path for the target of the operation.
*/
target?: string | null;
/**
* Output only. Name of the action executed by the operation.
*/
verb?: string | null;
}
/**
* Operation System image.
*/
Expand Down Expand Up @@ -1337,6 +1304,10 @@ export namespace baremetalsolution_v2 {
* The state of this storage volume.
*/
state?: string | null;
/**
* Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.
*/
storageAggregatePool?: string | null;
/**
* The storage type for this volume.
*/
Expand Down Expand Up @@ -1390,6 +1361,10 @@ export namespace baremetalsolution_v2 {
* Whether snapshots should be enabled.
*/
snapshotsEnabled?: boolean | null;
/**
* Input only. Name of the storage aggregate pool to allocate the volume in. Can be used only for VOLUME_PERFORMANCE_TIER_ASSIGNED volumes.
*/
storageAggregatePool?: string | null;
/**
* The type of this Volume.
*/
Expand Down Expand Up @@ -6474,6 +6449,7 @@ export namespace baremetalsolution_v2 {
* // "snapshotReservationDetail": {},
* // "snapshotSchedulePolicy": "my_snapshotSchedulePolicy",
* // "state": "my_state",
* // "storageAggregatePool": "my_storageAggregatePool",
* // "storageType": "my_storageType",
* // "workloadProfile": "my_workloadProfile"
* // }
Expand Down Expand Up @@ -6765,6 +6741,7 @@ export namespace baremetalsolution_v2 {
* // "snapshotReservationDetail": {},
* // "snapshotSchedulePolicy": "my_snapshotSchedulePolicy",
* // "state": "my_state",
* // "storageAggregatePool": "my_storageAggregatePool",
* // "storageType": "my_storageType",
* // "workloadProfile": "my_workloadProfile"
* // }
Expand Down

0 comments on commit 877f002

Please sign in to comment.