target.apidocs.com.google.api.services.dns.Dns.html Maven / Gradle / Ivy
Dns (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns
Class Dns
- java.lang.Object
-
- com.google.api.client.googleapis.services.AbstractGoogleClient
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
-
- com.google.api.services.dns.Dns
-
public class Dns
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
Service definition for Dns (v1).
For more information about this service, see the
API Documentation
This service uses DnsRequestInitializer
to initialize global parameters via its
Dns.Builder
.
- Since:
- 1.3
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
static class
Dns.Builder
Builder for Dns
.
class
Dns.Changes
The "changes" collection of methods.
class
Dns.DnsKeys
The "dnsKeys" collection of methods.
class
Dns.ManagedZoneOperations
The "managedZoneOperations" collection of methods.
class
Dns.ManagedZones
The "managedZones" collection of methods.
class
Dns.Policies
The "policies" collection of methods.
class
Dns.Projects
The "projects" collection of methods.
class
Dns.ResourceRecordSets
The "resourceRecordSets" collection of methods.
class
Dns.ResponsePolicies
The "responsePolicies" collection of methods.
class
Dns.ResponsePolicyRules
The "responsePolicyRules" collection of methods.
-
Field Summary
Fields
Modifier and Type
Field and Description
static String
DEFAULT_BASE_URL
The default encoded base URL of the service.
static String
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
static String
DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service.
static String
DEFAULT_ROOT_URL
The default encoded root URL of the service.
static String
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
-
Constructor Summary
Constructors
Constructor and Description
Dns(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Dns.Changes
changes()
An accessor for creating requests from the Changes collection.
Dns.DnsKeys
dnsKeys()
An accessor for creating requests from the DnsKeys collection.
protected void
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
Dns.ManagedZoneOperations
managedZoneOperations()
An accessor for creating requests from the ManagedZoneOperations collection.
Dns.ManagedZones
managedZones()
An accessor for creating requests from the ManagedZones collection.
Dns.Policies
policies()
An accessor for creating requests from the Policies collection.
Dns.Projects
projects()
An accessor for creating requests from the Projects collection.
Dns.ResourceRecordSets
resourceRecordSets()
An accessor for creating requests from the ResourceRecordSets collection.
Dns.ResponsePolicies
responsePolicies()
An accessor for creating requests from the ResponsePolicies collection.
Dns.ResponsePolicyRules
responsePolicyRules()
An accessor for creating requests from the ResponsePolicyRules collection.
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
getJsonFactory, getObjectParser
-
-
Field Detail
-
DEFAULT_ROOT_URL
public static final String DEFAULT_ROOT_URL
The default encoded root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_MTLS_ROOT_URL
public static final String DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.31
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_PATH
public static final String DEFAULT_SERVICE_PATH
The default encoded service path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_PATH
public static final String DEFAULT_BATCH_PATH
The default encoded batch path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.23
- See Also:
- Constant Field Values
-
DEFAULT_BASE_URL
public static final String DEFAULT_BASE_URL
The default encoded base URL of the service. This is determined when the library is generated
and normally should not be changed.
- See Also:
- Constant Field Values
-
Constructor Detail
-
Dns
public Dns(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
Use Dns.Builder
if you need to specify any of the optional parameters.
- Parameters:
transport
- HTTP transport, which should normally be:
- Google App Engine:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
- Android:
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
- Java:
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
- Jackson:
com.google.api.client.json.jackson2.JacksonFactory
- Google GSON:
com.google.api.client.json.gson.GsonFactory
- Android Honeycomb or higher:
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for none
- Since:
- 1.7
-
Method Detail
-
initialize
protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws IOException
- Overrides:
initialize
in class com.google.api.client.googleapis.services.AbstractGoogleClient
- Throws:
IOException
-
changes
public Dns.Changes changes()
An accessor for creating requests from the Changes collection.
The typical use is:
Dns dns = new Dns(...);
Dns.Changes.List request = dns.changes().list(parameters ...)
- Returns:
- the resource collection
-
dnsKeys
public Dns.DnsKeys dnsKeys()
An accessor for creating requests from the DnsKeys collection.
The typical use is:
Dns dns = new Dns(...);
Dns.DnsKeys.List request = dns.dnsKeys().list(parameters ...)
- Returns:
- the resource collection
-
managedZoneOperations
public Dns.ManagedZoneOperations managedZoneOperations()
An accessor for creating requests from the ManagedZoneOperations collection.
The typical use is:
Dns dns = new Dns(...);
Dns.ManagedZoneOperations.List request = dns.managedZoneOperations().list(parameters ...)
- Returns:
- the resource collection
-
managedZones
public Dns.ManagedZones managedZones()
An accessor for creating requests from the ManagedZones collection.
The typical use is:
Dns dns = new Dns(...);
Dns.ManagedZones.List request = dns.managedZones().list(parameters ...)
- Returns:
- the resource collection
-
policies
public Dns.Policies policies()
An accessor for creating requests from the Policies collection.
The typical use is:
Dns dns = new Dns(...);
Dns.Policies.List request = dns.policies().list(parameters ...)
- Returns:
- the resource collection
-
projects
public Dns.Projects projects()
An accessor for creating requests from the Projects collection.
The typical use is:
Dns dns = new Dns(...);
Dns.Projects.List request = dns.projects().list(parameters ...)
- Returns:
- the resource collection
-
resourceRecordSets
public Dns.ResourceRecordSets resourceRecordSets()
An accessor for creating requests from the ResourceRecordSets collection.
The typical use is:
Dns dns = new Dns(...);
Dns.ResourceRecordSets.List request = dns.resourceRecordSets().list(parameters ...)
- Returns:
- the resource collection
-
responsePolicies
public Dns.ResponsePolicies responsePolicies()
An accessor for creating requests from the ResponsePolicies collection.
The typical use is:
Dns dns = new Dns(...);
Dns.ResponsePolicies.List request = dns.responsePolicies().list(parameters ...)
- Returns:
- the resource collection
-
responsePolicyRules
public Dns.ResponsePolicyRules responsePolicyRules()
An accessor for creating requests from the ResponsePolicyRules collection.
The typical use is:
Dns dns = new Dns(...);
Dns.ResponsePolicyRules.List request = dns.responsePolicyRules().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy