Skip to content

Commit 91c800c

Browse files
feat(storagetransfer): update the API
#### storagetransfer:v1 The following keys were added: - schemas.ErrorLogEntry.properties.url.readOnly The following keys were changed: - schemas.ErrorLogEntry.properties.errorDetails.description - schemas.ErrorLogEntry.properties.url.description - schemas.TransferSpec.properties.awsS3CompatibleDataSource.description - schemas.TransferSpec.properties.awsS3DataSource.description - schemas.TransferSpec.properties.azureBlobStorageDataSource.description - schemas.TransferSpec.properties.gcsDataSink.description - schemas.TransferSpec.properties.gcsDataSource.description - schemas.TransferSpec.properties.hdfsDataSource.description - schemas.TransferSpec.properties.httpDataSource.description - schemas.TransferSpec.properties.posixDataSink.description - schemas.TransferSpec.properties.posixDataSource.description
1 parent 6654f21 commit 91c800c

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

discovery/storagetransfer-v1.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632
}
633633
}
634634
},
635-
"revision": "20250523",
635+
"revision": "20250801",
636636
"rootUrl": "https://storagetransfer.googleapis.com/",
637637
"schemas": {
638638
"AgentPool": {
@@ -841,14 +841,15 @@
841841
"id": "ErrorLogEntry",
842842
"properties": {
843843
"errorDetails": {
844-
"description": "A list of messages that carry the error details.",
844+
"description": "Optional. A list of messages that carry the error details.",
845845
"items": {
846846
"type": "string"
847847
},
848848
"type": "array"
849849
},
850850
"url": {
851-
"description": "Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.",
851+
"description": "Output only. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.",
852+
"readOnly": true,
852853
"type": "string"
853854
}
854855
},
@@ -1902,47 +1903,47 @@
19021903
"properties": {
19031904
"awsS3CompatibleDataSource": {
19041905
"$ref": "AwsS3CompatibleData",
1905-
"description": "An AWS S3 compatible data source."
1906+
"description": "Optional. An AWS S3 compatible data source."
19061907
},
19071908
"awsS3DataSource": {
19081909
"$ref": "AwsS3Data",
1909-
"description": "An AWS S3 data source."
1910+
"description": "Optional. An AWS S3 data source."
19101911
},
19111912
"azureBlobStorageDataSource": {
19121913
"$ref": "AzureBlobStorageData",
1913-
"description": "An Azure Blob Storage data source."
1914+
"description": "Optional. An Azure Blob Storage data source."
19141915
},
19151916
"gcsDataSink": {
19161917
"$ref": "GcsData",
1917-
"description": "A Cloud Storage data sink."
1918+
"description": "Optional. A Cloud Storage data sink."
19181919
},
19191920
"gcsDataSource": {
19201921
"$ref": "GcsData",
1921-
"description": "A Cloud Storage data source."
1922+
"description": "Optional. A Cloud Storage data source."
19221923
},
19231924
"gcsIntermediateDataLocation": {
19241925
"$ref": "GcsData",
19251926
"description": "For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data. See [Transfer data between file systems](https://cloud.google.com/storage-transfer/docs/file-to-file) for more information."
19261927
},
19271928
"hdfsDataSource": {
19281929
"$ref": "HdfsData",
1929-
"description": "An HDFS cluster data source."
1930+
"description": "Optional. An HDFS cluster data source."
19301931
},
19311932
"httpDataSource": {
19321933
"$ref": "HttpData",
1933-
"description": "An HTTP URL data source."
1934+
"description": "Optional. An HTTP URL data source."
19341935
},
19351936
"objectConditions": {
19361937
"$ref": "ObjectConditions",
19371938
"description": "Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' \"last modification time\" do not exclude objects in a data sink."
19381939
},
19391940
"posixDataSink": {
19401941
"$ref": "PosixFilesystem",
1941-
"description": "A POSIX Filesystem data sink."
1942+
"description": "Optional. A POSIX Filesystem data sink."
19421943
},
19431944
"posixDataSource": {
19441945
"$ref": "PosixFilesystem",
1945-
"description": "A POSIX Filesystem data source."
1946+
"description": "Optional. A POSIX Filesystem data source."
19461947
},
19471948
"sinkAgentPoolName": {
19481949
"description": "Specifies the agent pool name associated with the posix data sink. When unspecified, the default name is used.",

src/apis/storagetransfer/v1.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ export namespace storagetransfer_v1 {
301301
*/
302302
export interface Schema$ErrorLogEntry {
303303
/**
304-
* A list of messages that carry the error details.
304+
* Optional. A list of messages that carry the error details.
305305
*/
306306
errorDetails?: string[] | null;
307307
/**
308-
* Required. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
308+
* Output only. A URL that refers to the target (a data source, a data sink, or an object) with which the error is associated.
309309
*/
310310
url?: string | null;
311311
}
@@ -945,47 +945,47 @@ export namespace storagetransfer_v1 {
945945
*/
946946
export interface Schema$TransferSpec {
947947
/**
948-
* An AWS S3 compatible data source.
948+
* Optional. An AWS S3 compatible data source.
949949
*/
950950
awsS3CompatibleDataSource?: Schema$AwsS3CompatibleData;
951951
/**
952-
* An AWS S3 data source.
952+
* Optional. An AWS S3 data source.
953953
*/
954954
awsS3DataSource?: Schema$AwsS3Data;
955955
/**
956-
* An Azure Blob Storage data source.
956+
* Optional. An Azure Blob Storage data source.
957957
*/
958958
azureBlobStorageDataSource?: Schema$AzureBlobStorageData;
959959
/**
960-
* A Cloud Storage data sink.
960+
* Optional. A Cloud Storage data sink.
961961
*/
962962
gcsDataSink?: Schema$GcsData;
963963
/**
964-
* A Cloud Storage data source.
964+
* Optional. A Cloud Storage data source.
965965
*/
966966
gcsDataSource?: Schema$GcsData;
967967
/**
968968
* For transfers between file systems, specifies a Cloud Storage bucket to be used as an intermediate location through which to transfer data. See [Transfer data between file systems](https://cloud.google.com/storage-transfer/docs/file-to-file) for more information.
969969
*/
970970
gcsIntermediateDataLocation?: Schema$GcsData;
971971
/**
972-
* An HDFS cluster data source.
972+
* Optional. An HDFS cluster data source.
973973
*/
974974
hdfsDataSource?: Schema$HdfsData;
975975
/**
976-
* An HTTP URL data source.
976+
* Optional. An HTTP URL data source.
977977
*/
978978
httpDataSource?: Schema$HttpData;
979979
/**
980980
* Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' "last modification time" do not exclude objects in a data sink.
981981
*/
982982
objectConditions?: Schema$ObjectConditions;
983983
/**
984-
* A POSIX Filesystem data sink.
984+
* Optional. A POSIX Filesystem data sink.
985985
*/
986986
posixDataSink?: Schema$PosixFilesystem;
987987
/**
988-
* A POSIX Filesystem data source.
988+
* Optional. A POSIX Filesystem data source.
989989
*/
990990
posixDataSource?: Schema$PosixFilesystem;
991991
/**

0 commit comments

Comments
 (0)