Class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource
The "tables" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.BigLakeService.v1
Assembly: Google.Apis.BigLakeService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource
Constructors
TablesResource(IClientService)
Constructs a new resource.
Declaration
public TablesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Table, string)
Creates a new table.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.CreateRequest Create(Table body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Table | body | The body of the request. |
string | parent | Required. The parent resource where this table will be created. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.CreateRequest |
Delete(string)
Deletes an existing table specified by the table ID.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the table to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.DeleteRequest |
Get(string)
Gets the table specified by the resource name.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the table to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id}/tables/{table_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.GetRequest |
List(string)
List all tables in a specified database.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent, which owns this collection of tables. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}/databases/{database_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.ListRequest |
Patch(Table, string)
Updates an existing table specified by the table ID.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.PatchRequest Patch(Table body, string name)
Parameters
Type | Name | Description |
---|---|---|
Table | 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}/tables/{table_id} |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.PatchRequest |
Rename(RenameTableRequest, string)
Renames an existing table specified by the table ID.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.RenameRequest Rename(RenameTableRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
RenameTableRequest | body | The body of the request. |
string | name | Required. The table's |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.DatabasesResource.TablesResource.RenameRequest |