public class SQLAdmin.SslCerts
extends java.lang.Object
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(java.lang.String project,
java.lang.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(java.lang.String project,
java.lang.String instance,
java.lang.String sha1Fingerprint)
Deletes the SSL certificate.
|
SQLAdmin.SslCerts.Get |
get(java.lang.String project,
java.lang.String instance,
java.lang.String sha1Fingerprint)
Retrieves a particular SSL certificate.
|
SQLAdmin.SslCerts.Insert |
insert(java.lang.String project,
java.lang.String instance,
SslCertsInsertRequest content)
Creates an SSL certificate and returns it along with the private key and server certificate
authority.
|
SQLAdmin.SslCerts.List |
list(java.lang.String project,
java.lang.String instance)
Lists all of the current SSL certificates for the instance.
|
public SQLAdmin.SslCerts.CreateEphemeral createEphemeral(java.lang.String project, java.lang.String instance, SslCertsCreateEphemeralRequest content) throws java.io.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 SslCertsCreateEphemeralRequest
java.io.IOException
public SQLAdmin.SslCerts.Delete delete(java.lang.String project, java.lang.String instance, java.lang.String sha1Fingerprint) throws java.io.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.java.io.IOException
public SQLAdmin.SslCerts.Get get(java.lang.String project, java.lang.String instance, java.lang.String sha1Fingerprint) throws java.io.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.java.io.IOException
public SQLAdmin.SslCerts.Insert insert(java.lang.String project, java.lang.String instance, SslCertsInsertRequest content) throws java.io.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 SslCertsInsertRequest
java.io.IOException
public SQLAdmin.SslCerts.List list(java.lang.String project, java.lang.String instance) throws java.io.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.java.io.IOException