Skip to content

Commit

Permalink
fix!: [networkconnectivity] remove policy based routing API (#9036)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Feb 2, 2023
1 parent 324b78f commit 20c36b2
Show file tree
Hide file tree
Showing 51 changed files with 3 additions and 21,629 deletions.
6 changes: 3 additions & 3 deletions java-networkconnectivity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-networkconnectivity</artifactId>
<version>1.7.0</version>
<version>1.8.0</version>
</dependency>
```

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

```Groovy
implementation 'com.google.cloud:google-cloud-networkconnectivity:1.7.0'
implementation 'com.google.cloud:google-cloud-networkconnectivity:1.8.0'
```

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

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.7.0"
libraryDependencies += "com.google.cloud" % "google-cloud-networkconnectivity" % "1.8.0"
```

## Authentication
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,6 @@
}
}
}
},
"PolicyBasedRoutingService": {
"clients": {
"grpc": {
"libraryClient": "PolicyBasedRoutingServiceClient",
"rpcs": {
"CreatePolicyBasedRoute": {
"methods": ["createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteAsync", "createPolicyBasedRouteOperationCallable", "createPolicyBasedRouteCallable"]
},
"DeletePolicyBasedRoute": {
"methods": ["deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteAsync", "deletePolicyBasedRouteOperationCallable", "deletePolicyBasedRouteCallable"]
},
"GetPolicyBasedRoute": {
"methods": ["getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRoute", "getPolicyBasedRouteCallable"]
},
"ListPolicyBasedRoutes": {
"methods": ["listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutes", "listPolicyBasedRoutesPagedCallable", "listPolicyBasedRoutesCallable"]
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,27 +38,6 @@
* Hub response = hubServiceClient.getHub(name);
* }
* }</pre>
*
* <p>======================= PolicyBasedRoutingServiceClient =======================
*
* <p>Service Description: Policy-Based Routing allows GCP customers to specify flexibile routing
* policies for Layer 4 traffic traversing through the connected service.
*
* <p>Sample for PolicyBasedRoutingServiceClient:
*
* <pre>{@code
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PolicyBasedRoutingServiceClient policyBasedRoutingServiceClient =
* PolicyBasedRoutingServiceClient.create()) {
* PolicyBasedRouteName name =
* PolicyBasedRouteName.of("[PROJECT]", "[LOCATION]", "[POLICY_BASED_ROUTE]");
* PolicyBasedRoute response = policyBasedRoutingServiceClient.getPolicyBasedRoute(name);
* }
* }</pre>
*/
@Generated("by gapic-generator-java")
package com.google.cloud.networkconnectivity.v1;
Expand Down
Loading

0 comments on commit 20c36b2

Please sign in to comment.