Class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource
The "databases" collection of methods.
Inherited Members
Namespace: Google.Apis.BigLakeService.v1
Assembly: Google.Apis.BigLakeService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource
Constructors
DatabasesResource(IClientService)
Constructs a new resource.
Declaration
public DatabasesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Tables
Gets the Tables resource.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource Tables { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource |
Methods
Create(Database, string)
Creates a new database.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.CreateRequest Create(Database body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Database | body | The body of the request. |
string | parent | Required. The parent resource where this database will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.CreateRequest |
Delete(string)
Deletes an existing database specified by the database ID.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the database to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.DeleteRequest |
Get(string)
Gets the database specified by the resource name.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the database to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.GetRequest |
List(string)
List all databases in a specified catalog.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of databases. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.ListRequest |
Patch(Database, string)
Updates an existing database specified by the database ID.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.PatchRequest Patch(Database body, string name)
Parameters
Type | Name | Description |
---|---|---|
Database | body | The body of the request. |
string | name | Output only. The resource name. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.PatchRequest |