Skip to content

Commit 83b879c

Browse files
yoshi-automationsofisl
authored andcommitted
feat(networkmanagement): update the API
#### networkmanagement:v1beta1 The following keys were added: - schemas.RedisInstanceInfo.description - schemas.RedisInstanceInfo.id - schemas.RedisInstanceInfo.properties.displayName.description - schemas.RedisInstanceInfo.properties.displayName.type - schemas.RedisInstanceInfo.properties.networkUri.description - schemas.RedisInstanceInfo.properties.networkUri.type - schemas.RedisInstanceInfo.properties.primaryEndpointIp.description - schemas.RedisInstanceInfo.properties.primaryEndpointIp.type - schemas.RedisInstanceInfo.properties.readEndpointIp.description - schemas.RedisInstanceInfo.properties.readEndpointIp.type - schemas.RedisInstanceInfo.properties.region.description - schemas.RedisInstanceInfo.properties.region.type - schemas.RedisInstanceInfo.properties.uri.description - schemas.RedisInstanceInfo.properties.uri.type - schemas.RedisInstanceInfo.type - schemas.Step.properties.redisInstance.$ref - schemas.Step.properties.redisInstance.description The following keys were changed: - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions - schemas.Step.properties.state.enum - schemas.Step.properties.state.enumDeprecated - schemas.Step.properties.state.enumDescriptions #### networkmanagement:v1 The following keys were added: - schemas.RedisInstanceInfo.description - schemas.RedisInstanceInfo.id - schemas.RedisInstanceInfo.properties.displayName.description - schemas.RedisInstanceInfo.properties.displayName.type - schemas.RedisInstanceInfo.properties.networkUri.description - schemas.RedisInstanceInfo.properties.networkUri.type - schemas.RedisInstanceInfo.properties.primaryEndpointIp.description - schemas.RedisInstanceInfo.properties.primaryEndpointIp.type - schemas.RedisInstanceInfo.properties.readEndpointIp.description - schemas.RedisInstanceInfo.properties.readEndpointIp.type - schemas.RedisInstanceInfo.properties.region.description - schemas.RedisInstanceInfo.properties.region.type - schemas.RedisInstanceInfo.properties.uri.description - schemas.RedisInstanceInfo.properties.uri.type - schemas.RedisInstanceInfo.type - schemas.Step.properties.redisInstance.$ref - schemas.Step.properties.redisInstance.description The following keys were changed: - schemas.DropInfo.properties.cause.enum - schemas.DropInfo.properties.cause.enumDescriptions - schemas.Step.properties.state.enum - schemas.Step.properties.state.enumDeprecated - schemas.Step.properties.state.enumDescriptions
1 parent c7351aa commit 83b879c

File tree

4 files changed

+148
-2
lines changed

4 files changed

+148
-2
lines changed

discovery/networkmanagement-v1.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@
591591
}
592592
}
593593
},
594-
"revision": "20240807",
594+
"revision": "20240821",
595595
"rootUrl": "https://networkmanagement.googleapis.com/",
596596
"schemas": {
597597
"AbortInfo": {
@@ -1105,6 +1105,7 @@
11051105
"INSTANCE_NOT_RUNNING",
11061106
"GKE_CLUSTER_NOT_RUNNING",
11071107
"CLOUD_SQL_INSTANCE_NOT_RUNNING",
1108+
"REDIS_INSTANCE_NOT_RUNNING",
11081109
"TRAFFIC_TYPE_BLOCKED",
11091110
"GKE_MASTER_UNAUTHORIZED_ACCESS",
11101111
"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS",
@@ -1175,6 +1176,7 @@
11751176
"Packet is sent from or to a Compute Engine instance that is not in a running state.",
11761177
"Packet sent from or to a GKE cluster that is not in running state.",
11771178
"Packet sent from or to a Cloud SQL instance that is not in running state.",
1179+
"Packet sent from or to a Redis Instance that is not in running state.",
11781180
"The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.",
11791181
"Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.",
11801182
"Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.",
@@ -2383,6 +2385,37 @@
23832385
},
23842386
"type": "object"
23852387
},
2388+
"RedisInstanceInfo": {
2389+
"description": "For display only. Metadata associated with a Cloud Redis Instance.",
2390+
"id": "RedisInstanceInfo",
2391+
"properties": {
2392+
"displayName": {
2393+
"description": "Name of a Cloud Redis Instance.",
2394+
"type": "string"
2395+
},
2396+
"networkUri": {
2397+
"description": "URI of a Cloud Redis Instance network.",
2398+
"type": "string"
2399+
},
2400+
"primaryEndpointIp": {
2401+
"description": "Primary endpoint IP address of a Cloud Redis Instance.",
2402+
"type": "string"
2403+
},
2404+
"readEndpointIp": {
2405+
"description": "Read endpoint IP address of a Cloud Redis Instance (if applicable).",
2406+
"type": "string"
2407+
},
2408+
"region": {
2409+
"description": "Region in which the Cloud Redis Instance is defined.",
2410+
"type": "string"
2411+
},
2412+
"uri": {
2413+
"description": "URI of a Cloud Redis Instance.",
2414+
"type": "string"
2415+
}
2416+
},
2417+
"type": "object"
2418+
},
23862419
"RerunConnectivityTestRequest": {
23872420
"description": "Request for the `RerunConnectivityTest` method.",
23882421
"id": "RerunConnectivityTestRequest",
@@ -2680,6 +2713,10 @@
26802713
"$ref": "ProxyConnectionInfo",
26812714
"description": "Display information of a ProxyConnection."
26822715
},
2716+
"redisInstance": {
2717+
"$ref": "RedisInstanceInfo",
2718+
"description": "Display information of a Redis Instance."
2719+
},
26832720
"route": {
26842721
"$ref": "RouteInfo",
26852722
"description": "Display information of a Compute Engine route."
@@ -2698,6 +2735,7 @@
26982735
"START_FROM_PRIVATE_NETWORK",
26992736
"START_FROM_GKE_MASTER",
27002737
"START_FROM_CLOUD_SQL_INSTANCE",
2738+
"START_FROM_REDIS_INSTANCE",
27012739
"START_FROM_CLOUD_FUNCTION",
27022740
"START_FROM_APP_ENGINE_VERSION",
27032741
"START_FROM_CLOUD_RUN_REVISION",
@@ -2745,6 +2783,7 @@
27452783
false,
27462784
false,
27472785
false,
2786+
false,
27482787
true,
27492788
true,
27502789
false,
@@ -2766,6 +2805,7 @@
27662805
"Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.",
27672806
"Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.",
27682807
"Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.",
2808+
"Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.",
27692809
"Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.",
27702810
"Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.",
27712811
"Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.",

discovery/networkmanagement-v1beta1.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
}
759759
}
760760
},
761-
"revision": "20240812",
761+
"revision": "20240821",
762762
"rootUrl": "https://networkmanagement.googleapis.com/",
763763
"schemas": {
764764
"AbortInfo": {
@@ -1277,6 +1277,7 @@
12771277
"INSTANCE_NOT_RUNNING",
12781278
"GKE_CLUSTER_NOT_RUNNING",
12791279
"CLOUD_SQL_INSTANCE_NOT_RUNNING",
1280+
"REDIS_INSTANCE_NOT_RUNNING",
12801281
"TRAFFIC_TYPE_BLOCKED",
12811282
"GKE_MASTER_UNAUTHORIZED_ACCESS",
12821283
"CLOUD_SQL_INSTANCE_UNAUTHORIZED_ACCESS",
@@ -1347,6 +1348,7 @@
13471348
"Packet is sent from or to a Compute Engine instance that is not in a running state.",
13481349
"Packet sent from or to a GKE cluster that is not in running state.",
13491350
"Packet sent from or to a Cloud SQL instance that is not in running state.",
1351+
"Packet sent from or to a Redis Instance that is not in running state.",
13501352
"The type of traffic is blocked and the user cannot configure a firewall rule to enable it. See [Always blocked traffic](https://cloud.google.com/vpc/docs/firewalls#blockedtraffic) for more details.",
13511353
"Access to Google Kubernetes Engine cluster master's endpoint is not authorized. See [Access to the cluster endpoints](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#access_to_the_cluster_endpoints) for more details.",
13521354
"Access to the Cloud SQL instance endpoint is not authorized. See [Authorizing with authorized networks](https://cloud.google.com/sql/docs/mysql/authorize-networks) for more details.",
@@ -2588,6 +2590,37 @@
25882590
},
25892591
"type": "object"
25902592
},
2593+
"RedisInstanceInfo": {
2594+
"description": "For display only. Metadata associated with a Cloud Redis Instance.",
2595+
"id": "RedisInstanceInfo",
2596+
"properties": {
2597+
"displayName": {
2598+
"description": "Name of a Cloud Redis Instance.",
2599+
"type": "string"
2600+
},
2601+
"networkUri": {
2602+
"description": "URI of a Cloud Redis Instance network.",
2603+
"type": "string"
2604+
},
2605+
"primaryEndpointIp": {
2606+
"description": "Primary endpoint IP address of a Cloud Redis Instance.",
2607+
"type": "string"
2608+
},
2609+
"readEndpointIp": {
2610+
"description": "Read endpoint IP address of a Cloud Redis Instance (if applicable).",
2611+
"type": "string"
2612+
},
2613+
"region": {
2614+
"description": "Region in which the Cloud Redis Instance is defined.",
2615+
"type": "string"
2616+
},
2617+
"uri": {
2618+
"description": "URI of a Cloud Redis Instance.",
2619+
"type": "string"
2620+
}
2621+
},
2622+
"type": "object"
2623+
},
25912624
"RerunConnectivityTestRequest": {
25922625
"description": "Request for the `RerunConnectivityTest` method.",
25932626
"id": "RerunConnectivityTestRequest",
@@ -2885,6 +2918,10 @@
28852918
"$ref": "ProxyConnectionInfo",
28862919
"description": "Display information of a ProxyConnection."
28872920
},
2921+
"redisInstance": {
2922+
"$ref": "RedisInstanceInfo",
2923+
"description": "Display information of a Redis Instance."
2924+
},
28882925
"route": {
28892926
"$ref": "RouteInfo",
28902927
"description": "Display information of a Compute Engine route."
@@ -2903,6 +2940,7 @@
29032940
"START_FROM_PRIVATE_NETWORK",
29042941
"START_FROM_GKE_MASTER",
29052942
"START_FROM_CLOUD_SQL_INSTANCE",
2943+
"START_FROM_REDIS_INSTANCE",
29062944
"START_FROM_CLOUD_FUNCTION",
29072945
"START_FROM_APP_ENGINE_VERSION",
29082946
"START_FROM_CLOUD_RUN_REVISION",
@@ -2950,6 +2988,7 @@
29502988
false,
29512989
false,
29522990
false,
2991+
false,
29532992
true,
29542993
true,
29552994
false,
@@ -2971,6 +3010,7 @@
29713010
"Initial state: packet originating from a VPC or on-premises network with internal source IP. If the source is a VPC network visible to the user, a NetworkInfo is populated with details of the network.",
29723011
"Initial state: packet originating from a Google Kubernetes Engine cluster master. A GKEMasterInfo is populated with starting instance information.",
29733012
"Initial state: packet originating from a Cloud SQL instance. A CloudSQLInstanceInfo is populated with starting instance information.",
3013+
"Initial state: packet originating from a Redis instance. A RedisInstanceInfo is populated with starting instance information.",
29743014
"Initial state: packet originating from a Cloud Function. A CloudFunctionInfo is populated with starting function information.",
29753015
"Initial state: packet originating from an App Engine service version. An AppEngineVersionInfo is populated with starting version information.",
29763016
"Initial state: packet originating from a Cloud Run revision. A CloudRunRevisionInfo is populated with starting revision information.",

src/apis/networkmanagement/v1.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,35 @@ export namespace networkmanagement_v1 {
11931193
*/
11941194
verifyTime?: string | null;
11951195
}
1196+
/**
1197+
* For display only. Metadata associated with a Cloud Redis Instance.
1198+
*/
1199+
export interface Schema$RedisInstanceInfo {
1200+
/**
1201+
* Name of a Cloud Redis Instance.
1202+
*/
1203+
displayName?: string | null;
1204+
/**
1205+
* URI of a Cloud Redis Instance network.
1206+
*/
1207+
networkUri?: string | null;
1208+
/**
1209+
* Primary endpoint IP address of a Cloud Redis Instance.
1210+
*/
1211+
primaryEndpointIp?: string | null;
1212+
/**
1213+
* Read endpoint IP address of a Cloud Redis Instance (if applicable).
1214+
*/
1215+
readEndpointIp?: string | null;
1216+
/**
1217+
* Region in which the Cloud Redis Instance is defined.
1218+
*/
1219+
region?: string | null;
1220+
/**
1221+
* URI of a Cloud Redis Instance.
1222+
*/
1223+
uri?: string | null;
1224+
}
11961225
/**
11971226
* Request for the `RerunConnectivityTest` method.
11981227
*/
@@ -1397,6 +1426,10 @@ export namespace networkmanagement_v1 {
13971426
* Display information of a ProxyConnection.
13981427
*/
13991428
proxyConnection?: Schema$ProxyConnectionInfo;
1429+
/**
1430+
* Display information of a Redis Instance.
1431+
*/
1432+
redisInstance?: Schema$RedisInstanceInfo;
14001433
/**
14011434
* Display information of a Compute Engine route.
14021435
*/

src/apis/networkmanagement/v1beta1.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,35 @@ export namespace networkmanagement_v1beta1 {
12221222
*/
12231223
verifyTime?: string | null;
12241224
}
1225+
/**
1226+
* For display only. Metadata associated with a Cloud Redis Instance.
1227+
*/
1228+
export interface Schema$RedisInstanceInfo {
1229+
/**
1230+
* Name of a Cloud Redis Instance.
1231+
*/
1232+
displayName?: string | null;
1233+
/**
1234+
* URI of a Cloud Redis Instance network.
1235+
*/
1236+
networkUri?: string | null;
1237+
/**
1238+
* Primary endpoint IP address of a Cloud Redis Instance.
1239+
*/
1240+
primaryEndpointIp?: string | null;
1241+
/**
1242+
* Read endpoint IP address of a Cloud Redis Instance (if applicable).
1243+
*/
1244+
readEndpointIp?: string | null;
1245+
/**
1246+
* Region in which the Cloud Redis Instance is defined.
1247+
*/
1248+
region?: string | null;
1249+
/**
1250+
* URI of a Cloud Redis Instance.
1251+
*/
1252+
uri?: string | null;
1253+
}
12251254
/**
12261255
* Request for the `RerunConnectivityTest` method.
12271256
*/
@@ -1426,6 +1455,10 @@ export namespace networkmanagement_v1beta1 {
14261455
* Display information of a ProxyConnection.
14271456
*/
14281457
proxyConnection?: Schema$ProxyConnectionInfo;
1458+
/**
1459+
* Display information of a Redis Instance.
1460+
*/
1461+
redisInstance?: Schema$RedisInstanceInfo;
14291462
/**
14301463
* Display information of a Compute Engine route.
14311464
*/

0 commit comments

Comments
 (0)