PHP 5 has reached end of support and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy PHP 5
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing PHP
5 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of PHP.
\google\appengine\ext\cloud_storage_streams
Stay organized with collections
Save and categorize content based on your preferences.
Classes
CloudStorageClient is the base class for classes that are used to communicate
with Google Cloud Storage via the PHP streams interface.
Cloud Storage Delete Client handles deleting objects from buckets.
Cloud Storage Directory Client handles dir_opendir(), dir_readdir() and
dir_closedir() calls for Google Cloud Storage bucket.
Google Cloud Storage Read Client - Implements only the methods required to
read bytes from GCS using stream wrappers. For a fully fledged client
to access Google Cloud Storage you should consult the Google API client.
Cloud Storage Rename Client handles rename() calls for renaming a GCS object.
A user space stream wrapper for reading and writing to Google Cloud Storage.
Cloud Storage Url Stat Client handles stat() calls for objects and buckets.
Cloud Storage Write Client implements the stream wrapper functions required
to write to a Google Cloud Storage object.
Declares well known HTTP response codes and associated error messages.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-16 UTC."],[[["\u003cp\u003eCloudStorageClient is the foundational class for interacting with Google Cloud Storage through PHP streams.\u003c/p\u003e\n"],["\u003cp\u003eCloudStorageDeleteClient is responsible for managing the deletion of objects within Google Cloud Storage buckets.\u003c/p\u003e\n"],["\u003cp\u003eCloudStorageReadClient enables reading data from Google Cloud Storage using stream wrappers, but it is a limited client with recommended usage of Google's API client instead.\u003c/p\u003e\n"],["\u003cp\u003eCloudStorageWriteClient implements the necessary stream wrapper functions for writing data to Google Cloud Storage objects.\u003c/p\u003e\n"],["\u003cp\u003eCloudStorageStreamWrapper acts as a user space stream wrapper, allowing for reading and writing to Google Cloud Storage.\u003c/p\u003e\n"]]],[],null,["# \\google\\appengine\\ext\\cloud_storage_streams\n\nClasses\n-------\n\n### [CloudStorageClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageClient.html)\n\nCloudStorageClient is the base class for classes that are used to communicate\nwith Google Cloud Storage via the PHP streams interface.\n\n### [CloudStorageDeleteClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageDeleteClient.html)\n\nCloud Storage Delete Client handles deleting objects from buckets.\n\n### [CloudStorageDirectoryClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageDirectoryClient.html)\n\nCloud Storage Directory Client handles dir_opendir(), dir_readdir() and\ndir_closedir() calls for Google Cloud Storage bucket.\n\n### [CloudStorageReadClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageReadClient.html)\n\nGoogle Cloud Storage Read Client - Implements only the methods required to\nread bytes from GCS using stream wrappers. For a fully fledged client\nto access Google Cloud Storage you should consult the Google API client.\n\n### [CloudStorageRenameClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageRenameClient.html)\n\nCloud Storage Rename Client handles rename() calls for renaming a GCS object.\n\n### [CloudStorageStreamWrapper](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageStreamWrapper.html)\n\nA user space stream wrapper for reading and writing to Google Cloud Storage.\n\n### [CloudStorageUrlStatClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageUrlStatClient.html)\n\nCloud Storage Url Stat Client handles stat() calls for objects and buckets.\n\n### [CloudStorageWriteClient](../classes/google.appengine.ext.cloud_storage_streams.CloudStorageWriteClient.html)\n\nCloud Storage Write Client implements the stream wrapper functions required\nto write to a Google Cloud Storage object.\n\n### [HttpResponse](../classes/google.appengine.ext.cloud_storage_streams.HttpResponse.html)\n\nDeclares well known HTTP response codes and associated error messages."]]