Class PoliciesResource.CreateRequest
Create a new Policy
Inheritance
System.Object
PoliciesResource.CreateRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dns.v2beta1
Assembly: Google.Apis.Dns.v2beta1.dll
Syntax
public class CreateRequest : DnsBaseServiceRequest<Policy>, IClientServiceRequest<Policy>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Policy, String)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Policy body, string project)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Policy | body | |
System.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 |
---|---|
System.String |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dns.v2beta1.Data.Policy>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dns.v2beta1.Data.Policy>.MethodName
Project
Identifies the project addressed by this request.
Declaration
[RequestParameter("project", RequestParameterType.Path)]
public virtual string Project { get; }
Property Value
Type | Description |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dns.v2beta1.Data.Policy>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dns.v2beta1.Data.Policy>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dns.v2beta1.DnsBaseServiceRequest<Google.Apis.Dns.v2beta1.Data.Policy>.InitParameters()