getTopicPubsubV1beta2 function
Future<GetTopicPubsubV1beta2Result>
getTopicPubsubV1beta2(
- GetTopicPubsubV1beta2Args args, {
- InvokeOptions? options,
Gets the configuration of a topic.
args Arguments passed to this invoke. Arguments for getTopic.
options Invoke options controlling this call.
Implementation
Future<GetTopicPubsubV1beta2Result> getTopicPubsubV1beta2(
GetTopicPubsubV1beta2Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:pubsub/v1beta2:getTopic',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetTopicPubsubV1beta2Result.fromMap(result);
}