Conversation
|
It certainly appears you're correct that |
dwsupplee
left a comment
There was a problem hiding this comment.
The only GAPIC I spent much time looking at was DLP, as I assume most of the changes are the same across the board. If there is anything special I should go back and take a look at please let me know 😄.
src/Core/GrpcRequestWrapper.php
Outdated
| $retrySettings = [ | ||
| 'retriesEnabled' => false | ||
| ]; | ||
| if ($timeout && !array_key_exists('timeoutMs', $grpcOptions)) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| const CODEGEN_VERSION = '0.0.5'; | ||
|
|
||
| private static $resultNameTemplate; | ||
| private static $pathTemplateList = null; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| return self::$resultNameTemplate; | ||
| } | ||
| private static function getPathTemplateList() |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| if (!self::$gapicVersionLoaded) { | ||
| if (file_exists(__DIR__.'/../VERSION')) { | ||
| self::$gapicVersion = trim(file_get_contents(__DIR__.'/../VERSION')); | ||
| } elseif (class_exists('\Google\Cloud\Version')) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| if (file_exists(__DIR__.'/../VERSION')) { | ||
| self::$gapicVersion = trim(file_get_contents(__DIR__.'/../VERSION')); | ||
| } elseif (class_exists('\Google\Cloud\Version')) { | ||
| self::$gapicVersion = \Google\Cloud\Version::VERSION; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| @@ -278,6 +305,7 @@ public function __construct($options = []) | |||
| 'timeoutMillis' => self::DEFAULT_TIMEOUT_MILLIS, | |||
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| * A CredentialsLoader object created using the Google\Auth library. | ||
| * @type array $scopes A string array of scopes to use when acquiring credentials. | ||
| * Defaults to the scopes for the DLP API. | ||
| * @type string $clientConfigPath |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| * @return array An associative array from name component IDs to component values. | ||
| * @experimental | ||
| */ | ||
| public static function parseName($formattedName) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
src/Spanner/Database.php
Outdated
| ]; | ||
|
|
||
| $statement = sprintf('CREATE DATABASE `%s`', DatabaseAdminClient::parseDatabaseFromDatabaseName($this->name)); | ||
| $databaseNameComponents = DatabaseAdminClient::parseName($this->name()); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| */ | ||
| public function streamingRecognize($optionalArgs = []) | ||
| { | ||
| if (array_key_exists('timeoutMillis', $optionalArgs)) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| { | ||
| if (self::$resultNameTemplate == null) { | ||
| self::$resultNameTemplate = new PathTemplate('inspect/results/{result}'); | ||
| if (isset($templateMap[$template])) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
dwsupplee
left a comment
There was a problem hiding this comment.
One small note, otherwise LGTM!
|
|
||
| /** | ||
| * Update the subscription. | ||
| * |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Things to note:
It would be great to get any feedback early-ish tomorrow so I can make sure it gets fixed ASAP, and you will be able to merge this in my absence