You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-networkconnectivity/v1/2.0.0/com/google/api/services/networkconnectivity/v1/Networkconnectivity.java
+182Lines changed: 182 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,154 @@ public Locations locations() {
173
173
*/
174
174
public class Locations {
175
175
176
+
/**
177
+
* CheckConsumerConfig validates the consumer network and project for potential PSC connection
178
+
* creation. This method performs several checks, including: - Validating the existence and
179
+
* permissions of the service class. - Ensuring the consumer network exists and is accessible. -
180
+
* Verifying XPN relationships if applicable. - Checking for compatible IP versions between the
181
+
* consumer network and the requested version. This method performs a dynamic IAM check for the
182
+
* `networkconnectivity.serviceClasses.use` permission on the service class resource in the Prepare
183
+
* phase.
184
+
*
185
+
* Create a request for the method "locations.checkConsumerConfig".
186
+
*
187
+
* This request holds the parameters needed by the networkconnectivity server. After setting any
188
+
* optional parameters, call the {@link CheckConsumerConfig#execute()} method to invoke the remote
* @param content the {@link com.google.api.services.networkconnectivity.v1.model.CheckConsumerConfigRequest}
193
+
* @return the request
194
+
*/
195
+
public CheckConsumerConfig checkConsumerConfig(java.lang.String location, com.google.api.services.networkconnectivity.v1.model.CheckConsumerConfigRequest content) throws java.io.IOException {
196
+
CheckConsumerConfig result = new CheckConsumerConfig(location, content);
197
+
initialize(result);
198
+
return result;
199
+
}
200
+
201
+
public class CheckConsumerConfig extends NetworkconnectivityRequest<com.google.api.services.networkconnectivity.v1.model.CheckConsumerConfigResponse> {
202
+
203
+
private static final String REST_PATH = "v1/{+location}:checkConsumerConfig";
204
+
205
+
private final java.util.regex.Pattern LOCATION_PATTERN =
0 commit comments