target.apidocs.com.google.api.services.sql.SQLAdmin.Projects.Instances.html Maven / Gradle / Ivy
SQLAdmin.Projects.Instances (Cloud SQL Admin API v1beta4-rev20201026-1.30.10)
com.google.api.services.sql
Class SQLAdmin.Projects.Instances
- java.lang.Object
-
- com.google.api.services.sql.SQLAdmin.Projects.Instances
-
- Enclosing class:
- SQLAdmin.Projects
public class SQLAdmin.Projects.Instances
extends Object
The "instances" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SQLAdmin.Projects.Instances.RescheduleMaintenance
class
SQLAdmin.Projects.Instances.StartExternalSync
class
SQLAdmin.Projects.Instances.VerifyExternalSyncSettings
-
Constructor Summary
Constructors
Constructor and Description
Instances()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SQLAdmin.Projects.Instances.RescheduleMaintenance
rescheduleMaintenance(String project,
String instance,
SqlInstancesRescheduleMaintenanceRequestBody content)
Reschedules the maintenance on the given instance.
SQLAdmin.Projects.Instances.StartExternalSync
startExternalSync(String project,
String instance)
Start External master migration.
SQLAdmin.Projects.Instances.VerifyExternalSyncSettings
verifyExternalSyncSettings(String project,
String instance)
Verify External master external sync settings.
-
-
Method Detail
-
rescheduleMaintenance
public SQLAdmin.Projects.Instances.RescheduleMaintenance rescheduleMaintenance(String project,
String instance,
SqlInstancesRescheduleMaintenanceRequestBody content)
throws IOException
Reschedules the maintenance on the given instance.
Create a request for the method "instances.rescheduleMaintenance".
This request holds the parameters needed by the sql server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
project
- ID of the project that contains the instance.
instance
- Cloud SQL instance ID. This does not include the project ID.
content
- the SqlInstancesRescheduleMaintenanceRequestBody
- Returns:
- the request
- Throws:
IOException
-
startExternalSync
public SQLAdmin.Projects.Instances.StartExternalSync startExternalSync(String project,
String instance)
throws IOException
Start External master migration.
Create a request for the method "instances.startExternalSync".
This request holds the parameters needed by the sql server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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
-
verifyExternalSyncSettings
public SQLAdmin.Projects.Instances.VerifyExternalSyncSettings verifyExternalSyncSettings(String project,
String instance)
throws IOException
Verify External master external sync settings.
Create a request for the method "instances.verifyExternalSyncSettings".
This request holds the parameters needed by the sql 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
Copyright © 2011–2020 Google. All rights reserved.