Product constructor
Product(
- String name, {
- ProductArgs? args,
- CustomResourceOptions? options,
Creates a new Product.
name The Pulumi resource name.
args Arguments used to configure this Product. The set of arguments for Product.
options Resource options controlling this resource's behavior.
Implementation
Product(
String name, {
ProductArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:vision/v1:Product',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
description = registerOutput<String>('description');
displayName = registerOutput<String>('displayName');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
productCategory = registerOutput<String>('productCategory');
productId = registerOutput<String?>('productId');
productLabels = registerOutput<List<Map<String, dynamic>>>('productLabels');
project = registerOutput<String>('project');
}