dataflow  v1b3
Classes | Public Member Functions | List of all members
google_dataflow_api::DataflowService::ProjectsResource Class Reference

#include <dataflow_service.h>

Classes

class  JobsResource
 
class  LocationsResource
 
class  SnapshotsResource
 
class  TemplatesResource
 

Public Member Functions

 ProjectsResource (DataflowService *service)
 
 ~ProjectsResource ()
 
const JobsResourceget_jobs () const
 
const LocationsResourceget_locations () const
 
const SnapshotsResourceget_snapshots () const
 
const TemplatesResourceget_templates () const
 
ProjectsResource_DeleteSnapshotsMethodNewDeleteSnapshotsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const
 
ProjectsResource_WorkerMessagesMethodNewWorkerMessagesMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const SendWorkerMessagesRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ProjectsResource()

google_dataflow_api::DataflowService::ProjectsResource::ProjectsResource ( DataflowService 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.

◆ ~ProjectsResource()

google_dataflow_api::DataflowService::ProjectsResource::~ProjectsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_jobs()

const JobsResource& google_dataflow_api::DataflowService::ProjectsResource::get_jobs ( ) const
inline

Gets the jobs resource method factory.

Returns
JobsResource for creating methods.

◆ get_locations()

const LocationsResource& google_dataflow_api::DataflowService::ProjectsResource::get_locations ( ) const
inline

Gets the locations resource method factory.

Returns
LocationsResource for creating methods.

◆ get_snapshots()

const SnapshotsResource& google_dataflow_api::DataflowService::ProjectsResource::get_snapshots ( ) const
inline

Gets the snapshots resource method factory.

Returns
SnapshotsResource for creating methods.

◆ get_templates()

const TemplatesResource& google_dataflow_api::DataflowService::ProjectsResource::get_templates ( ) const
inline

Gets the templates resource method factory.

Returns
TemplatesResource for creating methods.

◆ NewDeleteSnapshotsMethod()

ProjectsResource_DeleteSnapshotsMethod * google_dataflow_api::DataflowService::ProjectsResource::NewDeleteSnapshotsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id 
) const

Creates a new ProjectsResource_DeleteSnapshotsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_idThe ID of the Cloud Platform project that the snapshot belongs to.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewWorkerMessagesMethod()

ProjectsResource_WorkerMessagesMethod * google_dataflow_api::DataflowService::ProjectsResource::NewWorkerMessagesMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const SendWorkerMessagesRequest _content_ 
) const

Creates a new ProjectsResource_WorkerMessagesMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_idThe project to send the WorkerMessages to.
[in]<em>content</em>The data object to workerMessages.
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: