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 | |
|---|---|
| Name | Description |
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 | |
|---|---|
| Type | Description |
string |
|
setAccount
Required. Resource name of the account.
Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|