Skip to content

Commit f9f26f4

Browse files
yoshi-automationsofisl
authored andcommitted
feat(compute): update the API
#### compute:beta 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 193f4d8 commit f9f26f4

File tree

2 files changed

+99
-1
lines changed

2 files changed

+99
-1
lines changed

discovery/compute-beta.json

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34674,6 +34674,21 @@
3467434674
"required": true,
3467534675
"type": "string"
3467634676
},
34677+
"view": {
34678+
"description": "View of the Block.",
34679+
"enum": [
34680+
"BASIC",
34681+
"BLOCK_VIEW_UNSPECIFIED",
34682+
"FULL"
34683+
],
34684+
"enumDescriptions": [
34685+
"This view includes basic information about the reservation block",
34686+
"The default / unset value. The API will default to the BASIC view.",
34687+
"Includes detailed topology view."
34688+
],
34689+
"location": "query",
34690+
"type": "string"
34691+
},
3467734692
"zone": {
3467834693
"description": "Name of the zone for this request. Zone name should conform to RFC1035.",
3467934694
"location": "path",
@@ -45705,7 +45720,7 @@
4570545720
}
4570645721
}
4570745722
},
45708-
"revision": "20250626",
45723+
"revision": "20250708",
4570945724
"rootUrl": "https://compute.googleapis.com/",
4571045725
"schemas": {
4571145726
"AWSV4Signature": {
@@ -83281,6 +83296,49 @@
8328183296
"cluster": {
8328283297
"description": "The cluster name of the reservation block.",
8328383298
"type": "string"
83299+
},
83300+
"instances": {
83301+
"description": "The detailed instances information for a given Block",
83302+
"items": {
83303+
"$ref": "ReservationBlockPhysicalTopologyInstance"
83304+
},
83305+
"type": "array"
83306+
}
83307+
},
83308+
"type": "object"
83309+
},
83310+
"ReservationBlockPhysicalTopologyInstance": {
83311+
"description": "The instances information for a given Block",
83312+
"id": "ReservationBlockPhysicalTopologyInstance",
83313+
"properties": {
83314+
"instanceId": {
83315+
"description": "The InstanceId of the instance",
83316+
"format": "uint64",
83317+
"type": "string"
83318+
},
83319+
"physicalHostTopology": {
83320+
"$ref": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
83321+
"description": "The PhysicalHostTopology of instances within a Block resource."
83322+
},
83323+
"projectId": {
83324+
"description": "Project where the instance lives",
83325+
"format": "uint64",
83326+
"type": "string"
83327+
}
83328+
},
83329+
"type": "object"
83330+
},
83331+
"ReservationBlockPhysicalTopologyInstancePhysicalHostTopology": {
83332+
"description": "The PhysicalHostTopology of the instance within a Block resource.",
83333+
"id": "ReservationBlockPhysicalTopologyInstancePhysicalHostTopology",
83334+
"properties": {
83335+
"host": {
83336+
"description": "Host hash for a given instance",
83337+
"type": "string"
83338+
},
83339+
"subBlock": {
83340+
"description": "Sub block hash for a given instance",
83341+
"type": "string"
8328483342
}
8328583343
},
8328683344
"type": "object"

src/apis/compute/beta.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15150,6 +15150,40 @@ export namespace compute_beta {
1515015150
* The cluster name of the reservation block.
1515115151
*/
1515215152
cluster?: string | null;
15153+
/**
15154+
* The detailed instances information for a given Block
15155+
*/
15156+
instances?: Schema$ReservationBlockPhysicalTopologyInstance[];
15157+
}
15158+
/**
15159+
* The instances information for a given Block
15160+
*/
15161+
export interface Schema$ReservationBlockPhysicalTopologyInstance {
15162+
/**
15163+
* The InstanceId of the instance
15164+
*/
15165+
instanceId?: string | null;
15166+
/**
15167+
* The PhysicalHostTopology of instances within a Block resource.
15168+
*/
15169+
physicalHostTopology?: Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology;
15170+
/**
15171+
* Project where the instance lives
15172+
*/
15173+
projectId?: string | null;
15174+
}
15175+
/**
15176+
* The PhysicalHostTopology of the instance within a Block resource.
15177+
*/
15178+
export interface Schema$ReservationBlockPhysicalTopologyInstancePhysicalHostTopology {
15179+
/**
15180+
* Host hash for a given instance
15181+
*/
15182+
host?: string | null;
15183+
/**
15184+
* Sub block hash for a given instance
15185+
*/
15186+
subBlock?: string | null;
1515315187
}
1515415188
export interface Schema$ReservationBlocksGetResponse {
1515515189
resource?: Schema$ReservationBlock;
@@ -164895,6 +164929,8 @@ export namespace compute_beta {
164895164929
* reservation: 'placeholder-value',
164896164930
* // The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
164897164931
* reservationBlock: 'placeholder-value',
164932+
* // View of the Block.
164933+
* view: 'placeholder-value',
164898164934
* // Name of the zone for this request. Zone name should conform to RFC1035.
164899164935
* zone: 'placeholder-value',
164900164936
* });
@@ -165369,6 +165405,10 @@ export namespace compute_beta {
165369165405
* The name of the reservation block. Name should conform to RFC1035 or be a resource ID.
165370165406
*/
165371165407
reservationBlock?: string;
165408+
/**
165409+
* View of the Block.
165410+
*/
165411+
view?: string;
165372165412
/**
165373165413
* Name of the zone for this request. Zone name should conform to RFC1035.
165374165414
*/

0 commit comments

Comments
 (0)