GoogleCloudAiplatformV1IndexPrivateEndpoints.fromJson constructor

GoogleCloudAiplatformV1IndexPrivateEndpoints.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1IndexPrivateEndpoints.fromJson(core.Map json_)
    : this(
        matchGrpcAddress: json_.containsKey('matchGrpcAddress')
            ? json_['matchGrpcAddress'] as core.String
            : null,
        pscAutomatedEndpoints: json_.containsKey('pscAutomatedEndpoints')
            ? (json_['pscAutomatedEndpoints'] as core.List)
                .map((value) =>
                    GoogleCloudAiplatformV1PscAutomatedEndpoints.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        serviceAttachment: json_.containsKey('serviceAttachment')
            ? json_['serviceAttachment'] as core.String
            : null,
      );