Skip to content

Commit 9d05d70

Browse files
fix(storagetransfer): update the API
1 parent 84179aa commit 9d05d70

File tree

1 file changed

+15
-30
lines changed
  • src/apis/storagetransfer

1 file changed

+15
-30
lines changed

src/apis/storagetransfer/v1.ts

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,7 @@ export namespace storagetransfer_v1 {
11871187
}
11881188
}
11891189

1190-
export interface Params$Resource$Googleserviceaccounts$Get
1191-
extends StandardParameters {
1190+
export interface Params$Resource$Googleserviceaccounts$Get extends StandardParameters {
11921191
/**
11931192
* Required. The ID of the Google Cloud project that the Google service account is associated with.
11941193
*/
@@ -1934,8 +1933,7 @@ export namespace storagetransfer_v1 {
19341933
}
19351934
}
19361935

1937-
export interface Params$Resource$Projects$Agentpools$Create
1938-
extends StandardParameters {
1936+
export interface Params$Resource$Projects$Agentpools$Create extends StandardParameters {
19391937
/**
19401938
* Required. The ID of the agent pool to create. The `agent_pool_id` must meet the following requirements: * Length of 128 characters or less. * Not start with the string `goog`. * Start with a lowercase ASCII character, followed by: * Zero or more: lowercase Latin alphabet characters, numerals, hyphens (`-`), periods (`.`), underscores (`_`), or tildes (`~`). * One or more numerals or lowercase ASCII characters. As expressed by the regular expression: `^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$`.
19411939
*/
@@ -1950,22 +1948,19 @@ export namespace storagetransfer_v1 {
19501948
*/
19511949
requestBody?: Schema$AgentPool;
19521950
}
1953-
export interface Params$Resource$Projects$Agentpools$Delete
1954-
extends StandardParameters {
1951+
export interface Params$Resource$Projects$Agentpools$Delete extends StandardParameters {
19551952
/**
19561953
* Required. The name of the agent pool to delete.
19571954
*/
19581955
name?: string;
19591956
}
1960-
export interface Params$Resource$Projects$Agentpools$Get
1961-
extends StandardParameters {
1957+
export interface Params$Resource$Projects$Agentpools$Get extends StandardParameters {
19621958
/**
19631959
* Required. The name of the agent pool to get.
19641960
*/
19651961
name?: string;
19661962
}
1967-
export interface Params$Resource$Projects$Agentpools$List
1968-
extends StandardParameters {
1963+
export interface Params$Resource$Projects$Agentpools$List extends StandardParameters {
19691964
/**
19701965
* An optional list of query parameters specified as JSON text in the form of: `{"agentPoolNames":["agentpool1","agentpool2",...]\}` Since `agentPoolNames` support multiple values, its values must be specified with array notation. When the filter is either empty or not provided, the list returns all agent pools for the project.
19711966
*/
@@ -1983,8 +1978,7 @@ export namespace storagetransfer_v1 {
19831978
*/
19841979
projectId?: string;
19851980
}
1986-
export interface Params$Resource$Projects$Agentpools$Patch
1987-
extends StandardParameters {
1981+
export interface Params$Resource$Projects$Agentpools$Patch extends StandardParameters {
19881982
/**
19891983
* Required. Specifies a unique string that identifies the agent pool. Format: `projects/{project_id\}/agentPools/{agent_pool_id\}`
19901984
*/
@@ -2907,15 +2901,13 @@ export namespace storagetransfer_v1 {
29072901
}
29082902
}
29092903

2910-
export interface Params$Resource$Transferjobs$Create
2911-
extends StandardParameters {
2904+
export interface Params$Resource$Transferjobs$Create extends StandardParameters {
29122905
/**
29132906
* Request body metadata
29142907
*/
29152908
requestBody?: Schema$TransferJob;
29162909
}
2917-
export interface Params$Resource$Transferjobs$Delete
2918-
extends StandardParameters {
2910+
export interface Params$Resource$Transferjobs$Delete extends StandardParameters {
29192911
/**
29202912
* Required. The job to delete.
29212913
*/
@@ -2935,8 +2927,7 @@ export namespace storagetransfer_v1 {
29352927
*/
29362928
projectId?: string;
29372929
}
2938-
export interface Params$Resource$Transferjobs$List
2939-
extends StandardParameters {
2930+
export interface Params$Resource$Transferjobs$List extends StandardParameters {
29402931
/**
29412932
* Required. A list of query parameters specified as JSON text in the form of: ``` { "projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobStatuses":["status1","status2",...], "dataBackend":"QUERY_REPLICATION_CONFIGS", "sourceBucket":"source-bucket-name", "sinkBucket":"sink-bucket-name", \} ``` The JSON formatting in the example is for display only; provide the query parameters without spaces or line breaks. * `projectId` is required. * Since `jobNames` and `jobStatuses` support multiple values, their values must be specified with array notation. `jobNames` and `jobStatuses` are optional. Valid values are case-insensitive: * ENABLED * DISABLED * DELETED * Specify `"dataBackend":"QUERY_REPLICATION_CONFIGS"` to return a list of cross-bucket replication jobs. * Limit the results to jobs from a particular bucket with `sourceBucket` and/or to a particular bucket with `sinkBucket`.
29422933
*/
@@ -2950,8 +2941,7 @@ export namespace storagetransfer_v1 {
29502941
*/
29512942
pageToken?: string;
29522943
}
2953-
export interface Params$Resource$Transferjobs$Patch
2954-
extends StandardParameters {
2944+
export interface Params$Resource$Transferjobs$Patch extends StandardParameters {
29552945
/**
29562946
* Required. The name of job to update.
29572947
*/
@@ -3684,8 +3674,7 @@ export namespace storagetransfer_v1 {
36843674
}
36853675
}
36863676

3687-
export interface Params$Resource$Transferoperations$Cancel
3688-
extends StandardParameters {
3677+
export interface Params$Resource$Transferoperations$Cancel extends StandardParameters {
36893678
/**
36903679
* The name of the operation resource to be cancelled.
36913680
*/
@@ -3696,15 +3685,13 @@ export namespace storagetransfer_v1 {
36963685
*/
36973686
requestBody?: Schema$CancelOperationRequest;
36983687
}
3699-
export interface Params$Resource$Transferoperations$Get
3700-
extends StandardParameters {
3688+
export interface Params$Resource$Transferoperations$Get extends StandardParameters {
37013689
/**
37023690
* The name of the operation resource.
37033691
*/
37043692
name?: string;
37053693
}
3706-
export interface Params$Resource$Transferoperations$List
3707-
extends StandardParameters {
3694+
export interface Params$Resource$Transferoperations$List extends StandardParameters {
37083695
/**
37093696
* Required. A list of query parameters specified as JSON text in the form of: `{"projectId":"my_project_id", "jobNames":["jobid1","jobid2",...], "jobNamePattern": "job_name_pattern", "operationNames":["opid1","opid2",...], "operationNamePattern": "operation_name_pattern", "minCreationTime": "min_creation_time", "maxCreationTime": "max_creation_time", "transferStatuses":["status1","status2",...]\}` Since `jobNames`, `operationNames`, and `transferStatuses` support multiple values, they must be specified with array notation. `projectId` is the only argument that is required. If specified, `jobNamePattern` and `operationNamePattern` must match the full job or operation name respectively. '*' is a wildcard matching 0 or more characters. `minCreationTime` and `maxCreationTime` should be timestamps encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. The valid values for `transferStatuses` are case-insensitive: IN_PROGRESS, PAUSED, SUCCESS, FAILED, and ABORTED.
37103697
*/
@@ -3726,8 +3713,7 @@ export namespace storagetransfer_v1 {
37263713
*/
37273714
returnPartialSuccess?: boolean;
37283715
}
3729-
export interface Params$Resource$Transferoperations$Pause
3730-
extends StandardParameters {
3716+
export interface Params$Resource$Transferoperations$Pause extends StandardParameters {
37313717
/**
37323718
* Required. The name of the transfer operation.
37333719
*/
@@ -3738,8 +3724,7 @@ export namespace storagetransfer_v1 {
37383724
*/
37393725
requestBody?: Schema$PauseTransferOperationRequest;
37403726
}
3741-
export interface Params$Resource$Transferoperations$Resume
3742-
extends StandardParameters {
3727+
export interface Params$Resource$Transferoperations$Resume extends StandardParameters {
37433728
/**
37443729
* Required. The name of the transfer operation.
37453730
*/

0 commit comments

Comments
 (0)