public getTopic ( string $topic, array $optionalArgs = [] ) : google\pubsub\v1\Topic | ||
$topic | string | The name of the topic to get. Format is `projects/{project}/topics/{topic}`. |
$optionalArgs | array | { Optional. @type \Google\GAX\RetrySettings $retrySettings Retry settings to use for this call. If present, then $timeoutMillis is ignored. @type int $timeoutMillis Timeout to use for this call. Only used if $retrySettings is not set. } |
return | google\pubsub\v1\Topic |