deploymentmanager  v2
Public Member Functions | Static Public Member Functions | List of all members
google_deploymentmanager_api::DeploymentsCancelPreviewRequest Class Reference

#include <deployments_cancel_preview_request.h>

Inheritance diagram for google_deploymentmanager_api::DeploymentsCancelPreviewRequest:

Public Member Functions

 DeploymentsCancelPreviewRequest (const Json::Value &storage)
 
 DeploymentsCancelPreviewRequest (Json::Value *storage)
 
virtual ~DeploymentsCancelPreviewRequest ()
 
const StringPiece GetTypeName () const
 
bool has_fingerprint () const
 
void clear_fingerprint ()
 
const StringPiece get_fingerprint () const
 
void set_fingerprint (const StringPiece &value)
 

Static Public Member Functions

static DeploymentsCancelPreviewRequestNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ DeploymentsCancelPreviewRequest() [1/2]

google_deploymentmanager_api::DeploymentsCancelPreviewRequest::DeploymentsCancelPreviewRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ DeploymentsCancelPreviewRequest() [2/2]

google_deploymentmanager_api::DeploymentsCancelPreviewRequest::DeploymentsCancelPreviewRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~DeploymentsCancelPreviewRequest()

google_deploymentmanager_api::DeploymentsCancelPreviewRequest::~DeploymentsCancelPreviewRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_fingerprint()

void google_deploymentmanager_api::DeploymentsCancelPreviewRequest::clear_fingerprint ( )
inline

Clears the 'fingerprint' attribute.

◆ get_fingerprint()

const StringPiece google_deploymentmanager_api::DeploymentsCancelPreviewRequest::get_fingerprint ( ) const
inline

Get the value of the 'fingerprint' attribute.

◆ GetTypeName()

const StringPiece google_deploymentmanager_api::DeploymentsCancelPreviewRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_deploymentmanager_api::DeploymentsCancelPreviewRequest

◆ has_fingerprint()

bool google_deploymentmanager_api::DeploymentsCancelPreviewRequest::has_fingerprint ( ) const
inline

Determine if the 'fingerprint' attribute was set.

Returns
true if the 'fingerprint' attribute was set.

◆ New()

DeploymentsCancelPreviewRequest * google_deploymentmanager_api::DeploymentsCancelPreviewRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_fingerprint()

void google_deploymentmanager_api::DeploymentsCancelPreviewRequest::set_fingerprint ( const StringPiece &  value)
inline

Change the 'fingerprint' attribute.

Specifies a fingerprint for cancelPreview() requests. A fingerprint is a randomly generated value that must be provided in cancelPreview() requests to perform optimistic locking. This ensures optimistic concurrency so that the deployment does not have conflicting requests (e.g. if someone attempts to make a new update request while another user attempts to cancel a preview, this would prevent one of the requests).

The fingerprint is initially generated by Deployment Manager and changes after every request to modify a deployment. To get the latest fingerprint value, perform a get() request on the deployment.

Parameters
[in]valueThe new value.

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