Skip to content

Commit 07afb29

Browse files
yoshi-automationsofisl
authored andcommitted
feat(compute)!: update the API
BREAKING CHANGE: This release has breaking changes. #### compute:beta The following keys were deleted: - schemas.FutureReservation.properties.specificReservationRequired.description - schemas.FutureReservation.properties.specificReservationRequired.type #### compute:v1 The following keys were deleted: - schemas.FutureReservation.properties.specificReservationRequired.description - schemas.FutureReservation.properties.specificReservationRequired.type - schemas.FutureReservationStatusExistingMatchingUsageInfo.properties.timestamp.format The following keys were added: - schemas.MachineType.properties.architecture.description - schemas.MachineType.properties.architecture.enum - schemas.MachineType.properties.architecture.enumDescriptions - schemas.MachineType.properties.architecture.type The following keys were changed: - schemas.VpnTunnel.properties.localTrafficSelector.description - schemas.VpnTunnel.properties.peerIp.description - schemas.VpnTunnel.properties.remoteTrafficSelector.description - schemas.VpnTunnel.properties.targetVpnGateway.description
1 parent e6d9ca4 commit 07afb29

File tree

4 files changed

+28
-27
lines changed

4 files changed

+28
-27
lines changed

discovery/compute-beta.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41911,7 +41911,7 @@
4191141911
}
4191241912
}
4191341913
},
41914-
"revision": "20240805",
41914+
"revision": "20240813",
4191541915
"rootUrl": "https://compute.googleapis.com/",
4191641916
"schemas": {
4191741917
"AWSV4Signature": {
@@ -51530,10 +51530,6 @@
5153051530
"$ref": "ShareSettings",
5153151531
"description": "List of Projects/Folders to share with."
5153251532
},
51533-
"specificReservationRequired": {
51534-
"description": "Indicates whether the auto-created reservation can be consumed by VMs with affinity for \"any\" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation. If set to true,the delivered resevervation will have the same name as the future reservation.",
51535-
"type": "boolean"
51536-
},
5153751533
"specificSkuProperties": {
5153851534
"$ref": "FutureReservationSpecificSKUProperties",
5153951535
"description": "Future Reservation configuration to indicate instance properties and total count."

discovery/compute-v1.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37779,7 +37779,7 @@
3777937779
}
3778037780
}
3778137781
},
37782-
"revision": "20240730",
37782+
"revision": "20240813",
3778337783
"rootUrl": "https://compute.googleapis.com/",
3778437784
"schemas": {
3778537785
"AWSV4Signature": {
@@ -47048,10 +47048,6 @@
4704847048
"$ref": "ShareSettings",
4704947049
"description": "List of Projects/Folders to share with."
4705047050
},
47051-
"specificReservationRequired": {
47052-
"description": "Indicates whether the auto-created reservation can be consumed by VMs with affinity for \"any\" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation. If set to true,the delivered resevervation will have the same name as the future reservation.",
47053-
"type": "boolean"
47054-
},
4705547051
"specificSkuProperties": {
4705647052
"$ref": "FutureReservationSpecificSKUProperties",
4705747053
"description": "Future Reservation configuration to indicate instance properties and total count."
@@ -47185,7 +47181,6 @@
4718547181
},
4718647182
"timestamp": {
4718747183
"description": "Timestamp when the matching usage was calculated",
47188-
"format": "google-datetime",
4718947184
"type": "string"
4719047185
}
4719147186
},
@@ -58195,6 +58190,20 @@
5819558190
},
5819658191
"type": "array"
5819758192
},
58193+
"architecture": {
58194+
"description": "[Output Only] The architecture of the machine type.",
58195+
"enum": [
58196+
"ARCHITECTURE_UNSPECIFIED",
58197+
"ARM64",
58198+
"X86_64"
58199+
],
58200+
"enumDescriptions": [
58201+
"Default value indicating Architecture is not set.",
58202+
"Machines with architecture ARM64",
58203+
"Machines with architecture X86_64"
58204+
],
58205+
"type": "string"
58206+
},
5819858207
"creationTimestamp": {
5819958208
"description": "[Output Only] Creation timestamp in RFC3339 text format.",
5820058209
"type": "string"
@@ -84498,7 +84507,7 @@
8449884507
"type": "object"
8449984508
},
8450084509
"localTrafficSelector": {
84501-
"description": "Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.",
84510+
"description": "Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels.",
8450284511
"items": {
8450384512
"type": "string"
8450484513
},
@@ -84528,15 +84537,15 @@
8452884537
"type": "string"
8452984538
},
8453084539
"peerIp": {
84531-
"description": "IP address of the peer VPN gateway. Only IPv4 is supported.",
84540+
"description": "IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels.",
8453284541
"type": "string"
8453384542
},
8453484543
"region": {
8453584544
"description": "[Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.",
8453684545
"type": "string"
8453784546
},
8453884547
"remoteTrafficSelector": {
84539-
"description": "Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.",
84548+
"description": "Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels.",
8454084549
"items": {
8454184550
"type": "string"
8454284551
},
@@ -84593,7 +84602,7 @@
8459384602
"type": "string"
8459484603
},
8459584604
"targetVpnGateway": {
84596-
"description": "URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.",
84605+
"description": "URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.",
8459784606
"type": "string"
8459884607
},
8459984608
"vpnGateway": {

src/apis/compute/beta.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4415,10 +4415,6 @@ export namespace compute_beta {
44154415
* List of Projects/Folders to share with.
44164416
*/
44174417
shareSettings?: Schema$ShareSettings;
4418-
/**
4419-
* Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation. If set to true,the delivered resevervation will have the same name as the future reservation.
4420-
*/
4421-
specificReservationRequired?: boolean | null;
44224418
/**
44234419
* Future Reservation configuration to indicate instance properties and total count.
44244420
*/

src/apis/compute/v1.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4216,10 +4216,6 @@ export namespace compute_v1 {
42164216
* List of Projects/Folders to share with.
42174217
*/
42184218
shareSettings?: Schema$ShareSettings;
4219-
/**
4220-
* Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation. If set to true,the delivered resevervation will have the same name as the future reservation.
4221-
*/
4222-
specificReservationRequired?: boolean | null;
42234219
/**
42244220
* Future Reservation configuration to indicate instance properties and total count.
42254221
*/
@@ -8805,6 +8801,10 @@ export namespace compute_v1 {
88058801
guestAcceleratorCount?: number;
88068802
guestAcceleratorType?: string;
88078803
}> | null;
8804+
/**
8805+
* [Output Only] The architecture of the machine type.
8806+
*/
8807+
architecture?: string | null;
88088808
/**
88098809
* [Output Only] Creation timestamp in RFC3339 text format.
88108810
*/
@@ -18056,7 +18056,7 @@ export namespace compute_v1 {
1805618056
*/
1805718057
labels?: {[key: string]: string} | null;
1805818058
/**
18059-
* Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported.
18059+
* Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels.
1806018060
*/
1806118061
localTrafficSelector?: string[] | null;
1806218062
/**
@@ -18076,15 +18076,15 @@ export namespace compute_v1 {
1807618076
*/
1807718077
peerGcpGateway?: string | null;
1807818078
/**
18079-
* IP address of the peer VPN gateway. Only IPv4 is supported.
18079+
* IP address of the peer VPN gateway. Only IPv4 is supported. This field can be set only for Classic VPN tunnels.
1808018080
*/
1808118081
peerIp?: string | null;
1808218082
/**
1808318083
* [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
1808418084
*/
1808518085
region?: string | null;
1808618086
/**
18087-
* Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported.
18087+
* Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported for Classic VPN tunnels. This field is output only for HA VPN tunnels.
1808818088
*/
1808918089
remoteTrafficSelector?: string[] | null;
1809018090
/**
@@ -18108,7 +18108,7 @@ export namespace compute_v1 {
1810818108
*/
1810918109
status?: string | null;
1811018110
/**
18111-
* URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created.
18111+
* URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This field can be set only for Classic VPN tunnels.
1811218112
*/
1811318113
targetVpnGateway?: string | null;
1811418114
/**

0 commit comments

Comments
 (0)