container  v1
Public Member Functions | Static Public Member Functions | List of all members
google_container_api::CancelOperationRequest Class Reference

#include <cancel_operation_request.h>

Inheritance diagram for google_container_api::CancelOperationRequest:

Public Member Functions

 CancelOperationRequest (const Json::Value &storage)
 
 CancelOperationRequest (Json::Value *storage)
 
virtual ~CancelOperationRequest ()
 
const StringPiece GetTypeName () const
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_operation_id () const
 
void clear_operation_id ()
 
const StringPiece get_operation_id () const
 
void set_operation_id (const StringPiece &value)
 
bool has_project_id () const
 
void clear_project_id ()
 
const StringPiece get_project_id () const
 
void set_project_id (const StringPiece &value)
 
bool has_zone () const
 
void clear_zone ()
 
const StringPiece get_zone () const
 
void set_zone (const StringPiece &value)
 

Static Public Member Functions

static CancelOperationRequestNew ()
 

Detailed Description

CancelOperationRequest cancels a single operation.

Constructor & Destructor Documentation

◆ CancelOperationRequest() [1/2]

google_container_api::CancelOperationRequest::CancelOperationRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ CancelOperationRequest() [2/2]

google_container_api::CancelOperationRequest::CancelOperationRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~CancelOperationRequest()

google_container_api::CancelOperationRequest::~CancelOperationRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_name()

void google_container_api::CancelOperationRequest::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_operation_id()

void google_container_api::CancelOperationRequest::clear_operation_id ( )
inline

Clears the 'operationId' attribute.

◆ clear_project_id()

void google_container_api::CancelOperationRequest::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_zone()

void google_container_api::CancelOperationRequest::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_name()

const StringPiece google_container_api::CancelOperationRequest::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_operation_id()

const StringPiece google_container_api::CancelOperationRequest::get_operation_id ( ) const
inline

Get the value of the 'operationId' attribute.

◆ get_project_id()

const StringPiece google_container_api::CancelOperationRequest::get_project_id ( ) const
inline

Get the value of the 'projectId' attribute.

◆ get_zone()

const StringPiece google_container_api::CancelOperationRequest::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

const StringPiece google_container_api::CancelOperationRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_container_api::CancelOperationRequest

◆ has_name()

bool google_container_api::CancelOperationRequest::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_operation_id()

bool google_container_api::CancelOperationRequest::has_operation_id ( ) const
inline

Determine if the 'operationId' attribute was set.

Returns
true if the 'operationId' attribute was set.

◆ has_project_id()

bool google_container_api::CancelOperationRequest::has_project_id ( ) const
inline

Determine if the 'projectId' attribute was set.

Returns
true if the 'projectId' attribute was set.

◆ has_zone()

bool google_container_api::CancelOperationRequest::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ New()

CancelOperationRequest * google_container_api::CancelOperationRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_name()

void google_container_api::CancelOperationRequest::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name (project, location, operation id) of the operation to cancel. Specified in the format 'projects/locations/operations'.

Parameters
[in]valueThe new value.

◆ set_operation_id()

void google_container_api::CancelOperationRequest::set_operation_id ( const StringPiece &  value)
inline

Change the 'operationId' attribute.

Deprecated:

Deprecated. The server-assigned name of the operation. This field has been deprecated and replaced by the name field.

Parameters
[in]valueThe new value.

◆ set_project_id()

void google_container_api::CancelOperationRequest::set_project_id ( const StringPiece &  value)
inline

Change the 'projectId' attribute.

Deprecated:

Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_container_api::CancelOperationRequest::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

Deprecated:

Deprecated. The name of the Google Compute Engine zone in which the operation resides. This field has been deprecated and replaced by the name field.

Parameters
[in]valueThe new value.

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