bigquery
v2
|
#include <bigquery_service.h>
Public Member Functions | |
JobsResource (BigqueryService *service) | |
~JobsResource () | |
JobsResource_CancelMethod * | NewCancelMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const |
JobsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const absl::string_view &job_id) const |
JobsResource_GetQueryResultsMethod * | NewGetQueryResultsMethod (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_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const |
JobsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const Job *_metadata_, const StringPiece &_media_content_type_, client::DataReader *_media_content_reader_) const |
JobsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const |
JobsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project_id) const |
JobsResource_QueryMethod * | NewQueryMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project_id, const QueryRequest &_content_) 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.
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.
[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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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. |
Execute
the method instance, then destroy it when they are finished. 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.
[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. |
JobsResource_InsertMethod * google_bigquery_api::BigqueryService::JobsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project_id | ||
) | const |
Creates a new JobsResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project_id | Project ID of the project that will be billed for the job. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project_id | Project 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. |
Execute
the method instance, then destroy it when they are finished. JobsResource_ListMethod * google_bigquery_api::BigqueryService::JobsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project_id | ||
) | const |
Creates a new JobsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project_id | Project ID of the jobs to list. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | project_id | Project ID of the jobs to list. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project_id | Project ID of the project billed for the query. |
[in] | <em>content</em> | The data object to query. |
Execute
the method instance, then destroy it when they are finished.