All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.dns.Dns.ResponsePolicies.html Maven / Gradle / Ivy

There is a newer version: v2-rev20220505-1.32.1
Show newest version






Dns.ResponsePolicies (Cloud DNS API v1-rev20240118-2.0.0)












com.google.api.services.dns

Class Dns.ResponsePolicies

  • Enclosing class:
    Dns


    public class Dns.ResponsePolicies
    extends Object
    The "responsePolicies" collection of methods.
    • Constructor Detail

      • ResponsePolicies

        public ResponsePolicies()
    • 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