Product constructor

Product(
  1. String name, {
  2. ProductArgs? args,
  3. 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');
}