Skip to content

Commit 15c6447

Browse files
1 parent 0e63a4a commit 15c6447

25 files changed

Lines changed: 1282 additions & 341 deletions

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

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/StorageBatchOperations.java

Lines changed: 86 additions & 93 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.storagebatchoperations.v1.model;
18+
19+
/**
20+
* Represents updates to existing access-control entries on an object.
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 Storage Batch Operations API. For a detailed
24+
* explanation 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 AccessControlsUpdates extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Optional. Grants to add or update. If a grant for same entity exists, its role is updated.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.List<ObjectAccessControl> grants;
39+
40+
/**
41+
* Optional. Entities for which all grants should be removed. An entity can't be in both `grants`
42+
* and `remove_entities`.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.util.List<java.lang.String> removeEntities;
47+
48+
/**
49+
* Optional. Grants to add or update. If a grant for same entity exists, its role is updated.
50+
* @return value or {@code null} for none
51+
*/
52+
public java.util.List<ObjectAccessControl> getGrants() {
53+
return grants;
54+
}
55+
56+
/**
57+
* Optional. Grants to add or update. If a grant for same entity exists, its role is updated.
58+
* @param grants grants or {@code null} for none
59+
*/
60+
public AccessControlsUpdates setGrants(java.util.List<ObjectAccessControl> grants) {
61+
this.grants = grants;
62+
return this;
63+
}
64+
65+
/**
66+
* Optional. Entities for which all grants should be removed. An entity can't be in both `grants`
67+
* and `remove_entities`.
68+
* @return value or {@code null} for none
69+
*/
70+
public java.util.List<java.lang.String> getRemoveEntities() {
71+
return removeEntities;
72+
}
73+
74+
/**
75+
* Optional. Entities for which all grants should be removed. An entity can't be in both `grants`
76+
* and `remove_entities`.
77+
* @param removeEntities removeEntities or {@code null} for none
78+
*/
79+
public AccessControlsUpdates setRemoveEntities(java.util.List<java.lang.String> removeEntities) {
80+
this.removeEntities = removeEntities;
81+
return this;
82+
}
83+
84+
@Override
85+
public AccessControlsUpdates set(String fieldName, Object value) {
86+
return (AccessControlsUpdates) super.set(fieldName, value);
87+
}
88+
89+
@Override
90+
public AccessControlsUpdates clone() {
91+
return (AccessControlsUpdates) super.clone();
92+
}
93+
94+
}

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketList.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
public final class BucketList extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Required. List of buckets and their objects to be transformed. Currently, only one bucket
35-
* configuration is supported. If multiple buckets are specified, an error will be returned.
34+
* Required. List of buckets and their objects to be transformed. You can specify only one bucket
35+
* per job. If multiple buckets are specified, an error occurs.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -45,17 +45,17 @@ public final class BucketList extends com.google.api.client.json.GenericJson {
4545
}
4646

4747
/**
48-
* Required. List of buckets and their objects to be transformed. Currently, only one bucket
49-
* configuration is supported. If multiple buckets are specified, an error will be returned.
48+
* Required. List of buckets and their objects to be transformed. You can specify only one bucket
49+
* per job. If multiple buckets are specified, an error occurs.
5050
* @return value or {@code null} for none
5151
*/
5252
public java.util.List<Bucket> getBuckets() {
5353
return buckets;
5454
}
5555

5656
/**
57-
* Required. List of buckets and their objects to be transformed. Currently, only one bucket
58-
* configuration is supported. If multiple buckets are specified, an error will be returned.
57+
* Required. List of buckets and their objects to be transformed. You can specify only one bucket
58+
* per job. If multiple buckets are specified, an error occurs.
5959
* @param buckets buckets or {@code null} for none
6060
*/
6161
public BucketList setBuckets(java.util.List<Bucket> buckets) {

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/BucketOperation.java

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public final class BucketOperation extends com.google.api.client.json.GenericJso
8181

8282
/**
8383
* Identifier. The resource name of the BucketOperation. This is defined by the service. Format:
84-
* projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
84+
* `projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}`.
8585
* The value may be {@code null}.
8686
*/
8787
@com.google.api.client.util.Key
@@ -94,6 +94,13 @@ public final class BucketOperation extends com.google.api.client.json.GenericJso
9494
@com.google.api.client.util.Key
9595
private PrefixList prefixList;
9696

97+
/**
98+
* Specifies objects matching the object filters in a project source.
99+
* The value may be {@code null}.
100+
*/
101+
@com.google.api.client.util.Key
102+
private ProjectSource projectSource;
103+
97104
/**
98105
* Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata
99106
* i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type,
@@ -117,6 +124,13 @@ public final class BucketOperation extends com.google.api.client.json.GenericJso
117124
@com.google.api.client.util.Key
118125
private RewriteObject rewriteObject;
119126

127+
/**
128+
* Updates object ACLs.
129+
* The value may be {@code null}.
130+
*/
131+
@com.google.api.client.util.Key
132+
private SetObjectAcls setObjectAcls;
133+
120134
/**
121135
* Output only. The time that the BucketOperation was started.
122136
* The value may be {@code null}.
@@ -259,7 +273,7 @@ public BucketOperation setManifest(Manifest manifest) {
259273

260274
/**
261275
* Identifier. The resource name of the BucketOperation. This is defined by the service. Format:
262-
* projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
276+
* `projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}`.
263277
* @return value or {@code null} for none
264278
*/
265279
public java.lang.String getName() {
@@ -268,7 +282,7 @@ public java.lang.String getName() {
268282

269283
/**
270284
* Identifier. The resource name of the BucketOperation. This is defined by the service. Format:
271-
* projects/{project}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}.
285+
* `projects/{project_id}/locations/global/jobs/{job_id}/bucketOperations/{bucket_operation}`.
272286
* @param name name or {@code null} for none
273287
*/
274288
public BucketOperation setName(java.lang.String name) {
@@ -293,6 +307,23 @@ public BucketOperation setPrefixList(PrefixList prefixList) {
293307
return this;
294308
}
295309

310+
/**
311+
* Specifies objects matching the object filters in a project source.
312+
* @return value or {@code null} for none
313+
*/
314+
public ProjectSource getProjectSource() {
315+
return projectSource;
316+
}
317+
318+
/**
319+
* Specifies objects matching the object filters in a project source.
320+
* @param projectSource projectSource or {@code null} for none
321+
*/
322+
public BucketOperation setProjectSource(ProjectSource projectSource) {
323+
this.projectSource = projectSource;
324+
return this;
325+
}
326+
296327
/**
297328
* Updates object metadata. Allows updating fixed-key and custom metadata and fixed-key metadata
298329
* i.e. Cache-Control, Content-Disposition, Content-Encoding, Content-Language, Content-Type,
@@ -348,6 +379,23 @@ public BucketOperation setRewriteObject(RewriteObject rewriteObject) {
348379
return this;
349380
}
350381

382+
/**
383+
* Updates object ACLs.
384+
* @return value or {@code null} for none
385+
*/
386+
public SetObjectAcls getSetObjectAcls() {
387+
return setObjectAcls;
388+
}
389+
390+
/**
391+
* Updates object ACLs.
392+
* @param setObjectAcls setObjectAcls or {@code null} for none
393+
*/
394+
public BucketOperation setSetObjectAcls(SetObjectAcls setObjectAcls) {
395+
this.setObjectAcls = setObjectAcls;
396+
return this;
397+
}
398+
351399
/**
352400
* Output only. The time that the BucketOperation was started.
353401
* @return value or {@code null} for none

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/CancelJobRequest.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ public final class CancelJobRequest extends com.google.api.client.json.GenericJs
3232

3333
/**
3434
* Optional. An optional request ID to identify requests. Specify a unique request ID in case you
35-
* need to retry your request. Requests with same `request_id` will be ignored for at least 60
36-
* minutes since the first request. The request ID must be a valid UUID with the exception that
37-
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
35+
* need to retry your request. Requests with same `request_id` are ignored for at least 60 minutes
36+
* since the first request. The request ID must be a valid UUID with the exception that zero UUID
37+
* isn't supported (00000000-0000-0000-0000-000000000000).
3838
* The value may be {@code null}.
3939
*/
4040
@com.google.api.client.util.Key
4141
private java.lang.String requestId;
4242

4343
/**
4444
* Optional. An optional request ID to identify requests. Specify a unique request ID in case you
45-
* need to retry your request. Requests with same `request_id` will be ignored for at least 60
46-
* minutes since the first request. The request ID must be a valid UUID with the exception that
47-
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
45+
* need to retry your request. Requests with same `request_id` are ignored for at least 60 minutes
46+
* since the first request. The request ID must be a valid UUID with the exception that zero UUID
47+
* isn't supported (00000000-0000-0000-0000-000000000000).
4848
* @return value or {@code null} for none
4949
*/
5050
public java.lang.String getRequestId() {
@@ -53,9 +53,9 @@ public java.lang.String getRequestId() {
5353

5454
/**
5555
* Optional. An optional request ID to identify requests. Specify a unique request ID in case you
56-
* need to retry your request. Requests with same `request_id` will be ignored for at least 60
57-
* minutes since the first request. The request ID must be a valid UUID with the exception that
58-
* zero UUID is not supported (00000000-0000-0000-0000-000000000000).
56+
* need to retry your request. Requests with same `request_id` are ignored for at least 60 minutes
57+
* since the first request. The request ID must be a valid UUID with the exception that zero UUID
58+
* isn't supported (00000000-0000-0000-0000-000000000000).
5959
* @param requestId requestId or {@code null} for none
6060
*/
6161
public CancelJobRequest setRequestId(java.lang.String requestId) {

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/CustomContextUpdates.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
public final class CustomContextUpdates extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Optional. Custom contexts to clear by key. A key cannot be present in both `updates` and
34+
* Optional. Custom contexts to clear by key. A key can't be present in both `updates` and
3535
* `keys_to_clear`.
3636
* The value may be {@code null}.
3737
*/
@@ -46,7 +46,7 @@ public final class CustomContextUpdates extends com.google.api.client.json.Gener
4646
private java.util.Map<String, ObjectCustomContextPayload> updates;
4747

4848
/**
49-
* Optional. Custom contexts to clear by key. A key cannot be present in both `updates` and
49+
* Optional. Custom contexts to clear by key. A key can't be present in both `updates` and
5050
* `keys_to_clear`.
5151
* @return value or {@code null} for none
5252
*/
@@ -55,7 +55,7 @@ public java.util.List<java.lang.String> getKeysToClear() {
5555
}
5656

5757
/**
58-
* Optional. Custom contexts to clear by key. A key cannot be present in both `updates` and
58+
* Optional. Custom contexts to clear by key. A key can't be present in both `updates` and
5959
* `keys_to_clear`.
6060
* @param keysToClear keysToClear or {@code null} for none
6161
*/

clients/google-api-services-storagebatchoperations/v1/2.0.0/com/google/api/services/storagebatchoperations/v1/model/DeleteObject.java

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,25 @@ public final class DeleteObject extends com.google.api.client.json.GenericJson {
3232

3333
/**
3434
* Required. Controls deletion behavior when versioning is enabled for the object's bucket. If
35-
* true both live and noncurrent objects will be permanently deleted. Otherwise live objects in
35+
* true, both live and noncurrent objects will be permanently deleted. Otherwise live objects in
3636
* versioned buckets will become noncurrent and objects that were already noncurrent will be
3737
* skipped. This setting doesn't have any impact on the Soft Delete feature. All objects deleted
3838
* by this service can be be restored for the duration of the Soft Delete retention duration if
3939
* enabled. If enabled and the manifest doesn't specify an object's generation, a
40-
* GetObjectMetadata call (a Class B operation) will be made to determine the live object
41-
* generation.
40+
* `GetObjectMetadata` call is made to determine the live object generation.
4241
* The value may be {@code null}.
4342
*/
4443
@com.google.api.client.util.Key
4544
private java.lang.Boolean permanentObjectDeletionEnabled;
4645

4746
/**
4847
* Required. Controls deletion behavior when versioning is enabled for the object's bucket. If
49-
* true both live and noncurrent objects will be permanently deleted. Otherwise live objects in
48+
* true, both live and noncurrent objects will be permanently deleted. Otherwise live objects in
5049
* versioned buckets will become noncurrent and objects that were already noncurrent will be
5150
* skipped. This setting doesn't have any impact on the Soft Delete feature. All objects deleted
5251
* by this service can be be restored for the duration of the Soft Delete retention duration if
5352
* enabled. If enabled and the manifest doesn't specify an object's generation, a
54-
* GetObjectMetadata call (a Class B operation) will be made to determine the live object
55-
* generation.
53+
* `GetObjectMetadata` call is made to determine the live object generation.
5654
* @return value or {@code null} for none
5755
*/
5856
public java.lang.Boolean getPermanentObjectDeletionEnabled() {
@@ -61,13 +59,12 @@ public java.lang.Boolean getPermanentObjectDeletionEnabled() {
6159

6260
/**
6361
* Required. Controls deletion behavior when versioning is enabled for the object's bucket. If
64-
* true both live and noncurrent objects will be permanently deleted. Otherwise live objects in
62+
* true, both live and noncurrent objects will be permanently deleted. Otherwise live objects in
6563
* versioned buckets will become noncurrent and objects that were already noncurrent will be
6664
* skipped. This setting doesn't have any impact on the Soft Delete feature. All objects deleted
6765
* by this service can be be restored for the duration of the Soft Delete retention duration if
6866
* enabled. If enabled and the manifest doesn't specify an object's generation, a
69-
* GetObjectMetadata call (a Class B operation) will be made to determine the live object
70-
* generation.
67+
* `GetObjectMetadata` call is made to determine the live object generation.
7168
* @param permanentObjectDeletionEnabled permanentObjectDeletionEnabled or {@code null} for none
7269
*/
7370
public DeleteObject setPermanentObjectDeletionEnabled(java.lang.Boolean permanentObjectDeletionEnabled) {

0 commit comments

Comments
 (0)