#include <instance_group.h>
InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==).
◆ InstanceGroup() [1/2]
| google_compute_api::InstanceGroup::InstanceGroup |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~InstanceGroup()
| google_compute_api::InstanceGroup::~InstanceGroup |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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()
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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files: