diff --git a/.librarian/generator-input/client-post-processing/storage-integration.yaml b/.librarian/generator-input/client-post-processing/storage-integration.yaml index 0710e22a9d6e..6a26886ca39f 100644 --- a/.librarian/generator-input/client-post-processing/storage-integration.yaml +++ b/.librarian/generator-input/client-post-processing/storage-integration.yaml @@ -296,7 +296,7 @@ replacements: |stable| |pypi| |versions| `Google Cloud Storage`_ is a managed service for storing unstructured data. Cloud Storage - allows world-wide storage and retrieval of any amount of data at any time. You can use + allows worldwide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download. @@ -335,13 +335,13 @@ replacements: Quick Start ----------- - In order to use this library, you first need to go through the following steps. + To use this library, you first need to follow these steps. A step-by-step guide may also be found in `Get Started with Client Libraries`_. 1. `Select or create a Cloud Platform project.`_ 2. `Enable billing for your project.`_ 3. `Enable the Google Cloud Storage API.`_ - 4. `Setup Authentication.`_ + 4. `Set up Authentication.`_ .. _Get Started with Client Libraries: https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-python .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project @@ -445,7 +445,7 @@ replacements: pip install google-cloud-storage[tracing] - Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to selectively opt-in tracing for the Cloud Storage client: + Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to opt in selectively to tracing for the Cloud Storage client: .. code-block:: console @@ -491,8 +491,8 @@ replacements: Feedback Welcome ~~~~~~~~~~~~~~~~ - If you experience that backwards compatibility for your application is broken - with this major version release, please let us know through the Github issues + If you experience any break in backwards compatibility for your application + with this major version release, please let us know through the GitHub issues system. While some breaks of backwards compatibility may be unavoidable due to new features in the major version release, we will do our best to minimize them. Thank you. @@ -518,7 +518,7 @@ replacements: ``google-resumable-media`` library without explicitly installing that library. So as not to break user applications following this pattern, ``google-resumable-media`` is still in the list of dependencies in this package's - setup.py file. Applications which do not import directly from + setup.py file. Applications that do not import directly from ``google-resumable-media`` can safely disregard this dependency. This backwards compatibility feature **will be removed** in a future major version update. Please migrate to using the ``google.cloud.storage.exceptions`` @@ -536,7 +536,7 @@ replacements: ``transfer_manager.py`` still support crc32c only. Note: The method ``Blob.upload_from_file()`` requires a file in bytes mode, but - when checksum is set to None, as was the previous default, would not throw an + when checksum is set to None, as was the previous default, it would not throw an error if passed a file in string mode under some circumstances. With the new defaults, it will now raise a TypeError. Please use a file opened in bytes reading mode as required. diff --git a/packages/google-cloud-storage/README.rst b/packages/google-cloud-storage/README.rst index 5c3a4f3ba591..7422dfc88401 100644 --- a/packages/google-cloud-storage/README.rst +++ b/packages/google-cloud-storage/README.rst @@ -4,7 +4,7 @@ Python Client for Cloud Storage |stable| |pypi| |versions| `Google Cloud Storage`_ is a managed service for storing unstructured data. Cloud Storage -allows world-wide storage and retrieval of any amount of data at any time. You can use +allows worldwide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download. @@ -43,13 +43,13 @@ Google APIs Client Libraries, in `Client Libraries Explained`_. Quick Start ----------- -In order to use this library, you first need to go through the following steps. +To use this library, you first need to follow these steps. A step-by-step guide may also be found in `Get Started with Client Libraries`_. 1. `Select or create a Cloud Platform project.`_ 2. `Enable billing for your project.`_ 3. `Enable the Google Cloud Storage API.`_ -4. `Setup Authentication.`_ +4. `Set up Authentication.`_ .. _Get Started with Client Libraries: https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-python .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project @@ -153,7 +153,7 @@ To enable OpenTelemetry tracing in the Cloud Storage client, first install OpenT pip install google-cloud-storage[tracing] -Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to selectively opt-in tracing for the Cloud Storage client: +Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to opt in selectively to tracing for the Cloud Storage client: .. code-block:: console @@ -199,8 +199,8 @@ For a list of libraries that can be instrumented, refer to the `OpenTelemetry Re Feedback Welcome ~~~~~~~~~~~~~~~~ -If you experience that backwards compatibility for your application is broken -with this major version release, please let us know through the Github issues +If you experience any break in backwards compatibility for your application +with this major version release, please let us know through the GitHub issues system. While some breaks of backwards compatibility may be unavoidable due to new features in the major version release, we will do our best to minimize them. Thank you. @@ -226,7 +226,7 @@ Some users may be using the original exception classes from the ``google-resumable-media`` library without explicitly installing that library. So as not to break user applications following this pattern, ``google-resumable-media`` is still in the list of dependencies in this package's -setup.py file. Applications which do not import directly from +setup.py file. Applications that do not import directly from ``google-resumable-media`` can safely disregard this dependency. This backwards compatibility feature **will be removed** in a future major version update. Please migrate to using the ``google.cloud.storage.exceptions`` @@ -244,7 +244,7 @@ downloads and None for most uploads. Note that ranged downloads ("start" or ``transfer_manager.py`` still support crc32c only. Note: The method ``Blob.upload_from_file()`` requires a file in bytes mode, but -when checksum is set to None, as was the previous default, would not throw an +when checksum is set to None, as was the previous default, it would not throw an error if passed a file in string mode under some circumstances. With the new defaults, it will now raise a TypeError. Please use a file opened in bytes reading mode as required. diff --git a/packages/google-cloud-storage/docs/README.rst b/packages/google-cloud-storage/docs/README.rst index 5c3a4f3ba591..7422dfc88401 100644 --- a/packages/google-cloud-storage/docs/README.rst +++ b/packages/google-cloud-storage/docs/README.rst @@ -4,7 +4,7 @@ Python Client for Cloud Storage |stable| |pypi| |versions| `Google Cloud Storage`_ is a managed service for storing unstructured data. Cloud Storage -allows world-wide storage and retrieval of any amount of data at any time. You can use +allows worldwide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download. @@ -43,13 +43,13 @@ Google APIs Client Libraries, in `Client Libraries Explained`_. Quick Start ----------- -In order to use this library, you first need to go through the following steps. +To use this library, you first need to follow these steps. A step-by-step guide may also be found in `Get Started with Client Libraries`_. 1. `Select or create a Cloud Platform project.`_ 2. `Enable billing for your project.`_ 3. `Enable the Google Cloud Storage API.`_ -4. `Setup Authentication.`_ +4. `Set up Authentication.`_ .. _Get Started with Client Libraries: https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-python .. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project @@ -153,7 +153,7 @@ To enable OpenTelemetry tracing in the Cloud Storage client, first install OpenT pip install google-cloud-storage[tracing] -Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to selectively opt-in tracing for the Cloud Storage client: +Set the ``ENABLE_GCS_PYTHON_CLIENT_OTEL_TRACES`` environment variable to opt in selectively to tracing for the Cloud Storage client: .. code-block:: console @@ -199,8 +199,8 @@ For a list of libraries that can be instrumented, refer to the `OpenTelemetry Re Feedback Welcome ~~~~~~~~~~~~~~~~ -If you experience that backwards compatibility for your application is broken -with this major version release, please let us know through the Github issues +If you experience any break in backwards compatibility for your application +with this major version release, please let us know through the GitHub issues system. While some breaks of backwards compatibility may be unavoidable due to new features in the major version release, we will do our best to minimize them. Thank you. @@ -226,7 +226,7 @@ Some users may be using the original exception classes from the ``google-resumable-media`` library without explicitly installing that library. So as not to break user applications following this pattern, ``google-resumable-media`` is still in the list of dependencies in this package's -setup.py file. Applications which do not import directly from +setup.py file. Applications that do not import directly from ``google-resumable-media`` can safely disregard this dependency. This backwards compatibility feature **will be removed** in a future major version update. Please migrate to using the ``google.cloud.storage.exceptions`` @@ -244,7 +244,7 @@ downloads and None for most uploads. Note that ranged downloads ("start" or ``transfer_manager.py`` still support crc32c only. Note: The method ``Blob.upload_from_file()`` requires a file in bytes mode, but -when checksum is set to None, as was the previous default, would not throw an +when checksum is set to None, as was the previous default, it would not throw an error if passed a file in string mode under some circumstances. With the new defaults, it will now raise a TypeError. Please use a file opened in bytes reading mode as required.