#include <snapshot_job_request.h>
Request to create a snapshot of a job.
◆ SnapshotJobRequest() [1/2]
google_dataflow_api::SnapshotJobRequest::SnapshotJobRequest |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ SnapshotJobRequest() [2/2]
google_dataflow_api::SnapshotJobRequest::SnapshotJobRequest |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~SnapshotJobRequest()
google_dataflow_api::SnapshotJobRequest::~SnapshotJobRequest |
( |
| ) |
|
|
virtual |
◆ clear_description()
void google_dataflow_api::SnapshotJobRequest::clear_description |
( |
| ) |
|
|
inline |
Clears the 'description
' attribute.
◆ clear_location()
void google_dataflow_api::SnapshotJobRequest::clear_location |
( |
| ) |
|
|
inline |
Clears the 'location
' attribute.
◆ clear_snapshot_sources()
void google_dataflow_api::SnapshotJobRequest::clear_snapshot_sources |
( |
| ) |
|
|
inline |
Clears the 'snapshotSources
' attribute.
◆ clear_ttl()
void google_dataflow_api::SnapshotJobRequest::clear_ttl |
( |
| ) |
|
|
inline |
Clears the 'ttl
' attribute.
◆ get_description()
const StringPiece google_dataflow_api::SnapshotJobRequest::get_description |
( |
| ) |
const |
|
inline |
Get the value of the 'description
' attribute.
◆ get_location()
const StringPiece google_dataflow_api::SnapshotJobRequest::get_location |
( |
| ) |
const |
|
inline |
Get the value of the 'location
' attribute.
◆ get_snapshot_sources()
bool google_dataflow_api::SnapshotJobRequest::get_snapshot_sources |
( |
| ) |
const |
|
inline |
Get the value of the 'snapshotSources
' attribute.
◆ get_ttl()
const StringPiece google_dataflow_api::SnapshotJobRequest::get_ttl |
( |
| ) |
const |
|
inline |
Get the value of the 'ttl
' attribute.
◆ GetTypeName()
const StringPiece google_dataflow_api::SnapshotJobRequest::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_description()
bool google_dataflow_api::SnapshotJobRequest::has_description |
( |
| ) |
const |
|
inline |
Determine if the 'description
' attribute was set.
- Returns
- true if the '
description
' attribute was set.
◆ has_location()
bool google_dataflow_api::SnapshotJobRequest::has_location |
( |
| ) |
const |
|
inline |
Determine if the 'location
' attribute was set.
- Returns
- true if the '
location
' attribute was set.
◆ has_snapshot_sources()
bool google_dataflow_api::SnapshotJobRequest::has_snapshot_sources |
( |
| ) |
const |
|
inline |
Determine if the 'snapshotSources
' attribute was set.
- Returns
- true if the '
snapshotSources
' attribute was set.
◆ has_ttl()
bool google_dataflow_api::SnapshotJobRequest::has_ttl |
( |
| ) |
const |
|
inline |
Determine if the 'ttl
' attribute was set.
- Returns
- true if the '
ttl
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_description()
void google_dataflow_api::SnapshotJobRequest::set_description |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'description
' attribute.
User specified description of the snapshot. Maybe empty.
- Parameters
-
◆ set_location()
void google_dataflow_api::SnapshotJobRequest::set_location |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'location
' attribute.
The location that contains this job.
- Parameters
-
◆ set_snapshot_sources()
void google_dataflow_api::SnapshotJobRequest::set_snapshot_sources |
( |
bool |
value | ) |
|
|
inline |
Change the 'snapshotSources
' attribute.
If true, perform snapshots for sources which support this.
- Parameters
-
◆ set_ttl()
void google_dataflow_api::SnapshotJobRequest::set_ttl |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'ttl
' attribute.
TTL for the snapshot.
- Parameters
-
The documentation for this class was generated from the following files: