Class ResponsePoliciesResource.CreateRequest
Creates a new Response Policy
Inheritance
ResponsePoliciesResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Dns.v1beta2
Assembly: Google.Apis.Dns.v1beta2.dll
Syntax
public class ResponsePoliciesResource.CreateRequest : DnsBaseServiceRequest<ResponsePolicy>, IClientServiceRequest<ResponsePolicy>, IClientServiceRequest
Constructors
CreateRequest(IClientService, ResponsePolicy, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, ResponsePolicy body, string project)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ResponsePolicy | body | |
string | project |
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 |
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 Create parameter list.
Declaration
protected override void InitParameters()