Class ColumnResource
The "column" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Fusiontables.v1
Assembly: Google.Apis.Fusiontables.v1.dll
Syntax
public class ColumnResource
Constructors
ColumnResource(IClientService)
Constructs a new resource.
Declaration
public ColumnResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(String, String)
Deletes the column.
Declaration
public virtual ColumnResource.DeleteRequest Delete(string tableId, string columnId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table from which the column is being deleted. |
System.String | columnId | Name or identifier for the column being deleted. |
Returns
Type | Description |
---|---|
ColumnResource.DeleteRequest |
Get(String, String)
Retrieves a specific column by its id.
Declaration
public virtual ColumnResource.GetRequest Get(string tableId, string columnId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table to which the column belongs. |
System.String | columnId | Name or identifier for the column that is being requested. |
Returns
Type | Description |
---|---|
ColumnResource.GetRequest |
Insert(Column, String)
Adds a new column to the table.
Declaration
public virtual ColumnResource.InsertRequest Insert(Column body, string tableId)
Parameters
Type | Name | Description |
---|---|---|
Column | body | The body of the request. |
System.String | tableId | Table for which a new column is being added. |
Returns
Type | Description |
---|---|
ColumnResource.InsertRequest |
List(String)
Retrieves a list of columns.
Declaration
public virtual ColumnResource.ListRequest List(string tableId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table whose columns are being listed. |
Returns
Type | Description |
---|---|
ColumnResource.ListRequest |
Patch(Column, String, String)
Updates the name or type of an existing column. This method supports patch semantics.
Declaration
public virtual ColumnResource.PatchRequest Patch(Column body, string tableId, string columnId)
Parameters
Type | Name | Description |
---|---|---|
Column | body | The body of the request. |
System.String | tableId | Table for which the column is being updated. |
System.String | columnId | Name or identifier for the column that is being updated. |
Returns
Type | Description |
---|---|
ColumnResource.PatchRequest |
Update(Column, String, String)
Updates the name or type of an existing column.
Declaration
public virtual ColumnResource.UpdateRequest Update(Column body, string tableId, string columnId)
Parameters
Type | Name | Description |
---|---|---|
Column | body | The body of the request. |
System.String | tableId | Table for which the column is being updated. |
System.String | columnId | Name or identifier for the column that is being updated. |
Returns
Type | Description |
---|---|
ColumnResource.UpdateRequest |