Class DatasetsResource.PatchRequest
Updates information in an existing dataset. The update method replaces the entire dataset resource, whereas the patch method only replaces fields that are provided in the submitted dataset resource. This method supports patch semantics.
Inheritance
object
DatasetsResource.PatchRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Bigquery.v2
Assembly: Google.Apis.Bigquery.v2.dll
Syntax
public class DatasetsResource.PatchRequest : BigqueryBaseServiceRequest<Dataset>, IClientServiceRequest<Dataset>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Dataset, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Dataset body, string projectId, string datasetId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Dataset | body | |
string | projectId | |
string | datasetId |
Properties
DatasetId
Dataset ID of the dataset being updated
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.Dataset>.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.Dataset>.MethodName
ProjectId
Project ID of the dataset being updated
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.Dataset>.RestPath
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.Dataset>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Bigquery.v2.BigqueryBaseServiceRequest<Google.Apis.Bigquery.v2.Data.Dataset>.InitParameters()