Class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.PeeredDnsDomainsResource.CreateRequest
Creates a peered DNS domain which sends requests for records in given namespace originating in the service producer VPC network to the consumer VPC network to be resolved.
Inheritance
Inherited Members
Namespace: Google.Apis.ServiceNetworking.v1
Assembly: Google.Apis.ServiceNetworking.v1.dll
Syntax
public class ServicesResource.ProjectsResource.GlobalResource.NetworksResource.PeeredDnsDomainsResource.CreateRequest : ServiceNetworkingBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, PeeredDnsDomain, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, PeeredDnsDomain body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PeeredDnsDomain | body | |
string | parent |
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
Parent
Required. Parent resource identifying the connection for which the peered DNS domain
will be created in the format:
services/{service}/projects/{project}/global/networks/{network}
{service} is the
peering service that is managing connectivity for the service producer's organization.
For Google services that support this functionality, this value is
servicenetworking.googleapis.com
. {project} is the number of the project that contains
the service consumer's VPC network e.g. 12345
. {network} is the name of the service
consumer's VPC network.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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()