class ProjectsInstancesCreateEphemeral extends Resource (View source)

The "createEphemeral" collection of methods.

Typical usage is:

 $sqladminService = new Google\Service\SQLAdmin(...);
 $createEphemeral = $sqladminService->createEphemeral;

Methods

create(string $project, string $instance, SslCertsCreateEphemeralRequest $postBody, array $optParams = [])

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. (createEphemeral.create)

Details

SslCert create(string $project, string $instance, SslCertsCreateEphemeralRequest $postBody, array $optParams = [])

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. (createEphemeral.create)

Parameters

string $project

Project ID of the Cloud SQL project.

string $instance

Cloud SQL instance ID. This does not include the project ID.

SslCertsCreateEphemeralRequest $postBody
array $optParams

Optional parameters.

Return Value

SslCert