Skip to content

Commit 2c7e2cc

Browse files
yoshi-automationquirogas
authored andcommitted
feat(networkmanagement): update the API
#### networkmanagement:v1beta1 The following keys were added: - schemas.NatInfo.properties.cloudNatGatewayType.description - schemas.NatInfo.properties.cloudNatGatewayType.enum - schemas.NatInfo.properties.cloudNatGatewayType.enumDescriptions - schemas.NatInfo.properties.cloudNatGatewayType.type The following keys were changed: - resources.organizations.resources.locations.resources.global.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.global.resources.operations.methods.list.parameters.returnPartialSuccess.description - schemas.ListOperationsResponse.properties.unreachable.description #### networkmanagement:v1 The following keys were added: - schemas.NatInfo.properties.cloudNatGatewayType.description - schemas.NatInfo.properties.cloudNatGatewayType.enum - schemas.NatInfo.properties.cloudNatGatewayType.enumDescriptions - schemas.NatInfo.properties.cloudNatGatewayType.type The following keys were changed: - resources.organizations.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.global.resources.operations.methods.list.parameters.returnPartialSuccess.description - schemas.ListOperationsResponse.properties.unreachable.description
1 parent 35ab631 commit 2c7e2cc

File tree

4 files changed

+66
-18
lines changed

4 files changed

+66
-18
lines changed

discovery/networkmanagement-v1.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
"type": "string"
297297
},
298298
"returnPartialSuccess": {
299-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
299+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
300300
"location": "query",
301301
"type": "boolean"
302302
}
@@ -957,7 +957,7 @@
957957
"type": "string"
958958
},
959959
"returnPartialSuccess": {
960-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
960+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
961961
"location": "query",
962962
"type": "boolean"
963963
}
@@ -1233,7 +1233,7 @@
12331233
}
12341234
}
12351235
},
1236-
"revision": "20251105",
1236+
"revision": "20251203",
12371237
"rootUrl": "https://networkmanagement.googleapis.com/",
12381238
"schemas": {
12391239
"AbortInfo": {
@@ -2879,7 +2879,7 @@
28792879
"type": "array"
28802880
},
28812881
"unreachable": {
2882-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
2882+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
28832883
"items": {
28842884
"type": "string"
28852885
},
@@ -3115,6 +3115,26 @@
31153115
"description": "For display only. Metadata associated with NAT.",
31163116
"id": "NatInfo",
31173117
"properties": {
3118+
"cloudNatGatewayType": {
3119+
"description": "Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.",
3120+
"enum": [
3121+
"CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED",
3122+
"PUBLIC_NAT44",
3123+
"PUBLIC_NAT64",
3124+
"PRIVATE_NAT_NCC",
3125+
"PRIVATE_NAT_HYBRID",
3126+
"PRIVATE_NAT64"
3127+
],
3128+
"enumDescriptions": [
3129+
"Type is unspecified.",
3130+
"Public NAT gateway.",
3131+
"Public NAT64 gateway.",
3132+
"Private NAT gateway for NCC.",
3133+
"Private NAT gateway for hybrid connectivity.",
3134+
"Private NAT64 gateway."
3135+
],
3136+
"type": "string"
3137+
},
31183138
"natGatewayName": {
31193139
"description": "The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.",
31203140
"type": "string"

discovery/networkmanagement-v1beta1.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@
298298
"type": "string"
299299
},
300300
"returnPartialSuccess": {
301-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
301+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
302302
"location": "query",
303303
"type": "boolean"
304304
}
@@ -961,7 +961,7 @@
961961
"type": "string"
962962
},
963963
"returnPartialSuccess": {
964-
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
964+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `\"projects/example/locations/-\"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
965965
"location": "query",
966966
"type": "boolean"
967967
}
@@ -1237,7 +1237,7 @@
12371237
}
12381238
}
12391239
},
1240-
"revision": "20251105",
1240+
"revision": "20251203",
12411241
"rootUrl": "https://networkmanagement.googleapis.com/",
12421242
"schemas": {
12431243
"AbortInfo": {
@@ -2891,7 +2891,7 @@
28912891
"type": "array"
28922892
},
28932893
"unreachable": {
2894-
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
2894+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.",
28952895
"items": {
28962896
"type": "string"
28972897
},
@@ -3127,6 +3127,26 @@
31273127
"description": "For display only. Metadata associated with NAT.",
31283128
"id": "NatInfo",
31293129
"properties": {
3130+
"cloudNatGatewayType": {
3131+
"description": "Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.",
3132+
"enum": [
3133+
"CLOUD_NAT_GATEWAY_TYPE_UNSPECIFIED",
3134+
"PUBLIC_NAT44",
3135+
"PUBLIC_NAT64",
3136+
"PRIVATE_NAT_NCC",
3137+
"PRIVATE_NAT_HYBRID",
3138+
"PRIVATE_NAT64"
3139+
],
3140+
"enumDescriptions": [
3141+
"Type is unspecified.",
3142+
"Public NAT gateway.",
3143+
"Public NAT64 gateway.",
3144+
"Private NAT gateway for NCC.",
3145+
"Private NAT gateway for hybrid connectivity.",
3146+
"Private NAT64 gateway."
3147+
],
3148+
"type": "string"
3149+
},
31303150
"natGatewayName": {
31313151
"description": "The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.",
31323152
"type": "string"

src/apis/networkmanagement/v1.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ export namespace networkmanagement_v1 {
999999
*/
10001000
operations?: Schema$Operation[];
10011001
/**
1002-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1002+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
10031003
*/
10041004
unreachable?: string[] | null;
10051005
}
@@ -1144,6 +1144,10 @@ export namespace networkmanagement_v1 {
11441144
* For display only. Metadata associated with NAT.
11451145
*/
11461146
export interface Schema$NatInfo {
1147+
/**
1148+
* Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.
1149+
*/
1150+
cloudNatGatewayType?: string | null;
11471151
/**
11481152
* The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
11491153
*/
@@ -2846,7 +2850,7 @@ export namespace networkmanagement_v1 {
28462850
* pageSize: 'placeholder-value',
28472851
* // The standard list page token.
28482852
* pageToken: 'placeholder-value',
2849-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2853+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
28502854
* returnPartialSuccess: 'placeholder-value',
28512855
* });
28522856
* console.log(res.data);
@@ -2999,7 +3003,7 @@ export namespace networkmanagement_v1 {
29993003
*/
30003004
pageToken?: string;
30013005
/**
3002-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3006+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
30033007
*/
30043008
returnPartialSuccess?: boolean;
30053009
}
@@ -6177,7 +6181,7 @@ export namespace networkmanagement_v1 {
61776181
* pageSize: 'placeholder-value',
61786182
* // The standard list page token.
61796183
* pageToken: 'placeholder-value',
6180-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6184+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
61816185
* returnPartialSuccess: 'placeholder-value',
61826186
* },
61836187
* );
@@ -6332,7 +6336,7 @@ export namespace networkmanagement_v1 {
63326336
*/
63336337
pageToken?: string;
63346338
/**
6335-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6339+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
63366340
*/
63376341
returnPartialSuccess?: boolean;
63386342
}

src/apis/networkmanagement/v1beta1.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ export namespace networkmanagement_v1beta1 {
10071007
*/
10081008
operations?: Schema$Operation[];
10091009
/**
1010-
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1010+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
10111011
*/
10121012
unreachable?: string[] | null;
10131013
}
@@ -1152,6 +1152,10 @@ export namespace networkmanagement_v1beta1 {
11521152
* For display only. Metadata associated with NAT.
11531153
*/
11541154
export interface Schema$NatInfo {
1155+
/**
1156+
* Type of Cloud NAT gateway. Only valid when `type` is CLOUD_NAT.
1157+
*/
1158+
cloudNatGatewayType?: string | null;
11551159
/**
11561160
* The name of Cloud NAT Gateway. Only valid when type is CLOUD_NAT.
11571161
*/
@@ -2867,7 +2871,7 @@ export namespace networkmanagement_v1beta1 {
28672871
* pageSize: 'placeholder-value',
28682872
* // The standard list page token.
28692873
* pageToken: 'placeholder-value',
2870-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
2874+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
28712875
* returnPartialSuccess: 'placeholder-value',
28722876
* });
28732877
* console.log(res.data);
@@ -3021,7 +3025,7 @@ export namespace networkmanagement_v1beta1 {
30213025
*/
30223026
pageToken?: string;
30233027
/**
3024-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
3028+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
30253029
*/
30263030
returnPartialSuccess?: boolean;
30273031
}
@@ -6205,7 +6209,7 @@ export namespace networkmanagement_v1beta1 {
62056209
* pageSize: 'placeholder-value',
62066210
* // The standard list page token.
62076211
* pageToken: 'placeholder-value',
6208-
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6212+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
62096213
* returnPartialSuccess: 'placeholder-value',
62106214
* },
62116215
* );
@@ -6360,7 +6364,7 @@ export namespace networkmanagement_v1beta1 {
63606364
*/
63616365
pageToken?: string;
63626366
/**
6363-
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6367+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
63646368
*/
63656369
returnPartialSuccess?: boolean;
63666370
}

0 commit comments

Comments
 (0)