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

target.apidocs.com.google.api.services.sqladmin.SQLAdmin.Projects.Instances.html Maven / Gradle / Ivy

The newest version!






SQLAdmin.Projects.Instances (Cloud SQL Admin API v1-rev20241108-2.0.0)












com.google.api.services.sqladmin

Class SQLAdmin.Projects.Instances

  • Enclosing class:
    SQLAdmin.Projects


    public class SQLAdmin.Projects.Instances
    extends Object
    The "instances" collection of methods.
    • Constructor Detail

      • Instances

        public Instances()
    • Method Detail

      • getDiskShrinkConfig

        public SQLAdmin.Projects.Instances.GetDiskShrinkConfig getDiskShrinkConfig(String project,
                                                                                   String instance)
                                                                            throws IOException
        Get Disk Shrink Config for a given instance. Create a request for the method "instances.getDiskShrinkConfig". This request holds the parameters needed by the sqladmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID of the project that contains the instance.
        instance - Cloud SQL instance ID. This does not include the project ID.
        Returns:
        the request
        Throws:
        IOException
      • getLatestRecoveryTime

        public SQLAdmin.Projects.Instances.GetLatestRecoveryTime getLatestRecoveryTime(String project,
                                                                                       String instance)
                                                                                throws IOException
        Get Latest Recovery Time for a given instance. Create a request for the method "instances.getLatestRecoveryTime". This request holds the parameters needed by the sqladmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID of the project that contains the instance.
        instance - Cloud SQL instance ID. This does not include the project ID.
        Returns:
        the request
        Throws:
        IOException
      • performDiskShrink

        public SQLAdmin.Projects.Instances.PerformDiskShrink performDiskShrink(String project,
                                                                               String instance,
                                                                               PerformDiskShrinkContext content)
                                                                        throws IOException
        Perform Disk Shrink on primary instance. Create a request for the method "instances.performDiskShrink". This request holds the parameters needed by the sqladmin server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        project - Project ID of the project that contains the instance.
        instance - Cloud SQL instance ID. This does not include the project ID.
        content - the PerformDiskShrinkContext
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy