Class ProjectsResource.LocationsResource.InstancesResource.DisableRequest
Disables a DatabaseInstance. The database can be re-enabled later using ReenableDatabaseInstance. When a database is disabled, all reads and writes are denied, including view access in the Firebase console.
Inheritance
ProjectsResource.LocationsResource.InstancesResource.DisableRequest
Inherited Members
Namespace: Google.Apis.FirebaseRealtimeDatabase.v1beta
Assembly: Google.Apis.FirebaseRealtimeDatabase.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.DisableRequest : FirebaseRealtimeDatabaseBaseServiceRequest<DatabaseInstance>, IClientServiceRequest<DatabaseInstance>, IClientServiceRequest
Constructors
DisableRequest(IClientService, DisableDatabaseInstanceRequest, string)
Constructs a new Disable request.
Declaration
public DisableRequest(IClientService service, DisableDatabaseInstanceRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DisableDatabaseInstanceRequest | 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 Disable parameter list.
Declaration
protected override void InitParameters()