diff --git a/OracleDatabase/metadata/V1/ExadataInfra.php b/OracleDatabase/metadata/V1/ExadataInfra.php index df666be0395a..7d5665bb7a6d 100644 Binary files a/OracleDatabase/metadata/V1/ExadataInfra.php and b/OracleDatabase/metadata/V1/ExadataInfra.php differ diff --git a/OracleDatabase/src/V1/Client/OracleDatabaseClient.php b/OracleDatabase/src/V1/Client/OracleDatabaseClient.php index ae385a2af8c6..9c474eee3f7b 100644 --- a/OracleDatabase/src/V1/Client/OracleDatabaseClient.php +++ b/OracleDatabase/src/V1/Client/OracleDatabaseClient.php @@ -66,6 +66,7 @@ use Google\LongRunning\Client\OperationsClient; use Google\LongRunning\Operation; use GuzzleHttp\Promise\PromiseInterface; +use Psr\Log\LoggerInterface; /** * Service Description: Service describing handlers for resources @@ -323,14 +324,14 @@ public static function networkName(string $project, string $network): string * listed, then parseName will check each of the supported templates, and return * the first match. * - * @param string $formattedName The formatted name string - * @param string $template Optional name of template to match + * @param string $formattedName The formatted name string + * @param ?string $template Optional name of template to match * * @return array An associative array from name component IDs to component values. * * @throws ValidationException If $formattedName could not be matched. */ - public static function parseName(string $formattedName, string $template = null): array + public static function parseName(string $formattedName, ?string $template = null): array { return self::parseFormattedName($formattedName, $template); } @@ -382,6 +383,9 @@ public static function parseName(string $formattedName, string $template = null) * @type callable $clientCertSource * 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. + * @type false|LoggerInterface $logger + * A PSR-3 compliant logger. If set to false, logging is disabled, ignoring the + * 'GOOGLE_SDK_PHP_LOGGING' environment flag * } * * @throws ValidationException diff --git a/OracleDatabase/src/V1/CloudExadataInfrastructureProperties.php b/OracleDatabase/src/V1/CloudExadataInfrastructureProperties.php index 97d78c5bb6bd..0e0f4a20688d 100644 --- a/OracleDatabase/src/V1/CloudExadataInfrastructureProperties.php +++ b/OracleDatabase/src/V1/CloudExadataInfrastructureProperties.php @@ -75,9 +75,9 @@ class CloudExadataInfrastructureProperties extends \Google\Protobuf\Internal\Mes */ protected $oci_url = ''; /** - * Optional. The number of enabled CPU cores. + * Output only. The number of enabled CPU cores. * - * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $cpu_count = 0; /** @@ -87,9 +87,9 @@ class CloudExadataInfrastructureProperties extends \Google\Protobuf\Internal\Mes */ protected $max_cpu_count = 0; /** - * Optional. The memory allocated in GBs. + * Output only. The memory allocated in GBs. * - * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $memory_size_gb = 0; /** @@ -99,9 +99,9 @@ class CloudExadataInfrastructureProperties extends \Google\Protobuf\Internal\Mes */ protected $max_memory_gb = 0; /** - * Optional. The local node storage allocated in GBs. + * Output only. The local node storage allocated in GBs. * - * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $db_node_storage_size_gb = 0; /** @@ -219,15 +219,15 @@ class CloudExadataInfrastructureProperties extends \Google\Protobuf\Internal\Mes * @type string $oci_url * Output only. Deep link to the OCI console to view this resource. * @type int $cpu_count - * Optional. The number of enabled CPU cores. + * Output only. The number of enabled CPU cores. * @type int $max_cpu_count * Output only. The total number of CPU cores available. * @type int $memory_size_gb - * Optional. The memory allocated in GBs. + * Output only. The memory allocated in GBs. * @type int $max_memory_gb * Output only. The total memory available in GBs. * @type int $db_node_storage_size_gb - * Optional. The local node storage allocated in GBs. + * Output only. The local node storage allocated in GBs. * @type int $max_db_node_storage_size_gb * Output only. The total local node storage available in GBs. * @type float $data_storage_size_tb @@ -522,9 +522,9 @@ public function setOciUrl($var) } /** - * Optional. The number of enabled CPU cores. + * Output only. The number of enabled CPU cores. * - * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getCpuCount() @@ -533,9 +533,9 @@ public function getCpuCount() } /** - * Optional. The number of enabled CPU cores. + * Output only. The number of enabled CPU cores. * - * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 cpu_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -574,9 +574,9 @@ public function setMaxCpuCount($var) } /** - * Optional. The memory allocated in GBs. + * Output only. The memory allocated in GBs. * - * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getMemorySizeGb() @@ -585,9 +585,9 @@ public function getMemorySizeGb() } /** - * Optional. The memory allocated in GBs. + * Output only. The memory allocated in GBs. * - * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 memory_size_gb = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -626,9 +626,9 @@ public function setMaxMemoryGb($var) } /** - * Optional. The local node storage allocated in GBs. + * Output only. The local node storage allocated in GBs. * - * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getDbNodeStorageSizeGb() @@ -637,9 +637,9 @@ public function getDbNodeStorageSizeGb() } /** - * Optional. The local node storage allocated in GBs. + * Output only. The local node storage allocated in GBs. * - * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OPTIONAL]; + * Generated from protobuf field int32 db_node_storage_size_gb = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */