Google Cloud Channel V1 Client - Class RegisterSubscriberRequest (1.0.1)

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

Request Message for RegisterSubscriber.

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

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 that provides subscriber access to the registered 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 that provides subscriber access to the registered topic.

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

Returns
TypeDescription
string

setServiceAccount

Required. Service account that provides subscriber access to the registered topic.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this