Skip to content

Commit d8ff6a8

Browse files
1 parent c0699e6 commit d8ff6a8

File tree

5 files changed

+120
-6
lines changed

5 files changed

+120
-6
lines changed

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

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Represents a data capacity with some amount of current usage in bytes.
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 ByteUsage extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Output only. The total capacity value, in bytes.
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 capacityBytes;
38+
39+
/**
40+
* Output only. The current usage value, in bytes.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.lang.Long usedBytes;
45+
46+
/**
47+
* Output only. The total capacity value, in bytes.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.Long getCapacityBytes() {
51+
return capacityBytes;
52+
}
53+
54+
/**
55+
* Output only. The total capacity value, in bytes.
56+
* @param capacityBytes capacityBytes or {@code null} for none
57+
*/
58+
public ByteUsage setCapacityBytes(java.lang.Long capacityBytes) {
59+
this.capacityBytes = capacityBytes;
60+
return this;
61+
}
62+
63+
/**
64+
* Output only. The current usage value, in bytes.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Long getUsedBytes() {
68+
return usedBytes;
69+
}
70+
71+
/**
72+
* Output only. The current usage value, in bytes.
73+
* @param usedBytes usedBytes or {@code null} for none
74+
*/
75+
public ByteUsage setUsedBytes(java.lang.Long usedBytes) {
76+
this.usedBytes = usedBytes;
77+
return this;
78+
}
79+
80+
@Override
81+
public ByteUsage set(String fieldName, Object value) {
82+
return (ByteUsage) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public ByteUsage clone() {
87+
return (ByteUsage) super.clone();
88+
}
89+
90+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,13 @@ public final class ChromeOsDevice extends com.google.api.client.json.GenericJson
174174
@com.google.api.client.util.Key
175175
private java.lang.String deviceLicenseType;
176176

177+
/**
178+
* Output only. How much disk space the device has available and is currently using.
179+
* The value may be {@code null}.
180+
*/
181+
@com.google.api.client.util.Key
182+
private ByteUsage diskSpaceUsage;
183+
177184
/**
178185
* Reports of disk space and other info about mounted/connected volumes.
179186
* The value may be {@code null}.
@@ -756,6 +763,23 @@ public ChromeOsDevice setDeviceLicenseType(java.lang.String deviceLicenseType) {
756763
return this;
757764
}
758765

766+
/**
767+
* Output only. How much disk space the device has available and is currently using.
768+
* @return value or {@code null} for none
769+
*/
770+
public ByteUsage getDiskSpaceUsage() {
771+
return diskSpaceUsage;
772+
}
773+
774+
/**
775+
* Output only. How much disk space the device has available and is currently using.
776+
* @param diskSpaceUsage diskSpaceUsage or {@code null} for none
777+
*/
778+
public ChromeOsDevice setDiskSpaceUsage(ByteUsage diskSpaceUsage) {
779+
this.diskSpaceUsage = diskSpaceUsage;
780+
return this;
781+
}
782+
759783
/**
760784
* Reports of disk space and other info about mounted/connected volumes.
761785
* @return value or {@code null} for none

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-rev20240924-2.0.0</version>
12-
<name>Admin SDK API directory_v1-rev20240924-2.0.0</name>
11+
<version>directory_v1-rev20241029-2.0.0</version>
12+
<name>Admin SDK API directory_v1-rev20241029-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-rev20240924-2.0.0</version>
25+
<version>directory_v1-rev20241029-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-rev20240924-2.0.0'
38+
implementation 'com.google.apis:google-api-services-admin-directory:directory_v1-rev20241029-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)