Class ProjectsResource.LocationsResource.DataProductsResource.DataAssetsResource.PatchRequest
Updates a Data Asset.
Inheritance
ProjectsResource.LocationsResource.DataProductsResource.DataAssetsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.CloudDataplex.v1
Assembly: Google.Apis.CloudDataplex.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataProductsResource.DataAssetsResource.PatchRequest : CloudDataplexBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
PatchRequest(IClientService, GoogleCloudDataplexV1DataAsset, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, GoogleCloudDataplexV1DataAsset body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudDataplexV1DataAsset | body | |
| string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Name
Identifier. Resource name of the Data Asset. Format: projects/{project_id_or_number}/locations/{location_id}/dataProducts/{data_product_id}/dataAssets/{data_asset_id}
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Optional. The list of fields to update. If this is empty or not set, then all fields that are populated (have a non-empty value) in data_asset above will be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ValidateOnly
Optional. Validates the request without actually updating the Data Asset. Defaults to false.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()