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

#include <instance_group.h>

Inheritance diagram for google_compute_api::InstanceGroup:

Public Member Functions

 InstanceGroup (const Json::Value &storage)
 
 InstanceGroup (Json::Value *storage)
 
virtual ~InstanceGroup ()
 
const StringPiece GetTypeName () const
 
bool has_creation_timestamp () const
 
void clear_creation_timestamp ()
 
const StringPiece get_creation_timestamp () const
 
void set_creation_timestamp (const StringPiece &value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (const StringPiece &value)
 
bool has_fingerprint () const
 
void clear_fingerprint ()
 
const StringPiece get_fingerprint () const
 
void set_fingerprint (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
uint64 get_id () const
 
void set_id (uint64 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (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_network () const
 
void clear_network ()
 
const StringPiece get_network () const
 
void set_network (const StringPiece &value)
 
bool has_region () const
 
void clear_region ()
 
const StringPiece get_region () const
 
void set_region (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 
bool has_size () const
 
void clear_size ()
 
int32 get_size () const
 
void set_size (int32 value)
 
bool has_subnetwork () const
 
void clear_subnetwork ()
 
const StringPiece get_subnetwork () const
 
void set_subnetwork (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 InstanceGroupNew ()
 

Detailed Description

InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==).

Constructor & Destructor Documentation

◆ InstanceGroup() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InstanceGroup() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InstanceGroup()

google_compute_api::InstanceGroup::~InstanceGroup ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::InstanceGroup::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_description()

void google_compute_api::InstanceGroup::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_fingerprint()

void google_compute_api::InstanceGroup::clear_fingerprint ( )
inline

Clears the 'fingerprint' attribute.

◆ clear_id()

void google_compute_api::InstanceGroup::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::InstanceGroup::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::InstanceGroup::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_named_ports()

void google_compute_api::InstanceGroup::clear_named_ports ( )
inline

Clears the 'namedPorts' attribute.

◆ clear_network()

void google_compute_api::InstanceGroup::clear_network ( )
inline

Clears the 'network' attribute.

◆ clear_region()

void google_compute_api::InstanceGroup::clear_region ( )
inline

Clears the 'region' attribute.

◆ clear_self_link()

void google_compute_api::InstanceGroup::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_size()

void google_compute_api::InstanceGroup::clear_size ( )
inline

Clears the 'size' attribute.

◆ clear_subnetwork()

void google_compute_api::InstanceGroup::clear_subnetwork ( )
inline

Clears the 'subnetwork' attribute.

◆ clear_zone()

void google_compute_api::InstanceGroup::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_creation_timestamp()

const StringPiece google_compute_api::InstanceGroup::get_creation_timestamp ( ) const
inline

Get the value of the 'creationTimestamp' attribute.

◆ get_description()

const StringPiece google_compute_api::InstanceGroup::get_description ( ) const
inline

Get the value of the 'description' attribute.

◆ get_fingerprint()

const StringPiece google_compute_api::InstanceGroup::get_fingerprint ( ) const
inline

Get the value of the 'fingerprint' attribute.

◆ get_id()

uint64 google_compute_api::InstanceGroup::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_kind()

const StringPiece google_compute_api::InstanceGroup::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_name()

const StringPiece google_compute_api::InstanceGroup::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_named_ports()

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

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

◆ get_network()

const StringPiece google_compute_api::InstanceGroup::get_network ( ) const
inline

Get the value of the 'network' attribute.

◆ get_region()

const StringPiece google_compute_api::InstanceGroup::get_region ( ) const
inline

Get the value of the 'region' attribute.

◆ get_self_link()

const StringPiece google_compute_api::InstanceGroup::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ get_size()

int32 google_compute_api::InstanceGroup::get_size ( ) const
inline

Get the value of the 'size' attribute.

◆ get_subnetwork()

const StringPiece google_compute_api::InstanceGroup::get_subnetwork ( ) const
inline

Get the value of the 'subnetwork' attribute.

◆ get_zone()

const StringPiece google_compute_api::InstanceGroup::get_zone ( ) const
inline

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::InstanceGroup

◆ has_creation_timestamp()

bool google_compute_api::InstanceGroup::has_creation_timestamp ( ) const
inline

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_description()

bool google_compute_api::InstanceGroup::has_description ( ) const
inline

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_fingerprint()

bool google_compute_api::InstanceGroup::has_fingerprint ( ) const
inline

Determine if the 'fingerprint' attribute was set.

Returns
true if the 'fingerprint' attribute was set.

◆ has_id()

bool google_compute_api::InstanceGroup::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_kind()

bool google_compute_api::InstanceGroup::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_name()

bool google_compute_api::InstanceGroup::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_named_ports()

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

Determine if the 'namedPorts' attribute was set.

Returns
true if the 'namedPorts' attribute was set.

◆ has_network()

bool google_compute_api::InstanceGroup::has_network ( ) const
inline

Determine if the 'network' attribute was set.

Returns
true if the 'network' attribute was set.

◆ has_region()

bool google_compute_api::InstanceGroup::has_region ( ) const
inline

Determine if the 'region' attribute was set.

Returns
true if the 'region' attribute was set.

◆ has_self_link()

bool google_compute_api::InstanceGroup::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ has_size()

bool google_compute_api::InstanceGroup::has_size ( ) const
inline

Determine if the 'size' attribute was set.

Returns
true if the 'size' attribute was set.

◆ has_subnetwork()

bool google_compute_api::InstanceGroup::has_subnetwork ( ) const
inline

Determine if the 'subnetwork' attribute was set.

Returns
true if the 'subnetwork' attribute was set.

◆ has_zone()

bool google_compute_api::InstanceGroup::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ mutable_namedPorts()

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

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

Assigns a name to a port number. For example: {name: "http", port: 80}

This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}]

Named ports apply to all instances in this instance group.

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

◆ New()

InstanceGroup * google_compute_api::InstanceGroup::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

void google_compute_api::InstanceGroup::set_creation_timestamp ( const StringPiece &  value)
inline

Change the 'creationTimestamp' attribute.

[Output Only] The creation timestamp for this instance group in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::InstanceGroup::set_description ( const StringPiece &  value)
inline

Change the 'description' attribute.

An optional description of this resource. Provide this property when you create the resource.

Parameters
[in]valueThe new value.

◆ set_fingerprint()

void google_compute_api::InstanceGroup::set_fingerprint ( const StringPiece &  value)
inline

Change the 'fingerprint' attribute.

[Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently.

Parameters
[in]valueThe new value.

◆ set_id()

void google_compute_api::InstanceGroup::set_id ( uint64  value)
inline

Change the 'id' attribute.

[Output Only] A unique identifier for this instance group, generated by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_compute_api::InstanceGroup::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

[Output Only] The resource type, which is always compute::instanceGroup for instance groups.

Parameters
[in]valueThe new value.

◆ set_name()

void google_compute_api::InstanceGroup::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035.

Parameters
[in]valueThe new value.

◆ set_network()

void google_compute_api::InstanceGroup::set_network ( const StringPiece &  value)
inline

Change the 'network' attribute.

The URL of the network to which all instances in the instance group belong.

Parameters
[in]valueThe new value.

◆ set_region()

void google_compute_api::InstanceGroup::set_region ( const StringPiece &  value)
inline

Change the 'region' attribute.

[Output Only] The URL of the region where the instance group is located (for regional resources).

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_compute_api::InstanceGroup::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

[Output Only] The URL for this instance group. The server generates this URL.

Parameters
[in]valueThe new value.

◆ set_size()

void google_compute_api::InstanceGroup::set_size ( int32  value)
inline

Change the 'size' attribute.

[Output Only] The total number of instances in the instance group.

Parameters
[in]valueThe new value.

◆ set_subnetwork()

void google_compute_api::InstanceGroup::set_subnetwork ( const StringPiece &  value)
inline

Change the 'subnetwork' attribute.

[Output Only] The URL of the subnetwork to which all instances in the instance group belong.

Parameters
[in]valueThe new value.

◆ set_zone()

void google_compute_api::InstanceGroup::set_zone ( const StringPiece &  value)
inline

Change the 'zone' attribute.

[Output Only] The URL of the zone where the instance group is located (for zonal resources).

Parameters
[in]valueThe new value.

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