diff --git a/.repo-metadata-full.json b/.repo-metadata-full.json index 67c5341d4cc3..fea1759fef1b 100644 --- a/.repo-metadata-full.json +++ b/.repo-metadata-full.json @@ -549,6 +549,14 @@ "library_type": "GAPIC_AUTO", "api_shortname": "clouddeploy" }, + "DeveloperConnect": { + "language": "php", + "distribution_name": "google/cloud-developerconnect", + "release_level": "preview", + "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-developerconnect/latest", + "library_type": "GAPIC_AUTO", + "api_shortname": "developerconnect" + }, "Dialogflow": { "language": "php", "distribution_name": "google/cloud-dialogflow", @@ -831,6 +839,22 @@ "library_type": "GAPIC_AUTO", "api_shortname": "managedidentities" }, + "MapsFleetEngine": { + "language": "php", + "distribution_name": "google/maps-fleetengine", + "release_level": "preview", + "client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine/latest", + "library_type": "GAPIC_AUTO", + "api_shortname": "fleetengine" + }, + "MapsFleetEngineDelivery": { + "language": "php", + "distribution_name": "google/maps-fleetengine-delivery", + "release_level": "preview", + "client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest", + "library_type": "GAPIC_AUTO", + "api_shortname": "fleetengine" + }, "MediaTranslation": { "language": "php", "distribution_name": "google/cloud-media-translation", @@ -1447,29 +1471,5 @@ "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-workflows/latest", "library_type": "GAPIC_AUTO", "api_shortname": "workflows" - }, - "MapsFleetEngine": { - "language": "php", - "distribution_name": "google/maps-fleetengine", - "release_level": "preview", - "client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine/latest", - "library_type": "GAPIC_AUTO", - "api_shortname": "fleetengine" - }, - "MapsFleetEngineDelivery": { - "language": "php", - "distribution_name": "google/maps-fleetengine-delivery", - "release_level": "preview", - "client_documentation": "https://cloud.google.com/php/docs/reference/maps-fleetengine-delivery/latest", - "library_type": "GAPIC_AUTO", - "api_shortname": "fleetengine" - }, - "DeveloperConnect": { - "language": "php", - "distribution_name": "google/cloud-developerconnect", - "release_level": "preview", - "client_documentation": "https://cloud.google.com/php/docs/reference/cloud-developerconnect/latest", - "library_type": "GAPIC_AUTO", - "api_shortname": "developerconnect" } -} \ No newline at end of file +} diff --git a/dev/src/Command/AddComponentCommand.php b/dev/src/Command/AddComponentCommand.php index f559046ae62f..f6cb24fe85b3 100644 --- a/dev/src/Command/AddComponentCommand.php +++ b/dev/src/Command/AddComponentCommand.php @@ -201,6 +201,7 @@ protected function execute(InputInterface $input, OutputInterface $output) $repoMetadataFullPath = $this->rootPath . '/.repo-metadata-full.json'; $repoMetadataFull = json_decode(file_get_contents($repoMetadataFullPath), true); $repoMetadataFull[$new->componentName] = $repoMetadata; + ksort($repoMetadataFull); file_put_contents( $repoMetadataFullPath, json_encode($repoMetadataFull, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)