Class GoogleDocConnector
Google Doc Connector Package API access point.
Inheritance
System.Object
GoogleDocConnector
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.GoogleDoc
Assembly: cs.temp.dll.dll
Syntax
public static class GoogleDocConnector
Methods
GetSpreadsheet(String)
Get Spreadsheet by it's id, if a spreadsheet with such id was added into the project using
the editor settings UI. Otherwise null
.
Declaration
public static Spreadsheet GetSpreadsheet(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | An id of the spreadsheet. |
Returns
Type | Description |
---|---|
Spreadsheet | A Spreadsheet object if a spreadsheet with such id was added into the project using
the editor settings UI. Otherwise |
GetSpreadsheetWebUrl(String)
Returns absolute web url for the spreadsheet.
Declaration
public static string GetSpreadsheetWebUrl(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | An id of the spreadsheet. |
Returns
Type | Description |
---|---|
System.String | String url value |
HasSpreadsheet(String)
Spreadsheet exists by it's id
Declaration
public static bool HasSpreadsheet(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | An id of the spreadsheet. |
Returns
Type | Description |
---|---|
System.Boolean | True if the spreadsheet exists; otherwise false |