|
discovery
v1
|
#include <discovery_service.h>
Public Member Functions | |
| ApisResource (DiscoveryService *service) | |
| ~ApisResource () | |
| ApisResource_GetRestMethod * | NewGetRestMethod (client::AuthorizationCredential *_credential_, const absl::string_view &api, const absl::string_view &version) const |
| ApisResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | api | The name of the API. |
| [in] | version | The version of the API. |
Execute the method instance, then destroy it when they are finished. | ApisResource_ListMethod * google_discovery_api::DiscoveryService::ApisResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new ApisResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute the method instance, then destroy it when they are finished.