dataflow  v1b3
Public Member Functions | Static Public Member Functions | List of all members
google_dataflow_api::SnapshotJobRequest Class Reference

#include <snapshot_job_request.h>

Inheritance diagram for google_dataflow_api::SnapshotJobRequest:

Public Member Functions

 SnapshotJobRequest (const Json::Value &storage)
 
 SnapshotJobRequest (Json::Value *storage)
 
virtual ~SnapshotJobRequest ()
 
const StringPiece GetTypeName () const
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_location () const
 
void clear_location ()
 
const StringPiece get_location () const
 
void set_location (const StringPiece &value)
 
bool has_snapshot_sources () const
 
void clear_snapshot_sources ()
 
bool get_snapshot_sources () const
 
void set_snapshot_sources (bool value)
 
bool has_ttl () const
 
void clear_ttl ()
 
const StringPiece get_ttl () const
 
void set_ttl (const StringPiece &value)
 

Static Public Member Functions

static SnapshotJobRequestNew ()
 

Detailed Description

Request to create a snapshot of a job.

Constructor & Destructor Documentation

◆ SnapshotJobRequest() [1/2]

google_dataflow_api::SnapshotJobRequest::SnapshotJobRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~SnapshotJobRequest()

google_dataflow_api::SnapshotJobRequest::~SnapshotJobRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_dataflow_api::SnapshotJobRequest

◆ 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()

SnapshotJobRequest * google_dataflow_api::SnapshotJobRequest::New ( )
static

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
[in]valueThe new value.

◆ set_location()

void google_dataflow_api::SnapshotJobRequest::set_location ( const StringPiece &  value)
inline

Change the 'location' attribute.

The location that contains this job.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_ttl()

void google_dataflow_api::SnapshotJobRequest::set_ttl ( const StringPiece &  value)
inline

Change the 'ttl' attribute.

TTL for the snapshot.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: