Class OutboundEndpointsResource.CreateRequest
Creates a new Outbound Endpoint.
Inheritance
OutboundEndpointsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Dns.v1beta2
Assembly: Google.Apis.Dns.v1beta2.dll
Syntax
public class OutboundEndpointsResource.CreateRequest : DnsBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, OutboundEndpoint, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, OutboundEndpoint body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| OutboundEndpoint | body | |
| string | parent |
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
OutboundEndpointId
Required. The ID to use for the OutboundEndpoint, which will become the final component of the OutboundEndpoint's resource name.
Declaration
[RequestParameter("outboundEndpointId", RequestParameterType.Query)]
public virtual string OutboundEndpointId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Required. The parent project and location where this OutboundEndpoint will be created. Format: projects/{project}/locations/{location}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
| Type | Description |
|---|---|
| string |
RequestId
Optional. An optional request ID to identify requests.
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
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()