Skip to content

Commit 9c2a966

Browse files
1 parent 4137a62 commit 9c2a966

File tree

5 files changed

+338
-6
lines changed

5 files changed

+338
-6
lines changed

clients/google-api-services-gkehub/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-gkehub</artifactId>
25-
<version>v1-rev20240511-2.0.0</version>
25+
<version>v1-rev20240623-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20240511-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20240623-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-gkehub/v1/2.0.0/com/google/api/services/gkehub/v1/GKEHub.java

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5692,6 +5692,221 @@ public Patch set(String parameterName, Object value) {
56925692
}
56935693

56945694
}
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+
}
56955910
}
56965911
/**
56975912
* An accessor for creating requests from the Operations collection.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.gkehub.v1.model;
18+
19+
/**
20+
* List of Membership RBACRoleBindings.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the GKE Hub API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ListMembershipRBACRoleBindingsResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method.
34+
* The value of an empty string means that there are no more resources to return.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String nextPageToken;
39+
40+
/**
41+
* The list of Membership RBACRoleBindings.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<RBACRoleBinding> rbacrolebindings;
46+
47+
/**
48+
* List of locations that could not be reached while fetching this list.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.util.List<java.lang.String> unreachable;
53+
54+
/**
55+
* A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method.
56+
* The value of an empty string means that there are no more resources to return.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.lang.String getNextPageToken() {
60+
return nextPageToken;
61+
}
62+
63+
/**
64+
* A token to request the next page of resources from the `ListMembershipRBACRoleBindings` method.
65+
* The value of an empty string means that there are no more resources to return.
66+
* @param nextPageToken nextPageToken or {@code null} for none
67+
*/
68+
public ListMembershipRBACRoleBindingsResponse setNextPageToken(java.lang.String nextPageToken) {
69+
this.nextPageToken = nextPageToken;
70+
return this;
71+
}
72+
73+
/**
74+
* The list of Membership RBACRoleBindings.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.util.List<RBACRoleBinding> getRbacrolebindings() {
78+
return rbacrolebindings;
79+
}
80+
81+
/**
82+
* The list of Membership RBACRoleBindings.
83+
* @param rbacrolebindings rbacrolebindings or {@code null} for none
84+
*/
85+
public ListMembershipRBACRoleBindingsResponse setRbacrolebindings(java.util.List<RBACRoleBinding> rbacrolebindings) {
86+
this.rbacrolebindings = rbacrolebindings;
87+
return this;
88+
}
89+
90+
/**
91+
* List of locations that could not be reached while fetching this list.
92+
* @return value or {@code null} for none
93+
*/
94+
public java.util.List<java.lang.String> getUnreachable() {
95+
return unreachable;
96+
}
97+
98+
/**
99+
* List of locations that could not be reached while fetching this list.
100+
* @param unreachable unreachable or {@code null} for none
101+
*/
102+
public ListMembershipRBACRoleBindingsResponse setUnreachable(java.util.List<java.lang.String> unreachable) {
103+
this.unreachable = unreachable;
104+
return this;
105+
}
106+
107+
@Override
108+
public ListMembershipRBACRoleBindingsResponse set(String fieldName, Object value) {
109+
return (ListMembershipRBACRoleBindingsResponse) super.set(fieldName, value);
110+
}
111+
112+
@Override
113+
public ListMembershipRBACRoleBindingsResponse clone() {
114+
return (ListMembershipRBACRoleBindingsResponse) super.clone();
115+
}
116+
117+
}

clients/google-api-services-gkehub/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-gkehub</artifactId>
11-
<version>v1-rev20240511-2.0.0</version>
12-
<name>GKE Hub API v1-rev20240511-2.0.0</name>
11+
<version>v1-rev20240623-2.0.0</version>
12+
<name>GKE Hub API v1-rev20240623-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-gkehub/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-gkehub</artifactId>
25-
<version>v1-rev20240511-2.0.0</version>
25+
<version>v1-rev20240623-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20240511-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gkehub:v1-rev20240623-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)