compute
v1
|
#include <address.h>
Public Member Functions | |
Address (const Json::Value &storage) | |
Address (Json::Value *storage) | |
virtual | ~Address () |
const StringPiece | GetTypeName () const |
bool | has_address () const |
void | clear_address () |
const StringPiece | get_address () const |
void | set_address (const StringPiece &value) |
bool | has_address_type () const |
void | clear_address_type () |
const StringPiece | get_address_type () const |
void | set_address_type (const StringPiece &value) |
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_id () const |
void | clear_id () |
uint64 | get_id () const |
void | set_id (uint64 value) |
bool | has_ip_version () const |
void | clear_ip_version () |
const StringPiece | get_ip_version () const |
void | set_ip_version (const StringPiece &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_tier () const |
void | clear_network_tier () |
const StringPiece | get_network_tier () const |
void | set_network_tier (const StringPiece &value) |
bool | has_prefix_length () const |
void | clear_prefix_length () |
int32 | get_prefix_length () const |
void | set_prefix_length (int32 value) |
bool | has_purpose () const |
void | clear_purpose () |
const StringPiece | get_purpose () const |
void | set_purpose (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_status () const |
void | clear_status () |
const StringPiece | get_status () const |
void | set_status (const StringPiece &value) |
bool | has_subnetwork () const |
void | clear_subnetwork () |
const StringPiece | get_subnetwork () const |
void | set_subnetwork (const StringPiece &value) |
bool | has_users () const |
void | clear_users () |
const client::JsonCppArray< string > | get_users () const |
client::JsonCppArray< string > | mutable_users () |
Static Public Member Functions | |
static Address * | New () |
A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==).
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'address
' attribute.
|
inline |
Clears the 'addressType
' attribute.
|
inline |
Clears the 'creationTimestamp
' attribute.
|
inline |
Clears the 'description
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'ipVersion
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'network
' attribute.
|
inline |
Clears the 'networkTier
' attribute.
|
inline |
Clears the 'prefixLength
' attribute.
|
inline |
Clears the 'purpose
' attribute.
|
inline |
Clears the 'region
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'status
' attribute.
|
inline |
Clears the 'subnetwork
' attribute.
|
inline |
Clears the 'users
' attribute.
|
inline |
Get the value of the 'address
' attribute.
|
inline |
Get the value of the 'addressType
' attribute.
|
inline |
Get the value of the 'creationTimestamp
' attribute.
|
inline |
Get the value of the 'description
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'ipVersion
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'network
' attribute.
|
inline |
Get the value of the 'networkTier
' attribute.
|
inline |
Get the value of the 'prefixLength
' attribute.
|
inline |
Get the value of the 'purpose
' attribute.
|
inline |
Get the value of the 'region
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'status
' attribute.
|
inline |
Get the value of the 'subnetwork
' attribute.
|
inline |
Get a reference to the value of the 'users
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_compute_api::Address
|
inline |
Determine if the 'address
' attribute was set.
address
' attribute was set.
|
inline |
Determine if the 'addressType
' attribute was set.
addressType
' attribute was set.
|
inline |
Determine if the 'creationTimestamp
' attribute was set.
creationTimestamp
' attribute was set.
|
inline |
Determine if the 'description
' attribute was set.
description
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'ipVersion
' attribute was set.
ipVersion
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'network
' attribute was set.
network
' attribute was set.
|
inline |
Determine if the 'networkTier
' attribute was set.
networkTier
' attribute was set.
|
inline |
Determine if the 'prefixLength
' attribute was set.
prefixLength
' attribute was set.
|
inline |
Determine if the 'purpose
' attribute was set.
purpose
' attribute was set.
|
inline |
Determine if the 'region
' attribute was set.
region
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'status
' attribute was set.
status
' attribute was set.
|
inline |
Determine if the 'subnetwork
' attribute was set.
subnetwork
' attribute was set.
|
inline |
Determine if the 'users
' attribute was set.
users
' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'users
' property.
[Output Only] The URLs of the resources that are using this address.
|
static |
Creates a new default instance.
|
inline |
Change the 'address
' attribute.
The static IP address represented by this resource.
[in] | value | The new value. |
|
inline |
Change the 'addressType
' attribute.
The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL.
[in] | value | The new value. |
|
inline |
Change the 'creationTimestamp
' attribute.
[Output Only] Creation timestamp in RFC3339 text format.
[in] | value | The new value. |
|
inline |
Change the 'description
' attribute.
An optional description of this resource. Provide this property when you create the resource.
[in] | value | The new value. |
|
inline |
Change the 'id
' attribute.
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
[in] | value | The new value. |
|
inline |
Change the 'ipVersion
' attribute.
The IP Version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address.
[in] | value | The new value. |
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of the resource. Always compute::address for addresses.
[in] | value | The new 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.
[in] | value | The new value. |
|
inline |
Change the 'network
' attribute.
The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with VPC_PEERING purpose.
[in] | value | The new value. |
|
inline |
Change the 'networkTier
' attribute.
This signifies the networking tier used for configuring this Address and can only take the following values: PREMIUM, STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a Network load balancer.
If this field is not specified, it is assumed to be PREMIUM.
[in] | value | The new value. |
|
inline |
Change the 'prefixLength
' attribute.
The prefix length if the resource reprensents an IP range.
[in] | value | The new value. |
|
inline |
Change the 'purpose
' attribute.
The purpose of resource, only used with INTERNAL type.
[in] | value | The new value. |
|
inline |
Change the 'region
' attribute.
[Output Only] URL of the region where the regional address resides. This field is not applicable to global addresses. You must specify this field as part of the HTTP request URL. You cannot set this field in the request body.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
[Output Only] Server-defined URL for the resource.
[in] | value | The new value. |
|
inline |
Change the 'status
' attribute.
[Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.
[in] | value | The new value. |
|
inline |
Change the 'subnetwork
' attribute.
The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with GCE_ENDPOINT/DNS_RESOLVER purposes.
[in] | value | The new value. |