Class TemplateResource
The "template" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Fusiontables.v2
Assembly: Google.Apis.Fusiontables.v2.dll
Syntax
public class TemplateResource
Constructors
TemplateResource(IClientService)
Constructs a new resource.
Declaration
public TemplateResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(String, Int32)
Deletes a template
Declaration
public virtual TemplateResource.DeleteRequest Delete(string tableId, int templateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table from which the template is being deleted |
System.Int32 | templateId | Identifier for the template which is being deleted |
Returns
Type | Description |
---|---|
TemplateResource.DeleteRequest |
Get(String, Int32)
Retrieves a specific template by its id
Declaration
public virtual TemplateResource.GetRequest Get(string tableId, int templateId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table to which the template belongs |
System.Int32 | templateId | Identifier for the template that is being requested |
Returns
Type | Description |
---|---|
TemplateResource.GetRequest |
Insert(Template, String)
Creates a new template for the table.
Declaration
public virtual TemplateResource.InsertRequest Insert(Template body, string tableId)
Parameters
Type | Name | Description |
---|---|---|
Template | body | The body of the request. |
System.String | tableId | Table for which a new template is being created |
Returns
Type | Description |
---|---|
TemplateResource.InsertRequest |
List(String)
Retrieves a list of templates.
Declaration
public virtual TemplateResource.ListRequest List(string tableId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Identifier for the table whose templates are being requested |
Returns
Type | Description |
---|---|
TemplateResource.ListRequest |
Patch(Template, String, Int32)
Updates an existing template. This method supports patch semantics.
Declaration
public virtual TemplateResource.PatchRequest Patch(Template body, string tableId, int templateId)
Parameters
Type | Name | Description |
---|---|---|
Template | body | The body of the request. |
System.String | tableId | Table to which the updated template belongs |
System.Int32 | templateId | Identifier for the template that is being updated |
Returns
Type | Description |
---|---|
TemplateResource.PatchRequest |
Update(Template, String, Int32)
Updates an existing template
Declaration
public virtual TemplateResource.UpdateRequest Update(Template body, string tableId, int templateId)
Parameters
Type | Name | Description |
---|---|---|
Template | body | The body of the request. |
System.String | tableId | Table to which the updated template belongs |
System.Int32 | templateId | Identifier for the template that is being updated |
Returns
Type | Description |
---|---|
TemplateResource.UpdateRequest |