@@ -5692,6 +5692,221 @@ public Patch set(String parameterName, Object value) {
5692
5692
}
5693
5693
5694
5694
}
5695
+ /**
5696
+ * An accessor for creating requests from the Rbacrolebindings collection.
5697
+ *
5698
+ * <p>The typical use is:</p>
5699
+ * <pre>
5700
+ * {@code GKEHub gkehub = new GKEHub(...);}
5701
+ * {@code GKEHub.Rbacrolebindings.List request = gkehub.rbacrolebindings().list(parameters ...)}
5702
+ * </pre>
5703
+ *
5704
+ * @return the resource collection
5705
+ */
5706
+ public Rbacrolebindings rbacrolebindings () {
5707
+ return new Rbacrolebindings ();
5708
+ }
5709
+
5710
+ /**
5711
+ * The "rbacrolebindings" collection of methods.
5712
+ */
5713
+ public class Rbacrolebindings {
5714
+
5715
+ /**
5716
+ * Lists all Membership RBACRoleBindings.
5717
+ *
5718
+ * Create a request for the method "rbacrolebindings.list".
5719
+ *
5720
+ * This request holds the parameters needed by the gkehub server. After setting any optional
5721
+ * parameters, call the {@link List#execute()} method to invoke the remote operation.
5722
+ *
5723
+ * @param parent Required. The parent (project and location) where the Features will be listed. Specified in the
5724
+ * format `projects/locations/memberships`.
5725
+ * @return the request
5726
+ */
5727
+ public List list (java .lang .String parent ) throws java .io .IOException {
5728
+ List result = new List (parent );
5729
+ initialize (result );
5730
+ return result ;
5731
+ }
5732
+
5733
+ public class List extends GKEHubRequest <com .google .api .services .gkehub .v1 .model .ListMembershipRBACRoleBindingsResponse > {
5734
+
5735
+ private static final String REST_PATH = "v1/{+parent}/rbacrolebindings" ;
5736
+
5737
+ private final java .util .regex .Pattern PARENT_PATTERN =
5738
+ java .util .regex .Pattern .compile ("^projects/[^/]+/locations/[^/]+/memberships/[^/]+$" );
5739
+
5740
+ /**
5741
+ * Lists all Membership RBACRoleBindings.
5742
+ *
5743
+ * Create a request for the method "rbacrolebindings.list".
5744
+ *
5745
+ * This request holds the parameters needed by the the gkehub server. After setting any optional
5746
+ * parameters, call the {@link List#execute()} method to invoke the remote operation. <p> {@link
5747
+ * List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must be
5748
+ * called to initialize this instance immediately after invoking the constructor. </p>
5749
+ *
5750
+ * @param parent Required. The parent (project and location) where the Features will be listed. Specified in the
5751
+ * format `projects/locations/memberships`.
5752
+ * @since 1.13
5753
+ */
5754
+ protected List (java .lang .String parent ) {
5755
+ super (GKEHub .this , "GET" , REST_PATH , null , com .google .api .services .gkehub .v1 .model .ListMembershipRBACRoleBindingsResponse .class );
5756
+ this .parent = com .google .api .client .util .Preconditions .checkNotNull (parent , "Required parameter parent must be specified." );
5757
+ if (!getSuppressPatternChecks ()) {
5758
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
5759
+ "Parameter parent must conform to the pattern " +
5760
+ "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$" );
5761
+ }
5762
+ }
5763
+
5764
+ @ Override
5765
+ public com .google .api .client .http .HttpResponse executeUsingHead () throws java .io .IOException {
5766
+ return super .executeUsingHead ();
5767
+ }
5768
+
5769
+ @ Override
5770
+ public com .google .api .client .http .HttpRequest buildHttpRequestUsingHead () throws java .io .IOException {
5771
+ return super .buildHttpRequestUsingHead ();
5772
+ }
5773
+
5774
+ @ Override
5775
+ public List set$Xgafv (java .lang .String $Xgafv ) {
5776
+ return (List ) super .set$Xgafv ($Xgafv );
5777
+ }
5778
+
5779
+ @ Override
5780
+ public List setAccessToken (java .lang .String accessToken ) {
5781
+ return (List ) super .setAccessToken (accessToken );
5782
+ }
5783
+
5784
+ @ Override
5785
+ public List setAlt (java .lang .String alt ) {
5786
+ return (List ) super .setAlt (alt );
5787
+ }
5788
+
5789
+ @ Override
5790
+ public List setCallback (java .lang .String callback ) {
5791
+ return (List ) super .setCallback (callback );
5792
+ }
5793
+
5794
+ @ Override
5795
+ public List setFields (java .lang .String fields ) {
5796
+ return (List ) super .setFields (fields );
5797
+ }
5798
+
5799
+ @ Override
5800
+ public List setKey (java .lang .String key ) {
5801
+ return (List ) super .setKey (key );
5802
+ }
5803
+
5804
+ @ Override
5805
+ public List setOauthToken (java .lang .String oauthToken ) {
5806
+ return (List ) super .setOauthToken (oauthToken );
5807
+ }
5808
+
5809
+ @ Override
5810
+ public List setPrettyPrint (java .lang .Boolean prettyPrint ) {
5811
+ return (List ) super .setPrettyPrint (prettyPrint );
5812
+ }
5813
+
5814
+ @ Override
5815
+ public List setQuotaUser (java .lang .String quotaUser ) {
5816
+ return (List ) super .setQuotaUser (quotaUser );
5817
+ }
5818
+
5819
+ @ Override
5820
+ public List setUploadType (java .lang .String uploadType ) {
5821
+ return (List ) super .setUploadType (uploadType );
5822
+ }
5823
+
5824
+ @ Override
5825
+ public List setUploadProtocol (java .lang .String uploadProtocol ) {
5826
+ return (List ) super .setUploadProtocol (uploadProtocol );
5827
+ }
5828
+
5829
+ /**
5830
+ * Required. The parent (project and location) where the Features will be listed.
5831
+ * Specified in the format `projects/locations/memberships`.
5832
+ */
5833
+ @ com .google .api .client .util .Key
5834
+ private java .lang .String parent ;
5835
+
5836
+ /** Required. The parent (project and location) where the Features will be listed. Specified in the
5837
+ format `projects/locations/memberships`.
5838
+ */
5839
+ public java .lang .String getParent () {
5840
+ return parent ;
5841
+ }
5842
+
5843
+ /**
5844
+ * Required. The parent (project and location) where the Features will be listed.
5845
+ * Specified in the format `projects/locations/memberships`.
5846
+ */
5847
+ public List setParent (java .lang .String parent ) {
5848
+ if (!getSuppressPatternChecks ()) {
5849
+ com .google .api .client .util .Preconditions .checkArgument (PARENT_PATTERN .matcher (parent ).matches (),
5850
+ "Parameter parent must conform to the pattern " +
5851
+ "^projects/[^/]+/locations/[^/]+/memberships/[^/]+$" );
5852
+ }
5853
+ this .parent = parent ;
5854
+ return this ;
5855
+ }
5856
+
5857
+ /**
5858
+ * Optional. When requesting a 'page' of resources, `page_size` specifies number of
5859
+ * resources to return. If unspecified or set to 0, all resources will be returned.
5860
+ */
5861
+ @ com .google .api .client .util .Key
5862
+ private java .lang .Integer pageSize ;
5863
+
5864
+ /** Optional. When requesting a 'page' of resources, `page_size` specifies number of resources to
5865
+ return. If unspecified or set to 0, all resources will be returned.
5866
+ */
5867
+ public java .lang .Integer getPageSize () {
5868
+ return pageSize ;
5869
+ }
5870
+
5871
+ /**
5872
+ * Optional. When requesting a 'page' of resources, `page_size` specifies number of
5873
+ * resources to return. If unspecified or set to 0, all resources will be returned.
5874
+ */
5875
+ public List setPageSize (java .lang .Integer pageSize ) {
5876
+ this .pageSize = pageSize ;
5877
+ return this ;
5878
+ }
5879
+
5880
+ /**
5881
+ * Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which
5882
+ * specifies the position in the list from where to continue listing the resources.
5883
+ */
5884
+ @ com .google .api .client .util .Key
5885
+ private java .lang .String pageToken ;
5886
+
5887
+ /** Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which specifies the
5888
+ position in the list from where to continue listing the resources.
5889
+ */
5890
+ public java .lang .String getPageToken () {
5891
+ return pageToken ;
5892
+ }
5893
+
5894
+ /**
5895
+ * Optional. Token returned by previous call to `ListMembershipRBACRoleBindings` which
5896
+ * specifies the position in the list from where to continue listing the resources.
5897
+ */
5898
+ public List setPageToken (java .lang .String pageToken ) {
5899
+ this .pageToken = pageToken ;
5900
+ return this ;
5901
+ }
5902
+
5903
+ @ Override
5904
+ public List set (String parameterName , Object value ) {
5905
+ return (List ) super .set (parameterName , value );
5906
+ }
5907
+ }
5908
+
5909
+ }
5695
5910
}
5696
5911
/**
5697
5912
* An accessor for creating requests from the Operations collection.
0 commit comments