Skip to content

Conversation

@dwsupplee
Copy link
Contributor

@dwsupplee dwsupplee commented Sep 19, 2017

For more information: https://cloud.google.com/storage/docs/pubsub-notifications

System tests to be added soon

@dwsupplee dwsupplee added the api: storage Issues related to the Cloud Storage API. label Sep 19, 2017
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 19, 2017
* @param string $projectId The project ID.
*/
public function __construct(ConnectionInterface $connection, $name, array $info = [])
public function __construct(ConnectionInterface $connection, $name, array $info = [], $projectId)

This comment was marked as spam.

This comment was marked as spam.

Copy link
Contributor

@jdpedrie jdpedrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a couple little things. looks good overall!

* Storage.
* @param string $name The bucket's name.
* @param array $info [optional] The bucket's metadata.
* @param string $projectId The project ID.

This comment was marked as spam.

* @param string|Topic $topic The topic used to publish notifications.
* @param array $options [optional] {
* Configuration options.
*

This comment was marked as spam.

This comment was marked as spam.

private function getFormattedTopic($topic)
{
if ($topic instanceof Topic) {
return sprintf('//pubsub.googleapis.com/%s', $topic->name());

This comment was marked as spam.

This comment was marked as spam.

use Google\Cloud\Storage\Connection\ConnectionInterface;

/**
* Cloud Pub/Sub Notifications sends information about changes to objects in

This comment was marked as spam.

This comment was marked as spam.

"suggest": {
"phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2."
"phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2.",
"google/cloud-pubsub": "May be used to register a topic to publish bucket notifications."

This comment was marked as spam.

@dwsupplee dwsupplee merged commit 2bd696e into googleapis:master Oct 9, 2017
@jdpedrie jdpedrie mentioned this pull request Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants