Skip to content

Commit 4e453c0

Browse files
authored
chore: remove name_pretty_override from selected packages (#16861)
This removes name_pretty_override from just four packages: - google-cloud-storage - google-cloud-bigquery-storage - google-cloud-pubsub - googleapis-common-protos These are the packages with post-processing files that need changing at the same time.
1 parent 869f9bf commit 4e453c0

21 files changed

Lines changed: 74 additions & 78 deletions

File tree

.librarian/generator-input/client-post-processing/bigquery-storage-integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ replacements:
476476
before: |
477477
.. include:: README.rst\n
478478
.. include:: multiprocessing.rst\n
479-
This package includes clients for multiple versions of Google BigQuery Storage.
479+
This package includes clients for multiple versions of BigQuery Storage.
480480
By default, you will get version ``bigquery_storage_v1``.\n\n
481481
API Reference
482482
-------------

.librarian/generator-input/client-post-processing/googleapis-common-protos-docs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ replacements:
1717
- paths: [
1818
packages/googleapis-common-protos/README.rst
1919
]
20-
before: "`Google APIs Common Protos`_: Lets you define and config your API service.\n\n"
20+
before: "`Service Config`_: Lets you define and config your API service.\n\n"
2121
after: ""
2222
count: 1
2323
- paths: [
@@ -29,7 +29,7 @@ replacements:
2929
- paths: [
3030
packages/googleapis-common-protos/README.rst
3131
]
32-
before: ".. _Google APIs Common Protos: \n"
32+
before: ".. _Service Config: \n"
3333
after: ""
3434
count: 1
3535
- paths: [
@@ -42,28 +42,28 @@ replacements:
4242
packages/googleapis-common-protos/README.rst
4343
]
4444
before: |
45-
3. `Enable the Google APIs Common Protos.`_
45+
3. `Enable the Service Config.`_
4646
4. `Set up Authentication.`_
4747
after: |
4848
3. `Set up Authentication.`_
4949
count: 1
5050
- paths: [
5151
packages/googleapis-common-protos/README.rst
5252
]
53-
before: ".. _Enable the Google APIs Common Protos.: \n"
53+
before: ".. _Enable the Service Config.: \n"
5454
after: ""
5555
count: 1
5656
- paths: [
5757
packages/googleapis-common-protos/README.rst
5858
]
5959
before: |
60-
- Read the `Google APIs Common Protos Product documentation`_ to learn
60+
- Read the `Service Config Product documentation`_ to learn
6161
more about the product and see How-to Guides.
6262
after: ""
6363
count: 1
6464
- paths: [
6565
packages/googleapis-common-protos/README.rst
6666
]
67-
before: ".. _Google APIs Common Protos Product documentation: \n"
67+
before: ".. _Service Config Product documentation: \n"
6868
after: ""
6969
count: 1

.librarian/generator-input/client-post-processing/pubsub-integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,9 @@ replacements:
178178
# --- FIX: Restore custom README.rst Introduction ---
179179
- paths:
180180
- "packages/google-cloud-pubsub/README.rst"
181-
before: '`Google Cloud Pub/Sub`_: is designed to provide reliable, many-to-many, asynchronous messaging between applications\. Publisher applications can send messages to a topic and other applications can subscribe to that topic to receive the messages\. By decoupling senders and receivers, Google Cloud Pub/Sub allows developers to communicate between independently written applications\.'
181+
before: '`Cloud Pub/Sub`_: is designed to provide reliable, many-to-many, asynchronous messaging between applications\. Publisher applications can send messages to a topic and other applications can subscribe to that topic to receive the messages\. By decoupling senders and receivers, Google Cloud Pub/Sub allows developers to communicate between independently written applications\.'
182182
after: |-
183-
'Google Cloud Pub/Sub:' is a fully-managed real-time messaging service that
183+
'Cloud Pub/Sub:' is a fully-managed real-time messaging service that
184184
allows you to send and receive messages between independent applications. You
185185
can leverage Cloud Pub/Sub’s flexibility to decouple systems and components
186186
hosted on Google Cloud Platform or elsewhere on the Internet. By building on

.librarian/generator-input/client-post-processing/storage-integration.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,11 +287,11 @@ replacements:
287287
packages/google-cloud-storage/README.rst,
288288
]
289289
before: |
290-
Python Client for Google Cloud Storage
290+
Python Client for Cloud Storage
291291
[\s\S]*?\(This is the reason for 2.i. above.\)
292292
after: |
293-
Python Client for Google Cloud Storage
294-
======================================
293+
Python Client for Cloud Storage
294+
===============================
295295
296296
|stable| |pypi| |versions|
297297

librarian.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ libraries:
708708
- docs/bigquery_storage_v1beta2/library.rst
709709
python:
710710
library_type: GAPIC_COMBO
711-
name_pretty_override: Google BigQuery Storage
712711
metadata_name_override: bigquerystorage
713712
default_version: v1
714713
- name: google-cloud-bigtable
@@ -1961,7 +1960,6 @@ libraries:
19611960
google/pubsub/v1:
19621961
- python-gapic-namespace=google
19631962
- python-gapic-name=pubsub
1964-
name_pretty_override: Google Cloud Pub/Sub
19651963
metadata_name_override: pubsub
19661964
default_version: v1
19671965
- name: google-cloud-quotas
@@ -2277,7 +2275,6 @@ libraries:
22772275
google/storage/v2:
22782276
- python-gapic-namespace=google.cloud
22792277
- python-gapic-name=_storage
2280-
name_pretty_override: Google Cloud Storage
22812278
issue_tracker_override: https://issuetracker.google.com/savedsearches/559782
22822279
metadata_name_override: storage
22832280
default_version: v2
@@ -2945,7 +2942,6 @@ libraries:
29452942
- google/cloud/location
29462943
- google/logging/type
29472944
- google/rpc/context
2948-
name_pretty_override: Google APIs Common Protos
29492945
client_documentation_override: https://github.com/googleapis/google-cloud-python/tree/main/packages/googleapis-common-protos
29502946
default_version: apiVersion
29512947
- name: grafeas

packages/google-cloud-bigquery-storage/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"language": "python",
99
"library_type": "GAPIC_COMBO",
1010
"name": "bigquerystorage",
11-
"name_pretty": "Google BigQuery Storage",
11+
"name_pretty": "BigQuery Storage",
1212
"product_documentation": "https://cloud.google.com/bigquery/",
1313
"release_level": "stable",
1414
"repo": "googleapis/google-cloud-python"

packages/google-cloud-bigquery-storage/README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Python Client for Google BigQuery Storage
2-
=========================================
1+
Python Client for BigQuery Storage
2+
==================================
33

44
|stable| |pypi| |versions|
55

6-
`Google BigQuery Storage`_:
6+
`BigQuery Storage`_:
77

88
- `Client Library Documentation`_
99
- `Product Documentation`_
@@ -14,7 +14,7 @@ Python Client for Google BigQuery Storage
1414
:target: https://pypi.org/project/google-cloud-bigquery-storage/
1515
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigquery-storage.svg
1616
:target: https://pypi.org/project/google-cloud-bigquery-storage/
17-
.. _Google BigQuery Storage: https://cloud.google.com/bigquery/
17+
.. _BigQuery Storage: https://cloud.google.com/bigquery/
1818
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/bigquerystorage/latest/summary_overview
1919
.. _Product Documentation: https://cloud.google.com/bigquery/
2020

@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
2525

2626
1. `Select or create a Cloud Platform project.`_
2727
2. `Enable billing for your project.`_
28-
3. `Enable the Google BigQuery Storage.`_
28+
3. `Enable the BigQuery Storage.`_
2929
4. `Set up Authentication.`_
3030

3131
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
3232
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33-
.. _Enable the Google BigQuery Storage.: https://cloud.google.com/bigquery/
33+
.. _Enable the BigQuery Storage.: https://cloud.google.com/bigquery/
3434
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
@@ -97,14 +97,14 @@ Windows
9797
Next Steps
9898
~~~~~~~~~~
9999

100-
- Read the `Client Library Documentation`_ for Google BigQuery Storage
100+
- Read the `Client Library Documentation`_ for BigQuery Storage
101101
to see other available methods on the client.
102-
- Read the `Google BigQuery Storage Product documentation`_ to learn
102+
- Read the `BigQuery Storage Product documentation`_ to learn
103103
more about the product and see How-to Guides.
104104
- View this `README`_ to see the full list of Cloud
105105
APIs that we cover.
106106

107-
.. _Google BigQuery Storage Product documentation: https://cloud.google.com/bigquery/
107+
.. _BigQuery Storage Product documentation: https://cloud.google.com/bigquery/
108108
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
109109

110110
Logging

packages/google-cloud-bigquery-storage/docs/README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Python Client for Google BigQuery Storage
2-
=========================================
1+
Python Client for BigQuery Storage
2+
==================================
33

44
|stable| |pypi| |versions|
55

6-
`Google BigQuery Storage`_:
6+
`BigQuery Storage`_:
77

88
- `Client Library Documentation`_
99
- `Product Documentation`_
@@ -14,7 +14,7 @@ Python Client for Google BigQuery Storage
1414
:target: https://pypi.org/project/google-cloud-bigquery-storage/
1515
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigquery-storage.svg
1616
:target: https://pypi.org/project/google-cloud-bigquery-storage/
17-
.. _Google BigQuery Storage: https://cloud.google.com/bigquery/
17+
.. _BigQuery Storage: https://cloud.google.com/bigquery/
1818
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/bigquerystorage/latest/summary_overview
1919
.. _Product Documentation: https://cloud.google.com/bigquery/
2020

@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
2525

2626
1. `Select or create a Cloud Platform project.`_
2727
2. `Enable billing for your project.`_
28-
3. `Enable the Google BigQuery Storage.`_
28+
3. `Enable the BigQuery Storage.`_
2929
4. `Set up Authentication.`_
3030

3131
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
3232
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33-
.. _Enable the Google BigQuery Storage.: https://cloud.google.com/bigquery/
33+
.. _Enable the BigQuery Storage.: https://cloud.google.com/bigquery/
3434
.. _Set up Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
@@ -97,14 +97,14 @@ Windows
9797
Next Steps
9898
~~~~~~~~~~
9999

100-
- Read the `Client Library Documentation`_ for Google BigQuery Storage
100+
- Read the `Client Library Documentation`_ for BigQuery Storage
101101
to see other available methods on the client.
102-
- Read the `Google BigQuery Storage Product documentation`_ to learn
102+
- Read the `BigQuery Storage Product documentation`_ to learn
103103
more about the product and see How-to Guides.
104104
- View this `README`_ to see the full list of Cloud
105105
APIs that we cover.
106106

107-
.. _Google BigQuery Storage Product documentation: https://cloud.google.com/bigquery/
107+
.. _BigQuery Storage Product documentation: https://cloud.google.com/bigquery/
108108
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
109109

110110
Logging

packages/google-cloud-bigquery-storage/docs/summary_overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ reverted. Instead, if you want to place additional content, create an
55
pick up on the content and merge the content.
66
]: #
77

8-
# Google BigQuery Storage API
8+
# BigQuery Storage API
99

10-
Overview of the APIs available for Google BigQuery Storage API.
10+
Overview of the APIs available for BigQuery Storage API.
1111

1212
## All entries
1313

1414
Classes, methods and properties & attributes for
15-
Google BigQuery Storage API.
15+
BigQuery Storage API.
1616

1717
[classes](https://cloud.google.com/python/docs/reference/bigquerystorage/latest/summary_class.html)
1818

packages/google-cloud-pubsub/.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"language": "python",
1010
"library_type": "GAPIC_COMBO",
1111
"name": "pubsub",
12-
"name_pretty": "Google Cloud Pub/Sub",
12+
"name_pretty": "Cloud Pub/Sub",
1313
"product_documentation": "https://cloud.google.com/pubsub/docs",
1414
"release_level": "stable",
1515
"repo": "googleapis/google-cloud-python"

0 commit comments

Comments
 (0)