Skip to content

Commit 460b5b6

Browse files
yoshi-automationsofisl
authored andcommitted
feat(vpcaccess): update the API
#### vpcaccess:v1beta1 The following keys were added: - schemas.Connector.properties.maxThroughput.deprecated - schemas.Connector.properties.minThroughput.deprecated The following keys were changed: - schemas.Connector.properties.ipCidrRange.description - schemas.Connector.properties.network.description - schemas.Connector.properties.subnet.description - schemas.Subnet.properties.name.description - schemas.Subnet.properties.projectId.description #### vpcaccess:v1 The following keys were added: - schemas.Connector.properties.maxThroughput.deprecated - schemas.Connector.properties.minThroughput.deprecated The following keys were changed: - schemas.Connector.properties.ipCidrRange.description - schemas.Connector.properties.network.description - schemas.Connector.properties.subnet.description - schemas.Subnet.properties.name.description - schemas.Subnet.properties.projectId.description
1 parent fd0c642 commit 460b5b6

File tree

4 files changed

+26
-22
lines changed

4 files changed

+26
-22
lines changed

discovery/vpcaccess-v1.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
}
385385
}
386386
},
387-
"revision": "20231214",
387+
"revision": "20240905",
388388
"rootUrl": "https://vpcaccess.googleapis.com/",
389389
"schemas": {
390390
"Connector": {
@@ -400,7 +400,7 @@
400400
"type": "array"
401401
},
402402
"ipCidrRange": {
403-
"description": "The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
403+
"description": "Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
404404
"type": "string"
405405
},
406406
"machineType": {
@@ -413,6 +413,7 @@
413413
"type": "integer"
414414
},
415415
"maxThroughput": {
416+
"deprecated": true,
416417
"description": "Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.",
417418
"format": "int32",
418419
"type": "integer"
@@ -423,6 +424,7 @@
423424
"type": "integer"
424425
},
425426
"minThroughput": {
427+
"deprecated": true,
426428
"description": "Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.",
427429
"format": "int32",
428430
"type": "integer"
@@ -432,7 +434,7 @@
432434
"type": "string"
433435
},
434436
"network": {
435-
"description": "Name of a VPC network.",
437+
"description": "Optional. Name of a VPC network.",
436438
"type": "string"
437439
},
438440
"state": {
@@ -458,7 +460,7 @@
458460
},
459461
"subnet": {
460462
"$ref": "Subnet",
461-
"description": "The subnet in which to house the VPC Access Connector."
463+
"description": "Optional. The subnet in which to house the VPC Access Connector."
462464
}
463465
},
464466
"type": "object"
@@ -705,11 +707,11 @@
705707
"id": "Subnet",
706708
"properties": {
707709
"name": {
708-
"description": "Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}",
710+
"description": "Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}",
709711
"type": "string"
710712
},
711713
"projectId": {
712-
"description": "Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.",
714+
"description": "Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.",
713715
"type": "string"
714716
}
715717
},

discovery/vpcaccess-v1beta1.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
}
385385
}
386386
},
387-
"revision": "20231214",
387+
"revision": "20240905",
388388
"rootUrl": "https://vpcaccess.googleapis.com/",
389389
"schemas": {
390390
"Connector": {
@@ -406,7 +406,7 @@
406406
"type": "string"
407407
},
408408
"ipCidrRange": {
409-
"description": "The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
409+
"description": "Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
410410
"type": "string"
411411
},
412412
"lastRestartTime": {
@@ -425,6 +425,7 @@
425425
"type": "integer"
426426
},
427427
"maxThroughput": {
428+
"deprecated": true,
428429
"description": "Maximum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput. If both max-throughput and max-instances are provided, max-instances takes precedence over max-throughput. The use of `max-throughput` is discouraged in favor of `max-instances`.",
429430
"format": "int32",
430431
"type": "integer"
@@ -435,6 +436,7 @@
435436
"type": "integer"
436437
},
437438
"minThroughput": {
439+
"deprecated": true,
438440
"description": "Minimum throughput of the connector in Mbps. Refers to the expected throughput when using an `e2-micro` machine type. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput. If both min-throughput and min-instances are provided, min-instances takes precedence over min-throughput. The use of `min-throughput` is discouraged in favor of `min-instances`.",
439441
"format": "int32",
440442
"type": "integer"
@@ -444,7 +446,7 @@
444446
"type": "string"
445447
},
446448
"network": {
447-
"description": "Name of a VPC network.",
449+
"description": "Optional. Name of a VPC network.",
448450
"type": "string"
449451
},
450452
"state": {
@@ -470,7 +472,7 @@
470472
},
471473
"subnet": {
472474
"$ref": "Subnet",
473-
"description": "The subnet in which to house the VPC Access Connector."
475+
"description": "Optional. The subnet in which to house the VPC Access Connector."
474476
}
475477
},
476478
"type": "object"
@@ -717,11 +719,11 @@
717719
"id": "Subnet",
718720
"properties": {
719721
"name": {
720-
"description": "Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}",
722+
"description": "Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName} the correct input for this field would be {subnetName}",
721723
"type": "string"
722724
},
723725
"projectId": {
724-
"description": "Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.",
726+
"description": "Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.",
725727
"type": "string"
726728
}
727729
},

src/apis/vpcaccess/v1.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export namespace vpcaccess_v1 {
133133
*/
134134
connectedProjects?: string[] | null;
135135
/**
136-
* The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
136+
* Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
137137
*/
138138
ipCidrRange?: string | null;
139139
/**
@@ -161,15 +161,15 @@ export namespace vpcaccess_v1 {
161161
*/
162162
name?: string | null;
163163
/**
164-
* Name of a VPC network.
164+
* Optional. Name of a VPC network.
165165
*/
166166
network?: string | null;
167167
/**
168168
* Output only. State of the VPC access connector.
169169
*/
170170
state?: string | null;
171171
/**
172-
* The subnet in which to house the VPC Access Connector.
172+
* Optional. The subnet in which to house the VPC Access Connector.
173173
*/
174174
subnet?: Schema$Subnet;
175175
}
@@ -347,11 +347,11 @@ export namespace vpcaccess_v1 {
347347
*/
348348
export interface Schema$Subnet {
349349
/**
350-
* Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/subnetworks/{subnetName\} the correct input for this field would be {subnetName\}
350+
* Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/subnetworks/{subnetName\} the correct input for this field would be {subnetName\}
351351
*/
352352
name?: string | null;
353353
/**
354-
* Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
354+
* Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
355355
*/
356356
projectId?: string | null;
357357
}

src/apis/vpcaccess/v1beta1.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export namespace vpcaccess_v1beta1 {
137137
*/
138138
createTime?: string | null;
139139
/**
140-
* The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
140+
* Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
141141
*/
142142
ipCidrRange?: string | null;
143143
/**
@@ -169,15 +169,15 @@ export namespace vpcaccess_v1beta1 {
169169
*/
170170
name?: string | null;
171171
/**
172-
* Name of a VPC network.
172+
* Optional. Name of a VPC network.
173173
*/
174174
network?: string | null;
175175
/**
176176
* Output only. State of the VPC access connector.
177177
*/
178178
state?: string | null;
179179
/**
180-
* The subnet in which to house the VPC Access Connector.
180+
* Optional. The subnet in which to house the VPC Access Connector.
181181
*/
182182
subnet?: Schema$Subnet;
183183
}
@@ -355,11 +355,11 @@ export namespace vpcaccess_v1beta1 {
355355
*/
356356
export interface Schema$Subnet {
357357
/**
358-
* Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/subnetworks/{subnetName\} the correct input for this field would be {subnetName\}
358+
* Optional. Subnet name (relative, not fully qualified). E.g. if the full subnet selfLink is https://compute.googleapis.com/compute/v1/projects/{project\}/regions/{region\}/subnetworks/{subnetName\} the correct input for this field would be {subnetName\}
359359
*/
360360
name?: string | null;
361361
/**
362-
* Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
362+
* Optional. Project in which the subnet exists. If not set, this project is assumed to be the project for which the connector create request was issued.
363363
*/
364364
projectId?: string | null;
365365
}

0 commit comments

Comments
 (0)