Google\Cloud\Storage\Bucket::reload PHP Method

reload() public method

Example: $bucket->reload(); $info = $bucket->info(); echo $info['location'];
See also: https://cloud.google.com/storage/docs/json_api/v1/buckets/get Buckets get API documentation.
public reload ( array $options = [] ) : array
$options array [optional] { Configuration options. @type string $ifMetagenerationMatch Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value. @type string $ifMetagenerationNotMatch Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value. @type string $projection Determines which properties to return. May be either 'full' or 'noAcl'. }
return array
    public function reload(array $options = [])
    {
        return $this->info = $this->connection->getBucket($options + $this->identity);
    }