Google Cloud Channel V1 Client - Class UnregisterSubscriberRequest (1.0.1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class UnregisterSubscriberRequest.

Request Message for UnregisterSubscriber.

Generated from protobuf message google.cloud.channel.v1.UnregisterSubscriberRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ account string

Required. Resource name of the account.

↳ service_account string

Required. Service account to unregister from subscriber access to the topic.

getAccount

Required. Resource name of the account.

Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setAccount

Required. Resource name of the account.

Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccount

Required. Service account to unregister from subscriber access to the topic.

Generated from protobuf field string service_account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setServiceAccount

Required. Service account to unregister from subscriber access to the topic.

Generated from protobuf field string service_account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this