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.
data
array
Optional. Data for populating the Message object.
↳ topic
↳ update_mask
Google\Protobuf\FieldMask
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.
getTopic
Required. The updated topic object.
hasTopic
clearTopic
setTopic
Required. The updated topic object.
$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.
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.
$this
static::build
topic
updateMask
Google\Protobuf\FieldMask
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.