Class RestDescription
Inheritance
System.Object
RestDescription
Implements
Google.Apis.Requests.IDirectResponseSchema
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()
Assembly: Google.Apis.Discovery.v1.dll
Syntax
public class RestDescription : IDirectResponseSchema
Properties
Auth
Authentication information.
Declaration
[JsonProperty("auth")]
public virtual RestDescription.AuthData Auth { get; set; }
Property Value
BasePath
[DEPRECATED] The base path for REST requests.
Declaration
[JsonProperty("basePath")]
public virtual string BasePath { get; set; }
Property Value
| Type |
Description |
| System.String |
|
BaseUrl
[DEPRECATED] The base URL for REST requests.
Declaration
[JsonProperty("baseUrl")]
public virtual string BaseUrl { get; set; }
Property Value
| Type |
Description |
| System.String |
|
BatchPath
The path for REST batch requests.
Declaration
[JsonProperty("batchPath")]
public virtual string BatchPath { get; set; }
Property Value
| Type |
Description |
| System.String |
|
CanonicalName
Indicates how the API name should be capitalized and split into various parts. Useful for
generating pretty class names.
Declaration
[JsonProperty("canonicalName")]
public virtual string CanonicalName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Description
The description of this API.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DiscoveryVersion
Indicate the version of the Discovery API used to generate this doc.
Declaration
[JsonProperty("discoveryVersion")]
public virtual string DiscoveryVersion { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DocumentationLink
A link to human readable documentation for the API.
Declaration
[JsonProperty("documentationLink")]
public virtual string DocumentationLink { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ETag
The ETag for this response.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ExponentialBackoffDefault
Enable exponential backoff for suitable methods in the generated clients.
Declaration
[JsonProperty("exponentialBackoffDefault")]
public virtual bool? ExponentialBackoffDefault { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
Features
A list of supported features for this API.
Declaration
[JsonProperty("features")]
public virtual IList<string> Features { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IList<System.String> |
|
Icons
Links to 16x16 and 32x32 icons representing the API.
Declaration
[JsonProperty("icons")]
public virtual RestDescription.IconsData Icons { get; set; }
Property Value
Id
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Kind
The kind for this response.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Labels
Labels for the status of this API, such as labs or deprecated.
Declaration
[JsonProperty("labels")]
public virtual IList<string> Labels { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IList<System.String> |
|
Methods
API-level methods for this API.
Declaration
[JsonProperty("methods")]
public virtual IDictionary<string, RestMethod> Methods { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IDictionary<System.String, RestMethod> |
|
Name
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OwnerDomain
The domain of the owner of this API. Together with the ownerName and a packagePath values, this can
be used to generate a library for this API which would have a unique fully qualified name.
Declaration
[JsonProperty("ownerDomain")]
public virtual string OwnerDomain { get; set; }
Property Value
| Type |
Description |
| System.String |
|
OwnerName
The name of the owner of this API. See ownerDomain.
Declaration
[JsonProperty("ownerName")]
public virtual string OwnerName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
PackagePath
The package of the owner of this API. See ownerDomain.
Declaration
[JsonProperty("packagePath")]
public virtual string PackagePath { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Parameters
Common parameters that apply across all apis.
Declaration
[JsonProperty("parameters")]
public virtual IDictionary<string, JsonSchema> Parameters { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IDictionary<System.String, JsonSchema> |
|
Protocol
The protocol described by this document.
Declaration
[JsonProperty("protocol")]
public virtual string Protocol { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Resources
The resources in this API.
Declaration
[JsonProperty("resources")]
public virtual IDictionary<string, RestResource> Resources { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IDictionary<System.String, RestResource> |
|
Revision
Declaration
[JsonProperty("revision")]
public virtual string Revision { get; set; }
Property Value
| Type |
Description |
| System.String |
|
RootUrl
The root URL under which all API services live.
Declaration
[JsonProperty("rootUrl")]
public virtual string RootUrl { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Schemas
The schemas for this API.
Declaration
[JsonProperty("schemas")]
public virtual IDictionary<string, JsonSchema> Schemas { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.IDictionary<System.String, JsonSchema> |
|
ServicePath
The base path for all REST requests.
Declaration
[JsonProperty("servicePath")]
public virtual string ServicePath { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Title
Declaration
[JsonProperty("title")]
public virtual string Title { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Version
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
| Type |
Description |
| System.String |
|
VersionModule
Declaration
[JsonProperty("version_module")]
public virtual bool? VersionModule { get; set; }
Property Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
Implements
Google.Apis.Requests.IDirectResponseSchema