GoogleCloudAiplatformV1ExamplesRestrictionsNamespace.fromJson constructor

GoogleCloudAiplatformV1ExamplesRestrictionsNamespace.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExamplesRestrictionsNamespace.fromJson(core.Map json_)
    : this(
        allow: json_.containsKey('allow')
            ? (json_['allow'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        deny: json_.containsKey('deny')
            ? (json_['deny'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        namespaceName: json_.containsKey('namespaceName')
            ? json_['namespaceName'] as core.String
            : null,
      );