From 639cf8d8f0773d55369eb491c1167caaa9f88476 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Wed, 7 Aug 2019 11:01:25 -0700 Subject: [PATCH] [CHANGE ME] Re-generated Iot to pick up changes in the API or client library generator. --- Iot/src/V1/Gapic/DeviceManagerGapicClient.php | 7 +++++-- Iot/synth.metadata | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Iot/src/V1/Gapic/DeviceManagerGapicClient.php b/Iot/src/V1/Gapic/DeviceManagerGapicClient.php index 07d50575c0ea..36a8da3bc384 100644 --- a/Iot/src/V1/Gapic/DeviceManagerGapicClient.php +++ b/Iot/src/V1/Gapic/DeviceManagerGapicClient.php @@ -135,7 +135,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/device_manager_client_config.json', 'descriptorsConfigPath' => __DIR__.'/../resources/device_manager_descriptor_config.php', 'gcpApiConfigPath' => __DIR__.'/../resources/device_manager_grpc_config.json', @@ -300,6 +300,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 'cloudiot.googleapis.com:443'. * @type string|array|FetchAuthTokenInterface|CredentialsWrapper $credentials @@ -327,7 +330,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/Iot/synth.metadata b/Iot/synth.metadata index 6eede8c97046..1e5bac4794b3 100644 --- a/Iot/synth.metadata +++ b/Iot/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-07-25T10:00:26.241553Z", + "updateTime": "2019-08-07T18:01:25.120076Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "4b12afe72950f36bef6f196a05f4430e4421a873", - "internalRef": "259790363" + "sha": "3a1b46a6668194a527e532a2c355b404c79b0e6a", + "internalRef": "262167956" } } ],