Skip to content

Commit c40d929

Browse files
feat(cloudfunctions): update the api
#### cloudfunctions:v2alpha The following keys were added: - schemas.DirectVpcNetworkInterface (Total Keys: 6) - schemas.ServiceConfig.properties.directVpcEgress.type (Total Keys: 1) - schemas.ServiceConfig.properties.directVpcNetworkInterface (Total Keys: 2) #### cloudfunctions:v2beta The following keys were added: - schemas.DirectVpcNetworkInterface (Total Keys: 6) - schemas.ServiceConfig.properties.directVpcEgress.type (Total Keys: 1) - schemas.ServiceConfig.properties.directVpcNetworkInterface (Total Keys: 2)
1 parent c0b2205 commit c40d929

10 files changed

+258
-12
lines changed

docs/dyn/cloudfunctions_v1.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ <h3>Method Details</h3>
100100

101101
Args:
102102
name: string, The resource that owns the locations collection, if applicable. (required)
103-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
103+
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
104104
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
105105
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
106106
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

docs/dyn/cloudfunctions_v2.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110

111111
Args:
112112
name: string, The resource that owns the locations collection, if applicable. (required)
113-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
113+
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
114114
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
115115
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
116116
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

docs/dyn/cloudfunctions_v2alpha.projects.locations.functions.html

Lines changed: 80 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2alpha.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110

111111
Args:
112112
name: string, The resource that owns the locations collection, if applicable. (required)
113-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
113+
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
114114
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
115115
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
116116
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

docs/dyn/cloudfunctions_v2beta.projects.locations.functions.html

Lines changed: 80 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/cloudfunctions_v2beta.projects.locations.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ <h3>Method Details</h3>
110110

111111
Args:
112112
name: string, The resource that owns the locations collection, if applicable. (required)
113-
extraLocationTypes: string, Optional. Unless explicitly documented otherwise, don&#x27;t use this unsupported field which is primarily intended for internal usage. (repeated)
113+
extraLocationTypes: string, Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. (repeated)
114114
filter: string, A filter to narrow down results to a preferred subset. The filtering language accepts strings like `&quot;displayName=tokyo&quot;`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
115115
pageSize: integer, The maximum number of results to return. If not set, the service selects a default.
116116
pageToken: string, A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

googleapiclient/discovery_cache/documents/cloudfunctions.v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
],
191191
"parameters": {
192192
"extraLocationTypes": {
193-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
193+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
194194
"location": "query",
195195
"repeated": true,
196196
"type": "string"
@@ -563,7 +563,7 @@
563563
}
564564
}
565565
},
566-
"revision": "20250929",
566+
"revision": "20251023",
567567
"rootUrl": "https://cloudfunctions.googleapis.com/",
568568
"schemas": {
569569
"AuditConfig": {

googleapiclient/discovery_cache/documents/cloudfunctions.v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"extraLocationTypes": {
122-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
122+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
123123
"location": "query",
124124
"repeated": true,
125125
"type": "string"
@@ -755,7 +755,7 @@
755755
}
756756
}
757757
},
758-
"revision": "20250929",
758+
"revision": "20251023",
759759
"rootUrl": "https://cloudfunctions.googleapis.com/",
760760
"schemas": {
761761
"AbortFunctionUpgradeRequest": {

googleapiclient/discovery_cache/documents/cloudfunctions.v2alpha.json

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"extraLocationTypes": {
122-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
122+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
123123
"location": "query",
124124
"repeated": true,
125125
"type": "string"
@@ -755,7 +755,7 @@
755755
}
756756
}
757757
},
758-
"revision": "20250929",
758+
"revision": "20251023",
759759
"rootUrl": "https://cloudfunctions.googleapis.com/",
760760
"schemas": {
761761
"AbortFunctionUpgradeRequest": {
@@ -947,6 +947,28 @@
947947
"properties": {},
948948
"type": "object"
949949
},
950+
"DirectVpcNetworkInterface": {
951+
"description": "The Direct VPC network interface. This is mutually exclusive with VPC Connector.",
952+
"id": "DirectVpcNetworkInterface",
953+
"properties": {
954+
"network": {
955+
"description": "Optional. The name of the VPC network to which the function will be connected. Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.",
956+
"type": "string"
957+
},
958+
"subnetwork": {
959+
"description": "Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from. Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.",
960+
"type": "string"
961+
},
962+
"tags": {
963+
"description": "Optional. Network tags applied to this Cloud Function resource.",
964+
"items": {
965+
"type": "string"
966+
},
967+
"type": "array"
968+
}
969+
},
970+
"type": "object"
971+
},
950972
"EventFilter": {
951973
"description": "Filters events based on exact matches on the CloudEvents attributes.",
952974
"id": "EventFilter",
@@ -1876,6 +1898,27 @@
18761898
"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.",
18771899
"type": "string"
18781900
},
1901+
"directVpcEgress": {
1902+
"description": "Optional. Egress settings for direct VPC. If not provided, it defaults to VPC_EGRESS_PRIVATE_RANGES_ONLY.",
1903+
"enum": [
1904+
"DIRECT_VPC_EGRESS_UNSPECIFIED",
1905+
"VPC_EGRESS_PRIVATE_RANGES_ONLY",
1906+
"VPC_EGRESS_ALL_TRAFFIC"
1907+
],
1908+
"enumDescriptions": [
1909+
"Unspecified.",
1910+
"Sends only traffic to internal addresses through the VPC network.",
1911+
"Sends all outbound traffic through the VPC network."
1912+
],
1913+
"type": "string"
1914+
},
1915+
"directVpcNetworkInterface": {
1916+
"description": "Optional. The Direct VPC network interface for the Cloud Function. Currently only a single Direct VPC is supported.",
1917+
"items": {
1918+
"$ref": "DirectVpcNetworkInterface"
1919+
},
1920+
"type": "array"
1921+
},
18791922
"environmentVariables": {
18801923
"additionalProperties": {
18811924
"type": "string"

googleapiclient/discovery_cache/documents/cloudfunctions.v2beta.json

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
],
120120
"parameters": {
121121
"extraLocationTypes": {
122-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
122+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
123123
"location": "query",
124124
"repeated": true,
125125
"type": "string"
@@ -755,7 +755,7 @@
755755
}
756756
}
757757
},
758-
"revision": "20250929",
758+
"revision": "20251023",
759759
"rootUrl": "https://cloudfunctions.googleapis.com/",
760760
"schemas": {
761761
"AbortFunctionUpgradeRequest": {
@@ -947,6 +947,28 @@
947947
"properties": {},
948948
"type": "object"
949949
},
950+
"DirectVpcNetworkInterface": {
951+
"description": "The Direct VPC network interface. This is mutually exclusive with VPC Connector.",
952+
"id": "DirectVpcNetworkInterface",
953+
"properties": {
954+
"network": {
955+
"description": "Optional. The name of the VPC network to which the function will be connected. Specify either a VPC network or a subnet, or both. If you specify only a network, the subnet uses the same name as the network.",
956+
"type": "string"
957+
},
958+
"subnetwork": {
959+
"description": "Optional. The name of the VPC subnetwork that the Cloud Function resource will get IPs from. Specify either a VPC network or a subnet, or both. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.",
960+
"type": "string"
961+
},
962+
"tags": {
963+
"description": "Optional. Network tags applied to this Cloud Function resource.",
964+
"items": {
965+
"type": "string"
966+
},
967+
"type": "array"
968+
}
969+
},
970+
"type": "object"
971+
},
950972
"EventFilter": {
951973
"description": "Filters events based on exact matches on the CloudEvents attributes.",
952974
"id": "EventFilter",
@@ -1876,6 +1898,27 @@
18761898
"description": "Optional. The binary authorization policy to be checked when deploying the Cloud Run service.",
18771899
"type": "string"
18781900
},
1901+
"directVpcEgress": {
1902+
"description": "Optional. Egress settings for direct VPC. If not provided, it defaults to VPC_EGRESS_PRIVATE_RANGES_ONLY.",
1903+
"enum": [
1904+
"DIRECT_VPC_EGRESS_UNSPECIFIED",
1905+
"VPC_EGRESS_PRIVATE_RANGES_ONLY",
1906+
"VPC_EGRESS_ALL_TRAFFIC"
1907+
],
1908+
"enumDescriptions": [
1909+
"Unspecified.",
1910+
"Sends only traffic to internal addresses through the VPC network.",
1911+
"Sends all outbound traffic through the VPC network."
1912+
],
1913+
"type": "string"
1914+
},
1915+
"directVpcNetworkInterface": {
1916+
"description": "Optional. The Direct VPC network interface for the Cloud Function. Currently only a single Direct VPC is supported.",
1917+
"items": {
1918+
"$ref": "DirectVpcNetworkInterface"
1919+
},
1920+
"type": "array"
1921+
},
18791922
"environmentVariables": {
18801923
"additionalProperties": {
18811924
"type": "string"

0 commit comments

Comments
 (0)