困っていたこと PHPでGoogle Maps PlatformのPlaces APIを使うため、google/apiclientを使って近所の店舗を検索しようとしていた。 最初に下記のようなコードを書いたのだが、FieldMask is a required parameter.という400エラーが返ってくる。 $client = new Google\Client(); $client->setDeveloperKey($_ENV['GOOGLE_API_KEY']); $mapPlacesApi = new Google\Service\MapsPlaces($client); $req…