Skip to content

Commit 2e3c7c3

Browse files
yoshi-automationsofisl
authored andcommitted
feat(compute): update the API
#### compute:alpha The following keys were added: - resources.reservationBlocks.methods.get.parameters.view.description - resources.reservationBlocks.methods.get.parameters.view.enum - resources.reservationBlocks.methods.get.parameters.view.enumDescriptions - resources.reservationBlocks.methods.get.parameters.view.location - resources.reservationBlocks.methods.get.parameters.view.type - schemas.ReservationBlockPhysicalTopology.properties.instances.description - schemas.ReservationBlockPhysicalTopology.properties.instances.items.$ref - schemas.ReservationBlockPhysicalTopology.properties.instances.type - schemas.ReservationBlockPhysicalTopologyInstance.description - schemas.ReservationBlockPhysicalTopologyInstance.id - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.format - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.type - schemas.ReservationBlockPhysicalTopologyInstance.properties.physicalHostTopology.$ref - schemas.ReservationBlockPhysicalTopologyInstance.properties.physicalHostTopology.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.format - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.type - schemas.ReservationBlockPhysicalTopologyInstance.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.id - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.host.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.host.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.subBlock.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.subBlock.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.type #### compute:v1 The following keys were added: - resources.reservationBlocks.methods.get.parameters.view.description - resources.reservationBlocks.methods.get.parameters.view.enum - resources.reservationBlocks.methods.get.parameters.view.enumDescriptions - resources.reservationBlocks.methods.get.parameters.view.location - resources.reservationBlocks.methods.get.parameters.view.type - schemas.ReservationBlockPhysicalTopology.properties.instances.description - schemas.ReservationBlockPhysicalTopology.properties.instances.items.$ref - schemas.ReservationBlockPhysicalTopology.properties.instances.type - schemas.ReservationBlockPhysicalTopologyInstance.description - schemas.ReservationBlockPhysicalTopologyInstance.id - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.format - schemas.ReservationBlockPhysicalTopologyInstance.properties.instanceId.type - schemas.ReservationBlockPhysicalTopologyInstance.properties.physicalHostTopology.$ref - schemas.ReservationBlockPhysicalTopologyInstance.properties.physicalHostTopology.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.description - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.format - schemas.ReservationBlockPhysicalTopologyInstance.properties.projectId.type - schemas.ReservationBlockPhysicalTopologyInstance.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.id - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.host.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.host.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.subBlock.description - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.properties.subBlock.type - schemas.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.type
1 parent 127445a commit 2e3c7c3

File tree

4 files changed

+198
-2
lines changed

4 files changed

+198
-2
lines changed

discovery/compute-alpha.json

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38442,6 +38442,21 @@
3844238442
"required": true,
3844338443
"type": "string"
3844438444
},
38445+
"view": {
38446+
"description": "View of the Block.",
38447+
"enum": [
38448+
"BASIC",
38449+
"BLOCK_VIEW_UNSPECIFIED",
38450+
"FULL"
38451+
],
38452+
"enumDescriptions": [
38453+
"This view includes basic information about the reservation block",
38454+
"The default / unset value. The API will default to the BASIC view.",
38455+
"Includes detailed topology view."
38456+
],
38457+
"location": "query",
38458+
"type": "string"
38459+
},
3844538460
"zone": {
3844638461
"description": "Name of the zone for this request. Zone name should conform to RFC1035.",
3844738462
"location": "path",
@@ -50429,7 +50444,7 @@
5042950444
}
5043050445
}
5043150446
},
50432-
"revision": "20250626",
50447+
"revision": "20250708",
5043350448
"rootUrl": "https://compute.googleapis.com/",
5043450449
"schemas": {
5043550450
"AWSV4Signature": {
@@ -94943,6 +94958,49 @@
9494394958
"cluster": {
9494494959
"description": "The cluster name of the reservation block.",
9494594960
"type": "string"
94961+
},
94962+
"instances": {
94963+
"description": "The detailed instances information for a given Block",
94964+
"items": {
94965+
"$ref": "ReservationBlockPhysicalTopologyInstance"
94966+
},
94967+
"type": "array"
94968+
}
94969+
},
94970+
"type": "object"
94971+
},
94972+
"ReservationBlockPhysicalTopologyInstance": {
94973+
"description": "The instances information for a given Block",
94974+
"id": "ReservationBlockPhysicalTopologyInstance",
94975+
"properties": {
94976+
"instanceId": {
94977+
"description": "The InstanceId of the instance",
94978+
"format": "uint64",
94979+
"type": "string"
94980+
},
94981+
"physicalHostTopology": {
94982+
"$ref": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
94983+
"description": "The PhysicalHostTopology of instances within a Block resource."
94984+
},
94985+
"projectId": {
94986+
"description": "Project where the instance lives",
94987+
"format": "uint64",
94988+
"type": "string"
94989+
}
94990+
},
94991+
"type": "object"
94992+
},
94993+
"ReservationBlockPhysicalTopologyInstancePhysicalHostTopology": {
94994+
"description": "The PhysicalHostTopology of the instance within a Block resource.",
94995+
"id": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
94996+
"properties": {
94997+
"host": {
94998+
"description": "Host hash for a given instance",
94999+
"type": "string"
95000+
},
95001+
"subBlock": {
95002+
"description": "Sub block hash for a given instance",
95003+
"type": "string"
9494695004
}
9494795005
},
9494895006
"type": "object"

discovery/compute-v1.json

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29837,6 +29837,21 @@
2983729837
"required": true,
2983829838
"type": "string"
2983929839
},
29840+
"view": {
29841+
"description": "View of the Block.",
29842+
"enum": [
29843+
"BASIC",
29844+
"BLOCK_VIEW_UNSPECIFIED",
29845+
"FULL"
29846+
],
29847+
"enumDescriptions": [
29848+
"This view includes basic information about the reservation block",
29849+
"The default / unset value. The API will default to the BASIC view.",
29850+
"Includes detailed topology view."
29851+
],
29852+
"location": "query",
29853+
"type": "string"
29854+
},
2984029855
"zone": {
2984129856
"description": "Name of the zone for this request. Zone name should conform to RFC1035.",
2984229857
"location": "path",
@@ -39935,7 +39950,7 @@
3993539950
}
3993639951
}
3993739952
},
39938-
"revision": "20250626",
39953+
"revision": "20250708",
3993939954
"rootUrl": "https://compute.googleapis.com/",
3994039955
"schemas": {
3994139956
"AWSV4Signature": {
@@ -73858,6 +73873,49 @@
7385873873
"cluster": {
7385973874
"description": "The cluster name of the reservation block.",
7386073875
"type": "string"
73876+
},
73877+
"instances": {
73878+
"description": "The detailed instances information for a given Block",
73879+
"items": {
73880+
"$ref": "ReservationBlockPhysicalTopologyInstance"
73881+
},
73882+
"type": "array"
73883+
}
73884+
},
73885+
"type": "object"
73886+
},
73887+
"ReservationBlockPhysicalTopologyInstance": {
73888+
"description": "The instances information for a given Block",
73889+
"id": "ReservationBlockPhysicalTopologyInstance",
73890+
"properties": {
73891+
"instanceId": {
73892+
"description": "The InstanceId of the instance",
73893+
"format": "uint64",
73894+
"type": "string"
73895+
},
73896+
"physicalHostTopology": {
73897+
"$ref": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
73898+
"description": "The PhysicalHostTopology of instances within a Block resource."
73899+
},
73900+
"projectId": {
73901+
"description": "Project where the instance lives",
73902+
"format": "uint64",
73903+
"type": "string"
73904+
}
73905+
},
73906+
"type": "object"
73907+
},
73908+
"ReservationBlockPhysicalTopologyInstancePhysicalHostTopology": {
73909+
"description": "The PhysicalHostTopology of the instance within a Block resource.",
73910+
"id": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
73911+
"properties": {
73912+
"host": {
73913+
"description": "Host hash for a given instance",
73914+
"type": "string"
73915+
},
73916+
"subBlock": {
73917+
"description": "Sub block hash for a given instance",
73918+
"type": "string"
7386173919
}
7386273920
},
7386373921
"type": "object"

src/apis/compute/alpha.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17941,6 +17941,40 @@ export namespace compute_alpha {
1794117941
* The cluster name of the reservation block.
1794217942
*/
1794317943
cluster?: string | null;
17944+
/**
17945+
* The detailed instances information for a given Block
17946+
*/
17947+
instances?: Schema$ReservationBlockPhysicalTopologyInstance[];
17948+
}
17949+
/**
17950+
* The instances information for a given Block
17951+
*/
17952+
export interface Schema$ReservationBlockPhysicalTopologyInstance {
17953+
/**
17954+
* The InstanceId of the instance
17955+
*/
17956+
instanceId?: string | null;
17957+
/**
17958+
* The PhysicalHostTopology of instances within a Block resource.
17959+
*/
17960+
physicalHostTopology?: Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology;
17961+
/**
17962+
* Project where the instance lives
17963+
*/
17964+
projectId?: string | null;
17965+
}
17966+
/**
17967+
* The PhysicalHostTopology of the instance within a Block resource.
17968+
*/
17969+
export interface Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology {
17970+
/**
17971+
* Host hash for a given instance
17972+
*/
17973+
host?: string | null;
17974+
/**
17975+
* Sub block hash for a given instance
17976+
*/
17977+
subBlock?: string | null;
1794417978
}
1794517979
export interface Schema$ReservationBlocksGetResponse {
1794617980
resource?: Schema$ReservationBlock;
@@ -183753,6 +183787,8 @@ export namespace compute_alpha {
183753183787
* reservation: 'placeholder-value',
183754183788
* // The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
183755183789
* reservationBlock: 'placeholder-value',
183790+
* // View of the Block.
183791+
* view: 'placeholder-value',
183756183792
* // Name of the zone for this request. Zone name should conform to RFC1035.
183757183793
* zone: 'placeholder-value',
183758183794
* });
@@ -184228,6 +184264,10 @@ export namespace compute_alpha {
184228184264
* The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
184229184265
*/
184230184266
reservationBlock?: string;
184267+
/**
184268+
* View of the Block.
184269+
*/
184270+
view?: string;
184231184271
/**
184232184272
* Name of the zone for this request. Zone name should conform to RFC1035.
184233184273
*/

src/apis/compute/v1.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13530,6 +13530,40 @@ export namespace compute_v1 {
1353013530
* The cluster name of the reservation block.
1353113531
*/
1353213532
cluster?: string | null;
13533+
/**
13534+
* The detailed instances information for a given Block
13535+
*/
13536+
instances?: Schema$ReservationBlockPhysicalTopologyInstance[];
13537+
}
13538+
/**
13539+
* The instances information for a given Block
13540+
*/
13541+
export interface Schema$ReservationBlockPhysicalTopologyInstance {
13542+
/**
13543+
* The InstanceId of the instance
13544+
*/
13545+
instanceId?: string | null;
13546+
/**
13547+
* The PhysicalHostTopology of instances within a Block resource.
13548+
*/
13549+
physicalHostTopology?: Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology;
13550+
/**
13551+
* Project where the instance lives
13552+
*/
13553+
projectId?: string | null;
13554+
}
13555+
/**
13556+
* The PhysicalHostTopology of the instance within a Block resource.
13557+
*/
13558+
export interface Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology {
13559+
/**
13560+
* Host hash for a given instance
13561+
*/
13562+
host?: string | null;
13563+
/**
13564+
* Sub block hash for a given instance
13565+
*/
13566+
subBlock?: string | null;
1353313567
}
1353413568
export interface Schema$ReservationBlocksGetResponse {
1353513569
resource?: Schema$ReservationBlock;
@@ -142092,6 +142126,8 @@ export namespace compute_v1 {
142092142126
* reservation: 'placeholder-value',
142093142127
* // The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
142094142128
* reservationBlock: 'placeholder-value',
142129+
* // View of the Block.
142130+
* view: 'placeholder-value',
142095142131
* // Name of the zone for this request. Zone name should conform to RFC1035.
142096142132
* zone: 'placeholder-value',
142097142133
* });
@@ -142566,6 +142602,10 @@ export namespace compute_v1 {
142566142602
* The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
142567142603
*/
142568142604
reservationBlock?: string;
142605+
/**
142606+
* View of the Block.
142607+
*/
142608+
view?: string;
142569142609
/**
142570142610
* Name of the zone for this request. Zone name should conform to RFC1035.
142571142611
*/

0 commit comments

Comments
 (0)