Class ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest
Alter metadata resource location. The metadata resource can be a database, table, or partition. This functionality only updates the parent directory for the respective metadata resource and does not transfer any existing data to the new location.
Inheritance
ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest
Inherited Members
Namespace: Google.Apis.DataprocMetastore.v2
Assembly: Google.Apis.DataprocMetastore.v2.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource.AlterLocationRequest : DataprocMetastoreBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
AlterLocationRequest(IClientService, GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest, string)
Constructs a new AlterLocation request.
Declaration
public AlterLocationRequest(IClientService service, GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest body, string service_)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest | body | |
| string | service_ |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Service_
Required. The relative resource name of the metastore service to mutate metadata, in the following format:projects/{project_id}/locations/{location_id}/services/{service_id}.
Declaration
[RequestParameter("service", RequestParameterType.Path)]
public virtual string Service_ { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes AlterLocation parameter list.
Declaration
protected override void InitParameters()