| Package | Description |
|---|---|
| com.google.api.services.dns | |
| com.google.api.services.dns.model |
| Modifier and Type | Method and Description |
|---|---|
Dns.Policies.Create |
Dns.Policies.create(String project,
Policy content)
Creates a new Policy.
|
Dns.Policies.Patch |
Dns.Policies.patch(String project,
String policy,
Policy content)
Applies a partial update to an existing Policy.
|
Dns.Policies.Update |
Dns.Policies.update(String project,
String policy,
Policy content)
Updates an existing Policy.
|
| Constructor and Description |
|---|
Create(String project,
Policy content)
Creates a new Policy.
|
Patch(String project,
String policy,
Policy content)
Applies a partial update to an existing Policy.
|
Update(String project,
String policy,
Policy content)
Updates an existing Policy.
|
| Modifier and Type | Method and Description |
|---|---|
Policy |
Policy.clone() |
Policy |
PoliciesPatchResponse.getPolicy() |
Policy |
PoliciesUpdateResponse.getPolicy() |
Policy |
Policy.set(String fieldName,
Object value) |
Policy |
Policy.setAlternativeNameServerConfig(PolicyAlternativeNameServerConfig alternativeNameServerConfig)
Sets an alternative name server for the associated networks.
|
Policy |
Policy.setDescription(String description)
A mutable string of at most 1024 characters associated with this resource for the user's
convenience.
|
Policy |
Policy.setEnableInboundForwarding(Boolean enableInboundForwarding)
Allows networks bound to this policy to receive DNS queries sent by VMs or applications over
VPN connections.
|
Policy |
Policy.setEnableLogging(Boolean enableLogging)
Controls whether logging is enabled for the networks bound to this policy.
|
Policy |
Policy.setId(BigInteger id)
Unique identifier for the resource; defined by the server (output only).
|
Policy |
Policy.setKind(String kind) |
Policy |
Policy.setName(String name)
User-assigned name for this policy.
|
Policy |
Policy.setNetworks(List<PolicyNetwork> networks)
List of network names specifying networks to which this policy is applied.
|
| Modifier and Type | Method and Description |
|---|---|
List<Policy> |
PoliciesListResponse.getPolicies()
The policy resources.
|
| Modifier and Type | Method and Description |
|---|---|
PoliciesPatchResponse |
PoliciesPatchResponse.setPolicy(Policy policy) |
PoliciesUpdateResponse |
PoliciesUpdateResponse.setPolicy(Policy policy) |
| Modifier and Type | Method and Description |
|---|---|
PoliciesListResponse |
PoliciesListResponse.setPolicies(List<Policy> policies)
The policy resources.
|
Copyright © 2011–2022 Google. All rights reserved.