Required. Field mask is used to specify the fields to be overwritten in the Topic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of * will update all fields.
Required. The topic to update. Itsnamefield must be populated.
getUpdateMask
Required. Field mask is used to specify the fields to be overwritten in the
Topic resource by the update. The fields specified in the update_mask are
relative to the resource, not the full request. A field will be overwritten
if it is in the mask. The mask is required and a value of * will update all
fields.
Required. Field mask is used to specify the fields to be overwritten in the
Topic resource by the update. The fields specified in the update_mask are
relative to the resource, not the full request. A field will be overwritten
if it is in the mask. The mask is required and a value of * will update all
fields.
Required. Field mask is used to specify the fields to be overwritten in the
Topic resource by the update. The fields specified in the update_mask are
relative to the resource, not the full request. A field will be overwritten
if it is in the mask. The mask is required and a value of * will update all
fields.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Managed Kafka V1 Client - Class UpdateTopicRequest (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-managedkafka/latest/V1.UpdateTopicRequest)\n- [0.6.0](/php/docs/reference/cloud-managedkafka/0.6.0/V1.UpdateTopicRequest)\n- [0.5.0](/php/docs/reference/cloud-managedkafka/0.5.0/V1.UpdateTopicRequest)\n- [0.4.1](/php/docs/reference/cloud-managedkafka/0.4.1/V1.UpdateTopicRequest)\n- [0.3.1](/php/docs/reference/cloud-managedkafka/0.3.1/V1.UpdateTopicRequest)\n- [0.2.3](/php/docs/reference/cloud-managedkafka/0.2.3/V1.UpdateTopicRequest)\n- [0.1.3](/php/docs/reference/cloud-managedkafka/0.1.3/V1.UpdateTopicRequest) \nReference documentation and code samples for the Google Cloud Managed Kafka V1 Client class UpdateTopicRequest.\n\nRequest for UpdateTopic.\n\nGenerated from protobuf message `google.cloud.managedkafka.v1.UpdateTopicRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ManagedKafka \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUpdateMask\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nTopic resource by the update. The fields specified in the update_mask are\nrelative to the resource, not the full request. A field will be overwritten\nif it is in the mask. The mask is required and a value of \\* will update all\nfields.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nTopic resource by the update. The fields specified in the update_mask are\nrelative to the resource, not the full request. A field will be overwritten\nif it is in the mask. The mask is required and a value of \\* will update all\nfields.\n\n### getTopic\n\nRequired. The topic to update. Its `name` field must be populated.\n\n### hasTopic\n\n### clearTopic\n\n### setTopic\n\nRequired. The topic to update. Its `name` field must be populated.\n\n### static::build"]]