GooglePrivacyDlpV2CloudSqlProperties.fromJson constructor

GooglePrivacyDlpV2CloudSqlProperties.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2CloudSqlProperties.fromJson(core.Map json_)
    : this(
        cloudSqlIam: json_.containsKey('cloudSqlIam')
            ? GooglePrivacyDlpV2CloudSqlIamCredential.fromJson(
                json_['cloudSqlIam'] as core.Map<core.String, core.dynamic>)
            : null,
        connectionName: json_.containsKey('connectionName')
            ? json_['connectionName'] as core.String
            : null,
        databaseEngine: json_.containsKey('databaseEngine')
            ? json_['databaseEngine'] as core.String
            : null,
        maxConnections: json_.containsKey('maxConnections')
            ? json_['maxConnections'] as core.int
            : null,
        usernamePassword: json_.containsKey('usernamePassword')
            ? GooglePrivacyDlpV2SecretManagerCredential.fromJson(
                json_['usernamePassword']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );