Class ProjectsResource.LocationsResource.DataPoliciesResource.RenameRequest
Renames the id (display name) of the specified data policy.
Inheritance
ProjectsResource.LocationsResource.DataPoliciesResource.RenameRequest
Inherited Members
Namespace: Google.Apis.BigQueryDataPolicyService.v1
Assembly: Google.Apis.BigQueryDataPolicyService.v1.dll
Syntax
public class ProjectsResource.LocationsResource.DataPoliciesResource.RenameRequest : BigQueryDataPolicyServiceBaseServiceRequest<DataPolicy>, IClientServiceRequest<DataPolicy>, IClientServiceRequest
Constructors
RenameRequest(IClientService, RenameDataPolicyRequest, string)
Constructs a new Rename request.
Declaration
public RenameRequest(IClientService service, RenameDataPolicyRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RenameDataPolicyRequest | 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
Required. Resource name of the data policy to rename. The format is
projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Rename parameter list.
Declaration
protected override void InitParameters()