getVersion function
Gets information about a model version. Models can have multiple versions. You can call projects.models.versions.list to get the same information that this method returns for all of the versions of a model.
args Arguments passed to this invoke. Arguments for getVersion.
options Invoke options controlling this call.
Implementation
Future<GetVersionResult> getVersion(
GetVersionArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:ml/v1:getVersion',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetVersionResult.fromMap(result);
}