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

target.apidocs.com.google.api.services.compute.Compute.GlobalAddresses.html Maven / Gradle / Ivy

The newest version!






Compute.GlobalAddresses (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute

Class Compute.GlobalAddresses

  • Enclosing class:
    Compute


    public class Compute.GlobalAddresses
    extends Object
    The "globalAddresses" collection of methods.
    • Constructor Detail

      • GlobalAddresses

        public GlobalAddresses()
    • Method Detail

      • delete

        public Compute.GlobalAddresses.Delete delete(String project,
                                                     String address)
                                              throws IOException
        Deletes the specified address resource. Create a request for the method "globalAddresses.delete". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        address - Name of the address resource to delete.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.GlobalAddresses.Get get(String project,
                                               String address)
                                        throws IOException
        Returns the specified address resource. Create a request for the method "globalAddresses.get". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        address - Name of the address resource to return.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.GlobalAddresses.Insert insert(String project,
                                                     Address content)
                                              throws IOException
        Creates an address resource in the specified project by using the data included in the request. Create a request for the method "globalAddresses.insert". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        content - the Address
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.GlobalAddresses.List list(String project)
                                          throws IOException
        Retrieves a list of global addresses. Create a request for the method "globalAddresses.list". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        Returns:
        the request
        Throws:
        IOException
      • move

        public Compute.GlobalAddresses.Move move(String project,
                                                 String address,
                                                 GlobalAddressesMoveRequest content)
                                          throws IOException
        Moves the specified address resource from one project to another project. Create a request for the method "globalAddresses.move". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Source project ID which the Address is moved from.
        address - Name of the address resource to move.
        content - the GlobalAddressesMoveRequest
        Returns:
        the request
        Throws:
        IOException
      • setLabels

        public Compute.GlobalAddresses.SetLabels setLabels(String project,
                                                           String resource,
                                                           GlobalSetLabelsRequest content)
                                                    throws IOException
        Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation. Create a request for the method "globalAddresses.setLabels". This request holds the parameters needed by the compute server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID for this request.
        resource - Name or id of the resource for this request.
        content - the GlobalSetLabelsRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy