ProductSet constructor
ProductSet(
- String name, {
- ProductSetArgs? args,
- CustomResourceOptions? options,
Creates a new ProductSet.
name The Pulumi resource name.
args Arguments used to configure this ProductSet. The set of arguments for ProductSet.
options Resource options controlling this resource's behavior.
Implementation
ProductSet(
String name, {
ProductSetArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:vision/v1:ProductSet',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
displayName = registerOutput<String>('displayName');
indexError = registerOutput<StatusResponse>('indexError', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return StatusResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
indexTime = registerOutput<String>('indexTime');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
productSetId = registerOutput<String?>('productSetId');
project = registerOutput<String>('project');
}