Trial constructor

Trial(
  1. String name, {
  2. TrialArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Trial. name The Pulumi resource name. args Arguments used to configure this Trial. The set of arguments for Trial. options Resource options controlling this resource's behavior.

Implementation

Trial(
  String name, {
  TrialArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:ml/v1:Trial',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  clientId = registerOutput<String>('clientId');
  endTime = registerOutput<String>('endTime');
  finalMeasurement = registerOutput<GoogleCloudMlV1MeasurementResponse>('finalMeasurement', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GoogleCloudMlV1MeasurementResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  infeasibleReason = registerOutput<String>('infeasibleReason');
  location = registerOutput<String>('location');
  measurements = registerOutput<List<Map<String, dynamic>>>('measurements');
  this.name = registerOutput<String>('name');
  parameters = registerOutput<List<Map<String, dynamic>>>('parameters');
  project = registerOutput<String>('project');
  startTime = registerOutput<String>('startTime');
  state = registerOutput<String>('state');
  studyId = registerOutput<String>('studyId');
  trialInfeasible = registerOutput<bool>('trialInfeasible');
}