diff --git a/clients/google-api-services-storagetransfer/v1/2.0.0/README.md b/clients/google-api-services-storagetransfer/v1/2.0.0/README.md index c33861f7f26..fadc90ef247 100644 --- a/clients/google-api-services-storagetransfer/v1/2.0.0/README.md +++ b/clients/google-api-services-storagetransfer/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-storagetransfer - v1-rev20260109-2.0.0 + v1-rev20260619-2.0.0 @@ -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' } ``` diff --git a/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/ObjectConditions.java b/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/ObjectConditions.java index 6b61e4d1fbe..1ce746d13b9 100644 --- a/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/ObjectConditions.java +++ b/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/ObjectConditions.java @@ -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 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 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. @@ -215,6 +227,33 @@ public ObjectConditions setIncludePrefixes(java.util.List 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 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 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. diff --git a/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/TransferOptions.java b/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/TransferOptions.java index a274accef08..359549e7bfa 100644 --- a/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/TransferOptions.java +++ b/clients/google-api-services-storagetransfer/v1/2.0.0/com/google/api/services/storagetransfer/v1/model/TransferOptions.java @@ -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 @@ -89,8 +89,8 @@ 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() { @@ -98,8 +98,8 @@ public java.lang.Boolean getDeleteObjectsUniqueInSink() { } /** - * 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) { diff --git a/clients/google-api-services-storagetransfer/v1/2.0.0/pom.xml b/clients/google-api-services-storagetransfer/v1/2.0.0/pom.xml index 4c664a83e9d..baf63e4efb2 100644 --- a/clients/google-api-services-storagetransfer/v1/2.0.0/pom.xml +++ b/clients/google-api-services-storagetransfer/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-storagetransfer - v1-rev20260109-2.0.0 - Storage Transfer API v1-rev20260109-2.0.0 + v1-rev20260619-2.0.0 + Storage Transfer API v1-rev20260619-2.0.0 jar 2011 diff --git a/clients/google-api-services-storagetransfer/v1/README.md b/clients/google-api-services-storagetransfer/v1/README.md index c33861f7f26..fadc90ef247 100644 --- a/clients/google-api-services-storagetransfer/v1/README.md +++ b/clients/google-api-services-storagetransfer/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-storagetransfer - v1-rev20260109-2.0.0 + v1-rev20260619-2.0.0 @@ -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' } ```