Class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.CreateRequest
Creates a new database.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.BigLakeService.v1
Assembly: Google.Apis.BigLakeService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.CreateRequest : BigLakeServiceBaseServiceRequest<Database>, IClientServiceRequest<Database>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Database, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Database body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Database | body | |
string | parent |
Properties
DatabaseId
Required. The ID to use for the database, which will become the final component of the database's resource name.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigLakeService.v1.Data.Database>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigLakeService.v1.Data.Database>.MethodName
Parent
Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigLakeService.v1.Data.Database>.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.BigLakeService.v1.Data.Database>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()