Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .generator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ def _create_repo_metadata_from_service_config(
# newly generated clients.
release_level = "preview"

return {
metadata = {
"name": library_id,
"name_pretty": name_pretty,
"api_description": api_description,
Expand All @@ -546,6 +546,11 @@ def _create_repo_metadata_from_service_config(
"default_version": Path(api_path).name,
"api_shortname": api_shortname,
}
# Note: we sort this to be forward-compatible with the next version of
# librarian, which generates .repo-metadata.json files from scratch,
# and always does so with sorted keys. This will reduce the diff during
# migration.
return dict(sorted(metadata.items()))


def _get_repo_metadata_file_path(base: str, library_id: str, is_mono_repo: bool):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-ads-admanager",
"name_pretty": "Google Ad Manager",
"api_description": "Manage your Ad Manager inventory, run reports and more.",
"product_documentation": "https://developers.google.com/ad-manager/api/beta",
"client_documentation": "https://googleapis.dev/python/google-ads-admanager/latest",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1265187&template=1787490",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-ads-admanager",
"api_id": "admanager.googleapis.com",
"default_version": "v1",
"api_shortname": "admanager"
"api_description": "Manage your Ad Manager inventory, run reports and more.",
"api_id": "admanager.googleapis.com",
"api_shortname": "admanager",
"client_documentation": "https://googleapis.dev/python/google-ads-admanager/latest",
"default_version": "v1",
"distribution_name": "google-ads-admanager",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1265187&template=1787490",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-ads-admanager",
"name_pretty": "Google Ad Manager",
"product_documentation": "https://developers.google.com/ad-manager/api/beta",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-ads-marketingplatform-admin",
"name_pretty": "Google Marketing Platform Admin API",
"api_description": "The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, and to set the service level of your GA4 properties.",
"product_documentation": "https://developers.google.com/analytics/devguides/config/gmp/v1",
"client_documentation": "https://googleapis.dev/python/google-ads-marketingplatform-admin/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-ads-marketingplatform-admin",
"api_id": "marketingplatformadmin.googleapis.com",
"default_version": "v1alpha",
"api_shortname": "marketingplatformadmin"
"api_description": "The Google Marketing Platform Admin API allows for programmatic access to the Google Marketing Platform configuration data. You can use the Google Marketing Platform Admin API to manage links between your Google Marketing Platform organization and Google Analytics accounts, and to set the service level of your GA4 properties.",
"api_id": "marketingplatformadmin.googleapis.com",
"api_shortname": "marketingplatformadmin",
"client_documentation": "https://googleapis.dev/python/google-ads-marketingplatform-admin/latest",
"default_version": "v1alpha",
"distribution_name": "google-ads-marketingplatform-admin",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-ads-marketingplatform-admin",
"name_pretty": "Google Marketing Platform Admin API",
"product_documentation": "https://developers.google.com/analytics/devguides/config/gmp/v1",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "generativelanguage",
"name_pretty": "Generative Language API",
"api_description": "The Gemini API allows developers to build generative AI applications using Gemini models. Gemini is our most capable model, built from the ground up to be multimodal. It can generalize and seamlessly understand, operate across, and combine different types of information including language, images, audio, video, and code. You can use the Gemini API for use cases like reasoning across text and images, content generation, dialogue agents, summarization and classification systems, and more.",
"product_documentation": "https://ai.google.dev/docs",
"api_id": "generativelanguage.googleapis.com",
"api_shortname": "generativelanguage",
"client_documentation": "https://googleapis.dev/python/generativelanguage/latest",
"default_version": "v1beta",
"distribution_name": "google-ai-generativelanguage",
"issue_tracker": "https://github.com/google/generative-ai-python/issues/new",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-ai-generativelanguage",
"api_id": "generativelanguage.googleapis.com",
"default_version": "v1beta",
"api_shortname": "generativelanguage"
"name": "generativelanguage",
"name_pretty": "Generative Language API",
"product_documentation": "https://ai.google.dev/docs",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "analyticsadmin",
"name_pretty": "Analytics Admin",
"product_documentation": "https://developers.google.com/analytics/",
"client_documentation": "https://googleapis.dev/python/analyticsadmin/latest",
"issue_tracker": "https://issuetracker.google.com/issues?q=componentid:187400",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-analytics-admin",
"api_id": "analyticsadmin.googleapis.com",
"default_version": "v1alpha",
"api_shortname": "analyticsadmin",
"api_description": "allows you to manage Google Analytics accounts and properties."
"api_description": "allows you to manage Google Analytics accounts and properties.",
"api_id": "analyticsadmin.googleapis.com",
"api_shortname": "analyticsadmin",
"client_documentation": "https://googleapis.dev/python/analyticsadmin/latest",
"default_version": "v1alpha",
"distribution_name": "google-analytics-admin",
"issue_tracker": "https://issuetracker.google.com/issues?q=componentid:187400",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "analyticsadmin",
"name_pretty": "Analytics Admin",
"product_documentation": "https://developers.google.com/analytics/",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"name": "analyticsdata",
"name_pretty": "Analytics Data",
"product_documentation": "https://developers.google.com/analytics/",
"client_documentation": "https://googleapis.dev/python/analyticsdata/latest",
"issue_tracker": "https://issuetracker.google.com/issues?q=componentid:187400%2B%20",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-analytics-data",
"api_id": "analyticsdata.googleapis.com",
"requires_billing": true,
"default_version": "v1beta",
"api_shortname": "analyticsdata",
"api_description": "provides programmatic methods to access report data in Google Analytics App+Web properties."
"api_description": "provides programmatic methods to access report data in Google Analytics App+Web properties.",
"api_id": "analyticsdata.googleapis.com",
"api_shortname": "analyticsdata",
"client_documentation": "https://googleapis.dev/python/analyticsdata/latest",
"default_version": "v1beta",
"distribution_name": "google-analytics-data",
"issue_tracker": "https://issuetracker.google.com/issues?q=componentid:187400%2B%20",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "analyticsdata",
"name_pretty": "Analytics Data",
"product_documentation": "https://developers.google.com/analytics/",
"release_level": "preview",
"repo": "googleapis/google-cloud-python",
"requires_billing": true
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-apps-card",
"name_pretty": "Google Apps Card Protos",
"api_description": "Google Apps Card Protos",
"product_documentation": "https://developers.google.com/chat",
"client_documentation": "https://googleapis.dev/python/google-apps-card/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-apps-card",
"api_id": "card.googleapis.com",
"default_version": "v1",
"api_shortname": "card"
"api_description": "Google Apps Card Protos",
"api_id": "card.googleapis.com",
"api_shortname": "card",
"client_documentation": "https://googleapis.dev/python/google-apps-card/latest",
"default_version": "v1",
"distribution_name": "google-apps-card",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-apps-card",
"name_pretty": "Google Apps Card Protos",
"product_documentation": "https://developers.google.com/chat",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-apps-chat",
"name_pretty": "Chat API",
"api_description": "",
"product_documentation": "https://developers.google.com/chat/",
"client_documentation": "https://googleapis.dev/python/google-apps-chat/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-apps-chat",
"api_id": "chat.googleapis.com",
"default_version": "v1",
"api_shortname": "chat"
"api_description": "",
"api_id": "chat.googleapis.com",
"api_shortname": "chat",
"client_documentation": "https://googleapis.dev/python/google-apps-chat/latest",
"default_version": "v1",
"distribution_name": "google-apps-chat",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-apps-chat",
"name_pretty": "Chat API",
"product_documentation": "https://developers.google.com/chat/",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-apps-events-subscriptions",
"name_pretty": "Google Workspace Events API",
"api_description": "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.",
"product_documentation": "https://developers.google.com/workspace/events",
"client_documentation": "https://googleapis.dev/python/google-apps-events-subscriptions/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-apps-events-subscriptions",
"api_id": "subscriptions.googleapis.com",
"default_version": "v1",
"api_shortname": "subscriptions"
"api_description": "The Google Workspace Events API lets you subscribe to events and manage change notifications across Google Workspace applications.",
"api_id": "subscriptions.googleapis.com",
"api_shortname": "subscriptions",
"client_documentation": "https://googleapis.dev/python/google-apps-events-subscriptions/latest",
"default_version": "v1",
"distribution_name": "google-apps-events-subscriptions",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-apps-events-subscriptions",
"name_pretty": "Google Workspace Events API",
"product_documentation": "https://developers.google.com/workspace/events",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "google-apps-meet",
"name_pretty": "Google Meet API",
"api_description": "Create and manage meetings in Google Meet.",
"product_documentation": "https://developers.google.com/meet/api/guides/overview",
"client_documentation": "https://googleapis.dev/python/google-apps-meet/latest",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1216362&template=1766418",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-apps-meet",
"api_id": "meet.googleapis.com",
"default_version": "v2",
"api_shortname": "meet"
"api_description": "Create and manage meetings in Google Meet.",
"api_id": "meet.googleapis.com",
"api_shortname": "meet",
"client_documentation": "https://googleapis.dev/python/google-apps-meet/latest",
"default_version": "v2",
"distribution_name": "google-apps-meet",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=1216362&template=1766418",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "google-apps-meet",
"name_pretty": "Google Meet API",
"product_documentation": "https://developers.google.com/meet/api/guides/overview",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "type",
"name_pretty": "Google Apps Script Type Protos",
"api_description": "",
"product_documentation": "https://developers.google.com/apps-script/",
"client_documentation": "https://googleapis.dev/python/type/latest",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-apps-script-type",
"api_id": "type.googleapis.com",
"default_version": "apiVersion",
"api_shortname": "type"
"api_description": "",
"api_id": "type.googleapis.com",
"api_shortname": "type",
"client_documentation": "https://googleapis.dev/python/type/latest",
"default_version": "apiVersion",
"distribution_name": "google-apps-script-type",
"issue_tracker": "https://github.com/googleapis/google-cloud-python/issues",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "type",
"name_pretty": "Google Apps Script Type Protos",
"product_documentation": "https://developers.google.com/apps-script/",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "area120tables",
"name_pretty": "Area 120 Tables",
"product_documentation": "https://area120.google.com",
"client_documentation": "https://googleapis.dev/python/area120tables/latest",
"issue_tracker": "",
"release_level": "preview",
"language": "python",
"library_type": "GAPIC_AUTO",
"repo": "googleapis/google-cloud-python",
"distribution_name": "google-area120-tables",
"api_id": "area120tables.googleapis.com",
"default_version": "v1alpha1",
"api_shortname": "area120tables",
"api_description": "provides programmatic methods to the Area 120 Tables API."
"api_description": "provides programmatic methods to the Area 120 Tables API.",
"api_id": "area120tables.googleapis.com",
"api_shortname": "area120tables",
"client_documentation": "https://googleapis.dev/python/area120tables/latest",
"default_version": "v1alpha1",
"distribution_name": "google-area120-tables",
"issue_tracker": "",
"language": "python",
"library_type": "GAPIC_AUTO",
"name": "area120tables",
"name_pretty": "Area 120 Tables",
"product_documentation": "https://area120.google.com",
"release_level": "preview",
"repo": "googleapis/google-cloud-python"
}
Loading
Loading