protected static function createGcsFilename($bucket, $object = null) {
    if (!isset($object)) {
      $object = "";
    }

    // Strip leading "/" for $object.
    if (StringUtil::startsWith($object, "/")) {
      $object = substr($object, 1);
    }

    return CloudStorageTools::getFilename($bucket, $object);
  }
protected static function createGcsFilename($bucket, $object = null) {
    if (!isset($object)) {
      $object = "";
    }

    // Strip leading "/" for $object.
    if (StringUtil::startsWith($object, "/")) {
      $object = substr($object, 1);
    }

    return CloudStorageTools::getFilename($bucket, $object);
  }
protected static function createGcsFilename ( $ bucket , $ object = null ) { if ( ! isset ( $ object ) ) { $ object = "" ; } // Strip leading "/" for $object. if ( StringUtil :: startsWith ( $ object , "/" ) ) { $ object = substr ( $ object , 1 ) ; } return CloudStorageTools :: getFilename ( $ bucket , $ object ) ; }
Create a GCS filename for a target bucket and optional object.

@param string $bucket The bucket name.
@param string $object Optional object name.

@returns string The GCS filename for the bucket and object names.
Create a GCS filename for a target bucket and optional object .