compute  v1
Public Member Functions | Static Public Member Functions | List of all members
google_compute_api::InstanceWithNamedPorts Class Reference

#include <instance_with_named_ports.h>

Inheritance diagram for google_compute_api::InstanceWithNamedPorts:

Public Member Functions

 InstanceWithNamedPorts (const Json::Value &storage)
 
 InstanceWithNamedPorts (Json::Value *storage)
 
virtual ~InstanceWithNamedPorts ()
 
const StringPiece GetTypeName () const
 
bool has_instance () const
 
void clear_instance ()
 
const StringPiece get_instance () const
 
void set_instance (const StringPiece &value)
 
bool has_named_ports () const
 
void clear_named_ports ()
 
const client::JsonCppArray< NamedPortget_named_ports () const
 
client::JsonCppArray< NamedPortmutable_namedPorts ()
 
bool has_status () const
 
void clear_status ()
 
const StringPiece get_status () const
 
void set_status (const StringPiece &value)
 

Static Public Member Functions

static InstanceWithNamedPortsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ InstanceWithNamedPorts() [1/2]

google_compute_api::InstanceWithNamedPorts::InstanceWithNamedPorts ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ InstanceWithNamedPorts() [2/2]

google_compute_api::InstanceWithNamedPorts::InstanceWithNamedPorts ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~InstanceWithNamedPorts()

google_compute_api::InstanceWithNamedPorts::~InstanceWithNamedPorts ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_instance()

void google_compute_api::InstanceWithNamedPorts::clear_instance ( )
inline

Clears the 'instance' attribute.

◆ clear_named_ports()

void google_compute_api::InstanceWithNamedPorts::clear_named_ports ( )
inline

Clears the 'namedPorts' attribute.

◆ clear_status()

void google_compute_api::InstanceWithNamedPorts::clear_status ( )
inline

Clears the 'status' attribute.

◆ get_instance()

const StringPiece google_compute_api::InstanceWithNamedPorts::get_instance ( ) const
inline

Get the value of the 'instance' attribute.

◆ get_named_ports()

const client::JsonCppArray<NamedPort > google_compute_api::InstanceWithNamedPorts::get_named_ports ( ) const

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

◆ get_status()

const StringPiece google_compute_api::InstanceWithNamedPorts::get_status ( ) const
inline

Get the value of the 'status' attribute.

◆ GetTypeName()

const StringPiece google_compute_api::InstanceWithNamedPorts::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstanceWithNamedPorts

◆ has_instance()

bool google_compute_api::InstanceWithNamedPorts::has_instance ( ) const
inline

Determine if the 'instance' attribute was set.

Returns
true if the 'instance' attribute was set.

◆ has_named_ports()

bool google_compute_api::InstanceWithNamedPorts::has_named_ports ( ) const
inline

Determine if the 'namedPorts' attribute was set.

Returns
true if the 'namedPorts' attribute was set.

◆ has_status()

bool google_compute_api::InstanceWithNamedPorts::has_status ( ) const
inline

Determine if the 'status' attribute was set.

Returns
true if the 'status' attribute was set.

◆ mutable_namedPorts()

client::JsonCppArray<NamedPort > google_compute_api::InstanceWithNamedPorts::mutable_namedPorts ( )

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

[Output Only] The named ports that belong to this instance group.

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

◆ New()

InstanceWithNamedPorts * google_compute_api::InstanceWithNamedPorts::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_instance()

void google_compute_api::InstanceWithNamedPorts::set_instance ( const StringPiece &  value)
inline

Change the 'instance' attribute.

[Output Only] The URL of the instance.

Parameters
[in]valueThe new value.

◆ set_status()

void google_compute_api::InstanceWithNamedPorts::set_status ( const StringPiece &  value)
inline

Change the 'status' attribute.

[Output Only] The status of the instance.

Parameters
[in]valueThe new value.

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