Struct google_discovery1::api::RestDescription
source · pub struct RestDescription {Show 31 fields
pub auth: Option<RestDescriptionAuth>,
pub base_path: Option<String>,
pub base_url: Option<String>,
pub batch_path: Option<String>,
pub canonical_name: Option<String>,
pub description: Option<String>,
pub discovery_version: Option<String>,
pub documentation_link: Option<String>,
pub endpoints: Option<Vec<RestDescriptionEndpoints>>,
pub etag: Option<String>,
pub exponential_backoff_default: Option<bool>,
pub features: Option<Vec<String>>,
pub icons: Option<RestDescriptionIcons>,
pub id: Option<String>,
pub kind: Option<String>,
pub labels: Option<Vec<String>>,
pub methods: Option<HashMap<String, RestMethod>>,
pub name: Option<String>,
pub owner_domain: Option<String>,
pub owner_name: Option<String>,
pub package_path: Option<String>,
pub parameters: Option<HashMap<String, JsonSchema>>,
pub protocol: Option<String>,
pub resources: Option<HashMap<String, RestResource>>,
pub revision: Option<String>,
pub root_url: Option<String>,
pub schemas: Option<HashMap<String, JsonSchema>>,
pub service_path: Option<String>,
pub title: Option<String>,
pub version: Option<String>,
pub version_module: Option<bool>,
}
Expand description
There is no detailed description.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get rest apis (response)
Fields§
§auth: Option<RestDescriptionAuth>
Authentication information.
base_path: Option<String>
[DEPRECATED] The base path for REST requests.
base_url: Option<String>
[DEPRECATED] The base URL for REST requests.
batch_path: Option<String>
The path for REST batch requests.
canonical_name: Option<String>
Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.
description: Option<String>
The description of this API.
discovery_version: Option<String>
Indicate the version of the Discovery API used to generate this doc.
documentation_link: Option<String>
A link to human readable documentation for the API.
endpoints: Option<Vec<RestDescriptionEndpoints>>
A list of location-based endpoint objects for this API. Each object contains the endpoint URL, location, description and deprecation status.
etag: Option<String>
The ETag for this response.
exponential_backoff_default: Option<bool>
Enable exponential backoff for suitable methods in the generated clients.
features: Option<Vec<String>>
A list of supported features for this API.
icons: Option<RestDescriptionIcons>
Links to 16x16 and 32x32 icons representing the API.
id: Option<String>
The ID of this API.
kind: Option<String>
The kind for this response.
labels: Option<Vec<String>>
Labels for the status of this API, such as labs or deprecated.
methods: Option<HashMap<String, RestMethod>>
API-level methods for this API.
name: Option<String>
The name of this API.
owner_domain: Option<String>
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.
owner_name: Option<String>
The name of the owner of this API. See ownerDomain.
package_path: Option<String>
The package of the owner of this API. See ownerDomain.
parameters: Option<HashMap<String, JsonSchema>>
Common parameters that apply across all apis.
protocol: Option<String>
The protocol described by this document.
resources: Option<HashMap<String, RestResource>>
The resources in this API.
revision: Option<String>
The version of this API.
root_url: Option<String>
The root URL under which all API services live.
schemas: Option<HashMap<String, JsonSchema>>
The schemas for this API.
service_path: Option<String>
The base path for all REST requests.
title: Option<String>
The title of this API.
version: Option<String>
The version of this API.
version_module: Option<bool>
no description provided
Trait Implementations§
source§impl Clone for RestDescription
impl Clone for RestDescription
source§fn clone(&self) -> RestDescription
fn clone(&self) -> RestDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more