Skip to content

Commit 3603ac9

Browse files
Regenerate bigquerydatatransfer client
1 parent c9fa9d7 commit 3603ac9

8 files changed

+140
-80
lines changed

src/BigQueryDataTransfer/Resource/ProjectsDataSources.php

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ class ProjectsDataSources extends \Google\Service\Resource
3636
* Returns true if valid credentials exist for the given data source and
3737
* requesting user. (dataSources.checkValidCreds)
3838
*
39-
* @param string $name Required. The data source in the form:
40-
* `projects/{project_id}/dataSources/{data_source_id}` or
41-
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
39+
* @param string $name Required. The name of the data source. If you are using
40+
* the regionless method, the location must be `US` and the name should be in
41+
* the following form: * `projects/{project_id}/dataSources/{data_source_id}` If
42+
* you are using the regionalized method, the name should be in the following
43+
* form: *
44+
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
4245
* @param CheckValidCredsRequest $postBody
4346
* @param array $optParams Optional parameters.
4447
* @return CheckValidCredsResponse
@@ -53,9 +56,11 @@ public function checkValidCreds($name, CheckValidCredsRequest $postBody, $optPar
5356
/**
5457
* Retrieves a supported data source and returns its settings. (dataSources.get)
5558
*
56-
* @param string $name Required. The field will contain name of the resource
57-
* requested, for example: `projects/{project_id}/dataSources/{data_source_id}`
58-
* or
59+
* @param string $name Required. The name of the resource requested. If you are
60+
* using the regionless method, the location must be `US` and the name should be
61+
* in the following form: * `projects/{project_id}/dataSources/{data_source_id}`
62+
* If you are using the regionalized method, the name should be in the following
63+
* form: *
5964
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
6065
* @param array $optParams Optional parameters.
6166
* @return DataSource

src/BigQueryDataTransfer/Resource/ProjectsLocationsDataSources.php

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ class ProjectsLocationsDataSources extends \Google\Service\Resource
3636
* Returns true if valid credentials exist for the given data source and
3737
* requesting user. (dataSources.checkValidCreds)
3838
*
39-
* @param string $name Required. The data source in the form:
40-
* `projects/{project_id}/dataSources/{data_source_id}` or
41-
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`.
39+
* @param string $name Required. The name of the data source. If you are using
40+
* the regionless method, the location must be `US` and the name should be in
41+
* the following form: * `projects/{project_id}/dataSources/{data_source_id}` If
42+
* you are using the regionalized method, the name should be in the following
43+
* form: *
44+
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
4245
* @param CheckValidCredsRequest $postBody
4346
* @param array $optParams Optional parameters.
4447
* @return CheckValidCredsResponse
@@ -53,9 +56,11 @@ public function checkValidCreds($name, CheckValidCredsRequest $postBody, $optPar
5356
/**
5457
* Retrieves a supported data source and returns its settings. (dataSources.get)
5558
*
56-
* @param string $name Required. The field will contain name of the resource
57-
* requested, for example: `projects/{project_id}/dataSources/{data_source_id}`
58-
* or
59+
* @param string $name Required. The name of the resource requested. If you are
60+
* using the regionless method, the location must be `US` and the name should be
61+
* in the following form: * `projects/{project_id}/dataSources/{data_source_id}`
62+
* If you are using the regionalized method, the name should be in the following
63+
* form: *
5964
* `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`
6065
* @param array $optParams Optional parameters.
6166
* @return DataSource

src/BigQueryDataTransfer/Resource/ProjectsLocationsTransferConfigs.php

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ public function create($parent, TransferConfig $postBody, $optParams = [])
9191
* Deletes a data transfer configuration, including any associated transfer runs
9292
* and logs. (transferConfigs.delete)
9393
*
94-
* @param string $name Required. The field will contain name of the resource
95-
* requested, for example: `projects/{project_id}/transferConfigs/{config_id}`
96-
* or
94+
* @param string $name Required. The name of the resource to delete. If you are
95+
* using the regionless method, the location must be `US` and the name should be
96+
* in the following form: * `projects/{project_id}/transferConfigs/{config_id}`
97+
* If you are using the regionalized method, the name should be in the following
98+
* form: *
9799
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
98100
* @param array $optParams Optional parameters.
99101
* @return BigquerydatatransferEmpty
@@ -108,9 +110,11 @@ public function delete($name, $optParams = [])
108110
/**
109111
* Returns information about a data transfer config. (transferConfigs.get)
110112
*
111-
* @param string $name Required. The field will contain name of the resource
112-
* requested, for example: `projects/{project_id}/transferConfigs/{config_id}`
113-
* or
113+
* @param string $name Required. The name of the resource requested. If you are
114+
* using the regionless method, the location must be `US` and the name should be
115+
* in the following form: * `projects/{project_id}/transferConfigs/{config_id}`
116+
* If you are using the regionalized method, the name should be in the following
117+
* form: *
114118
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
115119
* @param array $optParams Optional parameters.
116120
* @return TransferConfig
@@ -127,7 +131,10 @@ public function get($name, $optParams = [])
127131
* specified location. (transferConfigs.listProjectsLocationsTransferConfigs)
128132
*
129133
* @param string $parent Required. The BigQuery project id for which transfer
130-
* configs should be returned: `projects/{project_id}` or
134+
* configs should be returned. If you are using the regionless method, the
135+
* location must be `US` and `parent` should be in the following form: *
136+
* `projects/{project_id} If you are using the regionalized method, `parent`
137+
* should be in the following form: *
131138
* `projects/{project_id}/locations/{location_id}`
132139
* @param array $optParams Optional parameters.
133140
*
@@ -211,9 +218,12 @@ public function patch($name, TransferConfig $postBody, $optParams = [])
211218
* range. DEPRECATED: use StartManualTransferRuns instead.
212219
* (transferConfigs.scheduleRuns)
213220
*
214-
* @param string $parent Required. Transfer configuration name in the form:
215-
* `projects/{project_id}/transferConfigs/{config_id}` or
216-
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
221+
* @param string $parent Required. Transfer configuration name. If you are using
222+
* the regionless method, the location must be `US` and the name should be in
223+
* the following form: * `projects/{project_id}/transferConfigs/{config_id}` If
224+
* you are using the regionalized method, the name should be in the following
225+
* form: *
226+
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
217227
* @param ScheduleTransferRunsRequest $postBody
218228
* @param array $optParams Optional parameters.
219229
* @return ScheduleTransferRunsResponse
@@ -226,14 +236,20 @@ public function scheduleRuns($parent, ScheduleTransferRunsRequest $postBody, $op
226236
return $this->call('scheduleRuns', [$params], ScheduleTransferRunsResponse::class);
227237
}
228238
/**
229-
* Start manual transfer runs to be executed now with schedule_time equal to
230-
* current time. The transfer runs can be created for a time range where the
231-
* run_time is between start_time (inclusive) and end_time (exclusive), or for a
232-
* specific run_time. (transferConfigs.startManualRuns)
239+
* Manually initiates transfer runs. You can schedule these runs in two ways: 1.
240+
* For a specific point in time using the 'requested_run_time' parameter. 2. For
241+
* a period between 'start_time' (inclusive) and 'end_time' (exclusive). If
242+
* scheduling a single run, it is set to execute immediately (schedule_time
243+
* equals the current time). When scheduling multiple runs within a time range,
244+
* the first run starts now, and subsequent runs are delayed by 15 seconds each.
245+
* (transferConfigs.startManualRuns)
233246
*
234-
* @param string $parent Required. Transfer configuration name in the form:
235-
* `projects/{project_id}/transferConfigs/{config_id}` or
236-
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
247+
* @param string $parent Required. Transfer configuration name. If you are using
248+
* the regionless method, the location must be `US` and the name should be in
249+
* the following form: * `projects/{project_id}/transferConfigs/{config_id}` If
250+
* you are using the regionalized method, the name should be in the following
251+
* form: *
252+
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
237253
* @param StartManualTransferRunsRequest $postBody
238254
* @param array $optParams Optional parameters.
239255
* @return StartManualTransferRunsResponse

src/BigQueryDataTransfer/Resource/ProjectsLocationsTransferConfigsRuns.php

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ class ProjectsLocationsTransferConfigsRuns extends \Google\Service\Resource
3434
/**
3535
* Deletes the specified transfer run. (runs.delete)
3636
*
37-
* @param string $name Required. The field will contain name of the resource
38-
* requested, for example:
39-
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `project
40-
* s/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_
41-
* id}`
37+
* @param string $name Required. The name of the resource requested. If you are
38+
* using the regionless method, the location must be `US` and the name should be
39+
* in the following form: *
40+
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are
41+
* using the regionalized method, the name should be in the following form: * `p
42+
* rojects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs
43+
* /{run_id}`
4244
* @param array $optParams Optional parameters.
4345
* @return BigquerydatatransferEmpty
4446
* @throws \Google\Service\Exception
@@ -52,11 +54,13 @@ public function delete($name, $optParams = [])
5254
/**
5355
* Returns information about the particular transfer run. (runs.get)
5456
*
55-
* @param string $name Required. The field will contain name of the resource
56-
* requested, for example:
57-
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `project
58-
* s/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_
59-
* id}`
57+
* @param string $name Required. The name of the resource requested. If you are
58+
* using the regionless method, the location must be `US` and the name should be
59+
* in the following form: *
60+
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are
61+
* using the regionalized method, the name should be in the following form: * `p
62+
* rojects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs
63+
* /{run_id}`
6064
* @param array $optParams Optional parameters.
6165
* @return TransferRun
6266
* @throws \Google\Service\Exception
@@ -72,9 +76,11 @@ public function get($name, $optParams = [])
7276
* (runs.listProjectsLocationsTransferConfigsRuns)
7377
*
7478
* @param string $parent Required. Name of transfer configuration for which
75-
* transfer runs should be retrieved. Format of transfer configuration resource
76-
* name is: `projects/{project_id}/transferConfigs/{config_id}` or
77-
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
79+
* transfer runs should be retrieved. If you are using the regionless method,
80+
* the location must be `US` and the name should be in the following form: *
81+
* `projects/{project_id}/transferConfigs/{config_id}` If you are using the
82+
* regionalized method, the name should be in the following form: *
83+
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
7884
* @param array $optParams Optional parameters.
7985
*
8086
* @opt_param int pageSize Page size. The default page size is the maximum value

src/BigQueryDataTransfer/Resource/ProjectsLocationsTransferConfigsRunsTransferLogs.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@ class ProjectsLocationsTransferConfigsRunsTransferLogs extends \Google\Service\R
3333
* Returns log messages for the transfer run.
3434
* (transferLogs.listProjectsLocationsTransferConfigsRunsTransferLogs)
3535
*
36-
* @param string $parent Required. Transfer run name in the form:
37-
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or `project
38-
* s/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_
39-
* id}`
36+
* @param string $parent Required. Transfer run name. If you are using the
37+
* regionless method, the location must be `US` and the name should be in the
38+
* following form: *
39+
* `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` If you are
40+
* using the regionalized method, the name should be in the following form: * `p
41+
* rojects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs
42+
* /{run_id}`
4043
* @param array $optParams Optional parameters.
4144
*
4245
* @opt_param string messageTypes Message types to return. If not populated -

src/BigQueryDataTransfer/Resource/ProjectsTransferConfigs.php

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ public function create($parent, TransferConfig $postBody, $optParams = [])
9191
* Deletes a data transfer configuration, including any associated transfer runs
9292
* and logs. (transferConfigs.delete)
9393
*
94-
* @param string $name Required. The field will contain name of the resource
95-
* requested, for example: `projects/{project_id}/transferConfigs/{config_id}`
96-
* or
94+
* @param string $name Required. The name of the resource to delete. If you are
95+
* using the regionless method, the location must be `US` and the name should be
96+
* in the following form: * `projects/{project_id}/transferConfigs/{config_id}`
97+
* If you are using the regionalized method, the name should be in the following
98+
* form: *
9799
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
98100
* @param array $optParams Optional parameters.
99101
* @return BigquerydatatransferEmpty
@@ -108,9 +110,11 @@ public function delete($name, $optParams = [])
108110
/**
109111
* Returns information about a data transfer config. (transferConfigs.get)
110112
*
111-
* @param string $name Required. The field will contain name of the resource
112-
* requested, for example: `projects/{project_id}/transferConfigs/{config_id}`
113-
* or
113+
* @param string $name Required. The name of the resource requested. If you are
114+
* using the regionless method, the location must be `US` and the name should be
115+
* in the following form: * `projects/{project_id}/transferConfigs/{config_id}`
116+
* If you are using the regionalized method, the name should be in the following
117+
* form: *
114118
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
115119
* @param array $optParams Optional parameters.
116120
* @return TransferConfig
@@ -127,7 +131,10 @@ public function get($name, $optParams = [])
127131
* specified location. (transferConfigs.listProjectsTransferConfigs)
128132
*
129133
* @param string $parent Required. The BigQuery project id for which transfer
130-
* configs should be returned: `projects/{project_id}` or
134+
* configs should be returned. If you are using the regionless method, the
135+
* location must be `US` and `parent` should be in the following form: *
136+
* `projects/{project_id} If you are using the regionalized method, `parent`
137+
* should be in the following form: *
131138
* `projects/{project_id}/locations/{location_id}`
132139
* @param array $optParams Optional parameters.
133140
*
@@ -211,9 +218,12 @@ public function patch($name, TransferConfig $postBody, $optParams = [])
211218
* range. DEPRECATED: use StartManualTransferRuns instead.
212219
* (transferConfigs.scheduleRuns)
213220
*
214-
* @param string $parent Required. Transfer configuration name in the form:
215-
* `projects/{project_id}/transferConfigs/{config_id}` or
216-
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
221+
* @param string $parent Required. Transfer configuration name. If you are using
222+
* the regionless method, the location must be `US` and the name should be in
223+
* the following form: * `projects/{project_id}/transferConfigs/{config_id}` If
224+
* you are using the regionalized method, the name should be in the following
225+
* form: *
226+
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
217227
* @param ScheduleTransferRunsRequest $postBody
218228
* @param array $optParams Optional parameters.
219229
* @return ScheduleTransferRunsResponse
@@ -226,14 +236,20 @@ public function scheduleRuns($parent, ScheduleTransferRunsRequest $postBody, $op
226236
return $this->call('scheduleRuns', [$params], ScheduleTransferRunsResponse::class);
227237
}
228238
/**
229-
* Start manual transfer runs to be executed now with schedule_time equal to
230-
* current time. The transfer runs can be created for a time range where the
231-
* run_time is between start_time (inclusive) and end_time (exclusive), or for a
232-
* specific run_time. (transferConfigs.startManualRuns)
239+
* Manually initiates transfer runs. You can schedule these runs in two ways: 1.
240+
* For a specific point in time using the 'requested_run_time' parameter. 2. For
241+
* a period between 'start_time' (inclusive) and 'end_time' (exclusive). If
242+
* scheduling a single run, it is set to execute immediately (schedule_time
243+
* equals the current time). When scheduling multiple runs within a time range,
244+
* the first run starts now, and subsequent runs are delayed by 15 seconds each.
245+
* (transferConfigs.startManualRuns)
233246
*
234-
* @param string $parent Required. Transfer configuration name in the form:
235-
* `projects/{project_id}/transferConfigs/{config_id}` or
236-
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
247+
* @param string $parent Required. Transfer configuration name. If you are using
248+
* the regionless method, the location must be `US` and the name should be in
249+
* the following form: * `projects/{project_id}/transferConfigs/{config_id}` If
250+
* you are using the regionalized method, the name should be in the following
251+
* form: *
252+
* `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`
237253
* @param StartManualTransferRunsRequest $postBody
238254
* @param array $optParams Optional parameters.
239255
* @return StartManualTransferRunsResponse

0 commit comments

Comments
 (0)