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
Namespace
Google \ Cloud \ Channel \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ account |
string
Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset. |
↳ service_account |
string
Required. Service account that provides subscriber access to the registered topic. |
↳ integrator |
string
Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset. |
getAccount
Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAccount
Optional. Resource name of the account. Required if integrator is not provided. Otherwise, leave this field empty/unset.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServiceAccount
Required. Service account that provides subscriber access to the registered topic.
| Returns | |
|---|---|
| Type | Description |
string |
|
setServiceAccount
Required. Service account that provides subscriber access to the registered topic.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIntegrator
Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasIntegrator
clearIntegrator
setIntegrator
Optional. Resource name of the integrator. Required if account is not provided. Otherwise, leave this field empty/unset.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|