From 223a9397b32feafa4561645bd61ceada52cb27f9 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 7 Aug 2019 11:02:19 -0700 Subject: [PATCH] [CHANGE ME] Re-generated Logging to pick up changes in the API or client library generator. --- Logging/src/V2/Gapic/ConfigServiceV2GapicClient.php | 7 +++++-- Logging/src/V2/Gapic/LoggingServiceV2GapicClient.php | 7 +++++-- Logging/src/V2/Gapic/MetricsServiceV2GapicClient.php | 7 +++++-- Logging/synth.metadata | 10 +++++----- 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/Logging/src/V2/Gapic/ConfigServiceV2GapicClient.php b/Logging/src/V2/Gapic/ConfigServiceV2GapicClient.php index 1abf7ec22f0e..eebd5b67415c 100644 --- a/Logging/src/V2/Gapic/ConfigServiceV2GapicClient.php +++ b/Logging/src/V2/Gapic/ConfigServiceV2GapicClient.php @@ -134,7 +134,7 @@ private static function getClientDefaults() { return [ 'serviceName' => self::SERVICE_NAME, - 'serviceAddress' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, + 'apiEndpoint' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__.'/../resources/config_service_v2_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/config_service_v2_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/config_service_v2_grpc_config.json', @@ -291,6 +291,9 @@ public static function parseName($formattedName, $template = null) * Optional. Options for configuring the service API wrapper. * * @type string $serviceAddress + * **Deprecated**. This option will be removed in a future major release. Please + * utilize the `$apiEndpoint` option instead. + * @type string $apiEndpoint * The address of the API remote host. May optionally include the port, formatted * as ":". Default 'logging.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -318,7 +321,7 @@ public static function parseName($formattedName, $template = null) * 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 * {@see \Google\ApiCore\Transport\TransportInterface} object. Note that when this - * object is provided, any settings in $transportConfig, and any $serviceAddress + * object is provided, any settings in $transportConfig, and any `$apiEndpoint` * setting, will be ignored. * @type array $transportConfig * Configuration options that will be used to construct the transport. Options for diff --git a/Logging/src/V2/Gapic/LoggingServiceV2GapicClient.php b/Logging/src/V2/Gapic/LoggingServiceV2GapicClient.php index 72988c05d576..e659923ba2ae 100644 --- a/Logging/src/V2/Gapic/LoggingServiceV2GapicClient.php +++ b/Logging/src/V2/Gapic/LoggingServiceV2GapicClient.php @@ -113,7 +113,7 @@ private static function getClientDefaults() { return [ 'serviceName' => self::SERVICE_NAME, - 'serviceAddress' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, + 'apiEndpoint' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__.'/../resources/logging_service_v2_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/logging_service_v2_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/logging_service_v2_grpc_config.json', @@ -241,6 +241,9 @@ public static function parseName($formattedName, $template = null) * Optional. Options for configuring the service API wrapper. * * @type string $serviceAddress + * **Deprecated**. This option will be removed in a future major release. Please + * utilize the `$apiEndpoint` option instead. + * @type string $apiEndpoint * The address of the API remote host. May optionally include the port, formatted * as ":". Default 'logging.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -268,7 +271,7 @@ public static function parseName($formattedName, $template = null) * 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 * {@see \Google\ApiCore\Transport\TransportInterface} object. Note that when this - * object is provided, any settings in $transportConfig, and any $serviceAddress + * object is provided, any settings in $transportConfig, and any `$apiEndpoint` * setting, will be ignored. * @type array $transportConfig * Configuration options that will be used to construct the transport. Options for diff --git a/Logging/src/V2/Gapic/MetricsServiceV2GapicClient.php b/Logging/src/V2/Gapic/MetricsServiceV2GapicClient.php index 1694cce4b283..97f9479f9fed 100644 --- a/Logging/src/V2/Gapic/MetricsServiceV2GapicClient.php +++ b/Logging/src/V2/Gapic/MetricsServiceV2GapicClient.php @@ -124,7 +124,7 @@ private static function getClientDefaults() { return [ 'serviceName' => self::SERVICE_NAME, - 'serviceAddress' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, + 'apiEndpoint' => self::SERVICE_ADDRESS.':'.self::DEFAULT_SERVICE_PORT, 'clientConfig' => __DIR__.'/../resources/metrics_service_v2_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/metrics_service_v2_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/metrics_service_v2_grpc_config.json', @@ -252,6 +252,9 @@ public static function parseName($formattedName, $template = null) * Optional. Options for configuring the service API wrapper. * * @type string $serviceAddress + * **Deprecated**. This option will be removed in a future major release. Please + * utilize the `$apiEndpoint` option instead. + * @type string $apiEndpoint * The address of the API remote host. May optionally include the port, formatted * as ":". Default 'logging.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -279,7 +282,7 @@ public static function parseName($formattedName, $template = null) * 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 * {@see \Google\ApiCore\Transport\TransportInterface} object. Note that when this - * object is provided, any settings in $transportConfig, and any $serviceAddress + * object is provided, any settings in $transportConfig, and any `$apiEndpoint` * setting, will be ignored. * @type array $transportConfig * Configuration options that will be used to construct the transport. Options for diff --git a/Logging/synth.metadata b/Logging/synth.metadata index a485b7e86e4d..41f1d9c05ba8 100644 --- a/Logging/synth.metadata +++ b/Logging/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-06-04T19:26:37.706562Z", + "updateTime": "2019-08-07T18:02:18.933481Z", "sources": [ { "generator": { "name": "artman", - "version": "0.23.0", - "dockerImage": "googleapis/artman@sha256:846102ebf7ea2239162deea69f64940443b4147f7c2e68d64b332416f74211ba" + "version": "0.29.1", + "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "0026f4b890ed9e2388fb0573c0727defa6f5b82e", - "internalRef": "251265049" + "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a", + "internalRef": "262167956" } } ],