GoogleCloudConnectorsV1AuthConfigSshPublicKey.fromJson constructor

GoogleCloudConnectorsV1AuthConfigSshPublicKey.fromJson(
  1. Map json_
)

Implementation

GoogleCloudConnectorsV1AuthConfigSshPublicKey.fromJson(core.Map json_)
    : this(
        certType: json_.containsKey('certType')
            ? json_['certType'] as core.String
            : null,
        sshClientCert: json_.containsKey('sshClientCert')
            ? GoogleCloudConnectorsV1Secret.fromJson(
                json_['sshClientCert'] as core.Map<core.String, core.dynamic>)
            : null,
        sshClientCertPass: json_.containsKey('sshClientCertPass')
            ? GoogleCloudConnectorsV1Secret.fromJson(
                json_['sshClientCertPass']
                    as core.Map<core.String, core.dynamic>)
            : null,
        username: json_.containsKey('username')
            ? json_['username'] as core.String
            : null,
      );