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

#include <network_endpoint_group.h>

Inheritance diagram for google_compute_api::NetworkEndpointGroup:

Public Member Functions

 NetworkEndpointGroup (const Json::Value &storage)
 
 NetworkEndpointGroup (Json::Value *storage)
 
virtual ~NetworkEndpointGroup ()
 
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_default_port () const
 
void clear_default_port ()
 
int32 get_default_port () const
 
void set_default_port (int32 value)
 
bool has_description () const
 
void clear_description ()
 
const StringPiece get_description () const
 
void set_description (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_network () const
 
void clear_network ()
 
const StringPiece get_network () const
 
void set_network (const StringPiece &value)
 
bool has_network_endpoint_type () const
 
void clear_network_endpoint_type ()
 
const StringPiece get_network_endpoint_type () const
 
void set_network_endpoint_type (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 NetworkEndpointGroupNew ()
 

Detailed Description

Represents a collection of network endpoints.

Constructor & Destructor Documentation

◆ NetworkEndpointGroup() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ NetworkEndpointGroup() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~NetworkEndpointGroup()

google_compute_api::NetworkEndpointGroup::~NetworkEndpointGroup ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_creation_timestamp()

void google_compute_api::NetworkEndpointGroup::clear_creation_timestamp ( )
inline

Clears the 'creationTimestamp' attribute.

◆ clear_default_port()

void google_compute_api::NetworkEndpointGroup::clear_default_port ( )
inline

Clears the 'defaultPort' attribute.

◆ clear_description()

void google_compute_api::NetworkEndpointGroup::clear_description ( )
inline

Clears the 'description' attribute.

◆ clear_id()

void google_compute_api::NetworkEndpointGroup::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_kind()

void google_compute_api::NetworkEndpointGroup::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_name()

void google_compute_api::NetworkEndpointGroup::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_network()

void google_compute_api::NetworkEndpointGroup::clear_network ( )
inline

Clears the 'network' attribute.

◆ clear_network_endpoint_type()

void google_compute_api::NetworkEndpointGroup::clear_network_endpoint_type ( )
inline

Clears the 'networkEndpointType' attribute.

◆ clear_self_link()

void google_compute_api::NetworkEndpointGroup::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ clear_size()

void google_compute_api::NetworkEndpointGroup::clear_size ( )
inline

Clears the 'size' attribute.

◆ clear_subnetwork()

void google_compute_api::NetworkEndpointGroup::clear_subnetwork ( )
inline

Clears the 'subnetwork' attribute.

◆ clear_zone()

void google_compute_api::NetworkEndpointGroup::clear_zone ( )
inline

Clears the 'zone' attribute.

◆ get_creation_timestamp()

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

Get the value of the 'creationTimestamp' attribute.

◆ get_default_port()

int32 google_compute_api::NetworkEndpointGroup::get_default_port ( ) const
inline

Get the value of the 'defaultPort' attribute.

◆ get_description()

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

Get the value of the 'description' attribute.

◆ get_id()

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

Get the value of the 'id' attribute.

◆ get_kind()

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

Get the value of the 'kind' attribute.

◆ get_name()

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

Get the value of the 'name' attribute.

◆ get_network()

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

Get the value of the 'network' attribute.

◆ get_network_endpoint_type()

const StringPiece google_compute_api::NetworkEndpointGroup::get_network_endpoint_type ( ) const
inline

Get the value of the 'networkEndpointType' attribute.

◆ get_self_link()

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

Get the value of the 'selfLink' attribute.

◆ get_size()

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

Get the value of the 'size' attribute.

◆ get_subnetwork()

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

Get the value of the 'subnetwork' attribute.

◆ get_zone()

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

Get the value of the 'zone' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_compute_api::NetworkEndpointGroup

◆ has_creation_timestamp()

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

Determine if the 'creationTimestamp' attribute was set.

Returns
true if the 'creationTimestamp' attribute was set.

◆ has_default_port()

bool google_compute_api::NetworkEndpointGroup::has_default_port ( ) const
inline

Determine if the 'defaultPort' attribute was set.

Returns
true if the 'defaultPort' attribute was set.

◆ has_description()

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

Determine if the 'description' attribute was set.

Returns
true if the 'description' attribute was set.

◆ has_id()

bool google_compute_api::NetworkEndpointGroup::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::NetworkEndpointGroup::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::NetworkEndpointGroup::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_network()

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

Determine if the 'network' attribute was set.

Returns
true if the 'network' attribute was set.

◆ has_network_endpoint_type()

bool google_compute_api::NetworkEndpointGroup::has_network_endpoint_type ( ) const
inline

Determine if the 'networkEndpointType' attribute was set.

Returns
true if the 'networkEndpointType' attribute was set.

◆ has_self_link()

bool google_compute_api::NetworkEndpointGroup::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::NetworkEndpointGroup::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::NetworkEndpointGroup::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::NetworkEndpointGroup::has_zone ( ) const
inline

Determine if the 'zone' attribute was set.

Returns
true if the 'zone' attribute was set.

◆ New()

NetworkEndpointGroup * google_compute_api::NetworkEndpointGroup::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_creation_timestamp()

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

Change the 'creationTimestamp' attribute.

[Output Only] Creation timestamp in RFC3339 text format.

Parameters
[in]valueThe new value.

◆ set_default_port()

void google_compute_api::NetworkEndpointGroup::set_default_port ( int32  value)
inline

Change the 'defaultPort' attribute.

The default port used if the port number is not specified in the network endpoint.

Parameters
[in]valueThe new value.

◆ set_description()

void google_compute_api::NetworkEndpointGroup::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_id()

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

Change the 'id' attribute.

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

Parameters
[in]valueThe new value.

◆ set_kind()

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

Change the 'kind' attribute.

[Output Only] Type of the resource. Always compute::networkEndpointGroup for network endpoint group.

Parameters
[in]valueThe new value.

◆ set_name()

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

Change the 'name' attribute.

Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Parameters
[in]valueThe new value.

◆ set_network()

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

Change the 'network' attribute.

The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified.

Parameters
[in]valueThe new value.

◆ set_network_endpoint_type()

void google_compute_api::NetworkEndpointGroup::set_network_endpoint_type ( const StringPiece &  value)
inline

Change the 'networkEndpointType' attribute.

Type of network endpoints in this network endpoint group. Currently the only supported value is GCE_VM_IP_PORT.

Parameters
[in]valueThe new value.

◆ set_self_link()

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

Change the 'selfLink' attribute.

[Output Only] Server-defined URL for the resource.

Parameters
[in]valueThe new value.

◆ set_size()

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

Change the 'size' attribute.

[Output only] Number of network endpoints in the network endpoint group.

Parameters
[in]valueThe new value.

◆ set_subnetwork()

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

Change the 'subnetwork' attribute.

Optional URL of the subnetwork to which all network endpoints in the NEG belong.

Parameters
[in]valueThe new value.

◆ set_zone()

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

Change the 'zone' attribute.

[Output Only] The URL of the zone where the network endpoint group is located.

Parameters
[in]valueThe new value.

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