target.apidocs.com.google.api.services.sql.SQLAdmin.Operations.html Maven / Gradle / Ivy
SQLAdmin.Operations (Cloud SQL Admin API v1beta4-rev20201026-1.30.10)
com.google.api.services.sql
Class SQLAdmin.Operations
- java.lang.Object
-
- com.google.api.services.sql.SQLAdmin.Operations
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
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.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
-
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 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.
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 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.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2020 Google. All rights reserved.