Class ProjectsResource.TransferConfigsResource
The "transferConfigs" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class TransferConfigsResource
Constructors
TransferConfigsResource(IClientService)
Constructs a new resource.
Declaration
public TransferConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Runs
Gets the Runs resource.
Declaration
public virtual ProjectsResource.TransferConfigsResource.RunsResource Runs { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.RunsResource |
Methods
Create(TransferConfig, String)
Creates a new data transfer configuration.
Declaration
public virtual ProjectsResource.TransferConfigsResource.CreateRequest Create(TransferConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
TransferConfig | body | The body of the request. |
System.String | parent | 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. |
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.CreateRequest |
Delete(String)
Deletes a data transfer configuration, including any associated transfer runs and logs.
Declaration
public virtual ProjectsResource.TransferConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Required. The field will contain name of the resource requested, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.DeleteRequest |
Get(String)
Returns information about a data transfer config.
Declaration
public virtual ProjectsResource.TransferConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Required. The field will contain name of the resource requested, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.GetRequest |
List(String)
Returns information about all data transfers in the project.
Declaration
public virtual ProjectsResource.TransferConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | Required. The BigQuery project id for which data sources should be returned: |
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.ListRequest |
Patch(TransferConfig, String)
Updates a data transfer configuration. All fields must be set, even if they are not updated.
Declaration
public virtual ProjectsResource.TransferConfigsResource.PatchRequest Patch(TransferConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
TransferConfig | body | The body of the request. |
System.String | name | The resource name of the transfer config. Transfer config names have the form
|
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.PatchRequest |
ScheduleRuns(ScheduleTransferRunsRequest, String)
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.
Declaration
public virtual ProjectsResource.TransferConfigsResource.ScheduleRunsRequest ScheduleRuns(ScheduleTransferRunsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
ScheduleTransferRunsRequest | body | The body of the request. |
System.String | parent | Required. Transfer configuration name in the form: |
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.ScheduleRunsRequest |
StartManualRuns(StartManualTransferRunsRequest, String)
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.
Declaration
public virtual ProjectsResource.TransferConfigsResource.StartManualRunsRequest StartManualRuns(StartManualTransferRunsRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
StartManualTransferRunsRequest | body | The body of the request. |
System.String | parent | Transfer configuration name in the form: |
Returns
Type | Description |
---|---|
ProjectsResource.TransferConfigsResource.StartManualRunsRequest |