compute
v1
|
#include <compute_service.h>
Public Member Functions | |
RegionsResource (ComputeService *service) | |
~RegionsResource () | |
RegionsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view ®ion) const |
RegionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
RegionsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) 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.
RegionsResource_GetMethod * google_compute_api::ComputeService::RegionsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project, | ||
const absl::string_view & | region | ||
) | const |
Creates a new RegionsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | region | Name of the region resource to return. |
Execute
the method instance, then destroy it when they are finished. RegionsResource_ListMethod * google_compute_api::ComputeService::RegionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project | ||
) | const |
Creates a new RegionsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
Execute
the method instance, then destroy it when they are finished. RegionsResource_ListMethodPager * google_compute_api::ComputeService::RegionsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project | ||
) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |