Class ProjectsResource.EnrollDataSourcesRequest
Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.
Inheritance
ProjectsResource.EnrollDataSourcesRequest
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class ProjectsResource.EnrollDataSourcesRequest : BigQueryDataTransferBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
EnrollDataSourcesRequest(IClientService, EnrollDataSourcesRequest, string)
Constructs a new EnrollDataSources request.
Declaration
public EnrollDataSourcesRequest(IClientService service, EnrollDataSourcesRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
EnrollDataSourcesRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Required. The name of the project resource in the form: projects/{project_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes EnrollDataSources parameter list.
Declaration
protected override void InitParameters()