Show / Hide Table of Contents

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 patch semantics.

Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Table>
BigqueryBaseServiceRequest<Table>
TablesResource.PatchRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Table>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
BigqueryBaseServiceRequest<Table>.Alt
BigqueryBaseServiceRequest<Table>.Fields
BigqueryBaseServiceRequest<Table>.Key
BigqueryBaseServiceRequest<Table>.OauthToken
BigqueryBaseServiceRequest<Table>.PrettyPrint
BigqueryBaseServiceRequest<Table>.QuotaUser
BigqueryBaseServiceRequest<Table>.UserIp
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class 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
Google.Apis.Services.IClientService service
Table body
System.String projectId
System.String datasetId
System.String tableId

Properties

AutodetectSchema

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
System.Nullable<System.Boolean>

DatasetId

Dataset ID of the table to update

Declaration
[RequestParameter("datasetId", RequestParameterType.Path)]
public virtual string DatasetId { get; }
Property Value
Type Description
System.String

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.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
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.MethodName

ProjectId

Project ID of the table to update

Declaration
[RequestParameter("projectId", RequestParameterType.Path)]
public virtual string ProjectId { get; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.RestPath

TableId

Table ID of the table to update

Declaration
[RequestParameter("tableId", RequestParameterType.Path)]
public virtual string TableId { get; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Bigquery.v2.BigqueryBaseServiceRequest<Google.Apis.Bigquery.v2.Data.Table>.InitParameters()

Implements

Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest
In This Article
Back to top