Class ResponsePolicyRulesResource.PatchRequest
Applies a partial update to an existing Response Policy Rule.
Inheritance
ResponsePolicyRulesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.Dns.v1
Assembly: Google.Apis.Dns.v1.dll
Syntax
public class ResponsePolicyRulesResource.PatchRequest : DnsBaseServiceRequest<ResponsePolicyRulesPatchResponse>, IClientServiceRequest<ResponsePolicyRulesPatchResponse>, IClientServiceRequest
Constructors
PatchRequest(IClientService, ResponsePolicyRule, string, string, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, ResponsePolicyRule body, string project, string responsePolicy, string responsePolicyRule)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResponsePolicyRule | body | |
string | project | |
string | responsePolicy | |
string | responsePolicyRule |
Properties
ClientOperationId
For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
Declaration
[RequestParameter("clientOperationId", RequestParameterType.Query)]
public virtual string ClientOperationId { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Project
Identifies the project addressed by this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
string |
ResponsePolicy
User assigned name of the Response Policy containing the Response Policy Rule.
Declaration
[RequestParameter("responsePolicy", RequestParameterType.Path)]
public virtual string ResponsePolicy { get; }
Property Value
Type | Description |
---|---|
string |
ResponsePolicyRule
User assigned name of the Response Policy Rule addressed by this request.
Declaration
[RequestParameter("responsePolicyRule", RequestParameterType.Path)]
public virtual string ResponsePolicyRule { 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 Patch parameter list.
Declaration
protected override void InitParameters()