Class ProjectsResource.LocationsResource.InstancesResource.CreateRequest
Requests that a new DatabaseInstance be created. The state of a successfully created DatabaseInstance is ACTIVE. Only available for projects on the Blaze plan. Projects can be upgraded using the Cloud Billing API https://cloud.google.com/billing/reference/rest/v1/projects/updateBillingInfo. Note that it might take a few minutes for billing enablement state to propagate to Firebase systems.
Inheritance
Inherited Members
Namespace: Google.Apis.FirebaseRealtimeDatabase.v1beta
Assembly: Google.Apis.FirebaseRealtimeDatabase.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.CreateRequest : FirebaseRealtimeDatabaseBaseServiceRequest<DatabaseInstance>, IClientServiceRequest<DatabaseInstance>, IClientServiceRequest
Constructors
CreateRequest(IClientService, DatabaseInstance, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, DatabaseInstance body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DatabaseInstance | body | |
string | parent |
Properties
DatabaseId
The globally unique identifier of the database instance.
Declaration
[RequestParameter("databaseId", RequestParameterType.Query)]
public virtual string DatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Parent
Required. The parent project for which to create a database instance, in the form:
projects/{project-number}/locations/{location-id}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ValidateOnly
When set to true, the request will be validated but not submitted.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()