Send feedback
Cloud PubSub V1 Client - Class GetTopicRequest (1.39.3) Stay organized with collections
Save and categorize content based on your preferences.
Version 1.39.3 keyboard_arrow_down
Reference documentation and code samples for the Cloud PubSub V1 Client class GetTopicRequest.
Request for the GetTopic method.
Generated from protobuf message google.pubsub.v1.GetTopicRequest
Methods
__construct
data
array
Optional. Data for populating the Message object.
↳ topic
string
Required. The name of the topic to get. Format is projects/{project}/topics/{topic}
.
getTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
setTopic
Required. The name of the topic to get.
Format is projects/{project}/topics/{topic}
.
Generated from protobuf field string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.
Need to tell us more?
[[["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-10-30 UTC."],[],[]]