Skip to content

Commit 09a3400

Browse files
1 parent 3f83abe commit 09a3400

File tree

6 files changed

+63
-11
lines changed

6 files changed

+63
-11
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-rev20250426-2.0.0</version>
25+
<version>v1-rev20250503-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-rev20250426-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250503-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,17 @@ public final class HttpData extends com.google.api.client.json.GenericJson {
4848

4949
/**
5050
* Required. The URL that points to the file that stores the object list entries. This file must
51-
* allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported.
51+
* allow public access. The URL is either an HTTP/HTTPS address (e.g.
52+
* `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-bucket/urllist.tsv`).
5253
* The value may be {@code null}.
5354
*/
5455
@com.google.api.client.util.Key
5556
private java.lang.String listUrl;
5657

5758
/**
5859
* Required. The URL that points to the file that stores the object list entries. This file must
59-
* allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported.
60+
* allow public access. The URL is either an HTTP/HTTPS address (e.g.
61+
* `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-bucket/urllist.tsv`).
6062
* @return value or {@code null} for none
6163
*/
6264
public java.lang.String getListUrl() {
@@ -65,7 +67,8 @@ public java.lang.String getListUrl() {
6567

6668
/**
6769
* Required. The URL that points to the file that stores the object list entries. This file must
68-
* allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported.
70+
* allow public access. The URL is either an HTTP/HTTPS address (e.g.
71+
* `https://example.com/urllist.tsv`) or a Cloud Storage path (e.g. `gs://my-bucket/urllist.tsv`).
6972
* @param listUrl listUrl or {@code null} for none
7073
*/
7174
public HttpData setListUrl(java.lang.String listUrl) {

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@
2121
* as S3, Azure, and Cloud Storage. The "last modification time" refers to the time of the last
2222
* change to the object's content or metadata — specifically, this is the `updated` property of
2323
* Cloud Storage objects, the `LastModified` field of S3 objects, and the `Last-Modified` header of
24-
* Azure blobs. Transfers with a PosixFilesystem source or destination don't support
25-
* `ObjectConditions`.
24+
* Azure blobs. For S3 objects, the `LastModified` value is the time the object begins uploading. If
25+
* the object meets your "last modification time" criteria, but has not finished uploading, the
26+
* object is not transferred. See [Transfer from Amazon S3 to Cloud
27+
* Storage](https://cloud.google.com/storage-transfer/docs/create-
28+
* transfers/agentless/s3#transfer_options) for more information. Transfers with a PosixFilesystem
29+
* source or destination don't support `ObjectConditions`.
2630
*
2731
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2832
* transmitted over HTTP when working with the Storage Transfer API. For a detailed explanation see:

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

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,20 @@ public final class TransferJob extends com.google.api.client.json.GenericJson {
128128
@com.google.api.client.util.Key
129129
private Schedule schedule;
130130

131+
/**
132+
* Optional. The service account to be used to access resources in the consumer project in the
133+
* transfer job. We accept `email` or `uniqueId` for the service account. Service account format
134+
* is projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See https://cloud.google.com/iam/docs
135+
* /reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters for
136+
* details. Caller requires the following IAM permission on the specified service account:
137+
* `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@storage-transfer-
138+
* service.iam.gserviceaccount.com requires the following IAM permission on the specified service
139+
* account: `iam.serviceAccounts.getAccessToken`
140+
* The value may be {@code null}.
141+
*/
142+
@com.google.api.client.util.Key
143+
private java.lang.String serviceAccount;
144+
131145
/**
132146
* Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The
133147
* effect of the new job status takes place during a subsequent job run. For example, if you
@@ -379,6 +393,37 @@ public TransferJob setSchedule(Schedule schedule) {
379393
return this;
380394
}
381395

396+
/**
397+
* Optional. The service account to be used to access resources in the consumer project in the
398+
* transfer job. We accept `email` or `uniqueId` for the service account. Service account format
399+
* is projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See https://cloud.google.com/iam/docs
400+
* /reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters for
401+
* details. Caller requires the following IAM permission on the specified service account:
402+
* `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@storage-transfer-
403+
* service.iam.gserviceaccount.com requires the following IAM permission on the specified service
404+
* account: `iam.serviceAccounts.getAccessToken`
405+
* @return value or {@code null} for none
406+
*/
407+
public java.lang.String getServiceAccount() {
408+
return serviceAccount;
409+
}
410+
411+
/**
412+
* Optional. The service account to be used to access resources in the consumer project in the
413+
* transfer job. We accept `email` or `uniqueId` for the service account. Service account format
414+
* is projects/-/serviceAccounts/{ACCOUNT_EMAIL_OR_UNIQUEID} See https://cloud.google.com/iam/docs
415+
* /reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken#path-parameters for
416+
* details. Caller requires the following IAM permission on the specified service account:
417+
* `iam.serviceAccounts.actAs`. project-PROJECT_NUMBER@storage-transfer-
418+
* service.iam.gserviceaccount.com requires the following IAM permission on the specified service
419+
* account: `iam.serviceAccounts.getAccessToken`
420+
* @param serviceAccount serviceAccount or {@code null} for none
421+
*/
422+
public TransferJob setServiceAccount(java.lang.String serviceAccount) {
423+
this.serviceAccount = serviceAccount;
424+
return this;
425+
}
426+
382427
/**
383428
* Status of the job. This value MUST be specified for `CreateTransferJobRequests`. **Note:** The
384429
* effect of the new job status takes place during a subsequent job run. For example, if you

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-rev20250426-2.0.0</version>
12-
<name>Storage Transfer API v1-rev20250426-2.0.0</name>
11+
<version>v1-rev20250503-2.0.0</version>
12+
<name>Storage Transfer API v1-rev20250503-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-rev20250426-2.0.0</version>
25+
<version>v1-rev20250503-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-rev20250426-2.0.0'
38+
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20250503-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)