Reference documentation and code samples for the Cloud PubSub V1 Client class UpdateTopicRequest.
Request for the UpdateTopic method.
Generated from protobuf message google.pubsub.v1.UpdateTopicRequest
Namespace
Google \ Cloud \ PubSub \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ topic |
Topic
Required. The updated topic object. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. Indicates which fields in the provided topic to update. Must be specified and non-empty. Note that if |
getTopic
Required. The updated topic object.
Returns | |
---|---|
Type | Description |
Topic|null |
hasTopic
clearTopic
setTopic
Required. The updated topic object.
Parameter | |
---|---|
Name | Description |
var |
Topic
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
Required. Indicates which fields in the provided topic to update. Must be
specified and non-empty. Note that if update_mask
contains
"message_storage_policy" but the message_storage_policy
is not set in
the topic
provided above, then the updated value is determined by the
policy configured at the project or organization level.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Indicates which fields in the provided topic to update. Must be
specified and non-empty. Note that if update_mask
contains
"message_storage_policy" but the message_storage_policy
is not set in
the topic
provided above, then the updated value is determined by the
policy configured at the project or organization level.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
topic |
Topic
Required. The updated topic object. |
updateMask |
Google\Protobuf\FieldMask
Required. Indicates which fields in the provided topic to update. Must be
specified and non-empty. Note that if |
Returns | |
---|---|
Type | Description |
UpdateTopicRequest |