Skip to content

chore: update copyright header to Google LLC BSD format#725

Merged
kevmoo merged 4 commits intomasterfrom
license_fix
Feb 28, 2026
Merged

chore: update copyright header to Google LLC BSD format#725
kevmoo merged 4 commits intomasterfrom
license_fix

Conversation

@kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Feb 28, 2026

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request aims to standardize and automate the management of copyright headers across the repository. It introduces a new, consistent Google LLC BSD-style license header and modifies the code generation process to automatically apply the correct copyright year based on Git history. This change improves legal compliance and reduces manual effort for maintaining license information in generated files.

Highlights

  • Standardized Copyright Header: The pull request updates copyright headers across numerous Dart files to a consistent 'Google LLC BSD-style' format.
  • New Expected License Header File: A new file, .github/expected_license_header.txt, was added to define the standard copyright header format.
  • Dynamic Copyright Year Generation: The discoveryapis_generator utility was enhanced to dynamically retrieve the appropriate copyright year from Git history for generated Dart source files, ensuring accuracy and consistency.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .github/expected_license_header.txt
    • Added new file defining the expected license header.
  • _googleapis_auth_e2e/bin/server.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • _googleapis_auth_e2e/test/e2e_test.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • _googleapis_auth_e2e/tool/deploy_and_run_e2e.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • _googleapis_auth_e2e/tool/run_local.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • _googleapis_auth_e2e/tool/tool_shared.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • _test/expected_identical.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • _test/expected_nonidentical.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • _test/lib/messages.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • _test/wrapapi.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/_discoveryapis_commons.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/api_requester.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/dart_version.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/multipart_media_uploader.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/request_impl.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/requests.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/resumable_media_uploader.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/utils.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/version_fallback.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/lib/src/version_io.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_commons/test/discoveryapis_commons_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/bin/generate.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/clientstub_generator.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/discoveryapis_generator.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/apis_files_generator.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/apis_package_generator.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/base_api_library.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/client/client_api_library.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/client/client_schemas.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_api_library.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_api_test_library.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_comments.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_resources.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_schema_type.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_schema_types.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/dart_schemas.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/generated_googleapis/discovery/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/generated_googleapis/src/user_agent.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/json_type.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/namer.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/pubspec.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/shared_output.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/type_deduplicate.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/unused_logic.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/uri_template.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/lib/src/utils.dart
    • Added a function to dynamically retrieve the copyright year from Git history.
    • Modified writeDartSource to prepend the new Google LLC BSD copyright header.
  • discoveryapis_generator/test/client_generator_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/test/dart_comments_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/test/dart_resources_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/test/dart_schemas_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/test/namer_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • discoveryapis_generator/test/uri_template_test.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/example/main.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/abusiveexperiencereport/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/acceleratedmobilepageurl/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/accessapproval/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/accesscontextmanager/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/addressvalidation/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/adexperiencereport/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/admin/datatransfer_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/admin/directory_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/admin/reports_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/admob/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/adsense/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/adsenseplatform/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/advisorynotifications/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/airquality/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/alloydb/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/analytics/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/analyticshub/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/androiddeviceprovisioning/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/androidenterprise/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/androidmanagement/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/androidpublisher/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/apigateway/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/apigeeregistry/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/apihub/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/apikeys/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/appengine/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/apphub/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/appsmarket/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/areainsights/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/artifactregistry/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/assuredworkloads/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/authorizedbuyersmarketplace/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/backupdr/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/baremetalsolution/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/batch/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/beyondcorp/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/biglake/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/bigquery/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/bigqueryconnection/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/bigquerydatapolicy/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/bigquerydatapolicy/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/bigquerydatatransfer/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/bigqueryreservation/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/bigtableadmin/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/billingbudgets/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/binaryauthorization/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/blockchainnodeengine/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/blogger/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/books/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/businessprofileperformance/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/calendar/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/certificatemanager/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/chat/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/chromemanagement/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/chromepolicy/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/chromeuxreport/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/chromewebstore/v1_1.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/chromewebstore/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/civicinfo/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/classroom/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/cloudasset/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/cloudbilling/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/cloudbuild/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/cloudbuild/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/cloudchannel/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/cloudcommerceprocurement/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/cloudcontrolspartner/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/clouddeploy/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/cloudfunctions/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/cloudfunctions/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/cloudidentity/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/cloudkms/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/cloudlocationfinder/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/cloudprofiler/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/cloudresourcemanager/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/cloudresourcemanager/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/cloudresourcemanager/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/cloudscheduler/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/cloudsearch/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/cloudshell/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/cloudsupport/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/cloudtasks/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/cloudtrace/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/composer/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/config/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/connectors/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/connectors/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/contactcenterinsights/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/container/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/containeranalysis/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/content/v2_1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/contentwarehouse/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/css/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/customsearch/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/datacatalog/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/dataform/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/datafusion/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/datalineage/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/datamanager/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/datamigration/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/datapipelines/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/dataplex/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/dataportability/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/dataproc/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/datastore/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/datastream/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/deploymentmanager/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/developerconnect/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/dfareporting/v3_5.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/dfareporting/v4.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/dfareporting/v5.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/dialogflow/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/dialogflow/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/digitalassetlinks/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/discovery/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/displayvideo/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/displayvideo/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/dlp/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/dns/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/docs/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/documentai/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/domains/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/doubleclickbidmanager/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/doubleclicksearch/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/drive/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/drive/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/driveactivity/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/drivelabels/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/essentialcontacts/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/eventarc/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/fcm/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/file/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/firebaseappcheck/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/firebaseappdistribution/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/firebaseapphosting/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/firebasedataconnect/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/firebasedynamiclinks/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/firebasehosting/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/firebaseml/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/firebaserules/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/firestore/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/fitness/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/forms/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/games/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/gamesconfiguration/v1configuration.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/gamesmanagement/v1management.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/gkebackup/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/gkehub/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/gkehub/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/gkeonprem/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/gmail/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/gmailpostmastertools/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/groupsmigration/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/groupssettings/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/healthcare/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/homegraph/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/hypercomputecluster/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/iam/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/iam/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/iamcredentials/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/iap/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/identitytoolkit/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/identitytoolkit/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/identitytoolkit/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/ids/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/indexing/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/integrations/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/jobs/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2018.
  • generated/googleapis/lib/jobs/v4.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/keep/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/kgsearch/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/kmsinventory/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/language/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/language/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/libraryagent/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/licensing/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/localservices/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/logging/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/looker/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/managedidentities/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/managedkafka/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/manufacturers/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/meet/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/memcache/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/merchantapi/accounts_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/conversions_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/datasources_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/inventories_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/issueresolution_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/lfp_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/notifications_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/ordertracking_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/products_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/promotions_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/quota_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/merchantapi/reports_v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/metastore/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/migrationcenter/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/ml/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/monitoring/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/mybusinessaccountmanagement/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/mybusinessbusinessinformation/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/mybusinesslodging/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/mybusinessnotifications/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/mybusinessplaceactions/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/mybusinessqanda/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/mybusinessverifications/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/netapp/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/networkconnectivity/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/networkmanagement/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/networksecurity/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/networkservices/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/notebooks/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/notebooks/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/oauth2/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2014.
  • generated/googleapis/lib/observability/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/ondemandscanning/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/oracledatabase/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/orgpolicy/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/osconfig/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/osconfig/v2.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/oslogin/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/pagespeedonline/v5.dart
    • Updated copyright header to Google LLC BSD format with year 2019.
  • generated/googleapis/lib/parallelstore/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/parametermanager/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2025.
  • generated/googleapis/lib/paymentsresellersubscription/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/people/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2016.
  • generated/googleapis/lib/places/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/playcustomapp/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2017.
  • generated/googleapis/lib/playintegrity/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2022.
  • generated/googleapis/lib/policyanalyzer/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/policysimulator/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/policytroubleshooter/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2020.
  • generated/googleapis/lib/policytroubleshooter/v3.dart
    • Updated copyright header to Google LLC BSD format with year 2026.
  • generated/googleapis/lib/pollen/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2024.
  • generated/googleapis/lib/privateca/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/publicca/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/pubsub/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2015.
  • generated/googleapis/lib/pubsublite/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
  • generated/googleapis/lib/rapidmigrationassessment/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/readerrevenuesubscriptionlinking/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2023.
  • generated/googleapis/lib/realtimebidding/v1.dart
    • Updated copyright header to Google LLC BSD format with year 2021.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/health.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates copyright headers across the repository to the Google LLC BSD format. It introduces new logic in the generator to determine the copyright year based on Git history. While most changes are mechanical updates to headers, I've identified a potential command injection vulnerability and a bug in the new generator logic within discoveryapis_generator/lib/src/utils.dart that should be addressed.

@github-actions
Copy link

github-actions bot commented Feb 28, 2026

PR Health

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?
_discoveryapis_commons None 1.0.7 1.0.8-wip 1.0.8-wip ✔️
discoveryapis_generator Breaking 1.0.0 1.1.0-wip 1.1.0-wip ✔️
googleapis None 16.0.0 16.0.0 16.0.0 ✔️
googleapis_auth Non-Breaking 2.1.0 2.2.0-wip 2.2.0-wip ✔️
googleapis_beta Breaking 9.0.0 9.1.0-wip 9.1.0-wip ✔️

This check can be disabled by tagging the PR with skip-breaking-check.

Unused Dependencies ✔️
Package Status
_discoveryapis_commons ✔️ All dependencies utilized correctly.
discoveryapis_generator ✔️ All dependencies utilized correctly.
googleapis ✔️ All dependencies utilized correctly.
googleapis_auth ✔️ All dependencies utilized correctly.
googleapis_beta ✔️ All dependencies utilized correctly.

For details on how to fix these, see dependency_validator.

This check can be disabled by tagging the PR with skip-unused-dependencies-check.

License Headers ✔️
//
Files
no missing headers

All source files should start with a license header.

This check can be disabled by tagging the PR with skip-license-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

- Fix command injection vulnerability in utils.dart
- Fix interpolation bug in utils.dart
- Fix license headers in _test/lib/messages.dart
- Update health.yml to use the native license/license_test_string options
@kevmoo kevmoo merged commit cad632f into master Feb 28, 2026
41 of 42 checks passed
@kevmoo kevmoo deleted the license_fix branch February 28, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant