target.apidocs.com.google.api.services.sqladmin.SQLAdmin.html Maven / Gradle / Ivy
The newest version!
SQLAdmin (Cloud SQL Admin API v1-rev20241108-2.0.0)
com.google.api.services.sqladmin
Class SQLAdmin
- java.lang.Object
-
- com.google.api.client.googleapis.services.AbstractGoogleClient
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
-
- com.google.api.services.sqladmin.SQLAdmin
-
public class SQLAdmin
extends com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
Service definition for SQLAdmin (v1).
API for Cloud SQL database instance management
For more information about this service, see the
API Documentation
This service uses SQLAdminRequestInitializer
to initialize global parameters via its
SQLAdmin.Builder
.
- Since:
- 1.3
- Author:
- Google, Inc.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
SQLAdmin.BackupRuns
The "backupRuns" collection of methods.
static class
SQLAdmin.Builder
Builder for SQLAdmin
.
class
SQLAdmin.Connect
The "connect" collection of methods.
class
SQLAdmin.Databases
The "databases" collection of methods.
class
SQLAdmin.Flags
The "flags" collection of methods.
class
SQLAdmin.Instances
The "instances" collection of methods.
class
SQLAdmin.Operations
The "operations" collection of methods.
class
SQLAdmin.Projects
The "projects" collection of methods.
class
SQLAdmin.SslCerts
The "sslCerts" collection of methods.
class
SQLAdmin.Tiers
The "tiers" collection of methods.
class
SQLAdmin.Users
The "users" collection of methods.
-
Field Summary
Fields
Modifier and Type
Field and Description
static String
DEFAULT_BASE_URL
The default encoded base URL of the service.
static String
DEFAULT_BATCH_PATH
The default encoded batch path of the service.
static String
DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service.
static String
DEFAULT_ROOT_URL
The default encoded root URL of the service.
static String
DEFAULT_SERVICE_PATH
The default encoded service path of the service.
-
Constructor Summary
Constructors
Constructor and Description
SQLAdmin(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
SQLAdmin.BackupRuns
backupRuns()
An accessor for creating requests from the BackupRuns collection.
SQLAdmin.Connect
connect()
An accessor for creating requests from the Connect collection.
SQLAdmin.Databases
databases()
An accessor for creating requests from the Databases collection.
SQLAdmin.Flags
flags()
An accessor for creating requests from the Flags collection.
protected void
initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
SQLAdmin.Instances
instances()
An accessor for creating requests from the Instances collection.
SQLAdmin.Operations
operations()
An accessor for creating requests from the Operations collection.
SQLAdmin.Projects
projects()
An accessor for creating requests from the Projects collection.
SQLAdmin.SslCerts
sslCerts()
An accessor for creating requests from the SslCerts collection.
SQLAdmin.Tiers
tiers()
An accessor for creating requests from the Tiers collection.
SQLAdmin.Users
users()
An accessor for creating requests from the Users collection.
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClient
getJsonFactory, getObjectParser
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClient
batch, batch, getApplicationName, getBaseUrl, getGoogleClientRequestInitializer, getRequestFactory, getRootUrl, getServicePath, getSuppressPatternChecks, getSuppressRequiredParameterChecks, getUniverseDomain, validateUniverseDomain
-
-
Field Detail
-
DEFAULT_ROOT_URL
public static final String DEFAULT_ROOT_URL
The default encoded root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_MTLS_ROOT_URL
public static final String DEFAULT_MTLS_ROOT_URL
The default encoded mTLS root URL of the service. This is determined when the library is generated
and normally should not be changed.
- Since:
- 1.31
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_PATH
public static final String DEFAULT_SERVICE_PATH
The default encoded service path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.7
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_PATH
public static final String DEFAULT_BATCH_PATH
The default encoded batch path of the service. This is determined when the library is
generated and normally should not be changed.
- Since:
- 1.23
- See Also:
- Constant Field Values
-
DEFAULT_BASE_URL
public static final String DEFAULT_BASE_URL
The default encoded base URL of the service. This is determined when the library is generated
and normally should not be changed.
- See Also:
- Constant Field Values
-
Constructor Detail
-
SQLAdmin
public SQLAdmin(com.google.api.client.http.HttpTransport transport,
com.google.api.client.json.JsonFactory jsonFactory,
com.google.api.client.http.HttpRequestInitializer httpRequestInitializer)
Constructor.
Use SQLAdmin.Builder
if you need to specify any of the optional parameters.
- Parameters:
transport
- HTTP transport, which should normally be:
- Google App Engine:
com.google.api.client.extensions.appengine.http.UrlFetchTransport
- Android:
newCompatibleTransport
from
com.google.api.client.extensions.android.http.AndroidHttp
- Java:
com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()
jsonFactory
- JSON factory, which may be:
- Jackson:
com.google.api.client.json.jackson2.JacksonFactory
- Google GSON:
com.google.api.client.json.gson.GsonFactory
- Android Honeycomb or higher:
com.google.api.client.extensions.android.json.AndroidJsonFactory
httpRequestInitializer
- HTTP request initializer or null
for none
- Since:
- 1.7
-
Method Detail
-
initialize
protected void initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest<?> httpClientRequest)
throws IOException
- Overrides:
initialize
in class com.google.api.client.googleapis.services.AbstractGoogleClient
- Throws:
IOException
-
backupRuns
public SQLAdmin.BackupRuns backupRuns()
An accessor for creating requests from the BackupRuns collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.BackupRuns.List request = sqladmin.backupRuns().list(parameters ...)
- Returns:
- the resource collection
-
connect
public SQLAdmin.Connect connect()
An accessor for creating requests from the Connect collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Connect.List request = sqladmin.connect().list(parameters ...)
- Returns:
- the resource collection
-
databases
public SQLAdmin.Databases databases()
An accessor for creating requests from the Databases collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Databases.List request = sqladmin.databases().list(parameters ...)
- Returns:
- the resource collection
-
flags
public SQLAdmin.Flags flags()
An accessor for creating requests from the Flags collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Flags.List request = sqladmin.flags().list(parameters ...)
- Returns:
- the resource collection
-
instances
public SQLAdmin.Instances instances()
An accessor for creating requests from the Instances collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Instances.List request = sqladmin.instances().list(parameters ...)
- Returns:
- the resource collection
-
operations
public SQLAdmin.Operations operations()
An accessor for creating requests from the Operations collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Operations.List request = sqladmin.operations().list(parameters ...)
- Returns:
- the resource collection
-
projects
public SQLAdmin.Projects projects()
An accessor for creating requests from the Projects collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Projects.List request = sqladmin.projects().list(parameters ...)
- Returns:
- the resource collection
-
sslCerts
public SQLAdmin.SslCerts sslCerts()
An accessor for creating requests from the SslCerts collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.SslCerts.List request = sqladmin.sslCerts().list(parameters ...)
- Returns:
- the resource collection
-
tiers
public SQLAdmin.Tiers tiers()
An accessor for creating requests from the Tiers collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Tiers.List request = sqladmin.tiers().list(parameters ...)
- Returns:
- the resource collection
-
users
public SQLAdmin.Users users()
An accessor for creating requests from the Users collection.
The typical use is:
SQLAdmin sqladmin = new SQLAdmin(...);
SQLAdmin.Users.List request = sqladmin.users().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy