Class ProjectsResource.DataSourcesResource.CheckValidCredsRequest
Returns true if valid credentials exist for the given data source and requesting user.
Inheritance
ProjectsResource.DataSourcesResource.CheckValidCredsRequest
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class ProjectsResource.DataSourcesResource.CheckValidCredsRequest : BigQueryDataTransferBaseServiceRequest<CheckValidCredsResponse>, IClientServiceRequest<CheckValidCredsResponse>, IClientServiceRequest
Constructors
CheckValidCredsRequest(IClientService, CheckValidCredsRequest, string)
Constructs a new CheckValidCreds request.
Declaration
public CheckValidCredsRequest(IClientService service, CheckValidCredsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CheckValidCredsRequest | 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 data source in the form: projects/{project_id}/dataSources/{data_source_id}
or
projects/{project_id}/locations/{location_id}/dataSources/{data_source_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 CheckValidCreds parameter list.
Declaration
protected override void InitParameters()