|
dns
v1
|
#include <policy.h>
Public Member Functions | |
| Policy (const Json::Value &storage) | |
| Policy (Json::Value *storage) | |
| virtual | ~Policy () |
| const StringPiece | GetTypeName () const |
| bool | has_alternative_name_server_config () const |
| void | clear_alternative_name_server_config () |
| const PolicyAlternativeNameServerConfig | get_alternative_name_server_config () const |
| PolicyAlternativeNameServerConfig | mutable_alternativeNameServerConfig () |
| bool | has_description () const |
| void | clear_description () |
| const StringPiece | get_description () const |
| void | set_description (const StringPiece &value) |
| bool | has_enable_inbound_forwarding () const |
| void | clear_enable_inbound_forwarding () |
| bool | get_enable_inbound_forwarding () const |
| void | set_enable_inbound_forwarding (bool value) |
| bool | has_enable_logging () const |
| void | clear_enable_logging () |
| bool | get_enable_logging () const |
| void | set_enable_logging (bool 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_networks () const |
| void | clear_networks () |
| const client::JsonCppArray< PolicyNetwork > | get_networks () const |
| client::JsonCppArray< PolicyNetwork > | mutable_networks () |
Static Public Member Functions | |
| static Policy * | New () |
A policy is a collection of DNS rules applied to one or more Virtual Private Cloud resources.
|
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 'alternativeNameServerConfig' attribute.
|
inline |
Clears the 'description' attribute.
|
inline |
Clears the 'enableInboundForwarding' attribute.
|
inline |
Clears the 'enableLogging' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'name' attribute.
|
inline |
Clears the 'networks' attribute.
| const PolicyAlternativeNameServerConfig google_dns_api::Policy::get_alternative_name_server_config | ( | ) | const |
Get a reference to the value of the 'alternativeNameServerConfig' attribute.
|
inline |
Get the value of the 'description' attribute.
|
inline |
Get the value of the 'enableInboundForwarding' attribute.
|
inline |
Get the value of the 'enableLogging' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'name' attribute.
| const client::JsonCppArray<PolicyNetwork > google_dns_api::Policy::get_networks | ( | ) | const |
Get a reference to the value of the 'networks' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_dns_api::Policy
|
inline |
Determine if the 'alternativeNameServerConfig' attribute was set.
alternativeNameServerConfig' attribute was set.
|
inline |
Determine if the 'description' attribute was set.
description' attribute was set.
|
inline |
Determine if the 'enableInboundForwarding' attribute was set.
enableInboundForwarding' attribute was set.
|
inline |
Determine if the 'enableLogging' attribute was set.
enableLogging' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' 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 'networks' attribute was set.
networks' attribute was set. | PolicyAlternativeNameServerConfig google_dns_api::Policy::mutable_alternativeNameServerConfig | ( | ) |
Gets a reference to a mutable value of the 'alternativeNameServerConfig' property.
Sets an alternative name server for the associated networks. When specified, all DNS queries are forwarded to a name server that you choose. Names such as .internal are not available when an alternative name server is specified.
| client::JsonCppArray<PolicyNetwork > google_dns_api::Policy::mutable_networks | ( | ) |
Gets a reference to a mutable value of the 'networks' property.
List of network names specifying networks to which this policy is applied.
|
static |
Creates a new default instance.
|
inline |
Change the 'description' attribute.
A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the policy's function.
| [in] | value | The new value. |
|
inline |
Change the 'enableInboundForwarding' attribute.
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over VPN connections. When enabled, a virtual IP address will be allocated from each of the sub-networks that are bound to this policy.
| [in] | value | The new value. |
|
inline |
Change the 'enableLogging' attribute.
Controls whether logging is enabled for the networks bound to this policy. Defaults to no logging if not set.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
Unique identifier for the resource; defined by the server (output only).
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
Identifies what kind of resource this is. Value: the fixed string "dns#policy".
| [in] | value | The new value. |
|
inline |