GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson constructor

GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1SuggestTrialsRequest.fromJson(core.Map json_)
    : this(
        clientId: json_['clientId'] as core.String?,
        contexts: (json_['contexts'] as core.List?)
            ?.map((value) => GoogleCloudAiplatformV1TrialContext.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        suggestionCount: json_['suggestionCount'] as core.int?,
      );