The "sslCerts" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| createEphemeral ($project, $instance, Google_Service_SQLAdmin_SslCertsCreateEphemeralRequest $postBody, $optParams=array()) |
| Generates a short-lived X509 certificate containing the provided public key and signed by a private key specific to the target instance.
|
|
| delete ($project, $instance, $sha1Fingerprint, $optParams=array()) |
| Deletes the SSL certificate.
|
|
| get ($project, $instance, $sha1Fingerprint, $optParams=array()) |
| Retrieves a particular SSL certificate.
|
|
| insert ($project, $instance, Google_Service_SQLAdmin_SslCertsInsertRequest $postBody, $optParams=array()) |
| Creates an SSL certificate and returns it along with the private key and server certificate authority.
|
|
| listSslCerts ($project, $instance, $optParams=array()) |
| Lists all of the current SSL certificates for the instance.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "sslCerts" collection of methods.
Typical usage is: $sqladminService = new Google_Service_SQLAdmin(...); $sslCerts = $sqladminService->sslCerts;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ createEphemeral()
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. (sslCerts.createEphemeral)
- Parameters
-
string | $project | Project ID of the Cloud SQL project. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
Google_SslCertsCreateEphemeralRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ delete()
Google_Service_SQLAdmin_SslCerts_Resource::delete |
( |
| $project, |
|
|
| $instance, |
|
|
| $sha1Fingerprint, |
|
|
| $optParams = array() ) |
Deletes the SSL certificate.
The change will not take effect until the instance is restarted. (sslCerts.delete)
- Parameters
-
string | $project | Project ID of the project that contains the instance to be deleted. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
string | $sha1Fingerprint | Sha1 FingerPrint. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_SQLAdmin_SslCerts_Resource::get |
( |
| $project, |
|
|
| $instance, |
|
|
| $sha1Fingerprint, |
|
|
| $optParams = array() ) |
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. (sslCerts.get)
- Parameters
-
string | $project | Project ID of the project that contains the instance. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
string | $sha1Fingerprint | Sha1 FingerPrint. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
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. (sslCerts.insert)
- Parameters
-
string | $project | Project ID of the project to which the newly created Cloud SQL instances should belong. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
Google_SslCertsInsertRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listSslCerts()
Google_Service_SQLAdmin_SslCerts_Resource::listSslCerts |
( |
| $project, |
|
|
| $instance, |
|
|
| $optParams = array() ) |
Lists all of the current SSL certificates for the instance.
(sslCerts.listSslCerts)
- Parameters
-
string | $project | Project ID of the project for which to list Cloud SQL instances. |
string | $instance | Cloud SQL instance ID. This does not include the project ID. |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/SQLAdmin.php