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

#include <create_cluster_request.h>

Inheritance diagram for google_container_api::CreateClusterRequest:

Public Member Functions

 CreateClusterRequest (const Json::Value &storage)
 
 CreateClusterRequest (Json::Value *storage)
 
virtual ~CreateClusterRequest ()
 
const StringPiece GetTypeName () const
 
bool has_cluster () const
 
void clear_cluster ()
 
const Cluster get_cluster () const
 
Cluster mutable_cluster ()
 
bool has_parent () const
 
void clear_parent ()
 
const StringPiece get_parent () const
 
void set_parent (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 CreateClusterRequestNew ()
 

Detailed Description

CreateClusterRequest creates a cluster.

Constructor & Destructor Documentation

◆ CreateClusterRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ CreateClusterRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~CreateClusterRequest()

google_container_api::CreateClusterRequest::~CreateClusterRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_cluster()

void google_container_api::CreateClusterRequest::clear_cluster ( )
inline

Clears the 'cluster' attribute.

◆ clear_parent()

void google_container_api::CreateClusterRequest::clear_parent ( )
inline

Clears the 'parent' attribute.

◆ clear_project_id()

void google_container_api::CreateClusterRequest::clear_project_id ( )
inline

Clears the 'projectId' attribute.

◆ clear_zone()

void google_container_api::CreateClusterRequest::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_cluster()

const Cluster google_container_api::CreateClusterRequest::get_cluster ( ) const

Get a reference to the value of the 'cluster' attribute.

◆ get_parent()

const StringPiece google_container_api::CreateClusterRequest::get_parent ( ) const
inline

Get the value of the 'parent' attribute.

◆ get_project_id()

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

Get the value of the 'projectId' attribute.

◆ get_zone()

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

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_container_api::CreateClusterRequest

◆ has_cluster()

bool google_container_api::CreateClusterRequest::has_cluster ( ) const
inline

Determine if the 'cluster' attribute was set.

Returns
true if the 'cluster' attribute was set.

◆ has_parent()

bool google_container_api::CreateClusterRequest::has_parent ( ) const
inline

Determine if the 'parent' attribute was set.

Returns
true if the 'parent' attribute was set.

◆ has_project_id()

bool google_container_api::CreateClusterRequest::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::CreateClusterRequest::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ mutable_cluster()

Cluster google_container_api::CreateClusterRequest::mutable_cluster ( )

Gets a reference to a mutable value of the 'cluster' property.

Required. A cluster resource.

Returns
The result can be modified to change the attribute value.

◆ New()

CreateClusterRequest * google_container_api::CreateClusterRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_parent()

void google_container_api::CreateClusterRequest::set_parent ( const StringPiece &  value)
inline

Change the 'parent' attribute.

The parent (project and location) where the cluster will be created. Specified in the format 'projects/locations'.

Parameters
[in]valueThe new value.

◆ set_project_id()

void google_container_api::CreateClusterRequest::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 parent field.

Parameters
[in]valueThe new value.

◆ set_zone()

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

Change the 'zone' attribute.

Deprecated:

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

Parameters
[in]valueThe new value.

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