PHP Class Google\Cloud\PubSub\Connection\Grpc

Inheritance: implements Google\Cloud\PubSub\Connection\ConnectionInterface, use trait Google\Cloud\EmulatorTrait, use trait Google\Cloud\GrpcTrait
Mostra file Open project: GoogleCloudPlatform/gcloud-php Class Usage Examples

Public Methods

Method Description
__construct ( array $config = [] )
acknowledge ( array $args )
createSubscription ( array $args )
createTopic ( array $args )
deleteSubscription ( array $args )
deleteTopic ( array $args )
getSubscription ( array $args )
getSubscriptionIamPolicy ( array $args )
getTopic ( array $args )
getTopicIamPolicy ( array $args )
listSubscriptions ( array $args )
listSubscriptionsByTopic ( array $args )
listTopics ( array $args )
modifyAckDeadline ( array $args )
modifyPushConfig ( array $args )
publishMessage ( array $args )
pull ( array $args )
setSubscriptionIamPolicy ( array $args )
setTopicIamPolicy ( array $args )
testSubscriptionIamPermissions ( array $args )
testTopicIamPermissions ( array $args )

Private Methods

Method Description
buildMessage ( array $message ) : google\pubsub\v1\PubsubMessage
buildPolicy ( array $policy ) : google\iam\v1\Policy
buildPushConfig ( array $pushConfig ) : google\pubsub\v1\PushConfig

Method Details

__construct() public method

public __construct ( array $config = [] )
$config array

acknowledge() public method

public acknowledge ( array $args )
$args array

createSubscription() public method

public createSubscription ( array $args )
$args array

createTopic() public method

public createTopic ( array $args )
$args array

deleteSubscription() public method

public deleteSubscription ( array $args )
$args array

deleteTopic() public method

public deleteTopic ( array $args )
$args array

getSubscription() public method

public getSubscription ( array $args )
$args array

getSubscriptionIamPolicy() public method

public getSubscriptionIamPolicy ( array $args )
$args array

getTopic() public method

public getTopic ( array $args )
$args array

getTopicIamPolicy() public method

public getTopicIamPolicy ( array $args )
$args array

listSubscriptions() public method

public listSubscriptions ( array $args )
$args array

listSubscriptionsByTopic() public method

public listSubscriptionsByTopic ( array $args )
$args array

listTopics() public method

public listTopics ( array $args )
$args array

modifyAckDeadline() public method

public modifyAckDeadline ( array $args )
$args array

modifyPushConfig() public method

public modifyPushConfig ( array $args )
$args array

publishMessage() public method

public publishMessage ( array $args )
$args array

pull() public method

public pull ( array $args )
$args array

setSubscriptionIamPolicy() public method

public setSubscriptionIamPolicy ( array $args )
$args array

setTopicIamPolicy() public method

public setTopicIamPolicy ( array $args )
$args array

testSubscriptionIamPermissions() public method

public testSubscriptionIamPermissions ( array $args )
$args array

testTopicIamPermissions() public method

public testTopicIamPermissions ( array $args )
$args array