Skip to content

Commit 20c36b2

Browse files
fix!: [networkconnectivity] remove policy based routing API (#9036)
* feat: add policy based routing" will work PiperOrigin-RevId: 504360042 Source-Link: googleapis/googleapis@f642790 Source-Link: https://github.com/googleapis/googleapis-gen/commit/91163ea61de47bda6d30d2dee4a49be27b60aa33 Copy-Tag: eyJwIjoiamF2YS1uZXR3b3JrY29ubmVjdGl2aXR5Ly5Pd2xCb3QueWFtbCIsImgiOiI5MTE2M2VhNjFkZTQ3YmRhNmQzMGQyZGVlNGE0OWJlMjdiNjBhYTMzIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: Update Hub API PiperOrigin-RevId: 504700327 Source-Link: googleapis/googleapis@91b494f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9af0d4fe79b60c9fcb8539497d18a14f5917d952 Copy-Tag: eyJwIjoiamF2YS1uZXR3b3JrY29ubmVjdGl2aXR5Ly5Pd2xCb3QueWFtbCIsImgiOiI5YWYwZDRmZTc5YjYwYzlmY2I4NTM5NDk3ZDE4YTE0ZjU5MTdkOTUyIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * fix!: remove policy based routing API PiperOrigin-RevId: 505139690 Source-Link: googleapis/googleapis@183d61a Source-Link: https://github.com/googleapis/googleapis-gen/commit/58af86ac496b5d1a0c0f5ba4019149f9d66b5663 Copy-Tag: eyJwIjoiamF2YS1uZXR3b3JrY29ubmVjdGl2aXR5Ly5Pd2xCb3QueWFtbCIsImgiOiI1OGFmODZhYzQ5NmI1ZDFhMGMwZjViYTQwMTkxNDlmOWQ2NmI1NjYzIn0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 324b78f commit 20c36b2

File tree

51 files changed

+3
-21629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+3
-21629
lines changed

java-networkconnectivity/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
1919
<dependency>
2020
<groupId>com.google.cloud</groupId>
2121
<artifactId>google-cloud-networkconnectivity</artifactId>
22-
<version>1.7.0</version>
22+
<version>1.8.0</version>
2323
</dependency>
2424
```
2525

2626
If you are using Gradle without BOM, add this to your dependencies:
2727

2828
```Groovy
29-
implementation 'com.google.cloud:google-cloud-networkconnectivity:1.7.0'
29+
implementation 'com.google.cloud:google-cloud-networkconnectivity:1.8.0'
3030
```
3131

3232
If you are using SBT, add this to your dependencies:
3333

3434
```Scala
35-
libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.7.0"
35+
libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.8.0"
3636
```
3737

3838
## Authentication

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceClient.java

-944
This file was deleted.

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/PolicyBasedRoutingServiceSettings.java

-271
This file was deleted.

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/gapic_metadata.json

-21
Original file line numberDiff line numberDiff line change
@@ -43,27 +43,6 @@
4343
}
4444
}
4545
}
46-
},
47-
"PolicyBasedRoutingService": {
48-
"clients": {
49-
"grpc": {
50-
"libraryClient": "PolicyBasedRoutingServiceClient",
51-
"rpcs": {
52-
"CreatePolicyBasedRoute": {
53-
"methods": ["createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteOperationCallable", "createPolicyBasedRouteCallable"]
54-
},
55-
"DeletePolicyBasedRoute": {
56-
"methods": ["deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteOperationCallable", "deletePolicyBasedRouteCallable"]
57-
},
58-
"GetPolicyBasedRoute": {
59-
"methods": ["getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRouteCallable"]
60-
},
61-
"ListPolicyBasedRoutes": {
62-
"methods": ["listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutesPagedCallable", "listPolicyBasedRoutesCallable"]
63-
}
64-
}
65-
}
66-
}
6746
}
6847
}
6948
}

java-networkconnectivity/google-cloud-networkconnectivity/src/main/java/com/google/cloud/networkconnectivity/v1/package-info.java

-21
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,6 @@
3838
* Hub response = hubServiceClient.getHub(name);
3939
* }
4040
* }</pre>
41-
*
42-
* <p>======================= PolicyBasedRoutingServiceClient =======================
43-
*
44-
* <p>Service Description: Policy-Based Routing allows GCP customers to specify flexibile routing
45-
* policies for Layer 4 traffic traversing through the connected service.
46-
*
47-
* <p>Sample for PolicyBasedRoutingServiceClient:
48-
*
49-
* <pre>{@code
50-
* // This snippet has been automatically generated and should be regarded as a code template only.
51-
* // It will require modifications to work:
52-
* // - It may require correct/in-range values for request initialization.
53-
* // - It may require specifying regional endpoints when creating the service client as shown in
54-
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
55-
* try (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
56-
* PolicyBasedRoutingServiceClient.create()) {
57-
* PolicyBasedRouteName name =
58-
* PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
59-
* PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
60-
* }
61-
* }</pre>
6241
*/
6342
@Generated("by gapic-generator-java")
6443
package com.google.cloud.networkconnectivity.v1;

0 commit comments

Comments
 (0)