Class TableResource.ReplaceRowsRequest
Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.
Inheritance
Inherited Members
Namespace: Google.Apis.Fusiontables.v2
Assembly: Google.Apis.Fusiontables.v2.dll
Syntax
public class ReplaceRowsRequest : FusiontablesBaseServiceRequest<Task>, IClientServiceRequest<Task>, IClientServiceRequest
Constructors
ReplaceRowsRequest(IClientService, String)
Constructs a new ReplaceRows request.
Declaration
public ReplaceRowsRequest(IClientService service, string tableId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
System.String | tableId |
Properties
Delimiter
The delimiter used to separate cell values. This can only consist of a single character. Default is ,.
Declaration
[RequestParameter("delimiter", RequestParameterType.Query)]
public virtual string Delimiter { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Encoding
The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.
Declaration
[RequestParameter("encoding", RequestParameterType.Query)]
public virtual string Encoding { get; set; }
Property Value
Type | Description |
---|---|
System.String |
EndLine
The index of the line up to which data will be imported. Default is to import the entire file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.
Declaration
[RequestParameter("endLine", RequestParameterType.Query)]
public virtual int? EndLine { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
IsStrict
Whether the imported CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not have the same number of columns. If false, rows with fewer column values will be padded with empty values. Default is true.
Declaration
[RequestParameter("isStrict", RequestParameterType.Query)]
public virtual bool? IsStrict { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
StartLine
The index of the first line from which to start importing, inclusive. Default is 0.
Declaration
[RequestParameter("startLine", RequestParameterType.Query)]
public virtual int? StartLine { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
TableId
Table whose rows will be replaced.
Declaration
[RequestParameter("tableId", RequestParameterType.Path)]
public virtual string TableId { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
InitParameters()
Initializes ReplaceRows parameter list.
Declaration
protected override void InitParameters()