Class ProjectsResource.LocationsResource.DatabaseConnectionsResource.TestRequest
Tests connectivity of a DatabaseConnection.
Inheritance
ProjectsResource.LocationsResource.DatabaseConnectionsResource.TestRequest
Inherited Members
Namespace: Google.Apis.OracleDatabase.v1
Assembly: Google.Apis.OracleDatabase.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DatabaseConnectionsResource.TestRequest : OracleDatabaseBaseServiceRequest<TestDatabaseConnectionResponse>, IClientServiceRequest<TestDatabaseConnectionResponse>, IClientServiceRequest
Constructors
TestRequest(IClientService, TestDatabaseConnectionRequest, string)
Constructs a new Test request.
Declaration
public TestRequest(IClientService service, TestDatabaseConnectionRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| TestDatabaseConnectionRequest | 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 DatabaseConnection to test. Format: projects/{project}/locations/{location}/databaseConnections/{database_connection}
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 Test parameter list.
Declaration
protected override void InitParameters()