Skip to content

Commit c38e963

Browse files
1 parent ef3d3a3 commit c38e963

File tree

6 files changed

+217
-6
lines changed

6 files changed

+217
-6
lines changed

clients/google-api-services-storage/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-storage</artifactId>
25-
<version>v1-rev20250605-2.0.0</version>
25+
<version>v1-rev20250629-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-storage:v1-rev20250605-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storage:v1-rev20250629-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/Storage.java

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11125,6 +11125,29 @@ public List setEndOffset(java.lang.String endOffset) {
1112511125
return this;
1112611126
}
1112711127

11128+
/**
11129+
* Filter the returned objects. Currently only supported for the contexts field. If delimiter
11130+
* is set, the returned prefixes are exempt from this filter.
11131+
*/
11132+
@com.google.api.client.util.Key
11133+
private java.lang.String filter;
11134+
11135+
/** Filter the returned objects. Currently only supported for the contexts field. If delimiter is set,
11136+
the returned prefixes are exempt from this filter.
11137+
*/
11138+
public java.lang.String getFilter() {
11139+
return filter;
11140+
}
11141+
11142+
/**
11143+
* Filter the returned objects. Currently only supported for the contexts field. If delimiter
11144+
* is set, the returned prefixes are exempt from this filter.
11145+
*/
11146+
public List setFilter(java.lang.String filter) {
11147+
this.filter = filter;
11148+
return this;
11149+
}
11150+
1112811151
/**
1112911152
* Only applicable if delimiter is set to '/'. If true, will also include folders and managed
1113011153
* folders (besides objects) in the returned prefixes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
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.storage.model;
18+
19+
/**
20+
* The payload of a single user-defined object context.
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 Cloud Storage JSON API. For a detailed explanation
24+
* see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class ObjectCustomContextPayload extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* The time at which the object context was created in RFC 3339 format.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private com.google.api.client.util.DateTime createTime;
39+
40+
/**
41+
* The time at which the object context was last updated in RFC 3339 format.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private com.google.api.client.util.DateTime updateTime;
46+
47+
/**
48+
* The value of the object context.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String value;
53+
54+
/**
55+
* The time at which the object context was created in RFC 3339 format.
56+
* @return value or {@code null} for none
57+
*/
58+
public com.google.api.client.util.DateTime getCreateTime() {
59+
return createTime;
60+
}
61+
62+
/**
63+
* The time at which the object context was created in RFC 3339 format.
64+
* @param createTime createTime or {@code null} for none
65+
*/
66+
public ObjectCustomContextPayload setCreateTime(com.google.api.client.util.DateTime createTime) {
67+
this.createTime = createTime;
68+
return this;
69+
}
70+
71+
/**
72+
* The time at which the object context was last updated in RFC 3339 format.
73+
* @return value or {@code null} for none
74+
*/
75+
public com.google.api.client.util.DateTime getUpdateTime() {
76+
return updateTime;
77+
}
78+
79+
/**
80+
* The time at which the object context was last updated in RFC 3339 format.
81+
* @param updateTime updateTime or {@code null} for none
82+
*/
83+
public ObjectCustomContextPayload setUpdateTime(com.google.api.client.util.DateTime updateTime) {
84+
this.updateTime = updateTime;
85+
return this;
86+
}
87+
88+
/**
89+
* The value of the object context.
90+
* @return value or {@code null} for none
91+
*/
92+
public java.lang.String getValue() {
93+
return value;
94+
}
95+
96+
/**
97+
* The value of the object context.
98+
* @param value value or {@code null} for none
99+
*/
100+
public ObjectCustomContextPayload setValue(java.lang.String value) {
101+
this.value = value;
102+
return this;
103+
}
104+
105+
@Override
106+
public ObjectCustomContextPayload set(String fieldName, Object value) {
107+
return (ObjectCustomContextPayload) super.set(fieldName, value);
108+
}
109+
110+
@Override
111+
public ObjectCustomContextPayload clone() {
112+
return (ObjectCustomContextPayload) super.clone();
113+
}
114+
115+
}

clients/google-api-services-storage/v1/2.0.0/com/google/api/services/storage/model/StorageObject.java

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ public final class StorageObject extends com.google.api.client.json.GenericJson
8989
@com.google.api.client.util.Key
9090
private java.lang.String contentType;
9191

92+
/**
93+
* User-defined or system-defined object contexts. Each object context is a key-payload pair,
94+
* where the key provides the identification and the payload holds the associated value and
95+
* additional metadata.
96+
* The value may be {@code null}.
97+
*/
98+
@com.google.api.client.util.Key
99+
private Contexts contexts;
100+
92101
/**
93102
* CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte
94103
* order. For more information about using the CRC32c checksum, see [Data Validation and Change
@@ -463,6 +472,27 @@ public StorageObject setContentType(java.lang.String contentType) {
463472
return this;
464473
}
465474

475+
/**
476+
* User-defined or system-defined object contexts. Each object context is a key-payload pair,
477+
* where the key provides the identification and the payload holds the associated value and
478+
* additional metadata.
479+
* @return value or {@code null} for none
480+
*/
481+
public Contexts getContexts() {
482+
return contexts;
483+
}
484+
485+
/**
486+
* User-defined or system-defined object contexts. Each object context is a key-payload pair,
487+
* where the key provides the identification and the payload holds the associated value and
488+
* additional metadata.
489+
* @param contexts contexts or {@code null} for none
490+
*/
491+
public StorageObject setContexts(Contexts contexts) {
492+
this.contexts = contexts;
493+
return this;
494+
}
495+
466496
/**
467497
* CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte
468498
* order. For more information about using the CRC32c checksum, see [Data Validation and Change
@@ -1024,6 +1054,49 @@ public StorageObject clone() {
10241054
return (StorageObject) super.clone();
10251055
}
10261056

1057+
/**
1058+
* User-defined or system-defined object contexts. Each object context is a key-payload pair, where
1059+
* the key provides the identification and the payload holds the associated value and additional
1060+
* metadata.
1061+
*/
1062+
public static final class Contexts extends com.google.api.client.json.GenericJson {
1063+
1064+
/**
1065+
* User-defined object contexts.
1066+
* The value may be {@code null}.
1067+
*/
1068+
@com.google.api.client.util.Key
1069+
private java.util.Map<String, ObjectCustomContextPayload> custom;
1070+
1071+
/**
1072+
* User-defined object contexts.
1073+
* @return value or {@code null} for none
1074+
*/
1075+
public java.util.Map<String, ObjectCustomContextPayload> getCustom() {
1076+
return custom;
1077+
}
1078+
1079+
/**
1080+
* User-defined object contexts.
1081+
* @param custom custom or {@code null} for none
1082+
*/
1083+
public Contexts setCustom(java.util.Map<String, ObjectCustomContextPayload> custom) {
1084+
this.custom = custom;
1085+
return this;
1086+
}
1087+
1088+
@Override
1089+
public Contexts set(String fieldName, Object value) {
1090+
return (Contexts) super.set(fieldName, value);
1091+
}
1092+
1093+
@Override
1094+
public Contexts clone() {
1095+
return (Contexts) super.clone();
1096+
}
1097+
1098+
}
1099+
10271100
/**
10281101
* Metadata of customer-supplied encryption key, if the object is encrypted by such a key.
10291102
*/

clients/google-api-services-storage/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-storage</artifactId>
11-
<version>v1-rev20250605-2.0.0</version>
12-
<name>Cloud Storage JSON API v1-rev20250605-2.0.0</name>
11+
<version>v1-rev20250629-2.0.0</version>
12+
<name>Cloud Storage JSON API v1-rev20250629-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-storage/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-storage</artifactId>
25-
<version>v1-rev20250605-2.0.0</version>
25+
<version>v1-rev20250629-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-storage:v1-rev20250605-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storage:v1-rev20250629-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)