Skip to content

Commit 9cb5779

Browse files
1 parent a26db8f commit 9cb5779

File tree

5 files changed

+82
-58
lines changed

5 files changed

+82
-58
lines changed

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

clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/Storagetransfer.java

Lines changed: 55 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1571,12 +1571,17 @@ public Get set(String parameterName, Object value) {
15711571
* This request holds the parameters needed by the storagetransfer server. After setting any
15721572
* optional parameters, call the {@link List#execute()} method to invoke the remote operation.
15731573
*
1574-
* @param filter Required. A list of query parameters specified as JSON text in the form of:
1575-
* `{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1576-
* "jobStatuses":["status1","status2",...]}` Since `jobNames` and `jobStatuses` support
1577-
* multiple values, their values must be specified with array notation. `projectId` is
1578-
* required. `jobNames` and `jobStatuses` are optional. The valid values for `jobStatuses`
1579-
* are case-insensitive: ENABLED, DISABLED, and DELETED.
1574+
* @param filter Required. A list of query parameters specified as JSON text in the form of: ``` {
1575+
* "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1576+
* "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
1577+
* "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } ``` The JSON
1578+
* formatting in the example is for display only; provide the query parameters without spaces
1579+
* or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support
1580+
* multiple values, their values must be specified with array notation. `jobNames` and
1581+
* `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED *
1582+
* DELETED * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-
1583+
* bucket replication jobs. * Limit the results to jobs from a particular bucket with
1584+
* `sourceBucket` and/or to a particular bucket with `sinkBucket`.
15801585
* @return the request
15811586
*/
15821587
public List list(java.lang.String filter) throws java.io.IOException {
@@ -1599,12 +1604,17 @@ public class List extends StoragetransferRequest<com.google.api.services.storage
15991604
* {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)}
16001605
* must be called to initialize this instance immediately after invoking the constructor. </p>
16011606
*
1602-
* @param filter Required. A list of query parameters specified as JSON text in the form of:
1603-
* `{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1604-
* "jobStatuses":["status1","status2",...]}` Since `jobNames` and `jobStatuses` support
1605-
* multiple values, their values must be specified with array notation. `projectId` is
1606-
* required. `jobNames` and `jobStatuses` are optional. The valid values for `jobStatuses`
1607-
* are case-insensitive: ENABLED, DISABLED, and DELETED.
1607+
* @param filter Required. A list of query parameters specified as JSON text in the form of: ``` {
1608+
* "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1609+
* "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
1610+
* "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } ``` The JSON
1611+
* formatting in the example is for display only; provide the query parameters without spaces
1612+
* or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support
1613+
* multiple values, their values must be specified with array notation. `jobNames` and
1614+
* `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED *
1615+
* DELETED * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-
1616+
* bucket replication jobs. * Limit the results to jobs from a particular bucket with
1617+
* `sourceBucket` and/or to a particular bucket with `sinkBucket`.
16081618
* @since 1.13
16091619
*/
16101620
protected List(java.lang.String filter) {
@@ -1678,34 +1688,49 @@ public List setUploadProtocol(java.lang.String uploadProtocol) {
16781688
}
16791689

16801690
/**
1681-
* Required. A list of query parameters specified as JSON text in the form of:
1682-
* `{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1683-
* "jobStatuses":["status1","status2",...]}` Since `jobNames` and `jobStatuses` support
1684-
* multiple values, their values must be specified with array notation. `projectId` is
1685-
* required. `jobNames` and `jobStatuses` are optional. The valid values for `jobStatuses` are
1686-
* case-insensitive: ENABLED, DISABLED, and DELETED.
1691+
* Required. A list of query parameters specified as JSON text in the form of: ``` {
1692+
* "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1693+
* "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
1694+
* "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } ``` The JSON
1695+
* formatting in the example is for display only; provide the query parameters without spaces
1696+
* or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support
1697+
* multiple values, their values must be specified with array notation. `jobNames` and
1698+
* `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED *
1699+
* DELETED * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-
1700+
* bucket replication jobs. * Limit the results to jobs from a particular bucket with
1701+
* `sourceBucket` and/or to a particular bucket with `sinkBucket`.
16871702
*/
16881703
@com.google.api.client.util.Key
16891704
private java.lang.String filter;
16901705

1691-
/** Required. A list of query parameters specified as JSON text in the form of:
1692-
`{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1693-
"jobStatuses":["status1","status2",...]}` Since `jobNames` and `jobStatuses` support multiple
1694-
values, their values must be specified with array notation. `projectId` is required. `jobNames` and
1695-
`jobStatuses` are optional. The valid values for `jobStatuses` are case-insensitive: ENABLED,
1696-
DISABLED, and DELETED.
1706+
/** Required. A list of query parameters specified as JSON text in the form of: ``` {
1707+
"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1708+
"jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
1709+
"sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } ``` The JSON formatting in
1710+
the example is for display only; provide the query parameters without spaces or line breaks. *
1711+
`projectId` is required. * Since `jobNames` and `jobStatuses` support multiple values, their values
1712+
must be specified with array notation. `jobNames` and `jobStatuses` are optional. Valid values are
1713+
case-insensitive: * ENABLED * DISABLED * DELETED * Specify
1714+
`"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-bucket replication jobs. *
1715+
Limit the results to jobs from a particular bucket with `sourceBucket` and/or to a particular
1716+
bucket with `sinkBucket`.
16971717
*/
16981718
public java.lang.String getFilter() {
16991719
return filter;
17001720
}
17011721

17021722
/**
1703-
* Required. A list of query parameters specified as JSON text in the form of:
1704-
* `{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1705-
* "jobStatuses":["status1","status2",...]}` Since `jobNames` and `jobStatuses` support
1706-
* multiple values, their values must be specified with array notation. `projectId` is
1707-
* required. `jobNames` and `jobStatuses` are optional. The valid values for `jobStatuses` are
1708-
* case-insensitive: ENABLED, DISABLED, and DELETED.
1723+
* Required. A list of query parameters specified as JSON text in the form of: ``` {
1724+
* "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...],
1725+
* "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS",
1726+
* "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", } ``` The JSON
1727+
* formatting in the example is for display only; provide the query parameters without spaces
1728+
* or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support
1729+
* multiple values, their values must be specified with array notation. `jobNames` and
1730+
* `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED *
1731+
* DELETED * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-
1732+
* bucket replication jobs. * Limit the results to jobs from a particular bucket with
1733+
* `sourceBucket` and/or to a particular bucket with `sinkBucket`.
17091734
*/
17101735
public List setFilter(java.lang.String filter) {
17111736
this.filter = filter;

clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/ReplicationSpec.java

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
package com.google.api.services.storagetransfer.v1.model;
1818

1919
/**
20-
* Specifies the configuration for running a replication job.
20+
* Specifies the configuration for a cross-bucket replication job. Cross-bucket replication copies
21+
* new or updated objects from a source Cloud Storage bucket to a destination Cloud Storage bucket.
22+
* Existing objects in the source bucket are not copied by a new cross-bucket replication job.
2123
*
2224
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2325
* transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see:
@@ -30,46 +32,45 @@
3032
public final class ReplicationSpec extends com.google.api.client.json.GenericJson {
3133

3234
/**
33-
* Specifies cloud Storage data sink.
35+
* The Cloud Storage bucket to which to replicate objects.
3436
* The value may be {@code null}.
3537
*/
3638
@com.google.api.client.util.Key
3739
private GcsData gcsDataSink;
3840

3941
/**
40-
* Specifies cloud Storage data source.
42+
* The Cloud Storage bucket from which to replicate objects.
4143
* The value may be {@code null}.
4244
*/
4345
@com.google.api.client.util.Key
4446
private GcsData gcsDataSource;
4547

4648
/**
47-
* Specifies the object conditions to only include objects that satisfy these conditions in the
48-
* set of data source objects. Object conditions based on objects' "last modification time" do not
49-
* exclude objects in a data sink.
49+
* Object conditions that determine which objects are transferred. For replication jobs, only
50+
* `include_prefixes` and `exclude_prefixes` are supported.
5051
* The value may be {@code null}.
5152
*/
5253
@com.google.api.client.util.Key
5354
private ObjectConditions objectConditions;
5455

5556
/**
56-
* Specifies the actions to be performed on the object during replication. Delete options are not
57-
* supported for replication and when specified, the request fails with an INVALID_ARGUMENT error.
57+
* Specifies the metadata options to be applied during replication. Delete options are not
58+
* supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.
5859
* The value may be {@code null}.
5960
*/
6061
@com.google.api.client.util.Key
6162
private TransferOptions transferOptions;
6263

6364
/**
64-
* Specifies cloud Storage data sink.
65+
* The Cloud Storage bucket to which to replicate objects.
6566
* @return value or {@code null} for none
6667
*/
6768
public GcsData getGcsDataSink() {
6869
return gcsDataSink;
6970
}
7071

7172
/**
72-
* Specifies cloud Storage data sink.
73+
* The Cloud Storage bucket to which to replicate objects.
7374
* @param gcsDataSink gcsDataSink or {@code null} for none
7475
*/
7576
public ReplicationSpec setGcsDataSink(GcsData gcsDataSink) {
@@ -78,15 +79,15 @@ public ReplicationSpec setGcsDataSink(GcsData gcsDataSink) {
7879
}
7980

8081
/**
81-
* Specifies cloud Storage data source.
82+
* The Cloud Storage bucket from which to replicate objects.
8283
* @return value or {@code null} for none
8384
*/
8485
public GcsData getGcsDataSource() {
8586
return gcsDataSource;
8687
}
8788

8889
/**
89-
* Specifies cloud Storage data source.
90+
* The Cloud Storage bucket from which to replicate objects.
9091
* @param gcsDataSource gcsDataSource or {@code null} for none
9192
*/
9293
public ReplicationSpec setGcsDataSource(GcsData gcsDataSource) {
@@ -95,19 +96,17 @@ public ReplicationSpec setGcsDataSource(GcsData gcsDataSource) {
9596
}
9697

9798
/**
98-
* Specifies the object conditions to only include objects that satisfy these conditions in the
99-
* set of data source objects. Object conditions based on objects' "last modification time" do not
100-
* exclude objects in a data sink.
99+
* Object conditions that determine which objects are transferred. For replication jobs, only
100+
* `include_prefixes` and `exclude_prefixes` are supported.
101101
* @return value or {@code null} for none
102102
*/
103103
public ObjectConditions getObjectConditions() {
104104
return objectConditions;
105105
}
106106

107107
/**
108-
* Specifies the object conditions to only include objects that satisfy these conditions in the
109-
* set of data source objects. Object conditions based on objects' "last modification time" do not
110-
* exclude objects in a data sink.
108+
* Object conditions that determine which objects are transferred. For replication jobs, only
109+
* `include_prefixes` and `exclude_prefixes` are supported.
111110
* @param objectConditions objectConditions or {@code null} for none
112111
*/
113112
public ReplicationSpec setObjectConditions(ObjectConditions objectConditions) {
@@ -116,17 +115,17 @@ public ReplicationSpec setObjectConditions(ObjectConditions objectConditions) {
116115
}
117116

118117
/**
119-
* Specifies the actions to be performed on the object during replication. Delete options are not
120-
* supported for replication and when specified, the request fails with an INVALID_ARGUMENT error.
118+
* Specifies the metadata options to be applied during replication. Delete options are not
119+
* supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.
121120
* @return value or {@code null} for none
122121
*/
123122
public TransferOptions getTransferOptions() {
124123
return transferOptions;
125124
}
126125

127126
/**
128-
* Specifies the actions to be performed on the object during replication. Delete options are not
129-
* supported for replication and when specified, the request fails with an INVALID_ARGUMENT error.
127+
* Specifies the metadata options to be applied during replication. Delete options are not
128+
* supported. If a delete option is specified, the request fails with an INVALID_ARGUMENT error.
130129
* @param transferOptions transferOptions or {@code null} for none
131130
*/
132131
public ReplicationSpec setTransferOptions(TransferOptions transferOptions) {

clients/google-api-services-storagetransfer/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-storagetransfer</artifactId>
11-
<version>v1-rev20240622-2.0.0</version>
12-
<name>Storage Transfer API v1-rev20240622-2.0.0</name>
11+
<version>v1-rev20240928-2.0.0</version>
12+
<name>Storage Transfer API v1-rev20240928-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

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

0 commit comments

Comments
 (0)