Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storagetransfer</artifactId>
<version>v1-rev20260109-2.0.0</version>
<version>v1-rev20260619-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20260109-2.0.0'
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20260619-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ public final class ObjectConditions extends com.google.api.client.json.GenericJs
@com.google.api.client.util.Key
private java.util.List<java.lang.String> includePrefixes;

/**
* Optional. If specified, objects in the source matching any of the storage classes in this field
* will be transferred. Objects in storage classes not included in this field will be skipped. If
* empty, the default behavior regarding the storage classes is applied. This includes all storage
* classes except "GLACIER" as per default behavior. Currently, this field only supports S3 data
* source. For the list of valid Amazon S3 storage classnames, please refer to the AWS
* documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List<java.lang.String> includeStorageClasses;

/**
* If specified, only objects with a "last modification time" before this timestamp and objects
* that don't have a "last modification time" are transferred.
Expand Down Expand Up @@ -215,6 +227,33 @@ public ObjectConditions setIncludePrefixes(java.util.List<java.lang.String> incl
return this;
}

/**
* Optional. If specified, objects in the source matching any of the storage classes in this field
* will be transferred. Objects in storage classes not included in this field will be skipped. If
* empty, the default behavior regarding the storage classes is applied. This includes all storage
* classes except "GLACIER" as per default behavior. Currently, this field only supports S3 data
* source. For the list of valid Amazon S3 storage classnames, please refer to the AWS
* documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html
* @return value or {@code null} for none
*/
public java.util.List<java.lang.String> getIncludeStorageClasses() {
return includeStorageClasses;
}

/**
* Optional. If specified, objects in the source matching any of the storage classes in this field
* will be transferred. Objects in storage classes not included in this field will be skipped. If
* empty, the default behavior regarding the storage classes is applied. This includes all storage
* classes except "GLACIER" as per default behavior. Currently, this field only supports S3 data
* source. For the list of valid Amazon S3 storage classnames, please refer to the AWS
* documentation: https://docs.aws.amazon.com/AmazonS3/latest/userguide/sc-howtoset.html
* @param includeStorageClasses includeStorageClasses or {@code null} for none
*/
public ObjectConditions setIncludeStorageClasses(java.util.List<java.lang.String> includeStorageClasses) {
this.includeStorageClasses = includeStorageClasses;
return this;
}

/**
* If specified, only objects with a "last modification time" before this timestamp and objects
* that don't have a "last modification time" are transferred.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public final class TransferOptions extends com.google.api.client.json.GenericJso
private java.lang.Boolean deleteObjectsFromSourceAfterTransfer;

/**
* Whether objects that exist only in the sink should be deleted. **Note:** This option and
* delete_objects_from_source_after_transfer are mutually exclusive.
* Whether objects that exist only in the sink should be deleted from the sink. **Note:** This
* option and delete_objects_from_source_after_transfer are mutually exclusive.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -89,17 +89,17 @@ public TransferOptions setDeleteObjectsFromSourceAfterTransfer(java.lang.Boolean
}

/**
* Whether objects that exist only in the sink should be deleted. **Note:** This option and
* delete_objects_from_source_after_transfer are mutually exclusive.
* Whether objects that exist only in the sink should be deleted from the sink. **Note:** This
* option and delete_objects_from_source_after_transfer are mutually exclusive.
* @return value or {@code null} for none
*/
public java.lang.Boolean getDeleteObjectsUniqueInSink() {
return deleteObjectsUniqueInSink;
}

/**
* Whether objects that exist only in the sink should be deleted. **Note:** This option and
* delete_objects_from_source_after_transfer are mutually exclusive.
* Whether objects that exist only in the sink should be deleted from the sink. **Note:** This
* option and delete_objects_from_source_after_transfer are mutually exclusive.
* @param deleteObjectsUniqueInSink deleteObjectsUniqueInSink or {@code null} for none
*/
public TransferOptions setDeleteObjectsUniqueInSink(java.lang.Boolean deleteObjectsUniqueInSink) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storagetransfer</artifactId>
<version>v1-rev20260109-2.0.0</version>
<name>Storage Transfer API v1-rev20260109-2.0.0</name>
<version>v1-rev20260619-2.0.0</version>
<name>Storage Transfer API v1-rev20260619-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-storagetransfer/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-storagetransfer</artifactId>
<version>v1-rev20260109-2.0.0</version>
<version>v1-rev20260619-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20260109-2.0.0'
implementation 'com.google.apis:google-api-services-storagetransfer:v1-rev20260619-2.0.0'
}
```

Expand Down
Loading