Class ProjectsResource.LocationsResource.InstancesResource.ReenableRequest
Enables a DatabaseInstance. The database must have been disabled previously using DisableDatabaseInstance. The state of a successfully reenabled DatabaseInstance is ACTIVE.
Inheritance
ProjectsResource.LocationsResource.InstancesResource.ReenableRequest
Inherited Members
Namespace: Google.Apis.FirebaseRealtimeDatabase.v1beta
Assembly: Google.Apis.FirebaseRealtimeDatabase.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.ReenableRequest : FirebaseRealtimeDatabaseBaseServiceRequest<DatabaseInstance>, IClientServiceRequest<DatabaseInstance>, IClientServiceRequest
Constructors
ReenableRequest(IClientService, ReenableDatabaseInstanceRequest, string)
Constructs a new Reenable request.
Declaration
public ReenableRequest(IClientService service, ReenableDatabaseInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ReenableDatabaseInstanceRequest | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRealtimeDatabase.v1beta.Data.DatabaseInstance>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRealtimeDatabase.v1beta.Data.DatabaseInstance>.MethodName
Name
Required. The fully qualified resource name of the database instance, in the form:
projects/{project-number}/locations/{location-id}/instances/{database-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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRealtimeDatabase.v1beta.Data.DatabaseInstance>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.FirebaseRealtimeDatabase.v1beta.Data.DatabaseInstance>.GetBody()
InitParameters()
Initializes Reenable parameter list.
Declaration
protected override void InitParameters()