discovery  v1
Public Member Functions | List of all members
google_discovery_api::DiscoveryService::ApisResource Class Reference

#include <discovery_service.h>

Public Member Functions

 ApisResource (DiscoveryService *service)
 
 ~ApisResource ()
 
ApisResource_GetRestMethodNewGetRestMethod (client::AuthorizationCredential *_credential_, const absl::string_view &api, const absl::string_view &version) const
 
ApisResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ApisResource()

google_discovery_api::DiscoveryService::ApisResource::ApisResource ( DiscoveryService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~ApisResource()

google_discovery_api::DiscoveryService::ApisResource::~ApisResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewGetRestMethod()

ApisResource_GetRestMethod * google_discovery_api::DiscoveryService::ApisResource::NewGetRestMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  api,
const absl::string_view &  version 
) const

Creates a new ApisResource_GetRestMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]apiThe name of the API.
[in]versionThe version of the API.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

ApisResource_ListMethod * google_discovery_api::DiscoveryService::ApisResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new ApisResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: