Class UrlMapsResource.ValidateRequest
Runs static validation for the UrlMap. In particular, the tests of the provided UrlMap will be run. Calling this method does NOT create the UrlMap.
Inheritance
UrlMapsResource.ValidateRequest
Inherited Members
Namespace: Google.Apis.Compute.beta
Assembly: Google.Apis.Compute.beta.dll
Syntax
public class UrlMapsResource.ValidateRequest : ComputeBaseServiceRequest<UrlMapsValidateResponse>, IClientServiceRequest<UrlMapsValidateResponse>, IClientServiceRequest
Constructors
ValidateRequest(IClientService, UrlMapsValidateRequest, string, string)
Constructs a new Validate request.
Declaration
public ValidateRequest(IClientService service, UrlMapsValidateRequest body, string project, string urlMap)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| UrlMapsValidateRequest | body | |
| string | project | |
| string | urlMap |
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
Project
Project ID for 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
UrlMap
Name of the UrlMap resource to be validated as.
Declaration
[RequestParameter("urlMap", RequestParameterType.Path)]
public virtual string UrlMap { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes Validate parameter list.
Declaration
protected override void InitParameters()