0.14.0 (latest) 0.13.0 0.12.3 0.9.0 0.8.2 0.7.1 0.6.1 0.4.1 0.3.0 0.2.1 0.1.2 Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class OracleDatabaseClient.

Service Description: Service describing handlers for resources

This class provides the ability to make remote calls to the backing service through method
calls that map to API methods.

Many parameters require resource names to be formatted in a particular way. To
assist with these names, this class includes a format method for each type of
name, and additionally a parseName method to extract the individual identifiers
contained within formatted names that are returned by the API.

## Namespace

Google \\ Cloud \\ OracleDatabase \\ V1 \\ Client

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `options` | `array|https://docs.cloud.google.com/php/docs/reference/gax/latest/Options.ClientOptions.html` Optional. Options for configuring the service API wrapper. |
| `↳ apiEndpoint` | `string` The address of the API remote host. May optionally include the port, formatted as " |
| `↳ credentials` | `https://docs.cloud.google.com/php/docs/reference/auth/latest/FetchAuthTokenInterface.html|https://docs.cloud.google.com/php/docs/reference/gax/latest/CredentialsWrapper.html` This option should only be used with a pre-constructed [Google\\Auth\\FetchAuthTokenInterface](https://docs.cloud.google.com/php/docs/reference/auth/latest/FetchAuthTokenInterface.html) or [Google\\ApiCore\\CredentialsWrapper](https://docs.cloud.google.com/php/docs/reference/gax/latest/CredentialsWrapper.html) object. Note that when one of these objects are provided, any settings in $credentialsConfig will be ignored. **Important** : If you are providing a path to a credentials file, or a decoded credentials file as a PHP array, this usage is now DEPRECATED. Providing an unvalidated credential configuration to Google APIs can compromise the security of your systems and data. It is recommended to create the credentials explicitly `use Google\Auth\Credentials\ServiceAccountCredentials; use Google\Cloud\OracleDatabase\V1\OracleDatabaseClient; $creds = new ServiceAccountCredentials($scopes, $json); $options = new OracleDatabaseClient(['credentials' => $creds]);` <https://cloud.google.com/docs/authentication/external/externally-sourced-credentials> |
| `↳ credentialsConfig` | `array` Options used to configure credentials, including auth token caching, for the client. For a full list of supporting configuration options, see [Google\\ApiCore\\CredentialsWrapper::build()](https://docs.cloud.google.com/php/docs/reference/gax/latest/CredentialsWrapper.html#_Google_ApiCore_CredentialsWrapper__build__) . |
| `↳ disableRetries` | `bool` Determines whether or not retries defined by the client configuration should be disabled. Defaults to `false`. |
| `↳ clientConfig` | `string|array` Client method configuration, including retry settings. This option can be either a path to a JSON file, or a PHP array containing the decoded JSON data. By default this settings points to the default client config file, which is provided in the resources folder. |
| `↳ transport` | `string|https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.TransportInterface.html` The transport used for executing network requests. May be either the string `rest` or `grpc`. Defaults to `grpc` if gRPC support is detected on the system. *Advanced usage* : Additionally, it is possible to pass in an already instantiated [Google\\ApiCore\\Transport\\TransportInterface](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.TransportInterface.html) object. Note that when this object is provided, any settings in $transportConfig, and any $apiEndpoint setting, will be ignored. |
| `↳ transportConfig` | `array` Configuration options that will be used to construct the transport. Options for each supported transport type should be passed in a key for that transport. For example: $transportConfig = \[ 'grpc' =\> \[...\], 'rest' =\> \[...\], \]; See the [Google\\ApiCore\\Transport\\GrpcTransport::build()](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.GrpcTransport.html#_Google_ApiCore_Transport_GrpcTransport__build__) and [Google\\ApiCore\\Transport\\RestTransport::build()](https://docs.cloud.google.com/php/docs/reference/gax/latest/Transport.RestTransport.html#_Google_ApiCore_Transport_RestTransport__build__) methods for the supported options. |
| `↳ clientCertSource` | `callable` A callable which returns the client cert as a string. This can be used to provide a certificate and private key to the transport layer for mTLS. |
| `↳ logger` | `false|Psr\Log\LoggerInterface` A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the 'GOOGLE_SDK_PHP_LOGGING' environment flag |
| `↳ universeDomain` | `string` The service domain for the client. Defaults to 'googleapis.com'. |

### configureExascaleCloudExadataInfrastructure

Configures Exascale for a single Exadata Infrastructure.

The async variant is
[OracleDatabaseClient::configureExascaleCloudExadataInfrastructureAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__configureExascaleCloudExadataInfrastructureAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ConfigureExascaleCloudExadataInfrastructureRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudExadataInfrastructure>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudExadataInfrastructure;
    use Google\Cloud\OracleDatabase\V1\ConfigureExascaleCloudExadataInfrastructureRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName      The name of the Cloud Exadata Infrastructure in the following
     *                                   format:
     *                                   projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. Please see
     *                                   {@see OracleDatabaseClient::cloudExadataInfrastructureName()} for help formatting this field.
     * @param int    $totalStorageSizeGb The total storage to be allocated to Exascale in GBs.
     */
    function configure_exascale_cloud_exadata_infrastructure_sample(
        string $formattedName,
        int $totalStorageSizeGb
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ConfigureExascaleCloudExadataInfrastructureRequest())
            ->setName($formattedName)
            ->setTotalStorageSizeGb($totalStorageSizeGb);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->configureExascaleCloudExadataInfrastructure($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var CloudExadataInfrastructure $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::cloudExadataInfrastructureName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_EXADATA_INFRASTRUCTURE]'
        );
        $totalStorageSizeGb = 0;

        configure_exascale_cloud_exadata_infrastructure_sample($formattedName, $totalStorageSizeGb);
    }

### createAutonomousDatabase

Creates a new Autonomous Database in a given project and location.

The async variant is
[OracleDatabaseClient::createAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent      The name of the parent in the following format:
     *                                     projects/{project}/locations/{location}. Please see
     *                                     {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $autonomousDatabaseId The ID of the Autonomous Database to create. This value is
     *                                     restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                     63 characters in length. The value must start with a letter and end with a
     *                                     letter or a number.
     */
    function create_autonomous_database_sample(
        string $formattedParent,
        string $autonomousDatabaseId
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $autonomousDatabase = new AutonomousDatabase();
        $request = (new CreateAutonomousDatabaseRequest())
            ->setParent($formattedParent)
            ->setAutonomousDatabaseId($autonomousDatabaseId)
            ->setAutonomousDatabase($autonomousDatabase);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $autonomousDatabaseId = '[AUTONOMOUS_DATABASE_ID]';

        create_autonomous_database_sample($formattedParent, $autonomousDatabaseId);
    }

### createCloudExadataInfrastructure

Creates a new Exadata Infrastructure in a given project and location.

The async variant is
[OracleDatabaseClient::createCloudExadataInfrastructureAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createCloudExadataInfrastructureAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateCloudExadataInfrastructureRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudExadataInfrastructure>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudExadataInfrastructure;
    use Google\Cloud\OracleDatabase\V1\CreateCloudExadataInfrastructureRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent              The parent value for CloudExadataInfrastructure in the following
     *                                             format: projects/{project}/locations/{location}. Please see
     *                                             {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $cloudExadataInfrastructureId The ID of the Exadata Infrastructure to create. This value is
     *                                             restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                             63 characters in length. The value must start with a letter and end with a
     *                                             letter or a number.
     */
    function create_cloud_exadata_infrastructure_sample(
        string $formattedParent,
        string $cloudExadataInfrastructureId
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $cloudExadataInfrastructure = new CloudExadataInfrastructure();
        $request = (new CreateCloudExadataInfrastructureRequest())
            ->setParent($formattedParent)
            ->setCloudExadataInfrastructureId($cloudExadataInfrastructureId)
            ->setCloudExadataInfrastructure($cloudExadataInfrastructure);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createCloudExadataInfrastructure($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var CloudExadataInfrastructure $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $cloudExadataInfrastructureId = '[CLOUD_EXADATA_INFRASTRUCTURE_ID]';

        create_cloud_exadata_infrastructure_sample($formattedParent, $cloudExadataInfrastructureId);
    }

### createCloudVmCluster

Creates a new VM Cluster in a given project and location.

The async variant is [OracleDatabaseClient::createCloudVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createCloudVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateCloudVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudVmCluster>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudVmCluster;
    use Google\Cloud\OracleDatabase\V1\CreateCloudVmClusterRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                              The name of the parent in the following format:
     *                                                             projects/{project}/locations/{location}. Please see
     *                                                             {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $cloudVmClusterId                             The ID of the VM Cluster to create. This value is restricted
     *                                                             to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
     *                                                             characters in length. The value must start with a letter and end with
     *                                                             a letter or a number.
     * @param string $formattedCloudVmClusterExadataInfrastructure The name of the Exadata Infrastructure resource on which VM
     *                                                             cluster resource is created, in the following format:
     *                                                             projects/{project}/locations/{region}/cloudExadataInfrastuctures/{cloud_extradata_infrastructure}
     *                                                             Please see {@see OracleDatabaseClient::cloudExadataInfrastructureName()} for help formatting this field.
     */
    function create_cloud_vm_cluster_sample(
        string $formattedParent,
        string $cloudVmClusterId,
        string $formattedCloudVmClusterExadataInfrastructure
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $cloudVmCluster = (new CloudVmCluster())
            ->setExadataInfrastructure($formattedCloudVmClusterExadataInfrastructure);
        $request = (new CreateCloudVmClusterRequest())
            ->setParent($formattedParent)
            ->setCloudVmClusterId($cloudVmClusterId)
            ->setCloudVmCluster($cloudVmCluster);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createCloudVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var CloudVmCluster $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $cloudVmClusterId = '[CLOUD_VM_CLUSTER_ID]';
        $formattedCloudVmClusterExadataInfrastructure = OracleDatabaseClient::cloudExadataInfrastructureName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_EXADATA_INFRASTRUCTURE]'
        );

        create_cloud_vm_cluster_sample(
            $formattedParent,
            $cloudVmClusterId,
            $formattedCloudVmClusterExadataInfrastructure
        );
    }

### createDbSystem

Creates a new DbSystem in a given project and location.

The async variant is [OracleDatabaseClient::createDbSystemAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createDbSystemAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateDbSystemRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystem>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateDbSystemRequest;
    use Google\Cloud\OracleDatabase\V1\DbSystem;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent            The value for parent of the DbSystem in the following format:
     *                                           projects/{project}/locations/{location}. Please see
     *                                           {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $dbSystemId                 The ID of the DbSystem to create. This value is
     *                                           restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                           63 characters in length. The value must start with a letter and end with a
     *                                           letter or a number.
     * @param string $formattedDbSystemOdbSubnet The name of the OdbSubnet associated with the DbSystem for IP
     *                                           allocation. Format:
     *                                           projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
     *                                           Please see {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $dbSystemDisplayName        The display name for the System db. The name does not have to
     *                                           be unique within your project.
     */
    function create_db_system_sample(
        string $formattedParent,
        string $dbSystemId,
        string $formattedDbSystemOdbSubnet,
        string $dbSystemDisplayName
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $dbSystem = (new DbSystem())
            ->setOdbSubnet($formattedDbSystemOdbSubnet)
            ->setDisplayName($dbSystemDisplayName);
        $request = (new CreateDbSystemRequest())
            ->setParent($formattedParent)
            ->setDbSystemId($dbSystemId)
            ->setDbSystem($dbSystem);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createDbSystem($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var DbSystem $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $dbSystemId = '[DB_SYSTEM_ID]';
        $formattedDbSystemOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $dbSystemDisplayName = '[DISPLAY_NAME]';

        create_db_system_sample(
            $formattedParent,
            $dbSystemId,
            $formattedDbSystemOdbSubnet,
            $dbSystemDisplayName
        );
    }

### createExadbVmCluster

Creates a new Exadb (Exascale) VM Cluster resource.

The async variant is [OracleDatabaseClient::createExadbVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createExadbVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateExadbVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExadbVmCluster>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateExadbVmClusterRequest;
    use Google\Cloud\OracleDatabase\V1\ExadbVmCluster;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterProperties;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterProperties\ShapeAttribute;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterStorageDetails;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                                             The value for parent of the ExadbVmCluster in the following
     *                                                                            format: projects/{project}/locations/{location}. Please see
     *                                                                            {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $exadbVmClusterId                                            The ID of the ExadbVmCluster to create. This value is
     *                                                                            restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                                                            63 characters in length. The value must start with a letter and end with a
     *                                                                            letter or a number.
     * @param string $exadbVmClusterPropertiesGridImageId                         Immutable. Grid Infrastructure Version.
     * @param int    $exadbVmClusterPropertiesNodeCount                           The number of nodes/VMs in the ExadbVmCluster.
     * @param int    $exadbVmClusterPropertiesEnabledEcpuCountPerNode             Immutable. The number of ECPUs enabled per node for an exadata vm
     *                                                                            cluster on exascale infrastructure.
     * @param int    $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode The storage allocation for the exadbvmcluster per node, in
     *                                                                            gigabytes (GB). This field is used to calculate the total storage
     *                                                                            allocation for the exadbvmcluster.
     * @param string $formattedExadbVmClusterPropertiesExascaleDbStorageVault     Immutable. The name of ExascaleDbStorageVault associated with the
     *                                                                            ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a
     *                                                                            new one can be created during the ExadbVmCluster creation (requires
     *                                                                            storage_vault_properties to be set).
     *                                                                            Format:
     *                                                                            projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
     *                                                                            Please see {@see OracleDatabaseClient::exascaleDbStorageVaultName()} for help formatting this field.
     * @param string $exadbVmClusterPropertiesHostnamePrefix                      Immutable. Prefix for VM cluster host names.
     * @param string $exadbVmClusterPropertiesSshPublicKeysElement                Immutable. The SSH public keys for the ExadbVmCluster.
     * @param int    $exadbVmClusterPropertiesShapeAttribute                      Immutable. The shape attribute of the VM cluster. The type of
     *                                                                            Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
     *                                                                            which supports Oracle Database 23ai and later
     * @param string $formattedExadbVmClusterOdbSubnet                            Immutable. The name of the OdbSubnet associated with the
     *                                                                            ExadbVmCluster for IP allocation. Format:
     *                                                                            projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
     *                                                                            Please see {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $formattedExadbVmClusterBackupOdbSubnet                      Immutable. The name of the backup OdbSubnet associated with the
     *                                                                            ExadbVmCluster. Format:
     *                                                                            projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
     *                                                                            Please see {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $exadbVmClusterDisplayName                                   Immutable. The display name for the ExadbVmCluster. The name does
     *                                                                            not have to be unique within your project. The name must be 1-255
     *                                                                            characters long and can only contain alphanumeric characters.
     */
    function create_exadb_vm_cluster_sample(
        string $formattedParent,
        string $exadbVmClusterId,
        string $exadbVmClusterPropertiesGridImageId,
        int $exadbVmClusterPropertiesNodeCount,
        int $exadbVmClusterPropertiesEnabledEcpuCountPerNode,
        int $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode,
        string $formattedExadbVmClusterPropertiesExascaleDbStorageVault,
        string $exadbVmClusterPropertiesHostnamePrefix,
        string $exadbVmClusterPropertiesSshPublicKeysElement,
        int $exadbVmClusterPropertiesShapeAttribute,
        string $formattedExadbVmClusterOdbSubnet,
        string $formattedExadbVmClusterBackupOdbSubnet,
        string $exadbVmClusterDisplayName
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $exadbVmClusterPropertiesVmFileSystemStorage = (new ExadbVmClusterStorageDetails())
            ->setSizeInGbsPerNode($exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode);
        $exadbVmClusterPropertiesSshPublicKeys = [$exadbVmClusterPropertiesSshPublicKeysElement];
        $exadbVmClusterProperties = (new ExadbVmClusterProperties())
            ->setGridImageId($exadbVmClusterPropertiesGridImageId)
            ->setNodeCount($exadbVmClusterPropertiesNodeCount)
            ->setEnabledEcpuCountPerNode($exadbVmClusterPropertiesEnabledEcpuCountPerNode)
            ->setVmFileSystemStorage($exadbVmClusterPropertiesVmFileSystemStorage)
            ->setExascaleDbStorageVault($formattedExadbVmClusterPropertiesExascaleDbStorageVault)
            ->setHostnamePrefix($exadbVmClusterPropertiesHostnamePrefix)
            ->setSshPublicKeys($exadbVmClusterPropertiesSshPublicKeys)
            ->setShapeAttribute($exadbVmClusterPropertiesShapeAttribute);
        $exadbVmCluster = (new ExadbVmCluster())
            ->setProperties($exadbVmClusterProperties)
            ->setOdbSubnet($formattedExadbVmClusterOdbSubnet)
            ->setBackupOdbSubnet($formattedExadbVmClusterBackupOdbSubnet)
            ->setDisplayName($exadbVmClusterDisplayName);
        $request = (new CreateExadbVmClusterRequest())
            ->setParent($formattedParent)
            ->setExadbVmClusterId($exadbVmClusterId)
            ->setExadbVmCluster($exadbVmCluster);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createExadbVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var ExadbVmCluster $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $exadbVmClusterId = '[EXADB_VM_CLUSTER_ID]';
        $exadbVmClusterPropertiesGridImageId = '[GRID_IMAGE_ID]';
        $exadbVmClusterPropertiesNodeCount = 0;
        $exadbVmClusterPropertiesEnabledEcpuCountPerNode = 0;
        $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode = 0;
        $formattedExadbVmClusterPropertiesExascaleDbStorageVault = OracleDatabaseClient::exascaleDbStorageVaultName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXASCALE_DB_STORAGE_VAULT]'
        );
        $exadbVmClusterPropertiesHostnamePrefix = '[HOSTNAME_PREFIX]';
        $exadbVmClusterPropertiesSshPublicKeysElement = '[SSH_PUBLIC_KEYS]';
        $exadbVmClusterPropertiesShapeAttribute = ShapeAttribute::SHAPE_ATTRIBUTE_UNSPECIFIED;
        $formattedExadbVmClusterOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $formattedExadbVmClusterBackupOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $exadbVmClusterDisplayName = '[DISPLAY_NAME]';

        create_exadb_vm_cluster_sample(
            $formattedParent,
            $exadbVmClusterId,
            $exadbVmClusterPropertiesGridImageId,
            $exadbVmClusterPropertiesNodeCount,
            $exadbVmClusterPropertiesEnabledEcpuCountPerNode,
            $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode,
            $formattedExadbVmClusterPropertiesExascaleDbStorageVault,
            $exadbVmClusterPropertiesHostnamePrefix,
            $exadbVmClusterPropertiesSshPublicKeysElement,
            $exadbVmClusterPropertiesShapeAttribute,
            $formattedExadbVmClusterOdbSubnet,
            $formattedExadbVmClusterBackupOdbSubnet,
            $exadbVmClusterDisplayName
        );
    }

### createExascaleDbStorageVault

Creates a new ExascaleDB Storage Vault resource.

The async variant is
[OracleDatabaseClient::createExascaleDbStorageVaultAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createExascaleDbStorageVaultAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateExascaleDbStorageVaultRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExascaleDbStorageVault>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateExascaleDbStorageVaultRequest;
    use Google\Cloud\OracleDatabase\V1\ExascaleDbStorageDetails;
    use Google\Cloud\OracleDatabase\V1\ExascaleDbStorageVault;
    use Google\Cloud\OracleDatabase\V1\ExascaleDbStorageVaultProperties;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                                                      The value for parent of the ExascaleDbStorageVault in the
     *                                                                                     following format: projects/{project}/locations/{location}. Please see
     *                                                                                     {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $exascaleDbStorageVaultId                                             The ID of the ExascaleDbStorageVault to create. This value is
     *                                                                                     restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                                                                     63 characters in length. The value must start with a letter and end with a
     *                                                                                     letter or a number.
     * @param string $exascaleDbStorageVaultDisplayName                                    The display name for the ExascaleDbStorageVault. The name does
     *                                                                                     not have to be unique within your project. The name must be 1-255
     *                                                                                     characters long and can only contain alphanumeric characters.
     * @param int    $exascaleDbStorageVaultPropertiesExascaleDbStorageDetailsTotalSizeGbs The total storage allocation for the ExascaleDbStorageVault, in
     *                                                                                     gigabytes (GB).
     */
    function create_exascale_db_storage_vault_sample(
        string $formattedParent,
        string $exascaleDbStorageVaultId,
        string $exascaleDbStorageVaultDisplayName,
        int $exascaleDbStorageVaultPropertiesExascaleDbStorageDetailsTotalSizeGbs
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $exascaleDbStorageVaultPropertiesExascaleDbStorageDetails = (new ExascaleDbStorageDetails())
            ->setTotalSizeGbs($exascaleDbStorageVaultPropertiesExascaleDbStorageDetailsTotalSizeGbs);
        $exascaleDbStorageVaultProperties = (new ExascaleDbStorageVaultProperties())
            ->setExascaleDbStorageDetails($exascaleDbStorageVaultPropertiesExascaleDbStorageDetails);
        $exascaleDbStorageVault = (new ExascaleDbStorageVault())
            ->setDisplayName($exascaleDbStorageVaultDisplayName)
            ->setProperties($exascaleDbStorageVaultProperties);
        $request = (new CreateExascaleDbStorageVaultRequest())
            ->setParent($formattedParent)
            ->setExascaleDbStorageVaultId($exascaleDbStorageVaultId)
            ->setExascaleDbStorageVault($exascaleDbStorageVault);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createExascaleDbStorageVault($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var ExascaleDbStorageVault $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $exascaleDbStorageVaultId = '[EXASCALE_DB_STORAGE_VAULT_ID]';
        $exascaleDbStorageVaultDisplayName = '[DISPLAY_NAME]';
        $exascaleDbStorageVaultPropertiesExascaleDbStorageDetailsTotalSizeGbs = 0;

        create_exascale_db_storage_vault_sample(
            $formattedParent,
            $exascaleDbStorageVaultId,
            $exascaleDbStorageVaultDisplayName,
            $exascaleDbStorageVaultPropertiesExascaleDbStorageDetailsTotalSizeGbs
        );
    }

### createGoldengateConnection

Creates a new GoldengateConnection in a given project and location.

The async variant is
[OracleDatabaseClient::createGoldengateConnectionAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createGoldengateConnectionAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateConnectionRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnection>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateGoldengateConnectionRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnection;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionProperties;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionProperties\GoldengateConnectionType;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                              The value for parent of the GoldengateConnection in the following
     *                                                             format: projects/{project}/locations/{location}. Please see
     *                                                             {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $goldengateConnectionId                       The ID of the GoldengateConnection to create. This value is
     *                                                             restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                                             63 characters in length. The value must start with a letter and end with a
     *                                                             letter or a number.
     * @param int    $goldengateConnectionPropertiesConnectionType The connection type.
     * @param string $goldengateConnectionPropertiesDisplayName    An object's Display Name.
     */
    function create_goldengate_connection_sample(
        string $formattedParent,
        string $goldengateConnectionId,
        int $goldengateConnectionPropertiesConnectionType,
        string $goldengateConnectionPropertiesDisplayName
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $goldengateConnectionProperties = (new GoldengateConnectionProperties())
            ->setConnectionType($goldengateConnectionPropertiesConnectionType)
            ->setDisplayName($goldengateConnectionPropertiesDisplayName);
        $goldengateConnection = (new GoldengateConnection())
            ->setProperties($goldengateConnectionProperties);
        $request = (new CreateGoldengateConnectionRequest())
            ->setParent($formattedParent)
            ->setGoldengateConnectionId($goldengateConnectionId)
            ->setGoldengateConnection($goldengateConnection);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createGoldengateConnection($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var GoldengateConnection $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $goldengateConnectionId = '[GOLDENGATE_CONNECTION_ID]';
        $goldengateConnectionPropertiesConnectionType = GoldengateConnectionType::GOLDENGATE_CONNECTION_TYPE_UNSPECIFIED;
        $goldengateConnectionPropertiesDisplayName = '[DISPLAY_NAME]';

        create_goldengate_connection_sample(
            $formattedParent,
            $goldengateConnectionId,
            $goldengateConnectionPropertiesConnectionType,
            $goldengateConnectionPropertiesDisplayName
        );
    }

### createGoldengateConnectionAssignment

Creates a new GoldengateConnectionAssignment in a given project and
location.

The async variant is
[OracleDatabaseClient::createGoldengateConnectionAssignmentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createGoldengateConnectionAssignmentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateConnectionAssignmentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnectionAssignment>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateGoldengateConnectionAssignmentRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionAssignment;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionAssignmentProperties;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                                                       The parent resource where this GoldengateConnectionAssignment
     *                                                                                      will be created. Format: projects/{project}/locations/{location}
     *                                                                                      Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $goldengateConnectionAssignmentId                                      The ID of the GoldengateConnectionAssignment to create.
     * @param string $formattedGoldengateConnectionAssignmentPropertiesGoldengateConnection The GoldengateConnection resource to be assigned.
     *                                                                                      Format:
     *                                                                                      projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
     *                                                                                      Please see {@see OracleDatabaseClient::goldengateConnectionName()} for help formatting this field.
     * @param string $formattedGoldengateConnectionAssignmentPropertiesGoldengateDeployment The GoldenGateDeployment to assign the connection to.
     *                                                                                      Format:
     *                                                                                      projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
     *                                                                                      Please see {@see OracleDatabaseClient::goldengateDeploymentName()} for help formatting this field.
     */
    function create_goldengate_connection_assignment_sample(
        string $formattedParent,
        string $goldengateConnectionAssignmentId,
        string $formattedGoldengateConnectionAssignmentPropertiesGoldengateConnection,
        string $formattedGoldengateConnectionAssignmentPropertiesGoldengateDeployment
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $goldengateConnectionAssignmentProperties = (new GoldengateConnectionAssignmentProperties())
            ->setGoldengateConnection($formattedGoldengateConnectionAssignmentPropertiesGoldengateConnection)
            ->setGoldengateDeployment($formattedGoldengateConnectionAssignmentPropertiesGoldengateDeployment);
        $goldengateConnectionAssignment = (new GoldengateConnectionAssignment())
            ->setProperties($goldengateConnectionAssignmentProperties);
        $request = (new CreateGoldengateConnectionAssignmentRequest())
            ->setParent($formattedParent)
            ->setGoldengateConnectionAssignmentId($goldengateConnectionAssignmentId)
            ->setGoldengateConnectionAssignment($goldengateConnectionAssignment);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createGoldengateConnectionAssignment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var GoldengateConnectionAssignment $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $goldengateConnectionAssignmentId = '[GOLDENGATE_CONNECTION_ASSIGNMENT_ID]';
        $formattedGoldengateConnectionAssignmentPropertiesGoldengateConnection = OracleDatabaseClient::goldengateConnectionName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION]'
        );
        $formattedGoldengateConnectionAssignmentPropertiesGoldengateDeployment = OracleDatabaseClient::goldengateDeploymentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_DEPLOYMENT]'
        );

        create_goldengate_connection_assignment_sample(
            $formattedParent,
            $goldengateConnectionAssignmentId,
            $formattedGoldengateConnectionAssignmentPropertiesGoldengateConnection,
            $formattedGoldengateConnectionAssignmentPropertiesGoldengateDeployment
        );
    }

### createGoldengateDeployment

Creates a new GoldengateDeployment in a given project and location.

The async variant is
[OracleDatabaseClient::createGoldengateDeploymentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createGoldengateDeploymentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateDeploymentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateDeployment>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateGoldengateDeploymentRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeployment;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeploymentProperties;
    use Google\Cloud\OracleDatabase\V1\GoldengateOggDeployment;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent                                    The value for parent of the GoldengateDeployment in the following
     *                                                                   format: projects/{project}/locations/{location}. Please see
     *                                                                   {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $goldengateDeploymentId                             The ID of the GoldengateDeployment to create. This value is
     *                                                                   restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
     *                                                                   63 characters in length. The value must start with a letter and end with a
     *                                                                   letter or a number.
     * @param string $goldengateDeploymentPropertiesDeploymentType       A valid Goldengate Deployment type. For a list of supported
     *                                                                   types, use the `ListGoldengateDeploymentTypes` operation.
     * @param string $goldengateDeploymentPropertiesOggDataDeployment    The name given to the Goldengate service deployment. The name
     *                                                                   must be 1 to 32 characters long, must contain only alphanumeric characters
     *                                                                   and must start with a letter.
     * @param string $goldengateDeploymentPropertiesOggDataAdminUsername The Goldengate deployment console username.
     * @param string $formattedGoldengateDeploymentOdbSubnet             The name of the OdbSubnet associated with the
     *                                                                   GoldengateDeployment for IP allocation. Please see
     *                                                                   {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $goldengateDeploymentDisplayName                    The display name for the GoldengateDeployment.
     */
    function create_goldengate_deployment_sample(
        string $formattedParent,
        string $goldengateDeploymentId,
        string $goldengateDeploymentPropertiesDeploymentType,
        string $goldengateDeploymentPropertiesOggDataDeployment,
        string $goldengateDeploymentPropertiesOggDataAdminUsername,
        string $formattedGoldengateDeploymentOdbSubnet,
        string $goldengateDeploymentDisplayName
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $goldengateDeploymentPropertiesOggData = (new GoldengateOggDeployment())
            ->setDeployment($goldengateDeploymentPropertiesOggDataDeployment)
            ->setAdminUsername($goldengateDeploymentPropertiesOggDataAdminUsername);
        $goldengateDeploymentProperties = (new GoldengateDeploymentProperties())
            ->setDeploymentType($goldengateDeploymentPropertiesDeploymentType)
            ->setOggData($goldengateDeploymentPropertiesOggData);
        $goldengateDeployment = (new GoldengateDeployment())
            ->setProperties($goldengateDeploymentProperties)
            ->setOdbSubnet($formattedGoldengateDeploymentOdbSubnet)
            ->setDisplayName($goldengateDeploymentDisplayName);
        $request = (new CreateGoldengateDeploymentRequest())
            ->setParent($formattedParent)
            ->setGoldengateDeploymentId($goldengateDeploymentId)
            ->setGoldengateDeployment($goldengateDeployment);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createGoldengateDeployment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var GoldengateDeployment $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $goldengateDeploymentId = '[GOLDENGATE_DEPLOYMENT_ID]';
        $goldengateDeploymentPropertiesDeploymentType = '[DEPLOYMENT_TYPE]';
        $goldengateDeploymentPropertiesOggDataDeployment = '[DEPLOYMENT]';
        $goldengateDeploymentPropertiesOggDataAdminUsername = '[ADMIN_USERNAME]';
        $formattedGoldengateDeploymentOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $goldengateDeploymentDisplayName = '[DISPLAY_NAME]';

        create_goldengate_deployment_sample(
            $formattedParent,
            $goldengateDeploymentId,
            $goldengateDeploymentPropertiesDeploymentType,
            $goldengateDeploymentPropertiesOggDataDeployment,
            $goldengateDeploymentPropertiesOggDataAdminUsername,
            $formattedGoldengateDeploymentOdbSubnet,
            $goldengateDeploymentDisplayName
        );
    }

### createOdbDnsZone

Creates a new ODB DNS Zone in a given ODB Network.

The async variant is [OracleDatabaseClient::createOdbDnsZoneAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createOdbDnsZoneAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbDnsZoneRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbDnsZone>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateOdbDnsZoneRequest;
    use Google\Cloud\OracleDatabase\V1\OdbDnsZone;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent  The parent value for the OdbDnsZone in the following format:
     *                                 projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                                 {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     * @param string $odbDnsZoneId     The ID of the OdbDnsZone to create. This value is restricted
     *                                 to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
     *                                 characters in length. The value must start with a letter and end with
     *                                 a letter or a number.
     * @param string $odbDnsZoneDomain Immutable. The DNS suffix for the zone.
     *                                 Ex: abc.example.com.
     */
    function create_odb_dns_zone_sample(
        string $formattedParent,
        string $odbDnsZoneId,
        string $odbDnsZoneDomain
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $odbDnsZone = (new OdbDnsZone())
            ->setDomain($odbDnsZoneDomain);
        $request = (new CreateOdbDnsZoneRequest())
            ->setParent($formattedParent)
            ->setOdbDnsZoneId($odbDnsZoneId)
            ->setOdbDnsZone($odbDnsZone);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createOdbDnsZone($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var OdbDnsZone $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');
        $odbDnsZoneId = '[ODB_DNS_ZONE_ID]';
        $odbDnsZoneDomain = '[DOMAIN]';

        create_odb_dns_zone_sample($formattedParent, $odbDnsZoneId, $odbDnsZoneDomain);
    }

### createOdbNetwork

Creates a new ODB Network in a given project and location.

The async variant is [OracleDatabaseClient::createOdbNetworkAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createOdbNetworkAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbNetworkRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbNetwork>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateOdbNetworkRequest;
    use Google\Cloud\OracleDatabase\V1\OdbNetwork;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent            The parent value for the OdbNetwork in the following format:
     *                                           projects/{project}/locations/{location}. Please see
     *                                           {@see OracleDatabaseClient::locationName()} for help formatting this field.
     * @param string $odbNetworkId               The ID of the OdbNetwork to create. This value is restricted
     *                                           to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
     *                                           characters in length. The value must start with a letter and end with
     *                                           a letter or a number.
     * @param string $formattedOdbNetworkNetwork The name of the VPC network in the following format:
     *                                           projects/{project}/global/networks/{network}
     *                                           Please see {@see OracleDatabaseClient::networkName()} for help formatting this field.
     */
    function create_odb_network_sample(
        string $formattedParent,
        string $odbNetworkId,
        string $formattedOdbNetworkNetwork
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $odbNetwork = (new OdbNetwork())
            ->setNetwork($formattedOdbNetworkNetwork);
        $request = (new CreateOdbNetworkRequest())
            ->setParent($formattedParent)
            ->setOdbNetworkId($odbNetworkId)
            ->setOdbNetwork($odbNetwork);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createOdbNetwork($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var OdbNetwork $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');
        $odbNetworkId = '[ODB_NETWORK_ID]';
        $formattedOdbNetworkNetwork = OracleDatabaseClient::networkName('[PROJECT]', '[NETWORK]');

        create_odb_network_sample($formattedParent, $odbNetworkId, $formattedOdbNetworkNetwork);
    }

### createOdbSubnet

Creates a new ODB Subnet in a given ODB Network.

The async variant is [OracleDatabaseClient::createOdbSubnetAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__createOdbSubnetAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbSubnetRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbSubnet>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CreateOdbSubnetRequest;
    use Google\Cloud\OracleDatabase\V1\OdbSubnet;
    use Google\Cloud\OracleDatabase\V1\OdbSubnet\Purpose;
    use Google\Rpc\Status;

    /**
     * @param string $formattedParent    The parent value for the OdbSubnet in the following format:
     *                                   projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                                   {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     * @param string $odbSubnetId        The ID of the OdbSubnet to create. This value is restricted
     *                                   to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of 63
     *                                   characters in length. The value must start with a letter and end with
     *                                   a letter or a number.
     * @param string $odbSubnetCidrRange The CIDR range of the subnet.
     * @param int    $odbSubnetPurpose   Purpose of the subnet.
     */
    function create_odb_subnet_sample(
        string $formattedParent,
        string $odbSubnetId,
        string $odbSubnetCidrRange,
        int $odbSubnetPurpose
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $odbSubnet = (new OdbSubnet())
            ->setCidrRange($odbSubnetCidrRange)
            ->setPurpose($odbSubnetPurpose);
        $request = (new CreateOdbSubnetRequest())
            ->setParent($formattedParent)
            ->setOdbSubnetId($odbSubnetId)
            ->setOdbSubnet($odbSubnet);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->createOdbSubnet($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var OdbSubnet $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');
        $odbSubnetId = '[ODB_SUBNET_ID]';
        $odbSubnetCidrRange = '[CIDR_RANGE]';
        $odbSubnetPurpose = Purpose::PURPOSE_UNSPECIFIED;

        create_odb_subnet_sample($formattedParent, $odbSubnetId, $odbSubnetCidrRange, $odbSubnetPurpose);
    }

### deleteAutonomousDatabase

Deletes a single Autonomous Database.

The async variant is
[OracleDatabaseClient::deleteAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the resource in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function delete_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        delete_autonomous_database_sample($formattedName);
    }

### deleteCloudExadataInfrastructure

Deletes a single Exadata Infrastructure.

The async variant is
[OracleDatabaseClient::deleteCloudExadataInfrastructureAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteCloudExadataInfrastructureAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteCloudExadataInfrastructureRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteCloudExadataInfrastructureRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Cloud Exadata Infrastructure in the following
     *                              format:
     *                              projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. Please see
     *                              {@see OracleDatabaseClient::cloudExadataInfrastructureName()} for help formatting this field.
     */
    function delete_cloud_exadata_infrastructure_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteCloudExadataInfrastructureRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteCloudExadataInfrastructure($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::cloudExadataInfrastructureName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_EXADATA_INFRASTRUCTURE]'
        );

        delete_cloud_exadata_infrastructure_sample($formattedName);
    }

### deleteCloudVmCluster

Deletes a single VM Cluster.

The async variant is [OracleDatabaseClient::deleteCloudVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteCloudVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteCloudVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteCloudVmClusterRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Cloud VM Cluster in the following format:
     *                              projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. Please see
     *                              {@see OracleDatabaseClient::cloudVmClusterName()} for help formatting this field.
     */
    function delete_cloud_vm_cluster_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteCloudVmClusterRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteCloudVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::cloudVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_VM_CLUSTER]'
        );

        delete_cloud_vm_cluster_sample($formattedName);
    }

### deleteDbSystem

Deletes a single DbSystem.

The async variant is [OracleDatabaseClient::deleteDbSystemAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteDbSystemAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteDbSystemRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteDbSystemRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the DbSystem in the following format:
     *                              projects/{project}/locations/{location}/dbSystems/{db_system}. Please see
     *                              {@see OracleDatabaseClient::dbSystemName()} for help formatting this field.
     */
    function delete_db_system_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteDbSystemRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteDbSystem($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::dbSystemName('[PROJECT]', '[LOCATION]', '[DB_SYSTEM]');

        delete_db_system_sample($formattedName);
    }

### deleteExadbVmCluster

Deletes a single Exadb (Exascale) VM Cluster.

The async variant is [OracleDatabaseClient::deleteExadbVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteExadbVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteExadbVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteExadbVmClusterRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the ExadbVmCluster in the following format:
     *                              projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. Please see
     *                              {@see OracleDatabaseClient::exadbVmClusterName()} for help formatting this field.
     */
    function delete_exadb_vm_cluster_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteExadbVmClusterRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteExadbVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::exadbVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXADB_VM_CLUSTER]'
        );

        delete_exadb_vm_cluster_sample($formattedName);
    }

### deleteExascaleDbStorageVault

Deletes a single ExascaleDB Storage Vault.

The async variant is
[OracleDatabaseClient::deleteExascaleDbStorageVaultAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteExascaleDbStorageVaultAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteExascaleDbStorageVaultRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteExascaleDbStorageVaultRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the ExascaleDbStorageVault in the following format:
     *                              projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. Please see
     *                              {@see OracleDatabaseClient::exascaleDbStorageVaultName()} for help formatting this field.
     */
    function delete_exascale_db_storage_vault_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteExascaleDbStorageVaultRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteExascaleDbStorageVault($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::exascaleDbStorageVaultName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXASCALE_DB_STORAGE_VAULT]'
        );

        delete_exascale_db_storage_vault_sample($formattedName);
    }

### deleteGoldengateConnection

Deletes a single GoldengateConnection.

The async variant is
[OracleDatabaseClient::deleteGoldengateConnectionAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteGoldengateConnectionAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateConnectionRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteGoldengateConnectionRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the GoldengateConnection in the following format:
     *                              projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. Please see
     *                              {@see OracleDatabaseClient::goldengateConnectionName()} for help formatting this field.
     */
    function delete_goldengate_connection_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteGoldengateConnectionRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteGoldengateConnection($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateConnectionName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION]'
        );

        delete_goldengate_connection_sample($formattedName);
    }

### deleteGoldengateConnectionAssignment

Deletes a single GoldengateConnectionAssignment.

The async variant is
[OracleDatabaseClient::deleteGoldengateConnectionAssignmentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteGoldengateConnectionAssignmentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateConnectionAssignmentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteGoldengateConnectionAssignmentRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the GoldengateConnectionAssignment to delete.
     *                              Format:
     *                              projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}
     *                              Please see {@see OracleDatabaseClient::goldengateConnectionAssignmentName()} for help formatting this field.
     */
    function delete_goldengate_connection_assignment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteGoldengateConnectionAssignmentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteGoldengateConnectionAssignment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateConnectionAssignmentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION_ASSIGNMENT]'
        );

        delete_goldengate_connection_assignment_sample($formattedName);
    }

### deleteGoldengateDeployment

Deletes a single GoldengateDeployment.

The async variant is
[OracleDatabaseClient::deleteGoldengateDeploymentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteGoldengateDeploymentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateDeploymentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteGoldengateDeploymentRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the GoldengateDeployment in the following format:
     *                              projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. Please see
     *                              {@see OracleDatabaseClient::goldengateDeploymentName()} for help formatting this field.
     */
    function delete_goldengate_deployment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteGoldengateDeploymentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteGoldengateDeployment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateDeploymentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_DEPLOYMENT]'
        );

        delete_goldengate_deployment_sample($formattedName);
    }

### deleteOdbDnsZone

Deletes a single ODB DNS Zone.

The async variant is [OracleDatabaseClient::deleteOdbDnsZoneAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteOdbDnsZoneAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbDnsZoneRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteOdbDnsZoneRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the resource in the following format:
     *                              projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. Please see
     *                              {@see OracleDatabaseClient::odbDnsZoneName()} for help formatting this field.
     */
    function delete_odb_dns_zone_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteOdbDnsZoneRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteOdbDnsZone($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbDnsZoneName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_DNS_ZONE]'
        );

        delete_odb_dns_zone_sample($formattedName);
    }

### deleteOdbNetwork

Deletes a single ODB Network.

The async variant is [OracleDatabaseClient::deleteOdbNetworkAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteOdbNetworkAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbNetworkRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteOdbNetworkRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the resource in the following format:
     *                              projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                              {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     */
    function delete_odb_network_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteOdbNetworkRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteOdbNetwork($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');

        delete_odb_network_sample($formattedName);
    }

### deleteOdbSubnet

Deletes a single ODB Subnet.

The async variant is [OracleDatabaseClient::deleteOdbSubnetAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__deleteOdbSubnetAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbSubnetRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<null>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DeleteOdbSubnetRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the resource in the following format:
     *                              projects/{project}/locations/{region}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. Please see
     *                              {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     */
    function delete_odb_subnet_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new DeleteOdbSubnetRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->deleteOdbSubnet($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                printf('Operation completed successfully.' . PHP_EOL);
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );

        delete_odb_subnet_sample($formattedName);
    }

### failoverAutonomousDatabase

Initiates a failover to target autonomous database from the associated
primary database.

The async variant is
[OracleDatabaseClient::failoverAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__failoverAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.FailoverAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\FailoverAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function failover_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new FailoverAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->failoverAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        failover_autonomous_database_sample($formattedName);
    }

### generateAutonomousDatabaseWallet

Generates a wallet for an Autonomous Database.

The async variant is
[OracleDatabaseClient::generateAutonomousDatabaseWalletAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__generateAutonomousDatabaseWalletAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GenerateAutonomousDatabaseWalletRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GenerateAutonomousDatabaseWalletResponse` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GenerateAutonomousDatabaseWalletRequest;
    use Google\Cloud\OracleDatabase\V1\GenerateAutonomousDatabaseWalletResponse;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     * @param string $password      The password used to encrypt the keys inside the wallet. The
     *                              password must be a minimum of 8 characters.
     */
    function generate_autonomous_database_wallet_sample(string $formattedName, string $password): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GenerateAutonomousDatabaseWalletRequest())
            ->setName($formattedName)
            ->setPassword($password);

        // Call the API and handle any network failures.
        try {
            /** @var GenerateAutonomousDatabaseWalletResponse $response */
            $response = $oracleDatabaseClient->generateAutonomousDatabaseWallet($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );
        $password = '[PASSWORD]';

        generate_autonomous_database_wallet_sample($formattedName, $password);
    }

### getAutonomousDatabase

Gets the details of a single Autonomous Database.

The async variant is [OracleDatabaseClient::getAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetAutonomousDatabaseRequest;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function get_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var AutonomousDatabase $response */
            $response = $oracleDatabaseClient->getAutonomousDatabase($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        get_autonomous_database_sample($formattedName);
    }

### getAutonomousDatabaseRefreshableClones

Gets the refreshable clones for a given Autonomous Database.

The async variant is
[OracleDatabaseClient::getAutonomousDatabaseRefreshableClonesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getAutonomousDatabaseRefreshableClonesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetAutonomousDatabaseRefreshableClonesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabaseRefreshableClones` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabaseRefreshableClones;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetAutonomousDatabaseRefreshableClonesRequest;

    /**
     * @param string $formattedName The Autonomous Database resource whose refreshable clones are to
     *                              be listed. Format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
     *                              Please see {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function get_autonomous_database_refreshable_clones_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetAutonomousDatabaseRefreshableClonesRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var AutonomousDatabaseRefreshableClones $response */
            $response = $oracleDatabaseClient->getAutonomousDatabaseRefreshableClones($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        get_autonomous_database_refreshable_clones_sample($formattedName);
    }

### getCloudExadataInfrastructure

Gets details of a single Exadata Infrastructure.

The async variant is
[OracleDatabaseClient::getCloudExadataInfrastructureAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getCloudExadataInfrastructureAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetCloudExadataInfrastructureRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudExadataInfrastructure` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudExadataInfrastructure;
    use Google\Cloud\OracleDatabase\V1\GetCloudExadataInfrastructureRequest;

    /**
     * @param string $formattedName The name of the Cloud Exadata Infrastructure in the following
     *                              format:
     *                              projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}. Please see
     *                              {@see OracleDatabaseClient::cloudExadataInfrastructureName()} for help formatting this field.
     */
    function get_cloud_exadata_infrastructure_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetCloudExadataInfrastructureRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var CloudExadataInfrastructure $response */
            $response = $oracleDatabaseClient->getCloudExadataInfrastructure($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::cloudExadataInfrastructureName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_EXADATA_INFRASTRUCTURE]'
        );

        get_cloud_exadata_infrastructure_sample($formattedName);
    }

### getCloudVmCluster

Gets details of a single VM Cluster.

The async variant is [OracleDatabaseClient::getCloudVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getCloudVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetCloudVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudVmCluster` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudVmCluster;
    use Google\Cloud\OracleDatabase\V1\GetCloudVmClusterRequest;

    /**
     * @param string $formattedName The name of the Cloud VM Cluster in the following format:
     *                              projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}. Please see
     *                              {@see OracleDatabaseClient::cloudVmClusterName()} for help formatting this field.
     */
    function get_cloud_vm_cluster_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetCloudVmClusterRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var CloudVmCluster $response */
            $response = $oracleDatabaseClient->getCloudVmCluster($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::cloudVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_VM_CLUSTER]'
        );

        get_cloud_vm_cluster_sample($formattedName);
    }

### getDatabase

Gets details of a single Database.

The async variant is [OracleDatabaseClient::getDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Database` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\Database;
    use Google\Cloud\OracleDatabase\V1\GetDatabaseRequest;

    /**
     * @param string $formattedName The name of the Database resource in the following format:
     *                              projects/{project}/locations/{region}/databases/{database}
     *                              Please see {@see OracleDatabaseClient::databaseName()} for help formatting this field.
     */
    function get_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var Database $response */
            $response = $oracleDatabaseClient->getDatabase($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::databaseName('[PROJECT]', '[LOCATION]', '[DATABASE]');

        get_database_sample($formattedName);
    }

### getDbSystem

Gets details of a single DbSystem.

The async variant is [OracleDatabaseClient::getDbSystemAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getDbSystemAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetDbSystemRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystem` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbSystem;
    use Google\Cloud\OracleDatabase\V1\GetDbSystemRequest;

    /**
     * @param string $formattedName The name of the DbSystem in the following format:
     *                              projects/{project}/locations/{location}/dbSystems/{db_system}. Please see
     *                              {@see OracleDatabaseClient::dbSystemName()} for help formatting this field.
     */
    function get_db_system_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetDbSystemRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var DbSystem $response */
            $response = $oracleDatabaseClient->getDbSystem($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::dbSystemName('[PROJECT]', '[LOCATION]', '[DB_SYSTEM]');

        get_db_system_sample($formattedName);
    }

### getExadbVmCluster

Gets details of a single Exadb (Exascale) VM Cluster.

The async variant is [OracleDatabaseClient::getExadbVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getExadbVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetExadbVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExadbVmCluster` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExadbVmCluster;
    use Google\Cloud\OracleDatabase\V1\GetExadbVmClusterRequest;

    /**
     * @param string $formattedName The name of the ExadbVmCluster in the following format:
     *                              projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. Please see
     *                              {@see OracleDatabaseClient::exadbVmClusterName()} for help formatting this field.
     */
    function get_exadb_vm_cluster_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetExadbVmClusterRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var ExadbVmCluster $response */
            $response = $oracleDatabaseClient->getExadbVmCluster($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::exadbVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXADB_VM_CLUSTER]'
        );

        get_exadb_vm_cluster_sample($formattedName);
    }

### getExascaleDbStorageVault

Gets details of a single ExascaleDB Storage Vault.

The async variant is
[OracleDatabaseClient::getExascaleDbStorageVaultAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getExascaleDbStorageVaultAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetExascaleDbStorageVaultRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExascaleDbStorageVault` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExascaleDbStorageVault;
    use Google\Cloud\OracleDatabase\V1\GetExascaleDbStorageVaultRequest;

    /**
     * @param string $formattedName The name of the ExascaleDbStorageVault in the following format:
     *                              projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}. Please see
     *                              {@see OracleDatabaseClient::exascaleDbStorageVaultName()} for help formatting this field.
     */
    function get_exascale_db_storage_vault_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetExascaleDbStorageVaultRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var ExascaleDbStorageVault $response */
            $response = $oracleDatabaseClient->getExascaleDbStorageVault($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::exascaleDbStorageVaultName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXASCALE_DB_STORAGE_VAULT]'
        );

        get_exascale_db_storage_vault_sample($formattedName);
    }

### getGoldengateConnection

Gets details of a single GoldengateConnection.

The async variant is [OracleDatabaseClient::getGoldengateConnectionAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getGoldengateConnectionAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateConnectionRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnection` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetGoldengateConnectionRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnection;

    /**
     * @param string $formattedName The name of the GoldengateConnection in the following format:
     *                              projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}. Please see
     *                              {@see OracleDatabaseClient::goldengateConnectionName()} for help formatting this field.
     */
    function get_goldengate_connection_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetGoldengateConnectionRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var GoldengateConnection $response */
            $response = $oracleDatabaseClient->getGoldengateConnection($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateConnectionName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION]'
        );

        get_goldengate_connection_sample($formattedName);
    }

### getGoldengateConnectionAssignment

Gets details of a single GoldengateConnectionAssignment.

The async variant is
[OracleDatabaseClient::getGoldengateConnectionAssignmentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getGoldengateConnectionAssignmentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateConnectionAssignmentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnectionAssignment` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetGoldengateConnectionAssignmentRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionAssignment;

    /**
     * @param string $formattedName The name of the GoldengateConnectionAssignment to retrieve.
     *                              Format:
     *                              projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}
     *                              Please see {@see OracleDatabaseClient::goldengateConnectionAssignmentName()} for help formatting this field.
     */
    function get_goldengate_connection_assignment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetGoldengateConnectionAssignmentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var GoldengateConnectionAssignment $response */
            $response = $oracleDatabaseClient->getGoldengateConnectionAssignment($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateConnectionAssignmentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION_ASSIGNMENT]'
        );

        get_goldengate_connection_assignment_sample($formattedName);
    }

### getGoldengateDeployment

Gets details of a single GoldengateDeployment.

The async variant is [OracleDatabaseClient::getGoldengateDeploymentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getGoldengateDeploymentAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateDeploymentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateDeployment` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetGoldengateDeploymentRequest;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeployment;

    /**
     * @param string $formattedName The name of the GoldengateDeployment in the following format:
     *                              projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. Please see
     *                              {@see OracleDatabaseClient::goldengateDeploymentName()} for help formatting this field.
     */
    function get_goldengate_deployment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetGoldengateDeploymentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var GoldengateDeployment $response */
            $response = $oracleDatabaseClient->getGoldengateDeployment($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateDeploymentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_DEPLOYMENT]'
        );

        get_goldengate_deployment_sample($formattedName);
    }

### getOdbDnsZone

Gets details of a single ODB DNS Zone.

The async variant is [OracleDatabaseClient::getOdbDnsZoneAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getOdbDnsZoneAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbDnsZoneRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbDnsZone` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetOdbDnsZoneRequest;
    use Google\Cloud\OracleDatabase\V1\OdbDnsZone;

    /**
     * @param string $formattedName The name of the OdbDnsZone in the following format:
     *                              projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}. Please see
     *                              {@see OracleDatabaseClient::odbDnsZoneName()} for help formatting this field.
     */
    function get_odb_dns_zone_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetOdbDnsZoneRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OdbDnsZone $response */
            $response = $oracleDatabaseClient->getOdbDnsZone($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbDnsZoneName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_DNS_ZONE]'
        );

        get_odb_dns_zone_sample($formattedName);
    }

### getOdbNetwork

Gets details of a single ODB Network.

The async variant is [OracleDatabaseClient::getOdbNetworkAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getOdbNetworkAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbNetworkRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbNetwork` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetOdbNetworkRequest;
    use Google\Cloud\OracleDatabase\V1\OdbNetwork;

    /**
     * @param string $formattedName The name of the OdbNetwork in the following format:
     *                              projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                              {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     */
    function get_odb_network_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetOdbNetworkRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OdbNetwork $response */
            $response = $oracleDatabaseClient->getOdbNetwork($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');

        get_odb_network_sample($formattedName);
    }

### getOdbSubnet

Gets details of a single ODB Subnet.

The async variant is [OracleDatabaseClient::getOdbSubnetAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getOdbSubnetAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbSubnetRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbSubnet` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetOdbSubnetRequest;
    use Google\Cloud\OracleDatabase\V1\OdbSubnet;

    /**
     * @param string $formattedName The name of the OdbSubnet in the following format:
     *                              projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}. Please see
     *                              {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     */
    function get_odb_subnet_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetOdbSubnetRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OdbSubnet $response */
            $response = $oracleDatabaseClient->getOdbSubnet($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );

        get_odb_subnet_sample($formattedName);
    }

### getPluggableDatabase

Gets details of a single PluggableDatabase.

The async variant is [OracleDatabaseClient::getPluggableDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getPluggableDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetPluggableDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.PluggableDatabase` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GetPluggableDatabaseRequest;
    use Google\Cloud\OracleDatabase\V1\PluggableDatabase;

    /**
     * @param string $formattedName The name of the PluggableDatabase resource in the following
     *                              format:
     *                              projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}
     *                              Please see {@see OracleDatabaseClient::pluggableDatabaseName()} for help formatting this field.
     */
    function get_pluggable_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new GetPluggableDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var PluggableDatabase $response */
            $response = $oracleDatabaseClient->getPluggableDatabase($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::pluggableDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[PLUGGABLE_DATABASE]'
        );

        get_pluggable_database_sample($formattedName);
    }

### listAutonomousDatabaseBackups

Lists the long-term and automatic backups of an Autonomous Database.

The async variant is
[OracleDatabaseClient::listAutonomousDatabaseBackupsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listAutonomousDatabaseBackupsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabaseBackupsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabaseBackup;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListAutonomousDatabaseBackupsRequest;

    /**
     * @param string $formattedParent The parent value for ListAutonomousDatabaseBackups in the
     *                                following format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_autonomous_database_backups_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListAutonomousDatabaseBackupsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listAutonomousDatabaseBackups($request);

            /** @var AutonomousDatabaseBackup $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_autonomous_database_backups_sample($formattedParent);
    }

### listAutonomousDatabaseCharacterSets

Lists Autonomous Database Character Sets in a given project and location.

The async variant is
[OracleDatabaseClient::listAutonomousDatabaseCharacterSetsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listAutonomousDatabaseCharacterSetsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabaseCharacterSetsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabaseCharacterSet;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListAutonomousDatabaseCharacterSetsRequest;

    /**
     * @param string $formattedParent The parent value for the Autonomous Database in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_autonomous_database_character_sets_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListAutonomousDatabaseCharacterSetsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listAutonomousDatabaseCharacterSets($request);

            /** @var AutonomousDatabaseCharacterSet $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_autonomous_database_character_sets_sample($formattedParent);
    }

### listAutonomousDatabases

Lists the Autonomous Databases in a given project and location.

The async variant is [OracleDatabaseClient::listAutonomousDatabasesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listAutonomousDatabasesAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabasesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListAutonomousDatabasesRequest;

    /**
     * @param string $formattedParent The parent value for the Autonomous Database in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_autonomous_databases_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListAutonomousDatabasesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listAutonomousDatabases($request);

            /** @var AutonomousDatabase $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_autonomous_databases_sample($formattedParent);
    }

### listAutonomousDbVersions

Lists all the available Autonomous Database versions for a project and
location.

The async variant is
[OracleDatabaseClient::listAutonomousDbVersionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listAutonomousDbVersionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDbVersionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDbVersion;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListAutonomousDbVersionsRequest;

    /**
     * @param string $formattedParent The parent value for the Autonomous Database in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_autonomous_db_versions_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListAutonomousDbVersionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listAutonomousDbVersions($request);

            /** @var AutonomousDbVersion $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_autonomous_db_versions_sample($formattedParent);
    }

### listCloudExadataInfrastructures

Lists Exadata Infrastructures in a given project and location.

The async variant is
[OracleDatabaseClient::listCloudExadataInfrastructuresAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listCloudExadataInfrastructuresAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListCloudExadataInfrastructuresRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudExadataInfrastructure;
    use Google\Cloud\OracleDatabase\V1\ListCloudExadataInfrastructuresRequest;

    /**
     * @param string $formattedParent The parent value for CloudExadataInfrastructure in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_cloud_exadata_infrastructures_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListCloudExadataInfrastructuresRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listCloudExadataInfrastructures($request);

            /** @var CloudExadataInfrastructure $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_cloud_exadata_infrastructures_sample($formattedParent);
    }

### listCloudVmClusters

Lists the VM Clusters in a given project and location.

The async variant is [OracleDatabaseClient::listCloudVmClustersAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listCloudVmClustersAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListCloudVmClustersRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\CloudVmCluster;
    use Google\Cloud\OracleDatabase\V1\ListCloudVmClustersRequest;

    /**
     * @param string $formattedParent The name of the parent in the following format:
     *                                projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_cloud_vm_clusters_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListCloudVmClustersRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listCloudVmClusters($request);

            /** @var CloudVmCluster $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_cloud_vm_clusters_sample($formattedParent);
    }

### listDatabaseCharacterSets

List DatabaseCharacterSets for the given project and location.

The async variant is
[OracleDatabaseClient::listDatabaseCharacterSetsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDatabaseCharacterSetsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDatabaseCharacterSetsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DatabaseCharacterSet;
    use Google\Cloud\OracleDatabase\V1\ListDatabaseCharacterSetsRequest;

    /**
     * @param string $formattedParent The parent value for DatabaseCharacterSets in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_database_character_sets_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDatabaseCharacterSetsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDatabaseCharacterSets($request);

            /** @var DatabaseCharacterSet $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_database_character_sets_sample($formattedParent);
    }

### listDatabases

Lists all the Databases for the given project, location and DbSystem.

The async variant is [OracleDatabaseClient::listDatabasesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDatabasesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDatabasesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\Database;
    use Google\Cloud\OracleDatabase\V1\ListDatabasesRequest;

    /**
     * @param string $formattedParent The parent resource name in the following format:
     *                                projects/{project}/locations/{region}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_databases_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDatabasesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDatabases($request);

            /** @var Database $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_databases_sample($formattedParent);
    }

### listDbNodes

Lists the database nodes of a VM Cluster.

The async variant is [OracleDatabaseClient::listDbNodesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbNodesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbNodesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbNode;
    use Google\Cloud\OracleDatabase\V1\ListDbNodesRequest;

    /**
     * @param string $formattedParent The parent value for database node in the following format:
     *                                projects/{project}/locations/{location}/cloudVmClusters/{cloudVmCluster}.
     *                                . Please see
     *                                {@see OracleDatabaseClient::exadbVmClusterName()} for help formatting this field.
     */
    function list_db_nodes_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbNodesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbNodes($request);

            /** @var DbNode $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::exadbVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXADB_VM_CLUSTER]'
        );

        list_db_nodes_sample($formattedParent);
    }

### listDbServers

Lists the database servers of an Exadata Infrastructure instance.

The async variant is [OracleDatabaseClient::listDbServersAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbServersAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbServersRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbServer;
    use Google\Cloud\OracleDatabase\V1\ListDbServersRequest;

    /**
     * @param string $formattedParent The parent value for database server in the following format:
     *                                projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloudExadataInfrastructure}. Please see
     *                                {@see OracleDatabaseClient::cloudExadataInfrastructureName()} for help formatting this field.
     */
    function list_db_servers_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbServersRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbServers($request);

            /** @var DbServer $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::cloudExadataInfrastructureName(
            '[PROJECT]',
            '[LOCATION]',
            '[CLOUD_EXADATA_INFRASTRUCTURE]'
        );

        list_db_servers_sample($formattedParent);
    }

### listDbSystemInitialStorageSizes

Lists all the DbSystemInitialStorageSizes for the given project and
location.

The async variant is
[OracleDatabaseClient::listDbSystemInitialStorageSizesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbSystemInitialStorageSizesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemInitialStorageSizesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbSystemInitialStorageSize;
    use Google\Cloud\OracleDatabase\V1\ListDbSystemInitialStorageSizesRequest;

    /**
     * @param string $formattedParent The parent value for the DbSystemInitialStorageSize resource with
     *                                the format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_db_system_initial_storage_sizes_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbSystemInitialStorageSizesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbSystemInitialStorageSizes($request);

            /** @var DbSystemInitialStorageSize $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_db_system_initial_storage_sizes_sample($formattedParent);
    }

### listDbSystemShapes

Lists the database system shapes available for the project and location.

The async variant is [OracleDatabaseClient::listDbSystemShapesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbSystemShapesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemShapesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbSystemShape;
    use Google\Cloud\OracleDatabase\V1\ListDbSystemShapesRequest;

    /**
     * @param string $formattedParent The parent value for Database System Shapes in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_db_system_shapes_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbSystemShapesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbSystemShapes($request);

            /** @var DbSystemShape $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_db_system_shapes_sample($formattedParent);
    }

### listDbSystems

Lists all the DbSystems for the given project and location.

The async variant is [OracleDatabaseClient::listDbSystemsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbSystemsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbSystem;
    use Google\Cloud\OracleDatabase\V1\ListDbSystemsRequest;

    /**
     * @param string $formattedParent The parent value for DbSystems in the following format:
     *                                projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_db_systems_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbSystemsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbSystems($request);

            /** @var DbSystem $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_db_systems_sample($formattedParent);
    }

### listDbVersions

List DbVersions for the given project and location.

The async variant is [OracleDatabaseClient::listDbVersionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listDbVersionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbVersionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\DbVersion;
    use Google\Cloud\OracleDatabase\V1\ListDbVersionsRequest;

    /**
     * @param string $formattedParent The parent value for the DbVersion resource with the
     *                                format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_db_versions_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListDbVersionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listDbVersions($request);

            /** @var DbVersion $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_db_versions_sample($formattedParent);
    }

### listEntitlements

Lists the entitlements in a given project.

The async variant is [OracleDatabaseClient::listEntitlementsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listEntitlementsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListEntitlementsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\Entitlement;
    use Google\Cloud\OracleDatabase\V1\ListEntitlementsRequest;

    /**
     * @param string $formattedParent The parent value for the entitlement in the following format:
     *                                projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_entitlements_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListEntitlementsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listEntitlements($request);

            /** @var Entitlement $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_entitlements_sample($formattedParent);
    }

### listExadbVmClusters

Lists all the Exadb (Exascale) VM Clusters for the given project and
location.

The async variant is [OracleDatabaseClient::listExadbVmClustersAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listExadbVmClustersAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListExadbVmClustersRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExadbVmCluster;
    use Google\Cloud\OracleDatabase\V1\ListExadbVmClustersRequest;

    /**
     * @param string $formattedParent The parent value for ExadbVmClusters in the following format:
     *                                projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_exadb_vm_clusters_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListExadbVmClustersRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listExadbVmClusters($request);

            /** @var ExadbVmCluster $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_exadb_vm_clusters_sample($formattedParent);
    }

### listExascaleDbStorageVaults

Lists all the ExascaleDB Storage Vaults for the given project and
location.

The async variant is
[OracleDatabaseClient::listExascaleDbStorageVaultsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listExascaleDbStorageVaultsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListExascaleDbStorageVaultsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExascaleDbStorageVault;
    use Google\Cloud\OracleDatabase\V1\ListExascaleDbStorageVaultsRequest;

    /**
     * @param string $formattedParent The parent value for ExascaleDbStorageVault in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_exascale_db_storage_vaults_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListExascaleDbStorageVaultsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listExascaleDbStorageVaults($request);

            /** @var ExascaleDbStorageVault $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_exascale_db_storage_vaults_sample($formattedParent);
    }

### listGiVersions

Lists all the valid Oracle Grid Infrastructure (GI) versions for the given
project and location.

The async variant is [OracleDatabaseClient::listGiVersionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGiVersionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGiVersionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GiVersion;
    use Google\Cloud\OracleDatabase\V1\ListGiVersionsRequest;

    /**
     * @param string $formattedParent The parent value for Grid Infrastructure Version in the following
     *                                format: Format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_gi_versions_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGiVersionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGiVersions($request);

            /** @var GiVersion $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_gi_versions_sample($formattedParent);
    }

### listGoldengateConnectionAssignments

Lists GoldengateConnectionAssignments in a given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateConnectionAssignmentsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateConnectionAssignmentsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionAssignmentsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionAssignment;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateConnectionAssignmentsRequest;

    /**
     * @param string $formattedParent The parent value for the GoldengateConnectionAssignments.
     *                                Format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_connection_assignments_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateConnectionAssignmentsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateConnectionAssignments($request);

            /** @var GoldengateConnectionAssignment $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_connection_assignments_sample($formattedParent);
    }

### listGoldengateConnectionTypes

Lists GoldengateConnectionTypes in a given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateConnectionTypesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateConnectionTypesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionTypesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnectionType;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateConnectionTypesRequest;

    /**
     * @param string $formattedParent Parent value for ListGoldengateConnectionTypesRequest
     *                                Format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_connection_types_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateConnectionTypesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateConnectionTypes($request);

            /** @var GoldengateConnectionType $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_connection_types_sample($formattedParent);
    }

### listGoldengateConnections

Lists all the GoldengateConnections for the given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateConnectionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateConnectionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateConnection;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateConnectionsRequest;

    /**
     * @param string $formattedParent The parent value for GoldengateConnections in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_connections_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateConnectionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateConnections($request);

            /** @var GoldengateConnection $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_connections_sample($formattedParent);
    }

### listGoldengateDeploymentEnvironments

Lists GoldengateDeploymentEnvironments in a given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateDeploymentEnvironmentsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateDeploymentEnvironmentsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentEnvironmentsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeploymentEnvironment;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateDeploymentEnvironmentsRequest;

    /**
     * @param string $formattedParent The parent, which owns this collection of
     *                                GoldengateDeploymentEnvironments. Format:
     *                                projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_deployment_environments_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateDeploymentEnvironmentsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateDeploymentEnvironments($request);

            /** @var GoldengateDeploymentEnvironment $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_deployment_environments_sample($formattedParent);
    }

### listGoldengateDeploymentTypes

Lists GoldenGateDeploymentTypes in a given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateDeploymentTypesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateDeploymentTypesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentTypesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeploymentType;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateDeploymentTypesRequest;

    /**
     * @param string $formattedParent The parent resource.
     *                                Format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_deployment_types_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateDeploymentTypesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateDeploymentTypes($request);

            /** @var GoldengateDeploymentType $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_deployment_types_sample($formattedParent);
    }

### listGoldengateDeploymentVersions

Lists GoldengateDeploymentVersions in a given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateDeploymentVersionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateDeploymentVersionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentVersionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeploymentVersion;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateDeploymentVersionsRequest;

    /**
     * @param string $formattedParent Parent value for ListGoldengateDeploymentVersionsRequest
     *                                Format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_deployment_versions_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateDeploymentVersionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateDeploymentVersions($request);

            /** @var GoldengateDeploymentVersion $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_deployment_versions_sample($formattedParent);
    }

### listGoldengateDeployments

Lists all the GoldengateDeployments for the given project and location.

The async variant is
[OracleDatabaseClient::listGoldengateDeploymentsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listGoldengateDeploymentsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeployment;
    use Google\Cloud\OracleDatabase\V1\ListGoldengateDeploymentsRequest;

    /**
     * @param string $formattedParent The parent value for GoldengateDeployments in the following
     *                                format: projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_goldengate_deployments_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListGoldengateDeploymentsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listGoldengateDeployments($request);

            /** @var GoldengateDeployment $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_goldengate_deployments_sample($formattedParent);
    }

### listMinorVersions

Lists all the valid minor versions for the given
project, location, gi version and shape family.

The async variant is [OracleDatabaseClient::listMinorVersionsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listMinorVersionsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListMinorVersionsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListMinorVersionsRequest;
    use Google\Cloud\OracleDatabase\V1\MinorVersion;

    /**
     * @param string $formattedParent The parent value for the MinorVersion resource with the format:
     *                                projects/{project}/locations/{location}/giVersions/{gi_version}
     *                                Please see {@see OracleDatabaseClient::giVersionName()} for help formatting this field.
     */
    function list_minor_versions_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListMinorVersionsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listMinorVersions($request);

            /** @var MinorVersion $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::giVersionName('[PROJECT]', '[LOCATION]', '[GI_VERSION]');

        list_minor_versions_sample($formattedParent);
    }

### listOdbDnsZones

Lists all the ODB DNS Zones in a given ODB Network.

The async variant is [OracleDatabaseClient::listOdbDnsZonesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listOdbDnsZonesAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbDnsZonesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListOdbDnsZonesRequest;
    use Google\Cloud\OracleDatabase\V1\OdbDnsZone;

    /**
     * @param string $formattedParent The parent value for the OdbDnsZone in the following format:
     *                                projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                                {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     */
    function list_odb_dns_zones_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListOdbDnsZonesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listOdbDnsZones($request);

            /** @var OdbDnsZone $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');

        list_odb_dns_zones_sample($formattedParent);
    }

### listOdbNetworks

Lists the ODB Networks in a given project and location.

The async variant is [OracleDatabaseClient::listOdbNetworksAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listOdbNetworksAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbNetworksRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListOdbNetworksRequest;
    use Google\Cloud\OracleDatabase\V1\OdbNetwork;

    /**
     * @param string $formattedParent The parent value for the ODB Network in the following format:
     *                                projects/{project}/locations/{location}. Please see
     *                                {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_odb_networks_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListOdbNetworksRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listOdbNetworks($request);

            /** @var OdbNetwork $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_odb_networks_sample($formattedParent);
    }

### listOdbSubnets

Lists all the ODB Subnets in a given ODB Network.

The async variant is [OracleDatabaseClient::listOdbSubnetsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listOdbSubnetsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbSubnetsRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListOdbSubnetsRequest;
    use Google\Cloud\OracleDatabase\V1\OdbSubnet;

    /**
     * @param string $formattedParent The parent value for the OdbSubnet in the following format:
     *                                projects/{project}/locations/{location}/odbNetworks/{odb_network}. Please see
     *                                {@see OracleDatabaseClient::odbNetworkName()} for help formatting this field.
     */
    function list_odb_subnets_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListOdbSubnetsRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listOdbSubnets($request);

            /** @var OdbSubnet $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::odbNetworkName('[PROJECT]', '[LOCATION]', '[ODB_NETWORK]');

        list_odb_subnets_sample($formattedParent);
    }

### listPluggableDatabases

Lists all the PluggableDatabases for the given project, location and
Container Database.

The async variant is [OracleDatabaseClient::listPluggableDatabasesAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listPluggableDatabasesAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListPluggableDatabasesRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ListPluggableDatabasesRequest;
    use Google\Cloud\OracleDatabase\V1\PluggableDatabase;

    /**
     * @param string $formattedParent The parent, which owns this collection of PluggableDatabases.
     *                                Format: projects/{project}/locations/{location}
     *                                Please see {@see OracleDatabaseClient::locationName()} for help formatting this field.
     */
    function list_pluggable_databases_sample(string $formattedParent): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new ListPluggableDatabasesRequest())
            ->setParent($formattedParent);

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listPluggableDatabases($request);

            /** @var PluggableDatabase $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedParent = OracleDatabaseClient::locationName('[PROJECT]', '[LOCATION]');

        list_pluggable_databases_sample($formattedParent);
    }

### refreshAutonomousDatabase

Refreshes the refreshable clone of an Autonomous Database.

The async variant is
[OracleDatabaseClient::refreshAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__refreshAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RefreshAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\RefreshAutonomousDatabaseRequest;
    use Google\Protobuf\Timestamp;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the AutonomousDatabase resource.
     *                              Format:
     *                              projects/{project}/location/{location}/autonomousDatabases/{autonomous_database}
     *                              Please see {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function refresh_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $refreshCutoffTime = new Timestamp();
        $request = (new RefreshAutonomousDatabaseRequest())
            ->setName($formattedName)
            ->setRefreshCutoffTime($refreshCutoffTime);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->refreshAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        refresh_autonomous_database_sample($formattedName);
    }

### removeVirtualMachineExadbVmCluster

Removes virtual machines from an existing exadb vm cluster.

The async variant is
[OracleDatabaseClient::removeVirtualMachineExadbVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__removeVirtualMachineExadbVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RemoveVirtualMachineExadbVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExadbVmCluster>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExadbVmCluster;
    use Google\Cloud\OracleDatabase\V1\RemoveVirtualMachineExadbVmClusterRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName    The name of the ExadbVmCluster in the following format:
     *                                 projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}. Please see
     *                                 {@see OracleDatabaseClient::exadbVmClusterName()} for help formatting this field.
     * @param string $hostnamesElement The list of host names of db nodes to be removed from the
     *                                 ExadbVmCluster.
     */
    function remove_virtual_machine_exadb_vm_cluster_sample(
        string $formattedName,
        string $hostnamesElement
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $hostnames = [$hostnamesElement];
        $request = (new RemoveVirtualMachineExadbVmClusterRequest())
            ->setName($formattedName)
            ->setHostnames($hostnames);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->removeVirtualMachineExadbVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var ExadbVmCluster $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::exadbVmClusterName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXADB_VM_CLUSTER]'
        );
        $hostnamesElement = '[HOSTNAMES]';

        remove_virtual_machine_exadb_vm_cluster_sample($formattedName, $hostnamesElement);
    }

### restartAutonomousDatabase

Restarts an Autonomous Database.

The async variant is
[OracleDatabaseClient::restartAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__restartAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RestartAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\RestartAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function restart_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new RestartAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->restartAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        restart_autonomous_database_sample($formattedName);
    }

### restoreAutonomousDatabase

Restores a single Autonomous Database.

The async variant is
[OracleDatabaseClient::restoreAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__restoreAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RestoreAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\RestoreAutonomousDatabaseRequest;
    use Google\Protobuf\Timestamp;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function restore_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $restoreTime = new Timestamp();
        $request = (new RestoreAutonomousDatabaseRequest())
            ->setName($formattedName)
            ->setRestoreTime($restoreTime);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->restoreAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        restore_autonomous_database_sample($formattedName);
    }

### startAutonomousDatabase

Starts an Autonomous Database.

The async variant is [OracleDatabaseClient::startAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__startAutonomousDatabaseAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StartAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\StartAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function start_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new StartAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->startAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        start_autonomous_database_sample($formattedName);
    }

### startGoldengateDeployment

Starts a single GoldengateDeployment.

The async variant is
[OracleDatabaseClient::startGoldengateDeploymentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__startGoldengateDeploymentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StartGoldengateDeploymentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateDeployment>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeployment;
    use Google\Cloud\OracleDatabase\V1\StartGoldengateDeploymentRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Goldengate Deployment in the following format:
     *                              projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. Please see
     *                              {@see OracleDatabaseClient::goldengateDeploymentName()} for help formatting this field.
     */
    function start_goldengate_deployment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new StartGoldengateDeploymentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->startGoldengateDeployment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var GoldengateDeployment $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateDeploymentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_DEPLOYMENT]'
        );

        start_goldengate_deployment_sample($formattedName);
    }

### stopAutonomousDatabase

Stops an Autonomous Database.

The async variant is [OracleDatabaseClient::stopAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__stopAutonomousDatabaseAsync__)
.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StopAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\StopAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function stop_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new StopAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->stopAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        stop_autonomous_database_sample($formattedName);
    }

### stopGoldengateDeployment

Stops a single GoldengateDeployment.

The async variant is
[OracleDatabaseClient::stopGoldengateDeploymentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__stopGoldengateDeploymentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StopGoldengateDeploymentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateDeployment>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\GoldengateDeployment;
    use Google\Cloud\OracleDatabase\V1\StopGoldengateDeploymentRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Goldengate Deployment in the following format:
     *                              projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}. Please see
     *                              {@see OracleDatabaseClient::goldengateDeploymentName()} for help formatting this field.
     */
    function stop_goldengate_deployment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new StopGoldengateDeploymentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->stopGoldengateDeployment($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var GoldengateDeployment $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateDeploymentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_DEPLOYMENT]'
        );

        stop_goldengate_deployment_sample($formattedName);
    }

### switchoverAutonomousDatabase

Initiates a switchover of specified autonomous database to the associated
peer database.

The async variant is
[OracleDatabaseClient::switchoverAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__switchoverAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.SwitchoverAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\SwitchoverAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * @param string $formattedName The name of the Autonomous Database in the following format:
     *                              projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}. Please see
     *                              {@see OracleDatabaseClient::autonomousDatabaseName()} for help formatting this field.
     */
    function switchover_autonomous_database_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new SwitchoverAutonomousDatabaseRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->switchoverAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::autonomousDatabaseName(
            '[PROJECT]',
            '[LOCATION]',
            '[AUTONOMOUS_DATABASE]'
        );

        switchover_autonomous_database_sample($formattedName);
    }

### testGoldengateConnectionAssignment

Tests a single GoldengateConnectionAssignment.

The async variant is
[OracleDatabaseClient::testGoldengateConnectionAssignmentAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__testGoldengateConnectionAssignmentAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentResponse` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\TestGoldengateConnectionAssignmentRequest;
    use Google\Cloud\OracleDatabase\V1\TestGoldengateConnectionAssignmentResponse;

    /**
     * @param string $formattedName Name of the connection assignment for which to test connection.
     *                              projects/{project}/locations/{region}/goldengateConnectionAssignments/{goldengate_connection_assignment}
     *                              Please see {@see OracleDatabaseClient::goldengateConnectionAssignmentName()} for help formatting this field.
     */
    function test_goldengate_connection_assignment_sample(string $formattedName): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = (new TestGoldengateConnectionAssignmentRequest())
            ->setName($formattedName);

        // Call the API and handle any network failures.
        try {
            /** @var TestGoldengateConnectionAssignmentResponse $response */
            $response = $oracleDatabaseClient->testGoldengateConnectionAssignment($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $formattedName = OracleDatabaseClient::goldengateConnectionAssignmentName(
            '[PROJECT]',
            '[LOCATION]',
            '[GOLDENGATE_CONNECTION_ASSIGNMENT]'
        );

        test_goldengate_connection_assignment_sample($formattedName);
    }

### updateAutonomousDatabase

Updates the parameters of a single Autonomous Database.

The async variant is
[OracleDatabaseClient::updateAutonomousDatabaseAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__updateAutonomousDatabaseAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.UpdateAutonomousDatabaseRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\AutonomousDatabase;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\UpdateAutonomousDatabaseRequest;
    use Google\Rpc\Status;

    /**
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function update_autonomous_database_sample(): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $autonomousDatabase = new AutonomousDatabase();
        $request = (new UpdateAutonomousDatabaseRequest())
            ->setAutonomousDatabase($autonomousDatabase);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->updateAutonomousDatabase($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var AutonomousDatabase $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

### updateExadbVmCluster

Updates a single Exadb (Exascale) VM Cluster. To add virtual machines to
existing exadb vm cluster, only pass the node count.

The async variant is [OracleDatabaseClient::updateExadbVmClusterAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__updateExadbVmClusterAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.UpdateExadbVmClusterRequest` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExadbVmCluster>` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\OperationResponse;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;
    use Google\Cloud\OracleDatabase\V1\ExadbVmCluster;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterProperties;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterProperties\ShapeAttribute;
    use Google\Cloud\OracleDatabase\V1\ExadbVmClusterStorageDetails;
    use Google\Cloud\OracleDatabase\V1\UpdateExadbVmClusterRequest;
    use Google\Rpc\Status;

    /**
     * @param string $exadbVmClusterPropertiesGridImageId                         Immutable. Grid Infrastructure Version.
     * @param int    $exadbVmClusterPropertiesNodeCount                           The number of nodes/VMs in the ExadbVmCluster.
     * @param int    $exadbVmClusterPropertiesEnabledEcpuCountPerNode             Immutable. The number of ECPUs enabled per node for an exadata vm
     *                                                                            cluster on exascale infrastructure.
     * @param int    $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode The storage allocation for the exadbvmcluster per node, in
     *                                                                            gigabytes (GB). This field is used to calculate the total storage
     *                                                                            allocation for the exadbvmcluster.
     * @param string $formattedExadbVmClusterPropertiesExascaleDbStorageVault     Immutable. The name of ExascaleDbStorageVault associated with the
     *                                                                            ExadbVmCluster. It can refer to an existing ExascaleDbStorageVault. Or a
     *                                                                            new one can be created during the ExadbVmCluster creation (requires
     *                                                                            storage_vault_properties to be set).
     *                                                                            Format:
     *                                                                            projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
     *                                                                            Please see {@see OracleDatabaseClient::exascaleDbStorageVaultName()} for help formatting this field.
     * @param string $exadbVmClusterPropertiesHostnamePrefix                      Immutable. Prefix for VM cluster host names.
     * @param string $exadbVmClusterPropertiesSshPublicKeysElement                Immutable. The SSH public keys for the ExadbVmCluster.
     * @param int    $exadbVmClusterPropertiesShapeAttribute                      Immutable. The shape attribute of the VM cluster. The type of
     *                                                                            Exascale storage used for Exadata VM cluster. The default is SMART_STORAGE
     *                                                                            which supports Oracle Database 23ai and later
     * @param string $formattedExadbVmClusterOdbSubnet                            Immutable. The name of the OdbSubnet associated with the
     *                                                                            ExadbVmCluster for IP allocation. Format:
     *                                                                            projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
     *                                                                            Please see {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $formattedExadbVmClusterBackupOdbSubnet                      Immutable. The name of the backup OdbSubnet associated with the
     *                                                                            ExadbVmCluster. Format:
     *                                                                            projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
     *                                                                            Please see {@see OracleDatabaseClient::odbSubnetName()} for help formatting this field.
     * @param string $exadbVmClusterDisplayName                                   Immutable. The display name for the ExadbVmCluster. The name does
     *                                                                            not have to be unique within your project. The name must be 1-255
     *                                                                            characters long and can only contain alphanumeric characters.
     */
    function update_exadb_vm_cluster_sample(
        string $exadbVmClusterPropertiesGridImageId,
        int $exadbVmClusterPropertiesNodeCount,
        int $exadbVmClusterPropertiesEnabledEcpuCountPerNode,
        int $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode,
        string $formattedExadbVmClusterPropertiesExascaleDbStorageVault,
        string $exadbVmClusterPropertiesHostnamePrefix,
        string $exadbVmClusterPropertiesSshPublicKeysElement,
        int $exadbVmClusterPropertiesShapeAttribute,
        string $formattedExadbVmClusterOdbSubnet,
        string $formattedExadbVmClusterBackupOdbSubnet,
        string $exadbVmClusterDisplayName
    ): void {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $exadbVmClusterPropertiesVmFileSystemStorage = (new ExadbVmClusterStorageDetails())
            ->setSizeInGbsPerNode($exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode);
        $exadbVmClusterPropertiesSshPublicKeys = [$exadbVmClusterPropertiesSshPublicKeysElement];
        $exadbVmClusterProperties = (new ExadbVmClusterProperties())
            ->setGridImageId($exadbVmClusterPropertiesGridImageId)
            ->setNodeCount($exadbVmClusterPropertiesNodeCount)
            ->setEnabledEcpuCountPerNode($exadbVmClusterPropertiesEnabledEcpuCountPerNode)
            ->setVmFileSystemStorage($exadbVmClusterPropertiesVmFileSystemStorage)
            ->setExascaleDbStorageVault($formattedExadbVmClusterPropertiesExascaleDbStorageVault)
            ->setHostnamePrefix($exadbVmClusterPropertiesHostnamePrefix)
            ->setSshPublicKeys($exadbVmClusterPropertiesSshPublicKeys)
            ->setShapeAttribute($exadbVmClusterPropertiesShapeAttribute);
        $exadbVmCluster = (new ExadbVmCluster())
            ->setProperties($exadbVmClusterProperties)
            ->setOdbSubnet($formattedExadbVmClusterOdbSubnet)
            ->setBackupOdbSubnet($formattedExadbVmClusterBackupOdbSubnet)
            ->setDisplayName($exadbVmClusterDisplayName);
        $request = (new UpdateExadbVmClusterRequest())
            ->setExadbVmCluster($exadbVmCluster);

        // Call the API and handle any network failures.
        try {
            /** @var OperationResponse $response */
            $response = $oracleDatabaseClient->updateExadbVmCluster($request);
            $response->pollUntilComplete();

            if ($response->operationSucceeded()) {
                /** @var ExadbVmCluster $result */
                $result = $response->getResult();
                printf('Operation successful with response data: %s' . PHP_EOL, $result->serializeToJsonString());
            } else {
                /** @var Status $error */
                $error = $response->getError();
                printf('Operation failed with error data: %s' . PHP_EOL, $error->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

    /**
     * Helper to execute the sample.
     *
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function callSample(): void
    {
        $exadbVmClusterPropertiesGridImageId = '[GRID_IMAGE_ID]';
        $exadbVmClusterPropertiesNodeCount = 0;
        $exadbVmClusterPropertiesEnabledEcpuCountPerNode = 0;
        $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode = 0;
        $formattedExadbVmClusterPropertiesExascaleDbStorageVault = OracleDatabaseClient::exascaleDbStorageVaultName(
            '[PROJECT]',
            '[LOCATION]',
            '[EXASCALE_DB_STORAGE_VAULT]'
        );
        $exadbVmClusterPropertiesHostnamePrefix = '[HOSTNAME_PREFIX]';
        $exadbVmClusterPropertiesSshPublicKeysElement = '[SSH_PUBLIC_KEYS]';
        $exadbVmClusterPropertiesShapeAttribute = ShapeAttribute::SHAPE_ATTRIBUTE_UNSPECIFIED;
        $formattedExadbVmClusterOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $formattedExadbVmClusterBackupOdbSubnet = OracleDatabaseClient::odbSubnetName(
            '[PROJECT]',
            '[LOCATION]',
            '[ODB_NETWORK]',
            '[ODB_SUBNET]'
        );
        $exadbVmClusterDisplayName = '[DISPLAY_NAME]';

        update_exadb_vm_cluster_sample(
            $exadbVmClusterPropertiesGridImageId,
            $exadbVmClusterPropertiesNodeCount,
            $exadbVmClusterPropertiesEnabledEcpuCountPerNode,
            $exadbVmClusterPropertiesVmFileSystemStorageSizeInGbsPerNode,
            $formattedExadbVmClusterPropertiesExascaleDbStorageVault,
            $exadbVmClusterPropertiesHostnamePrefix,
            $exadbVmClusterPropertiesSshPublicKeysElement,
            $exadbVmClusterPropertiesShapeAttribute,
            $formattedExadbVmClusterOdbSubnet,
            $formattedExadbVmClusterBackupOdbSubnet,
            $exadbVmClusterDisplayName
        );
    }

### getLocation

Gets information about a location.

The async variant is [OracleDatabaseClient::getLocationAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__getLocationAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.GetLocationRequest.html` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.Location.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\Cloud\Location\GetLocationRequest;
    use Google\Cloud\Location\Location;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;

    /**
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function get_location_sample(): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = new GetLocationRequest();

        // Call the API and handle any network failures.
        try {
            /** @var Location $response */
            $response = $oracleDatabaseClient->getLocation($request);
            printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

### listLocations

Lists information about the supported locations for this service.

This method lists locations based on the resource scope provided in
the [ListLocationsRequest.name](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.ListLocationsRequest.html#_Google_Cloud_Location_ListLocationsRequest__getName__) field: \*
**Global locations** : If `name` is empty, the method lists the
public locations available to all projects. \* **Project-specific
locations** : If `name` follows the format
`projects/{project}`, the method lists locations visible to that
specific project. This includes public, private, or other
project-specific locations enabled for the project.

For gRPC and client library implementations, the resource name is
passed as the `name` field. For direct service calls, the resource
name is
incorporated into the request path based on the specific service
implementation and version.

The async variant is [OracleDatabaseClient::listLocationsAsync()](https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Client.OracleDatabaseClient#_Google_Cloud_OracleDatabase_V1_Client_OracleDatabaseClient__listLocationsAsync__) .

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.ListLocationsRequest.html` A request to house fields associated with the call. |
| `callOptions` | `array` Optional. |
| `↳ retrySettings` | `https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html|array` Retry settings to use for this call. Can be a [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) object, or an associative array of retry settings parameters. See the documentation on [Google\\ApiCore\\RetrySettings](https://docs.cloud.google.com/php/docs/reference/gax/latest/RetrySettings.html) for example usage. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html` |   |

**Example**

    use Google\ApiCore\ApiException;
    use Google\ApiCore\PagedListResponse;
    use Google\Cloud\Location\ListLocationsRequest;
    use Google\Cloud\Location\Location;
    use Google\Cloud\OracleDatabase\V1\Client\OracleDatabaseClient;

    /**
     * This sample has been automatically generated and should be regarded as a code
     * template only. It will require modifications to work:
     *  - It may require correct/in-range values for request initialization.
     *  - It may require specifying regional endpoints when creating the service client,
     *    please see the apiEndpoint client configuration option for more details.
     */
    function list_locations_sample(): void
    {
        // Create a client.
        $oracleDatabaseClient = new OracleDatabaseClient();

        // Prepare the request message.
        $request = new ListLocationsRequest();

        // Call the API and handle any network failures.
        try {
            /** @var PagedListResponse $response */
            $response = $oracleDatabaseClient->listLocations($request);

            /** @var Location $element */
            foreach ($response as $element) {
                printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString());
            }
        } catch (ApiException $ex) {
            printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
        }
    }

### configureExascaleCloudExadataInfrastructureAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ConfigureExascaleCloudExadataInfrastructureRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createCloudExadataInfrastructureAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateCloudExadataInfrastructureRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createCloudVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateCloudVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createDbSystemAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateDbSystemRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createExadbVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateExadbVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createExascaleDbStorageVaultAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateExascaleDbStorageVaultRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createGoldengateConnectionAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateConnectionRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createGoldengateConnectionAssignmentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateConnectionAssignmentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createGoldengateDeploymentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateGoldengateDeploymentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createOdbDnsZoneAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbDnsZoneRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createOdbNetworkAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbNetworkRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### createOdbSubnetAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CreateOdbSubnetRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteCloudExadataInfrastructureAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteCloudExadataInfrastructureRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteCloudVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteCloudVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteDbSystemAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteDbSystemRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteExadbVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteExadbVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteExascaleDbStorageVaultAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteExascaleDbStorageVaultRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteGoldengateConnectionAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateConnectionRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteGoldengateConnectionAssignmentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateConnectionAssignmentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteGoldengateDeploymentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteGoldengateDeploymentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteOdbDnsZoneAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbDnsZoneRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteOdbNetworkAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbNetworkRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### deleteOdbSubnetAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DeleteOdbSubnetRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### failoverAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.FailoverAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### generateAutonomousDatabaseWalletAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GenerateAutonomousDatabaseWalletRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GenerateAutonomousDatabaseWalletResponse>` |   |

### getAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabase>` |   |

### getAutonomousDatabaseRefreshableClonesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetAutonomousDatabaseRefreshableClonesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.AutonomousDatabaseRefreshableClones>` |   |

### getCloudExadataInfrastructureAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetCloudExadataInfrastructureRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudExadataInfrastructure>` |   |

### getCloudVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetCloudVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.CloudVmCluster>` |   |

### getDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.Database>` |   |

### getDbSystemAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetDbSystemRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.DbSystem>` |   |

### getExadbVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetExadbVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExadbVmCluster>` |   |

### getExascaleDbStorageVaultAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetExascaleDbStorageVaultRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ExascaleDbStorageVault>` |   |

### getGoldengateConnectionAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateConnectionRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnection>` |   |

### getGoldengateConnectionAssignmentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateConnectionAssignmentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateConnectionAssignment>` |   |

### getGoldengateDeploymentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetGoldengateDeploymentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GoldengateDeployment>` |   |

### getOdbDnsZoneAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbDnsZoneRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbDnsZone>` |   |

### getOdbNetworkAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbNetworkRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbNetwork>` |   |

### getOdbSubnetAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetOdbSubnetRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.OdbSubnet>` |   |

### getPluggableDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.GetPluggableDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.PluggableDatabase>` |   |

### listAutonomousDatabaseBackupsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabaseBackupsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listAutonomousDatabaseCharacterSetsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabaseCharacterSetsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listAutonomousDatabasesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDatabasesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listAutonomousDbVersionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListAutonomousDbVersionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listCloudExadataInfrastructuresAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListCloudExadataInfrastructuresRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listCloudVmClustersAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListCloudVmClustersRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDatabaseCharacterSetsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDatabaseCharacterSetsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDatabasesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDatabasesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbNodesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbNodesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbServersAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbServersRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbSystemInitialStorageSizesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemInitialStorageSizesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbSystemShapesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemShapesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbSystemsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbSystemsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listDbVersionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListDbVersionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listEntitlementsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListEntitlementsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listExadbVmClustersAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListExadbVmClustersRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listExascaleDbStorageVaultsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListExascaleDbStorageVaultsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGiVersionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGiVersionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateConnectionAssignmentsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionAssignmentsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateConnectionTypesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionTypesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateConnectionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateConnectionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateDeploymentEnvironmentsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentEnvironmentsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateDeploymentTypesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentTypesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateDeploymentVersionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentVersionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listGoldengateDeploymentsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListGoldengateDeploymentsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listMinorVersionsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListMinorVersionsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listOdbDnsZonesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbDnsZonesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listOdbNetworksAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbNetworksRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listOdbSubnetsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListOdbSubnetsRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### listPluggableDatabasesAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.ListPluggableDatabasesRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### refreshAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RefreshAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### removeVirtualMachineExadbVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RemoveVirtualMachineExadbVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### restartAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RestartAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### restoreAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.RestoreAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### startAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StartAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### startGoldengateDeploymentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StartGoldengateDeploymentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### stopAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StopAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### stopGoldengateDeploymentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.StopGoldengateDeploymentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### switchoverAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.SwitchoverAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### testGoldengateConnectionAssignmentAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.TestGoldengateConnectionAssignmentResponse>` |   |

### updateAutonomousDatabaseAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.UpdateAutonomousDatabaseRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### updateExadbVmClusterAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/cloud-oracledatabase/latest/V1.UpdateExadbVmClusterRequest` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html>` |   |

### getLocationAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.GetLocationRequest.html` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.Location.html>` |   |

### listLocationsAsync

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Cloud.Location.ListLocationsRequest.html` |
| `optionalArgs` | `array` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html<https://docs.cloud.google.com/php/docs/reference/gax/latest/PagedListResponse.html>` |   |

### getOperationsClient

Return an OperationsClient object with the same endpoint as $this.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\LongRunning\Client\OperationsClient` |   |

### resumeOperation

Resume an existing long running operation that was previously started by a long
running API method. If $methodName is not provided, or does not match a long
running API method, then the operation can still be resumed, but the
OperationResponse object will not deserialize the final response.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `operationName` | `string` The name of the long running operation |
| `methodName` | `string` The name of the method used to start the operation |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/gax/latest/OperationResponse.html` |   |

### static::autonomousDatabaseName

Formats a string containing the fully-qualified path to represent a
autonomous_database resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `autonomousDatabase` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted autonomous_database resource. |

### static::autonomousDatabaseBackupName

Formats a string containing the fully-qualified path to represent a
autonomous_database_backup resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `autonomousDatabaseBackup` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted autonomous_database_backup resource. |

### static::cloudExadataInfrastructureName

Formats a string containing the fully-qualified path to represent a
cloud_exadata_infrastructure resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `cloudExadataInfrastructure` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted cloud_exadata_infrastructure resource. |

### static::cloudVmClusterName

Formats a string containing the fully-qualified path to represent a
cloud_vm_cluster resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `cloudVmCluster` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted cloud_vm_cluster resource. |

### static::cryptoKeyName

Formats a string containing the fully-qualified path to represent a crypto_key
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `keyRing` | `string` |
| `cryptoKey` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted crypto_key resource. |

### static::databaseName

Formats a string containing the fully-qualified path to represent a database
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `database` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted database resource. |

### static::dbSystemName

Formats a string containing the fully-qualified path to represent a db_system
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `dbSystem` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted db_system resource. |

### static::exadbVmClusterName

Formats a string containing the fully-qualified path to represent a
exadb_vm_cluster resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `exadbVmCluster` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted exadb_vm_cluster resource. |

### static::exascaleDbStorageVaultName

Formats a string containing the fully-qualified path to represent a
exascale_db_storage_vault resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `exascaleDbStorageVault` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted exascale_db_storage_vault resource. |

### static::giVersionName

Formats a string containing the fully-qualified path to represent a gi_version
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `giVersion` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted gi_version resource. |

### static::goldengateConnectionName

Formats a string containing the fully-qualified path to represent a
goldengate_connection resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `goldengateConnection` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted goldengate_connection resource. |

### static::goldengateConnectionAssignmentName

Formats a string containing the fully-qualified path to represent a
goldengate_connection_assignment resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `goldengateConnectionAssignment` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted goldengate_connection_assignment resource. |

### static::goldengateDeploymentName

Formats a string containing the fully-qualified path to represent a
goldengate_deployment resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `goldengateDeployment` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted goldengate_deployment resource. |

### static::locationName

Formats a string containing the fully-qualified path to represent a location
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted location resource. |

### static::networkName

Formats a string containing the fully-qualified path to represent a network
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `network` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted network resource. |

### static::odbDnsZoneName

Formats a string containing the fully-qualified path to represent a odb_dns_zone
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `odbNetwork` | `string` |
| `odbDnsZone` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted odb_dns_zone resource. |

### static::odbNetworkName

Formats a string containing the fully-qualified path to represent a odb_network
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `odbNetwork` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted odb_network resource. |

### static::odbSubnetName

Formats a string containing the fully-qualified path to represent a odb_subnet
resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `odbNetwork` | `string` |
| `odbSubnet` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted odb_subnet resource. |

### static::pluggableDatabaseName

Formats a string containing the fully-qualified path to represent a
pluggable_database resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `location` | `string` |
| `pluggableDatabase` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted pluggable_database resource. |

### static::secretVersionName

Formats a string containing the fully-qualified path to represent a
secret_version resource.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `project` | `string` |
| `secret` | `string` |
| `secretVersion` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | The formatted secret_version resource. |

### static::parseName

Parses a formatted name string and returns an associative array of the components in the name.

The following name formats are supported:
Template: Pattern

- autonomousDatabase: projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}
- autonomousDatabaseBackup: projects/{project}/locations/{location}/autonomousDatabaseBackups/{autonomous_database_backup}
- cloudExadataInfrastructure: projects/{project}/locations/{location}/cloudExadataInfrastructures/{cloud_exadata_infrastructure}
- cloudVmCluster: projects/{project}/locations/{location}/cloudVmClusters/{cloud_vm_cluster}
- cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
- database: projects/{project}/locations/{location}/databases/{database}
- dbSystem: projects/{project}/locations/{location}/dbSystems/{db_system}
- exadbVmCluster: projects/{project}/locations/{location}/exadbVmClusters/{exadb_vm_cluster}
- exascaleDbStorageVault: projects/{project}/locations/{location}/exascaleDbStorageVaults/{exascale_db_storage_vault}
- giVersion: projects/{project}/locations/{location}/giVersions/{gi_version}
- goldengateConnection: projects/{project}/locations/{location}/goldengateConnections/{goldengate_connection}
- goldengateConnectionAssignment: projects/{project}/locations/{location}/goldengateConnectionAssignments/{goldengate_connection_assignment}
- goldengateDeployment: projects/{project}/locations/{location}/goldengateDeployments/{goldengate_deployment}
- location: projects/{project}/locations/{location}
- network: projects/{project}/global/networks/{network}
- odbDnsZone: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbDnsZones/{odb_dns_zone}
- odbNetwork: projects/{project}/locations/{location}/odbNetworks/{odb_network}
- odbSubnet: projects/{project}/locations/{location}/odbNetworks/{odb_network}/odbSubnets/{odb_subnet}
- pluggableDatabase: projects/{project}/locations/{location}/pluggableDatabases/{pluggable_database}
- secretVersion: projects/{project}/secrets/{secret}/versions/{secret_version}

The optional $template argument can be supplied to specify a particular pattern,
and must match one of the templates listed above. If no $template argument is
provided, or if the $template argument does not match one of the templates
listed, then parseName will check each of the supported templates, and return
the first match.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `formattedName` | `string` The formatted name string |
| `template` | `?string` Optional name of template to match |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `array` | An associative array from name component IDs to component values. |