Google_Service_BigQueryDataTransfer_Resource_ProjectsLocationsTransferConfigs
extends Google_Service_Resource
in package
The "transferConfigs" collection of methods.
Typical usage is:
$bigquerydatatransferService = new Google_Service_BigQueryDataTransfer(...);
$transferConfigs = $bigquerydatatransferService->transferConfigs;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_BigQueryDataTransfer_TransferConfig
- Creates a new data transfer configuration. (transferConfigs.create)
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : Google_Service_BigQueryDataTransfer_BigquerydatatransferEmpty
- Deletes a data transfer configuration, including any associated transfer runs and logs. (transferConfigs.delete)
- get() : Google_Service_BigQueryDataTransfer_TransferConfig
- Returns information about a data transfer config. (transferConfigs.get)
- listProjectsLocationsTransferConfigs() : Google_Service_BigQueryDataTransfer_ListTransferConfigsResponse
- Returns information about all data transfers in the project.
- patch() : Google_Service_BigQueryDataTransfer_TransferConfig
- Updates a data transfer configuration. All fields must be set, even if they are not updated. (transferConfigs.patch)
- scheduleRuns() : Google_Service_BigQueryDataTransfer_ScheduleTransferRunsResponse
- Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.
- startManualRuns() : Google_Service_BigQueryDataTransfer_StartManualTransferRunsResponse
- Start manual transfer runs to be executed now with schedule_time equal to current time. The transfer runs can be created for a time range where the run_time is between start_time (inclusive) and end_time (exclusive), or for a specific run_time. (transferConfigs.startManualRuns)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
Creates a new data transfer configuration. (transferConfigs.create)
public
create(string $parent, Google_Service_BigQueryDataTransfer_TransferConfig $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_TransferConfig
Parameters
- $parent : string
-
Required. The BigQuery project id where the transfer configuration should be created. Must be in the format projects/{project_id}/locations/{location_id} or projects/{project_id}. If specified location and location of the destination bigquery dataset do not match - the request will fail.
- $postBody : Google_Service_BigQueryDataTransfer_TransferConfig
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_BigQueryDataTransfer_TransferConfig —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Deletes a data transfer configuration, including any associated transfer runs and logs. (transferConfigs.delete)
public
delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_BigquerydatatransferEmpty
Parameters
- $name : string
-
Required. The field will contain name of the resource requested, for example:
projects/{project_id}/transferConfigs/{config_id}orprojects/{project_id}/locations/{location_id}/transferConfigs/{config_id} - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_BigQueryDataTransfer_BigquerydatatransferEmpty —get()
Returns information about a data transfer config. (transferConfigs.get)
public
get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_TransferConfig
Parameters
- $name : string
-
Required. The field will contain name of the resource requested, for example:
projects/{project_id}/transferConfigs/{config_id}orprojects/{project_id}/locations/{location_id}/transferConfigs/{config_id} - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_BigQueryDataTransfer_TransferConfig —listProjectsLocationsTransferConfigs()
Returns information about all data transfers in the project.
public
listProjectsLocationsTransferConfigs(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_ListTransferConfigsResponse
(transferConfigs.listProjectsLocationsTransferConfigs)
Parameters
- $parent : string
-
Required. The BigQuery project id for which data sources should be returned:
projects/{project_id}orprojects/{project_id}/locations/{location_id} - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_BigQueryDataTransfer_ListTransferConfigsResponse —patch()
Updates a data transfer configuration. All fields must be set, even if they are not updated. (transferConfigs.patch)
public
patch(string $name, Google_Service_BigQueryDataTransfer_TransferConfig $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_TransferConfig
Parameters
- $name : string
-
The resource name of the transfer config. Transfer config names have the form of
projects/{project_id}/locations/{region}/transferConfigs/{config_id}. The name is automatically generated based on the config_id specified in CreateTransferConfigRequest along with project_id and region. If config_id is not provided, usually a uuid, even though it is not guaranteed or required, will be generated for config_id. - $postBody : Google_Service_BigQueryDataTransfer_TransferConfig
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_BigQueryDataTransfer_TransferConfig —scheduleRuns()
Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.
public
scheduleRuns(string $parent, Google_Service_BigQueryDataTransfer_ScheduleTransferRunsRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_ScheduleTransferRunsResponse
(transferConfigs.scheduleRuns)
Parameters
- $parent : string
-
Required. Transfer configuration name in the form:
projects/{project_id}/transferConfigs/{config_id}orprojects/{project_id}/locations/{location_id}/transferConfigs/{config_id}. - $postBody : Google_Service_BigQueryDataTransfer_ScheduleTransferRunsRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_BigQueryDataTransfer_ScheduleTransferRunsResponse —startManualRuns()
Start manual transfer runs to be executed now with schedule_time equal to current time. The transfer runs can be created for a time range where the run_time is between start_time (inclusive) and end_time (exclusive), or for a specific run_time. (transferConfigs.startManualRuns)
public
startManualRuns(string $parent, Google_Service_BigQueryDataTransfer_StartManualTransferRunsRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_BigQueryDataTransfer_StartManualTransferRunsResponse
Parameters
- $parent : string
-
Transfer configuration name in the form:
projects/{project_id}/transferConfigs/{config_id}orprojects/{project_id}/locations/{location_id}/transferConfigs/{config_id}. - $postBody : Google_Service_BigQueryDataTransfer_StartManualTransferRunsRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_BigQueryDataTransfer_StartManualTransferRunsResponse —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed