Skip to content

Commit 64c06f5

Browse files
chore: regenerate admin client
1 parent ebb6aa7 commit 64c06f5

File tree

12 files changed

+524
-21
lines changed

12 files changed

+524
-21
lines changed

clients/google-api-services-admin/datatransfer_v1/2.0.0/com/google/api/services/datatransfer/DataTransfer.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class DataTransfer extends com.google.api.client.googleapis.services.json
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -929,8 +929,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
929929
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
930930
* <li>Android: {@code newCompatibleTransport} from
931931
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
932-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
933-
* </li>
932+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
934933
* </ul>
935934
* @param jsonFactory JSON factory, which may be:
936935
* <ul>

clients/google-api-services-admin/directory_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-admin-directory</artifactId>
25-
<version>directory_v1-rev20260113-2.0.0</version>
25+
<version>directory_v1-rev20260210-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-admin-directory:directory_v1-rev20260113-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-directory:directory_v1-rev20260210-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-admin/directory_v1/2.0.0/com/google/api/services/directory/Directory.java

Lines changed: 197 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Directory extends com.google.api.client.googleapis.services.json.Ab
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -2105,6 +2105,201 @@ public BatchChangeStatus set(String parameterName, Object value) {
21052105
return (BatchChangeStatus) super.set(parameterName, value);
21062106
}
21072107
}
2108+
/**
2109+
* Counts ChromeOS devices matching the request.
2110+
*
2111+
* Create a request for the method "chromeos.countChromeOsDevices".
2112+
*
2113+
* This request holds the parameters needed by the admin server. After setting any optional
2114+
* parameters, call the {@link CountChromeOsDevices#execute()} method to invoke the remote
2115+
* operation.
2116+
*
2117+
* @param customerId Required. Immutable ID of the Google Workspace account.
2118+
* @return the request
2119+
*/
2120+
public CountChromeOsDevices countChromeOsDevices(java.lang.String customerId) throws java.io.IOException {
2121+
CountChromeOsDevices result = new CountChromeOsDevices(customerId);
2122+
initialize(result);
2123+
return result;
2124+
}
2125+
2126+
public class CountChromeOsDevices extends DirectoryRequest<com.google.api.services.directory.model.CountChromeOsDevicesResponse> {
2127+
2128+
private static final String REST_PATH = "admin/directory/v1/customer/{customerId}/devices/chromeos:countChromeOsDevices";
2129+
2130+
/**
2131+
* Counts ChromeOS devices matching the request.
2132+
*
2133+
* Create a request for the method "chromeos.countChromeOsDevices".
2134+
*
2135+
* This request holds the parameters needed by the the admin server. After setting any optional
2136+
* parameters, call the {@link CountChromeOsDevices#execute()} method to invoke the remote
2137+
* operation. <p> {@link CountChromeOsDevices#initialize(com.google.api.client.googleapis.services
2138+
* .AbstractGoogleClientRequest)} must be called to initialize this instance immediately after
2139+
* invoking the constructor. </p>
2140+
*
2141+
* @param customerId Required. Immutable ID of the Google Workspace account.
2142+
* @since 1.13
2143+
*/
2144+
protected CountChromeOsDevices(java.lang.String customerId) {
2145+
super(Directory.this, "GET", REST_PATH, null, com.google.api.services.directory.model.CountChromeOsDevicesResponse.class);
2146+
this.customerId = com.google.api.client.util.Preconditions.checkNotNull(customerId, "Required parameter customerId must be specified.");
2147+
}
2148+
2149+
@Override
2150+
public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException {
2151+
return super.executeUsingHead();
2152+
}
2153+
2154+
@Override
2155+
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException {
2156+
return super.buildHttpRequestUsingHead();
2157+
}
2158+
2159+
@Override
2160+
public CountChromeOsDevices set$Xgafv(java.lang.String $Xgafv) {
2161+
return (CountChromeOsDevices) super.set$Xgafv($Xgafv);
2162+
}
2163+
2164+
@Override
2165+
public CountChromeOsDevices setAccessToken(java.lang.String accessToken) {
2166+
return (CountChromeOsDevices) super.setAccessToken(accessToken);
2167+
}
2168+
2169+
@Override
2170+
public CountChromeOsDevices setAlt(java.lang.String alt) {
2171+
return (CountChromeOsDevices) super.setAlt(alt);
2172+
}
2173+
2174+
@Override
2175+
public CountChromeOsDevices setCallback(java.lang.String callback) {
2176+
return (CountChromeOsDevices) super.setCallback(callback);
2177+
}
2178+
2179+
@Override
2180+
public CountChromeOsDevices setFields(java.lang.String fields) {
2181+
return (CountChromeOsDevices) super.setFields(fields);
2182+
}
2183+
2184+
@Override
2185+
public CountChromeOsDevices setKey(java.lang.String key) {
2186+
return (CountChromeOsDevices) super.setKey(key);
2187+
}
2188+
2189+
@Override
2190+
public CountChromeOsDevices setOauthToken(java.lang.String oauthToken) {
2191+
return (CountChromeOsDevices) super.setOauthToken(oauthToken);
2192+
}
2193+
2194+
@Override
2195+
public CountChromeOsDevices setPrettyPrint(java.lang.Boolean prettyPrint) {
2196+
return (CountChromeOsDevices) super.setPrettyPrint(prettyPrint);
2197+
}
2198+
2199+
@Override
2200+
public CountChromeOsDevices setQuotaUser(java.lang.String quotaUser) {
2201+
return (CountChromeOsDevices) super.setQuotaUser(quotaUser);
2202+
}
2203+
2204+
@Override
2205+
public CountChromeOsDevices setUploadType(java.lang.String uploadType) {
2206+
return (CountChromeOsDevices) super.setUploadType(uploadType);
2207+
}
2208+
2209+
@Override
2210+
public CountChromeOsDevices setUploadProtocol(java.lang.String uploadProtocol) {
2211+
return (CountChromeOsDevices) super.setUploadProtocol(uploadProtocol);
2212+
}
2213+
2214+
/** Required. Immutable ID of the Google Workspace account. */
2215+
@com.google.api.client.util.Key
2216+
private java.lang.String customerId;
2217+
2218+
/** Required. Immutable ID of the Google Workspace account.
2219+
*/
2220+
public java.lang.String getCustomerId() {
2221+
return customerId;
2222+
}
2223+
2224+
/** Required. Immutable ID of the Google Workspace account. */
2225+
public CountChromeOsDevices setCustomerId(java.lang.String customerId) {
2226+
this.customerId = customerId;
2227+
return this;
2228+
}
2229+
2230+
/**
2231+
* Optional. Search string in the format given at
2232+
* https://developers.google.com/workspace/admin/directory/v1/list-query-operators
2233+
*/
2234+
@com.google.api.client.util.Key
2235+
private java.lang.String filter;
2236+
2237+
/** Optional. Search string in the format given at
2238+
https://developers.google.com/workspace/admin/directory/v1/list-query-operators
2239+
*/
2240+
public java.lang.String getFilter() {
2241+
return filter;
2242+
}
2243+
2244+
/**
2245+
* Optional. Search string in the format given at
2246+
* https://developers.google.com/workspace/admin/directory/v1/list-query-operators
2247+
*/
2248+
public CountChromeOsDevices setFilter(java.lang.String filter) {
2249+
this.filter = filter;
2250+
return this;
2251+
}
2252+
2253+
/**
2254+
* Optional. Return devices from all child orgunits, as well as the specified org unit. If
2255+
* this is set to true, 'orgUnitPath' must be provided.
2256+
*/
2257+
@com.google.api.client.util.Key
2258+
private java.lang.Boolean includeChildOrgunits;
2259+
2260+
/** Optional. Return devices from all child orgunits, as well as the specified org unit. If this is set
2261+
to true, 'orgUnitPath' must be provided.
2262+
*/
2263+
public java.lang.Boolean getIncludeChildOrgunits() {
2264+
return includeChildOrgunits;
2265+
}
2266+
2267+
/**
2268+
* Optional. Return devices from all child orgunits, as well as the specified org unit. If
2269+
* this is set to true, 'orgUnitPath' must be provided.
2270+
*/
2271+
public CountChromeOsDevices setIncludeChildOrgunits(java.lang.Boolean includeChildOrgunits) {
2272+
this.includeChildOrgunits = includeChildOrgunits;
2273+
return this;
2274+
}
2275+
2276+
/**
2277+
* Optional. The full path of the organizational unit (minus the leading `/`) or its
2278+
* unique ID.
2279+
*/
2280+
@com.google.api.client.util.Key
2281+
private java.lang.String orgUnitPath;
2282+
2283+
/** Optional. The full path of the organizational unit (minus the leading `/`) or its unique ID.
2284+
*/
2285+
public java.lang.String getOrgUnitPath() {
2286+
return orgUnitPath;
2287+
}
2288+
2289+
/**
2290+
* Optional. The full path of the organizational unit (minus the leading `/`) or its
2291+
* unique ID.
2292+
*/
2293+
public CountChromeOsDevices setOrgUnitPath(java.lang.String orgUnitPath) {
2294+
this.orgUnitPath = orgUnitPath;
2295+
return this;
2296+
}
2297+
2298+
@Override
2299+
public CountChromeOsDevices set(String parameterName, Object value) {
2300+
return (CountChromeOsDevices) super.set(parameterName, value);
2301+
}
2302+
}
21082303
/**
21092304
* Issues a command for the device to execute.
21102305
*
@@ -20631,8 +20826,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
2063120826
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
2063220827
* <li>Android: {@code newCompatibleTransport} from
2063320828
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
20634-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
20635-
* </li>
20829+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
2063620830
* </ul>
2063720831
* @param jsonFactory JSON factory, which may be:
2063820832
* <ul>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.directory.model;
18+
19+
/**
20+
* A response for counting ChromeOS devices.
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 Admin SDK 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 CountChromeOsDevicesResponse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The total number of devices matching the request.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
37+
private java.lang.Long count;
38+
39+
/**
40+
* The total number of devices matching the request.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.Long getCount() {
44+
return count;
45+
}
46+
47+
/**
48+
* The total number of devices matching the request.
49+
* @param count count or {@code null} for none
50+
*/
51+
public CountChromeOsDevicesResponse setCount(java.lang.Long count) {
52+
this.count = count;
53+
return this;
54+
}
55+
56+
@Override
57+
public CountChromeOsDevicesResponse set(String fieldName, Object value) {
58+
return (CountChromeOsDevicesResponse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public CountChromeOsDevicesResponse clone() {
63+
return (CountChromeOsDevicesResponse) super.clone();
64+
}
65+
66+
}

clients/google-api-services-admin/directory_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-admin-directory</artifactId>
11-
<version>directory_v1-rev20260113-2.0.0</version>
12-
<name>Admin SDK API directory_v1-rev20260113-2.0.0</name>
11+
<version>directory_v1-rev20260210-2.0.0</version>
12+
<name>Admin SDK API directory_v1-rev20260210-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-admin/directory_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-admin-directory</artifactId>
25-
<version>directory_v1-rev20260113-2.0.0</version>
25+
<version>directory_v1-rev20260210-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-admin-directory:directory_v1-rev20260113-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-directory:directory_v1-rev20260210-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-admin/reports_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-admin-reports</artifactId>
25-
<version>reports_v1-rev20251202-2.0.0</version>
25+
<version>reports_v1-rev20260210-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-admin-reports:reports_v1-rev20251202-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-reports:reports_v1-rev20260210-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)