sqladmin  v1beta4
Classes | Public Member Functions | List of all members
Google.Apis.SQLAdmin.v1beta4.SslCertsResource Class Reference

The "sslCerts" collection of methods. More...

Classes

class  CreateEphemeralRequest
 Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database. More...
 
class  DeleteRequest
 Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. More...
 
class  GetRequest
 Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. More...
 
class  InsertRequest
 Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. More...
 
class  ListRequest
 Lists all of the current SSL certificates for the instance. More...
 

Public Member Functions

 SslCertsResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual CreateEphemeralRequest CreateEphemeral (Google.Apis.SQLAdmin.v1beta4.Data.SslCertsCreateEphemeralRequest body, string project, string instance)
 Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database. More...
 
virtual DeleteRequest Delete (string project, string instance, string sha1Fingerprint)
 Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted. More...
 
virtual GetRequest Get (string project, string instance, string sha1Fingerprint)
 Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation. More...
 
virtual InsertRequest Insert (Google.Apis.SQLAdmin.v1beta4.Data.SslCertsInsertRequest body, string project, string instance)
 Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted. More...
 
virtual ListRequest List (string project, string instance)
 Lists all of the current SSL certificates for the instance. More...
 

Detailed Description

The "sslCerts" collection of methods.

Constructor & Destructor Documentation

◆ SslCertsResource()

Google.Apis.SQLAdmin.v1beta4.SslCertsResource.SslCertsResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ CreateEphemeral()

virtual CreateEphemeralRequest Google.Apis.SQLAdmin.v1beta4.SslCertsResource.CreateEphemeral ( Google.Apis.SQLAdmin.v1beta4.Data.SslCertsCreateEphemeralRequest  body,
string  project,
string  instance 
)
inlinevirtual

Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance. Users may use the certificate to authenticate as themselves when connecting to the database.

Parameters
bodyThe body of the request.
projectProject ID of the Cloud SQL project.
instanceCloud SQL instance ID. This does not include the project ID.

◆ Delete()

virtual DeleteRequest Google.Apis.SQLAdmin.v1beta4.SslCertsResource.Delete ( string  project,
string  instance,
string  sha1Fingerprint 
)
inlinevirtual

Deletes the SSL certificate. For First Generation instances, the certificate remains valid until the instance is restarted.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.
sha1FingerprintSha1 FingerPrint.

◆ Get()

virtual GetRequest Google.Apis.SQLAdmin.v1beta4.SslCertsResource.Get ( string  project,
string  instance,
string  sha1Fingerprint 
)
inlinevirtual

Retrieves a particular SSL certificate. Does not include the private key (required for usage). The private key must be saved from the response to initial creation.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.
sha1FingerprintSha1 FingerPrint.

◆ Insert()

virtual InsertRequest Google.Apis.SQLAdmin.v1beta4.SslCertsResource.Insert ( Google.Apis.SQLAdmin.v1beta4.Data.SslCertsInsertRequest  body,
string  project,
string  instance 
)
inlinevirtual

Creates an SSL certificate and returns it along with the private key and server certificate authority. The new certificate will not be usable until the instance is restarted.

Parameters
bodyThe body of the request.
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.

◆ List()

virtual ListRequest Google.Apis.SQLAdmin.v1beta4.SslCertsResource.List ( string  project,
string  instance 
)
inlinevirtual

Lists all of the current SSL certificates for the instance.

Parameters
projectProject ID of the project that contains the instance.
instanceCloud SQL instance ID. This does not include the project ID.

The documentation for this class was generated from the following file: