Class ApisResource.GetRestRequest
Retrieve the description of a particular version of an api.
Inheritance
ApisResource.GetRestRequest
Inherited Members
Namespace: Google.Apis.Discovery.v1
Assembly: Google.Apis.Discovery.v1.dll
Syntax
public class ApisResource.GetRestRequest : DiscoveryBaseServiceRequest<RestDescription>, IClientServiceRequest<RestDescription>, IClientServiceRequest
Constructors
GetRestRequest(IClientService, string, string)
Constructs a new GetRest request.
Declaration
public GetRestRequest(IClientService service, string api, string version)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | api | |
string | version |
Properties
Api
The name of the API.
Declaration
[RequestParameter("api", RequestParameterType.Path)]
public virtual string Api { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Discovery.v1.Data.RestDescription>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Discovery.v1.Data.RestDescription>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Discovery.v1.Data.RestDescription>.RestPath
Version
The version of the API.
Declaration
[RequestParameter("version", RequestParameterType.Path)]
public virtual string Version { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes GetRest parameter list.
Declaration
protected override void InitParameters()