class Storage extends Service (View source)

Service definition for Storage (v1).

Stores and retrieves potentially large, immutable data objects.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

View and manage your data across Google Cloud Platform services.

CLOUD_PLATFORM_READ_ONLY

View your data across Google Cloud Platform services.

DEVSTORAGE_FULL_CONTROL

Manage your data and permissions in Google Cloud Storage.

DEVSTORAGE_READ_ONLY

View your data in Google Cloud Storage.

DEVSTORAGE_READ_WRITE

Manage your data in Google Cloud Storage.

Properties

$anywhereCaches
$bucketAccessControls
$buckets
$channels
$defaultObjectAccessControls
$folders
$managedFolders
$notifications
$objectAccessControls
$objects
$operations
$projects_hmacKeys
$projects_serviceAccount
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Storage service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the Storage service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.