| Modifier and Type | Class and Description |
|---|---|
class |
SQLAdmin.SslCerts.CreateEphemeral |
class |
SQLAdmin.SslCerts.Delete |
class |
SQLAdmin.SslCerts.Get |
class |
SQLAdmin.SslCerts.Insert |
class |
SQLAdmin.SslCerts.List |
| Constructor and Description |
|---|
SslCerts() |
| Modifier and Type | Method and Description |
|---|---|
SQLAdmin.SslCerts.CreateEphemeral |
createEphemeral(String project,
String instance,
SslCertsCreateEphemeralRequest content)
Generates a short-lived X509 certificate containing the provided public key and signed by a
private key specific to the target instance.
|
SQLAdmin.SslCerts.Delete |
delete(String project,
String instance,
String sha1Fingerprint)
Deletes the SSL certificate.
|
SQLAdmin.SslCerts.Get |
get(String project,
String instance,
String sha1Fingerprint)
Retrieves a particular SSL certificate.
|
SQLAdmin.SslCerts.Insert |
insert(String project,
String instance,
SslCertsInsertRequest content)
Creates an SSL certificate and returns it along with the private key and server certificate
authority.
|
SQLAdmin.SslCerts.List |
list(String project,
String instance)
Lists all of the current SSL certificates for the instance.
|
public SQLAdmin.SslCerts.CreateEphemeral createEphemeral(String project, String instance, SslCertsCreateEphemeralRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the Cloud SQL project.instance - Cloud SQL instance ID. This does not include the project ID.content - the SslCertsCreateEphemeralRequestIOExceptionpublic SQLAdmin.SslCerts.Delete delete(String project, String instance, String sha1Fingerprint) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.sha1Fingerprint - Sha1 FingerPrint.IOExceptionpublic SQLAdmin.SslCerts.Get get(String project, String instance, String sha1Fingerprint) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.sha1Fingerprint - Sha1 FingerPrint.IOExceptionpublic SQLAdmin.SslCerts.Insert insert(String project, String instance, SslCertsInsertRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.content - the SslCertsInsertRequestIOExceptionpublic SQLAdmin.SslCerts.List list(String project, String instance) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID of the project that contains the instance.instance - Cloud SQL instance ID. This does not include the project ID.IOExceptionCopyright © 2011–2020 Google. All rights reserved.