target.apidocs.com.google.api.services.dns.Dns.ResponsePolicies.html Maven / Gradle / Ivy
Dns.ResponsePolicies (Cloud DNS API v1-rev20240118-2.0.0)
com.google.api.services.dns
Class Dns.ResponsePolicies
- java.lang.Object
-
- com.google.api.services.dns.Dns.ResponsePolicies
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Dns.ResponsePolicies.Create
class
Dns.ResponsePolicies.Delete
class
Dns.ResponsePolicies.Get
class
Dns.ResponsePolicies.List
class
Dns.ResponsePolicies.Patch
class
Dns.ResponsePolicies.Update
-
Constructor Summary
Constructors
Constructor and Description
ResponsePolicies()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Dns.ResponsePolicies.Create
create(String project,
ResponsePolicy content)
Creates a new Response Policy
Create a request for the method "responsePolicies.create".
Dns.ResponsePolicies.Delete
delete(String project,
String responsePolicy)
Deletes a previously created Response Policy.
Dns.ResponsePolicies.Get
get(String project,
String responsePolicy)
Fetches the representation of an existing Response Policy.
Dns.ResponsePolicies.List
list(String project)
Enumerates all Response Policies associated with a project.
Dns.ResponsePolicies.Patch
patch(String project,
String responsePolicy,
ResponsePolicy content)
Applies a partial update to an existing Response Policy.
Dns.ResponsePolicies.Update
update(String project,
String responsePolicy,
ResponsePolicy content)
Updates an existing Response Policy.
-
-
Method Detail
-
create
public Dns.ResponsePolicies.Create create(String project,
ResponsePolicy content)
throws IOException
Creates a new Response Policy
Create a request for the method "responsePolicies.create".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
content
- the ResponsePolicy
- Returns:
- the request
- Throws:
IOException
-
delete
public Dns.ResponsePolicies.Delete delete(String project,
String responsePolicy)
throws IOException
Deletes a previously created Response Policy. Fails if the response policy is non-empty or still
being referenced by a network.
Create a request for the method "responsePolicies.delete".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
responsePolicy
- User assigned name of the Response Policy addressed by this request.
- Returns:
- the request
- Throws:
IOException
-
get
public Dns.ResponsePolicies.Get get(String project,
String responsePolicy)
throws IOException
Fetches the representation of an existing Response Policy.
Create a request for the method "responsePolicies.get".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
responsePolicy
- User assigned name of the Response Policy addressed by this request.
- Returns:
- the request
- Throws:
IOException
-
list
public Dns.ResponsePolicies.List list(String project)
throws IOException
Enumerates all Response Policies associated with a project.
Create a request for the method "responsePolicies.list".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
- Returns:
- the request
- Throws:
IOException
-
patch
public Dns.ResponsePolicies.Patch patch(String project,
String responsePolicy,
ResponsePolicy content)
throws IOException
Applies a partial update to an existing Response Policy.
Create a request for the method "responsePolicies.patch".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
responsePolicy
- User assigned name of the response policy addressed by this request.
content
- the ResponsePolicy
- Returns:
- the request
- Throws:
IOException
-
update
public Dns.ResponsePolicies.Update update(String project,
String responsePolicy,
ResponsePolicy content)
throws IOException
Updates an existing Response Policy.
Create a request for the method "responsePolicies.update".
This request holds the parameters needed by the dns server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
project
- Identifies the project addressed by this request.
responsePolicy
- User assigned name of the Response Policy addressed by this request.
content
- the ResponsePolicy
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy