@@ -792,6 +792,157 @@ public Get set(String parameterName, Object value) {
792
792
return (Get) super.set(parameterName, value);
793
793
}
794
794
}
795
+ /**
796
+ * Lists the service accounts allowed to access Apigee control plane directly for limited
797
+ * functionality. **Note**: Available to Apigee hybrid only.
798
+ *
799
+ * Create a request for the method "organizations.getControlPlaneAccess".
800
+ *
801
+ * This request holds the parameters needed by the apigee server. After setting any optional
802
+ * parameters, call the {@link GetControlPlaneAccess#execute()} method to invoke the remote
803
+ * operation.
804
+ *
805
+ * @param name Required. Resource name of the Control Plane Access. Use the following structure in your request:
806
+ * `organizations/{org}/controlPlaneAccess`
807
+ * @return the request
808
+ */
809
+ public GetControlPlaneAccess getControlPlaneAccess(java.lang.String name) throws java.io.IOException {
810
+ GetControlPlaneAccess result = new GetControlPlaneAccess(name);
811
+ initialize(result);
812
+ return result;
813
+ }
814
+
815
+ public class GetControlPlaneAccess extends ApigeeRequest<com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess> {
816
+
817
+ private static final String REST_PATH = "v1/{+name}";
818
+
819
+ private final java.util.regex.Pattern NAME_PATTERN =
820
+ java.util.regex.Pattern.compile("^organizations/[^/]+/controlPlaneAccess$");
821
+
822
+ /**
823
+ * Lists the service accounts allowed to access Apigee control plane directly for limited
824
+ * functionality. **Note**: Available to Apigee hybrid only.
825
+ *
826
+ * Create a request for the method "organizations.getControlPlaneAccess".
827
+ *
828
+ * This request holds the parameters needed by the the apigee server. After setting any optional
829
+ * parameters, call the {@link GetControlPlaneAccess#execute()} method to invoke the remote
830
+ * operation. <p> {@link GetControlPlaneAccess#initialize(com.google.api.client.googleapis.service
831
+ * s.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
832
+ * invoking the constructor. </p>
833
+ *
834
+ * @param name Required. Resource name of the Control Plane Access. Use the following structure in your request:
835
+ * `organizations/{org}/controlPlaneAccess`
836
+ * @since 1.13
837
+ */
838
+ protected GetControlPlaneAccess(java.lang.String name) {
839
+ super(Apigee.this, "GET", REST_PATH, null, com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess.class);
840
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
841
+ if (!getSuppressPatternChecks()) {
842
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
843
+ "Parameter name must conform to the pattern " +
844
+ "^organizations/[^/]+/controlPlaneAccess$");
845
+ }
846
+ }
847
+
848
+ @Override
849
+ public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
850
+ return super.executeUsingHead();
851
+ }
852
+
853
+ @Override
854
+ public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
855
+ return super.buildHttpRequestUsingHead();
856
+ }
857
+
858
+ @Override
859
+ public GetControlPlaneAccess set$Xgafv(java.lang.String $Xgafv) {
860
+ return (GetControlPlaneAccess) super.set$Xgafv($Xgafv);
861
+ }
862
+
863
+ @Override
864
+ public GetControlPlaneAccess setAccessToken(java.lang.String accessToken) {
865
+ return (GetControlPlaneAccess) super.setAccessToken(accessToken);
866
+ }
867
+
868
+ @Override
869
+ public GetControlPlaneAccess setAlt(java.lang.String alt) {
870
+ return (GetControlPlaneAccess) super.setAlt(alt);
871
+ }
872
+
873
+ @Override
874
+ public GetControlPlaneAccess setCallback(java.lang.String callback) {
875
+ return (GetControlPlaneAccess) super.setCallback(callback);
876
+ }
877
+
878
+ @Override
879
+ public GetControlPlaneAccess setFields(java.lang.String fields) {
880
+ return (GetControlPlaneAccess) super.setFields(fields);
881
+ }
882
+
883
+ @Override
884
+ public GetControlPlaneAccess setKey(java.lang.String key) {
885
+ return (GetControlPlaneAccess) super.setKey(key);
886
+ }
887
+
888
+ @Override
889
+ public GetControlPlaneAccess setOauthToken(java.lang.String oauthToken) {
890
+ return (GetControlPlaneAccess) super.setOauthToken(oauthToken);
891
+ }
892
+
893
+ @Override
894
+ public GetControlPlaneAccess setPrettyPrint(java.lang.Boolean prettyPrint) {
895
+ return (GetControlPlaneAccess) super.setPrettyPrint(prettyPrint);
896
+ }
897
+
898
+ @Override
899
+ public GetControlPlaneAccess setQuotaUser(java.lang.String quotaUser) {
900
+ return (GetControlPlaneAccess) super.setQuotaUser(quotaUser);
901
+ }
902
+
903
+ @Override
904
+ public GetControlPlaneAccess setUploadType(java.lang.String uploadType) {
905
+ return (GetControlPlaneAccess) super.setUploadType(uploadType);
906
+ }
907
+
908
+ @Override
909
+ public GetControlPlaneAccess setUploadProtocol(java.lang.String uploadProtocol) {
910
+ return (GetControlPlaneAccess) super.setUploadProtocol(uploadProtocol);
911
+ }
912
+
913
+ /**
914
+ * Required. Resource name of the Control Plane Access. Use the following structure in your
915
+ * request: `organizations/{org}/controlPlaneAccess`
916
+ */
917
+ @com.google.api.client.util.Key
918
+ private java.lang.String name;
919
+
920
+ /** Required. Resource name of the Control Plane Access. Use the following structure in your request:
921
+ `organizations/{org}/controlPlaneAccess`
922
+ */
923
+ public java.lang.String getName() {
924
+ return name;
925
+ }
926
+
927
+ /**
928
+ * Required. Resource name of the Control Plane Access. Use the following structure in your
929
+ * request: `organizations/{org}/controlPlaneAccess`
930
+ */
931
+ public GetControlPlaneAccess setName(java.lang.String name) {
932
+ if (!getSuppressPatternChecks()) {
933
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
934
+ "Parameter name must conform to the pattern " +
935
+ "^organizations/[^/]+/controlPlaneAccess$");
936
+ }
937
+ this.name = name;
938
+ return this;
939
+ }
940
+
941
+ @Override
942
+ public GetControlPlaneAccess set(String parameterName, Object value) {
943
+ return (GetControlPlaneAccess) super.set(parameterName, value);
944
+ }
945
+ }
795
946
/**
796
947
* Gets the deployed ingress configuration for an organization.
797
948
*
@@ -2125,6 +2276,174 @@ public Update set(String parameterName, Object value) {
2125
2276
return (Update) super.set(parameterName, value);
2126
2277
}
2127
2278
}
2279
+ /**
2280
+ * Updates the permissions required to allow Apigee runtime-plane components access to the control
2281
+ * plane. Currently, the permissions required are to: 1. Allow runtime components to publish
2282
+ * analytics data to the control plane. **Note**: Available to Apigee hybrid only.
2283
+ *
2284
+ * Create a request for the method "organizations.updateControlPlaneAccess".
2285
+ *
2286
+ * This request holds the parameters needed by the apigee server. After setting any optional
2287
+ * parameters, call the {@link UpdateControlPlaneAccess#execute()} method to invoke the remote
2288
+ * operation.
2289
+ *
2290
+ * @param name Identifier. The resource name of the ControlPlaneAccess. Format:
2291
+ * "organizations/{org}/controlPlaneAccess"
2292
+ * @param content the {@link com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess}
2293
+ * @return the request
2294
+ */
2295
+ public UpdateControlPlaneAccess updateControlPlaneAccess(java.lang.String name, com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess content) throws java.io.IOException {
2296
+ UpdateControlPlaneAccess result = new UpdateControlPlaneAccess(name, content);
2297
+ initialize(result);
2298
+ return result;
2299
+ }
2300
+
2301
+ public class UpdateControlPlaneAccess extends ApigeeRequest<com.google.api.services.apigee.v1.model.GoogleLongrunningOperation> {
2302
+
2303
+ private static final String REST_PATH = "v1/{+name}";
2304
+
2305
+ private final java.util.regex.Pattern NAME_PATTERN =
2306
+ java.util.regex.Pattern.compile("^organizations/[^/]+/controlPlaneAccess$");
2307
+
2308
+ /**
2309
+ * Updates the permissions required to allow Apigee runtime-plane components access to the control
2310
+ * plane. Currently, the permissions required are to: 1. Allow runtime components to publish
2311
+ * analytics data to the control plane. **Note**: Available to Apigee hybrid only.
2312
+ *
2313
+ * Create a request for the method "organizations.updateControlPlaneAccess".
2314
+ *
2315
+ * This request holds the parameters needed by the the apigee server. After setting any optional
2316
+ * parameters, call the {@link UpdateControlPlaneAccess#execute()} method to invoke the remote
2317
+ * operation. <p> {@link UpdateControlPlaneAccess#initialize(com.google.api.client.googleapis.serv
2318
+ * ices.AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
2319
+ * invoking the constructor. </p>
2320
+ *
2321
+ * @param name Identifier. The resource name of the ControlPlaneAccess. Format:
2322
+ * "organizations/{org}/controlPlaneAccess"
2323
+ * @param content the {@link com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess}
2324
+ * @since 1.13
2325
+ */
2326
+ protected UpdateControlPlaneAccess(java.lang.String name, com.google.api.services.apigee.v1.model.GoogleCloudApigeeV1ControlPlaneAccess content) {
2327
+ super(Apigee.this, "PATCH", REST_PATH, content, com.google.api.services.apigee.v1.model.GoogleLongrunningOperation.class);
2328
+ this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified.");
2329
+ if (!getSuppressPatternChecks()) {
2330
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2331
+ "Parameter name must conform to the pattern " +
2332
+ "^organizations/[^/]+/controlPlaneAccess$");
2333
+ }
2334
+ }
2335
+
2336
+ @Override
2337
+ public UpdateControlPlaneAccess set$Xgafv(java.lang.String $Xgafv) {
2338
+ return (UpdateControlPlaneAccess) super.set$Xgafv($Xgafv);
2339
+ }
2340
+
2341
+ @Override
2342
+ public UpdateControlPlaneAccess setAccessToken(java.lang.String accessToken) {
2343
+ return (UpdateControlPlaneAccess) super.setAccessToken(accessToken);
2344
+ }
2345
+
2346
+ @Override
2347
+ public UpdateControlPlaneAccess setAlt(java.lang.String alt) {
2348
+ return (UpdateControlPlaneAccess) super.setAlt(alt);
2349
+ }
2350
+
2351
+ @Override
2352
+ public UpdateControlPlaneAccess setCallback(java.lang.String callback) {
2353
+ return (UpdateControlPlaneAccess) super.setCallback(callback);
2354
+ }
2355
+
2356
+ @Override
2357
+ public UpdateControlPlaneAccess setFields(java.lang.String fields) {
2358
+ return (UpdateControlPlaneAccess) super.setFields(fields);
2359
+ }
2360
+
2361
+ @Override
2362
+ public UpdateControlPlaneAccess setKey(java.lang.String key) {
2363
+ return (UpdateControlPlaneAccess) super.setKey(key);
2364
+ }
2365
+
2366
+ @Override
2367
+ public UpdateControlPlaneAccess setOauthToken(java.lang.String oauthToken) {
2368
+ return (UpdateControlPlaneAccess) super.setOauthToken(oauthToken);
2369
+ }
2370
+
2371
+ @Override
2372
+ public UpdateControlPlaneAccess setPrettyPrint(java.lang.Boolean prettyPrint) {
2373
+ return (UpdateControlPlaneAccess) super.setPrettyPrint(prettyPrint);
2374
+ }
2375
+
2376
+ @Override
2377
+ public UpdateControlPlaneAccess setQuotaUser(java.lang.String quotaUser) {
2378
+ return (UpdateControlPlaneAccess) super.setQuotaUser(quotaUser);
2379
+ }
2380
+
2381
+ @Override
2382
+ public UpdateControlPlaneAccess setUploadType(java.lang.String uploadType) {
2383
+ return (UpdateControlPlaneAccess) super.setUploadType(uploadType);
2384
+ }
2385
+
2386
+ @Override
2387
+ public UpdateControlPlaneAccess setUploadProtocol(java.lang.String uploadProtocol) {
2388
+ return (UpdateControlPlaneAccess) super.setUploadProtocol(uploadProtocol);
2389
+ }
2390
+
2391
+ /**
2392
+ * Identifier. The resource name of the ControlPlaneAccess. Format:
2393
+ * "organizations/{org}/controlPlaneAccess"
2394
+ */
2395
+ @com.google.api.client.util.Key
2396
+ private java.lang.String name;
2397
+
2398
+ /** Identifier. The resource name of the ControlPlaneAccess. Format:
2399
+ "organizations/{org}/controlPlaneAccess"
2400
+ */
2401
+ public java.lang.String getName() {
2402
+ return name;
2403
+ }
2404
+
2405
+ /**
2406
+ * Identifier. The resource name of the ControlPlaneAccess. Format:
2407
+ * "organizations/{org}/controlPlaneAccess"
2408
+ */
2409
+ public UpdateControlPlaneAccess setName(java.lang.String name) {
2410
+ if (!getSuppressPatternChecks()) {
2411
+ com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(),
2412
+ "Parameter name must conform to the pattern " +
2413
+ "^organizations/[^/]+/controlPlaneAccess$");
2414
+ }
2415
+ this.name = name;
2416
+ return this;
2417
+ }
2418
+
2419
+ /**
2420
+ * List of fields to be updated. Fields that can be updated: synchronizer_identities,
2421
+ * publisher_identities.
2422
+ */
2423
+ @com.google.api.client.util.Key
2424
+ private String updateMask;
2425
+
2426
+ /** List of fields to be updated. Fields that can be updated: synchronizer_identities,
2427
+ publisher_identities.
2428
+ */
2429
+ public String getUpdateMask() {
2430
+ return updateMask;
2431
+ }
2432
+
2433
+ /**
2434
+ * List of fields to be updated. Fields that can be updated: synchronizer_identities,
2435
+ * publisher_identities.
2436
+ */
2437
+ public UpdateControlPlaneAccess setUpdateMask(String updateMask) {
2438
+ this.updateMask = updateMask;
2439
+ return this;
2440
+ }
2441
+
2442
+ @Override
2443
+ public UpdateControlPlaneAccess set(String parameterName, Object value) {
2444
+ return (UpdateControlPlaneAccess) super.set(parameterName, value);
2445
+ }
2446
+ }
2128
2447
/**
2129
2448
* UpdateSecuritySettings updates the current security settings for API Security.
2130
2449
*
0 commit comments