From c6e5e33c37c7063dcadb14cf02039f9a7e4e8f06 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 7 Aug 2019 11:02:01 -0700 Subject: [PATCH] [CHANGE ME] Re-generated Language to pick up changes in the API or client library generator. --- Language/src/V1/Gapic/LanguageServiceGapicClient.php | 7 +++++-- .../src/V1beta2/Gapic/LanguageServiceGapicClient.php | 7 +++++-- Language/synth.metadata | 10 +++++----- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Language/src/V1/Gapic/LanguageServiceGapicClient.php b/Language/src/V1/Gapic/LanguageServiceGapicClient.php index 955c0ca73ce0..5bfb943be650 100644 --- a/Language/src/V1/Gapic/LanguageServiceGapicClient.php +++ b/Language/src/V1/Gapic/LanguageServiceGapicClient.php @@ -104,7 +104,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/language_service_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/language_service_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/language_service_grpc_config.json', @@ -126,6 +126,9 @@ private static function getClientDefaults() * 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 'language.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -153,7 +156,7 @@ private static function getClientDefaults() * 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/Language/src/V1beta2/Gapic/LanguageServiceGapicClient.php b/Language/src/V1beta2/Gapic/LanguageServiceGapicClient.php index 07762ac383d8..2ad7d6ba7bbb 100644 --- a/Language/src/V1beta2/Gapic/LanguageServiceGapicClient.php +++ b/Language/src/V1beta2/Gapic/LanguageServiceGapicClient.php @@ -103,7 +103,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/language_service_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/language_service_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/language_service_grpc_config.json', @@ -125,6 +125,9 @@ private static function getClientDefaults() * 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 'language.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -152,7 +155,7 @@ private static function getClientDefaults() * 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/Language/synth.metadata b/Language/synth.metadata index f13ebfb7df47..af31bbb988b8 100644 --- a/Language/synth.metadata +++ b/Language/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-06-24T17:05:37.200555Z", + "updateTime": "2019-08-07T18:02:01.083651Z", "sources": [ { "generator": { "name": "artman", - "version": "0.29.0", - "dockerImage": "googleapis/artman@sha256:b79c8c20ee51e5302686c9d1294672d59290df1489be93749ef17d0172cc508d" + "version": "0.29.1", + "dockerImage": "googleapis/artman@sha256:b2a73f4dda03ef8fcaa973e3ba26d0cf34091f6c22c70add663af325931aef4d" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "de1150ccad2a3daa4e265a0948bec54fdf9c8b54", - "internalRef": "254446031" + "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a", + "internalRef": "262167956" } } ],