Skip to content

Commit

Permalink
feat(vpcaccess): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Oct 10, 2024
1 parent fd0c642 commit 460b5b6
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 22 deletions.
14 changes: 8 additions & 6 deletions discovery/vpcaccess-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
}
}
},
"revision": "20231214",
"revision": "20240905",
"rootUrl": "https://vpcaccess.googleapis.com/",
"schemas": {
"Connector": {
Expand All @@ -400,7 +400,7 @@
"type": "array"
},
"ipCidrRange": {
"description": "The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
"description": "Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
"type": "string"
},
"machineType": {
Expand All @@ -413,6 +413,7 @@
"type": "integer"
},
"maxThroughput": {
"deprecated": true,
"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`.",
"format": "int32",
"type": "integer"
Expand All @@ -423,6 +424,7 @@
"type": "integer"
},
"minThroughput": {
"deprecated": true,
"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`.",
"format": "int32",
"type": "integer"
Expand All @@ -432,7 +434,7 @@
"type": "string"
},
"network": {
"description": "Name of a VPC network.",
"description": "Optional. Name of a VPC network.",
"type": "string"
},
"state": {
Expand All @@ -458,7 +460,7 @@
},
"subnet": {
"$ref": "Subnet",
"description": "The subnet in which to house the VPC Access Connector."
"description": "Optional. The subnet in which to house the VPC Access Connector."
}
},
"type": "object"
Expand Down Expand Up @@ -705,11 +707,11 @@
"id": "Subnet",
"properties": {
"name": {
"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}",
"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}",
"type": "string"
},
"projectId": {
"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.",
"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.",
"type": "string"
}
},
Expand Down
14 changes: 8 additions & 6 deletions discovery/vpcaccess-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@
}
}
},
"revision": "20231214",
"revision": "20240905",
"rootUrl": "https://vpcaccess.googleapis.com/",
"schemas": {
"Connector": {
Expand All @@ -406,7 +406,7 @@
"type": "string"
},
"ipCidrRange": {
"description": "The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
"description": "Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.",
"type": "string"
},
"lastRestartTime": {
Expand All @@ -425,6 +425,7 @@
"type": "integer"
},
"maxThroughput": {
"deprecated": true,
"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`.",
"format": "int32",
"type": "integer"
Expand All @@ -435,6 +436,7 @@
"type": "integer"
},
"minThroughput": {
"deprecated": true,
"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`.",
"format": "int32",
"type": "integer"
Expand All @@ -444,7 +446,7 @@
"type": "string"
},
"network": {
"description": "Name of a VPC network.",
"description": "Optional. Name of a VPC network.",
"type": "string"
},
"state": {
Expand All @@ -470,7 +472,7 @@
},
"subnet": {
"$ref": "Subnet",
"description": "The subnet in which to house the VPC Access Connector."
"description": "Optional. The subnet in which to house the VPC Access Connector."
}
},
"type": "object"
Expand Down Expand Up @@ -717,11 +719,11 @@
"id": "Subnet",
"properties": {
"name": {
"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}",
"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}",
"type": "string"
},
"projectId": {
"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.",
"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.",
"type": "string"
}
},
Expand Down
10 changes: 5 additions & 5 deletions src/apis/vpcaccess/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export namespace vpcaccess_v1 {
*/
connectedProjects?: string[] | null;
/**
* The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
* Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
*/
ipCidrRange?: string | null;
/**
Expand Down Expand Up @@ -161,15 +161,15 @@ export namespace vpcaccess_v1 {
*/
name?: string | null;
/**
* Name of a VPC network.
* Optional. Name of a VPC network.
*/
network?: string | null;
/**
* Output only. State of the VPC access connector.
*/
state?: string | null;
/**
* The subnet in which to house the VPC Access Connector.
* Optional. The subnet in which to house the VPC Access Connector.
*/
subnet?: Schema$Subnet;
}
Expand Down Expand Up @@ -347,11 +347,11 @@ export namespace vpcaccess_v1 {
*/
export interface Schema$Subnet {
/**
* 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\}
* 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\}
*/
name?: string | null;
/**
* 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.
* 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.
*/
projectId?: string | null;
}
Expand Down
10 changes: 5 additions & 5 deletions src/apis/vpcaccess/v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export namespace vpcaccess_v1beta1 {
*/
createTime?: string | null;
/**
* The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
* Optional. The range of internal addresses that follows RFC 4632 notation. Example: `10.132.0.0/28`.
*/
ipCidrRange?: string | null;
/**
Expand Down Expand Up @@ -169,15 +169,15 @@ export namespace vpcaccess_v1beta1 {
*/
name?: string | null;
/**
* Name of a VPC network.
* Optional. Name of a VPC network.
*/
network?: string | null;
/**
* Output only. State of the VPC access connector.
*/
state?: string | null;
/**
* The subnet in which to house the VPC Access Connector.
* Optional. The subnet in which to house the VPC Access Connector.
*/
subnet?: Schema$Subnet;
}
Expand Down Expand Up @@ -355,11 +355,11 @@ export namespace vpcaccess_v1beta1 {
*/
export interface Schema$Subnet {
/**
* 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\}
* 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\}
*/
name?: string | null;
/**
* 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.
* 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.
*/
projectId?: string | null;
}
Expand Down

0 comments on commit 460b5b6

Please sign in to comment.