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

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

There is a newer version: v1-rev20240903-2.0.0
Show newest version






Compute.FutureReservations (Compute Engine API v1-rev20240919-2.0.0)












com.google.api.services.compute

Class Compute.FutureReservations

  • Enclosing class:
    Compute


    public class Compute.FutureReservations
    extends Object
    The "futureReservations" collection of methods.
    • Constructor Detail

      • FutureReservations

        public FutureReservations()
    • Method Detail

      • aggregatedList

        public Compute.FutureReservations.AggregatedList aggregatedList(String project)
                                                                 throws IOException
        Retrieves an aggregated list of future reservations. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`. Create a request for the method "futureReservations.aggregatedList". 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
      • cancel

        public Compute.FutureReservations.Cancel cancel(String project,
                                                        String zone,
                                                        String futureReservation)
                                                 throws IOException
        Cancel the specified future reservation. Create a request for the method "futureReservations.cancel". 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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        futureReservation - Name of the future reservation to retrieve. Name should conform to RFC1035.
        Returns:
        the request
        Throws:
        IOException
      • delete

        public Compute.FutureReservations.Delete delete(String project,
                                                        String zone,
                                                        String futureReservation)
                                                 throws IOException
        Deletes the specified future reservation. Create a request for the method "futureReservations.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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        futureReservation - Name of the future reservation to retrieve. Name should conform to RFC1035.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Compute.FutureReservations.Get get(String project,
                                                  String zone,
                                                  String futureReservation)
                                           throws IOException
        Retrieves information about the specified future reservation. Create a request for the method "futureReservations.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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        futureReservation - Name of the future reservation to retrieve. Name should conform to RFC1035.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Compute.FutureReservations.Insert insert(String project,
                                                        String zone,
                                                        FutureReservation content)
                                                 throws IOException
        Creates a new Future Reservation. Create a request for the method "futureReservations.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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        content - the FutureReservation
        Returns:
        the request
        Throws:
        IOException
      • list

        public Compute.FutureReservations.List list(String project,
                                                    String zone)
                                             throws IOException
        A list of all the future reservations that have been configured for the specified project in specified zone. Create a request for the method "futureReservations.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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        Returns:
        the request
        Throws:
        IOException
      • update

        public Compute.FutureReservations.Update update(String project,
                                                        String zone,
                                                        String futureReservation,
                                                        FutureReservation content)
                                                 throws IOException
        Updates the specified future reservation. Create a request for the method "futureReservations.update". 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.
        zone - Name of the zone for this request. Name should conform to RFC1035.
        futureReservation - Name of the reservation to update. Name should conform to RFC1035.
        content - the FutureReservation
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy