Class TablesResource.PatchRequest
Updates information in an existing table. The update method replaces the entire table resource, whereas the patch method only replaces fields that are provided in the submitted table resource. This method supports RFC5789 patch semantics.
Inheritance
TablesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class TablesResource.PatchRequest : BigqueryBaseServiceRequest<Table>, IClientServiceRequest<Table>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Table, string, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Table body, string projectId, string datasetId, string tableId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Table | body | |
string | projectId | |
string | datasetId | |
string | tableId |
Properties
AutodetectSchema
Optional. When true will autodetect schema, else will keep original schema
Declaration
[RequestParameter("autodetect_schema", RequestParameterType.Query)]
public virtual bool? AutodetectSchema { get; set; }
Property Value
Type | Description |
---|---|
bool? |
DatasetId
Required. Dataset ID of the table to update
Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.MethodName
ProjectId
Required. Project ID of the table to update
Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.RestPath
TableId
Required. Table ID of the table to update
Declaration
[RequestParameter("tableId", RequestParameterType.Path)]
public virtual string TableId { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()