GoogleCloudAiplatformV1PrivateServiceConnectConfig.fromJson constructor

GoogleCloudAiplatformV1PrivateServiceConnectConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1PrivateServiceConnectConfig.fromJson(core.Map json_)
  : this(
      enablePrivateServiceConnect:
          json_['enablePrivateServiceConnect'] as core.bool?,
      projectAllowlist:
          (json_['projectAllowlist'] as core.List?)
              ?.map((value) => value as core.String)
              .toList(),
      pscAutomationConfigs:
          (json_['pscAutomationConfigs'] as core.List?)
              ?.map(
                (value) =>
                    GoogleCloudAiplatformV1PSCAutomationConfig.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      serviceAttachment: json_['serviceAttachment'] as core.String?,
    );