bigquery  v2
Public Member Functions | List of all members
google_bigquery_api::BigqueryService::JobsResource Class Reference

#include <bigquery_service.h>

Public Member Functions

 JobsResource (BigqueryService *service)
 
 ~JobsResource ()
 
JobsResource_CancelMethodNewCancelMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const
 
JobsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const
 
JobsResource_GetQueryResultsMethodNewGetQueryResultsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const
 
JobsResource_GetQueryResultsMethodPager * NewGetQueryResultsMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const
 
JobsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const
 
JobsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const Job *_metadata_, const StringPiece &_media_content_type_, client::DataReader *_media_content_reader_) const
 
JobsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const
 
JobsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const
 
JobsResource_QueryMethodNewQueryMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const QueryRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ JobsResource()

google_bigquery_api::BigqueryService::JobsResource::JobsResource ( BigqueryService 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.

◆ ~JobsResource()

google_bigquery_api::BigqueryService::JobsResource::~JobsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewCancelMethod()

JobsResource_CancelMethod * google_bigquery_api::BigqueryService::JobsResource::NewCancelMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const absl::string_view &  job_id 
) const

Creates a new JobsResource_CancelMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_id[Required] Project ID of the job to cancel.
[in]job_id[Required] Job ID of the job to cancel.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

JobsResource_GetMethod * google_bigquery_api::BigqueryService::JobsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const absl::string_view &  job_id 
) const

Creates a new JobsResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_id[Required] Project ID of the requested job.
[in]job_id[Required] Job ID of the requested job.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetQueryResultsMethod()

JobsResource_GetQueryResultsMethod * google_bigquery_api::BigqueryService::JobsResource::NewGetQueryResultsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const absl::string_view &  job_id 
) const

Creates a new JobsResource_GetQueryResultsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_id[Required] Project ID of the query job.
[in]job_id[Required] Job ID of the query job.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetQueryResultsMethodPager()

JobsResource_GetQueryResultsMethodPager * google_bigquery_api::BigqueryService::JobsResource::NewGetQueryResultsMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const absl::string_view &  job_id 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]project_id[Required] Project ID of the query job.
[in]job_id[Required] Job ID of the query job.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewInsertMethod() [1/2]

JobsResource_InsertMethod * google_bigquery_api::BigqueryService::JobsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id 
) const

Creates a new JobsResource_InsertMethod instance.

Deprecated:
Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_idProject ID of the project that will be billed for the job.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod() [2/2]

JobsResource_InsertMethod * google_bigquery_api::BigqueryService::JobsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const Job _metadata_,
const StringPiece &  _media_content_type_,
client::DataReader *  _media_content_reader_ 
) const

Creates a new JobsResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_idProject ID of the project that will be billed for the job.
[in]<em>metadata</em>The metadata object to insert. If this is NULL then do not upload any metadata.
[in]<em>media_content_type</em>The content type of the data in the media_content_reader.
[in]<em>media_content_reader</em>The media content to insert. If this is NULL then do not upload any media and ignore media_content_type.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

JobsResource_ListMethod * google_bigquery_api::BigqueryService::JobsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id 
) const

Creates a new JobsResource_ListMethod instance.

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

◆ NewListMethodPager()

JobsResource_ListMethodPager * google_bigquery_api::BigqueryService::JobsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]project_idProject ID of the jobs to list.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewQueryMethod()

JobsResource_QueryMethod * google_bigquery_api::BigqueryService::JobsResource::NewQueryMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project_id,
const QueryRequest _content_ 
) const

Creates a new JobsResource_QueryMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]project_idProject ID of the project billed for the query.
[in]<em>content</em>The data object to query.
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: