Class StyleResource
The "style" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Fusiontables.v2
Assembly: Google.Apis.Fusiontables.v2.dll
Syntax
public class StyleResource
Constructors
StyleResource(IClientService)
Constructs a new resource.
Declaration
public StyleResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(String, Int32)
Deletes a style.
Declaration
public virtual StyleResource.DeleteRequest Delete(string tableId, int styleId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table from which the style is being deleted |
System.Int32 | styleId | Identifier (within a table) for the style being deleted |
Returns
Type | Description |
---|---|
StyleResource.DeleteRequest |
Get(String, Int32)
Gets a specific style.
Declaration
public virtual StyleResource.GetRequest Get(string tableId, int styleId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table to which the requested style belongs |
System.Int32 | styleId | Identifier (integer) for a specific style in a table |
Returns
Type | Description |
---|---|
StyleResource.GetRequest |
Insert(StyleSetting, String)
Adds a new style for the table.
Declaration
public virtual StyleResource.InsertRequest Insert(StyleSetting body, string tableId)
Parameters
Type | Name | Description |
---|---|---|
StyleSetting | body | The body of the request. |
System.String | tableId | Table for which a new style is being added |
Returns
Type | Description |
---|---|
StyleResource.InsertRequest |
List(String)
Retrieves a list of styles.
Declaration
public virtual StyleResource.ListRequest List(string tableId)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableId | Table whose styles are being listed |
Returns
Type | Description |
---|---|
StyleResource.ListRequest |
Patch(StyleSetting, String, Int32)
Updates an existing style. This method supports patch semantics.
Declaration
public virtual StyleResource.PatchRequest Patch(StyleSetting body, string tableId, int styleId)
Parameters
Type | Name | Description |
---|---|---|
StyleSetting | body | The body of the request. |
System.String | tableId | Table whose style is being updated. |
System.Int32 | styleId | Identifier (within a table) for the style being updated. |
Returns
Type | Description |
---|---|
StyleResource.PatchRequest |
Update(StyleSetting, String, Int32)
Updates an existing style.
Declaration
public virtual StyleResource.UpdateRequest Update(StyleSetting body, string tableId, int styleId)
Parameters
Type | Name | Description |
---|---|---|
StyleSetting | body | The body of the request. |
System.String | tableId | Table whose style is being updated. |
System.Int32 | styleId | Identifier (within a table) for the style being updated. |
Returns
Type | Description |
---|---|
StyleResource.UpdateRequest |