target.apidocs.com.google.api.services.sqladmin.SQLAdmin.Operations.html Maven / Gradle / Ivy
The newest version!
SQLAdmin.Operations (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin
Class SQLAdmin.Operations
- java.lang.Object
-
- com.google.api.services.sqladmin.SQLAdmin.Operations
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SQLAdmin.Operations.Cancel
class
SQLAdmin.Operations.Get
class
SQLAdmin.Operations.List
-
Constructor Summary
Constructors
Constructor and Description
Operations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SQLAdmin.Operations.Cancel
cancel(String project,
String operation)
Cancels an instance operation that has been performed on an instance.
SQLAdmin.Operations.Get
get(String project,
String operation)
Retrieves an instance operation that has been performed on an instance.
SQLAdmin.Operations.List
list(String project)
Lists all instance operations that have been performed on the given Cloud SQL instance in the
reverse chronological order of the start time.
-
-
Method Detail
-
cancel
public SQLAdmin.Operations.Cancel cancel(String project,
String operation)
throws IOException
Cancels an instance operation that has been performed on an instance.
Create a request for the method "operations.cancel".
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.
operation
- Instance operation ID.
- Returns:
- the request
- Throws:
IOException
-
get
public SQLAdmin.Operations.Get get(String project,
String operation)
throws IOException
Retrieves an instance operation that has been performed on an instance.
Create a request for the method "operations.get".
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.
operation
- Instance operation ID.
- Returns:
- the request
- Throws:
IOException
-
list
public SQLAdmin.Operations.List list(String project)
throws IOException
Lists all instance operations that have been performed on the given Cloud SQL instance in the
reverse chronological order of the start time.
Create a request for the method "operations.list".
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.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy